RE: [fluka-discuss]: HEMISPHERICAL UNIFORM SOURCE

From: Joachim Vollaire <joachim.vollaire_at_cern.ch>
Date: Fri, 3 Nov 2017 07:43:28 +0000

Hi
Have a look at the BEAMPOS card, using SDUM = FLOOD you can use the built-in source features to generate primaries from a full sphere.
To select only one half of a sphere the solution would be to write a source routine to sample the position and direction of primaries...
Greetings
Joachim

for SDUM = FLOOD:

the command defines a source distribution on a spherical surface, centred at the x,y,z point defined by another BEAMPOS<http://www.fluka.org/fluka.php?id=man_onl&sub=14> command with SDUM blank or = NEGATIVE, such as to produce a uniform and isotropic fluence within the sphere.
     WHAT(1) > 0.0: radius of the sphere in cm
             = 0.0: ignored
             < 0.0: resets to default
               Default: 1/sqrt(pi) cm

     WHAT(2)-WHAT(6): not used
     Default (option BEAMPOS<http://www.fluka.org/fluka.php?id=man_onl&sub=14> not requested): beam starting at
            point 0., 0., 0. in the z direction)




From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of RIYA DEY
Sent: 03 November 2017 05:04
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: HEMISPHERICAL UNIFORM SOURCE

Dear Fluka Experts ,

                How to make hemispherical uniform source in Fluka Flair ? Is it can be done by making a spherical source and then uniform random sampling from only the upper half half of the sphere ? If so, is there any in-built uniform random sampling code for the sphere in Fluka Flair ?


With regards,
Riya Dey


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Nov 03 2017 - 10:04:44 CET

This archive was generated by hypermail 2.3.0 : Fri Nov 03 2017 - 10:04:45 CET