Re: Add a file

From: G. Battistoni <>
Date: Wed, 05 May 2010 22:30:31 +0200

It is possible in FLUKA to inject particles listed in a file generated
by an external program.
In order to do that you need to learn how to make use of user routines and
build the proper program lines in the SOURCE subroutine (source.f).
It's hard to explain by email what you need to do: I recommend to
have a careful and deep study of the section of the FLUKA manual concerning
user routines.
Then you should look at the slides concerning user routines from one
of the last
FLUKA courses. For instance the one in Athens of march 2009. See:
and look at the lectures of Thursday morning.
In those lecture take notice of the use of OAUXFI routine to open
external files.

See also:

Good luck!
    Giuseppe Battistoni

Emre EROGLU wrote:
> Hi all,
> I have a file which is photons generated from 5GeV
> incident electron beam with Geant4 (not Fluka). There are 5 columns in it.
> The first and second columns are x and y
> position in cm, the 3, 4 and 5 columns are px , py and pz in MeV.
> I want to send these photons to a target with Fluka.
> Is it possible? and how can i do that?
> Regards,
> Uludag University
> High Energy Physcics
Received on Thu May 06 2010 - 11:08:39 CEST

This archive was generated by hypermail 2.2.0 : Thu May 06 2010 - 11:08:40 CEST