Re: tracking problem?

From: Lucia Sarchiapone <>
Date: Tue, 20 Jul 2010 15:53:06 +0200 (CEST)


I had a look at your input file and I think that the problem comes from
the MGNFIELD cards. I think that only one MGNFIELD card will be
interpreted by the code, and in fact if you look at the standard output
under the title "Regions: materials and fields", you will see that the
constant magnetic field value is the last read in the input file.
To assign different magn. fields to different regions you should use a

Concerning the region USRBIN, you have to insert a region name in the
WHAT(4) of the first line (last region of the first region set) because
it is not the same as the WHAT(1) of the second line by default, check
the manual.

I hope everything is clear,


On Jul 18, 2010 06:39 PM, Chrysostomos Valderanis
<> wrote:

> Dear Fluka users,
> I am a new Fluka user. I am trying to simulate a proton passing
> through
> a beamline. Unfortunately the proton doesn't make it to the end, and
> hits the magnets. I am pretty sure that the positioning of the magnets
> and the vacuum regions is correct. The same for the strength and the
> direction of the magnetic fields.
> So, my question to the list is the following. The only tracking
> related
> card in my input file is the DEFAULTS card with the NEW-DEFA option.
> Is
> this enough for tracking a proton in an area with basically is vacuum
> and magnetic fields?
> Thank you in advance,
> Makis
> ps. It may or may not be relevant, but whenever I ask a REGION USRBIN
> with BEAMPART as is shown in the input file, the outcome is zero,
> although in the vizualisation I see the beam passing though the
> regions.
Received on Tue Jul 20 2010 - 16:48:23 CEST

This archive was generated by hypermail 2.2.0 : Tue Jul 20 2010 - 16:48:30 CEST