Re: [fluka-discuss]: UNIFORM distribution along the z-axis

Date: Wed, 13 Mar 2019 15:02:04 -0500

Dear Santana, Mario
Thank you, I managed to compile as you recommended, but when plotting my
results in FLAIR, my graphics are shown in Y in 0 as seen in the file that
I mention and maybe the reason is in something that I modified in source.f.
In the source file modify the following:
 *** User initialization ***
      END IF

* Particle coordinates
      ZFLK (NPFLKA) = 10.D0 + (Z2-Z1)*FLRNDM(XXX)

To place a one-report distribution along the z-axis, I followed the
instructions in the manual.
I wanted to start making this distribution as a test, but my goal is to
place an initial distribution of energy, power law type, which leads me to
ask, the final part that I am modifying in FUENTE.f It is the correct one
to implement. this type of distribution? .
Thanks for the help.
Best Regards


El mar., 12 mar. 2019 a las 21:07, Santana, Mario (<>) escribió:

> How did you compile the source routine? It seems like FLUKA is told that
> there is a source routine through the SOURCE card in the input file, but
> you haven’t one.
> Try this:
> $FLUPRO/flutil/lfluka -m fluka -o ./flukahps source.f
> In the directory where you have the ‘source.f’ routine (I assume that it
> is also the directory where you have the input file?).
> Then re-run using flukahps as your new executable.
> -M
> On Mar 12, 2019, at 4:54 PM, JENNY MARGOT RAMOS LAZARO <
>> wrote:
> Dear FLUKA experts:
> I'm using the source.f file, following the instructions in the manual to
> insert a uniform distribution along the z axis, but when I run the script,
> the .out file says that source.f does not exist or is not executable.
> These are the lines that I have added in the source.f file
> * Particle coordinates
> Z1 = 10.D0
> Z2 = 80.D0
> ZFLK (NPFLKA) = 10.D0 + (Z2-Z1)*FLRNDM(XXX)
> Inside input.inp I did not declare any (WHAT (1,2,3 ..)) in the source
> card because I declared Z1 and Z2 in source.f.
> I attach the .inp, .out and source.f files.
> Thanks for the help.
> Best Regards
> <exampl.out><exampl.inp><source.f>

You can manage unsubscription from this mailing list at

(image/jpeg attachment: exampl_48_plot.jpg)

Received on Wed Mar 13 2019 - 22:34:16 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 13 2019 - 22:34:24 CET