Hello,
You have to use the source.f routine.
You have to describe a circle distribution for (x,y) coordinates and a
line distribution for z (for example).
You can do something like that (example for a 500 ml source, normalized
SG500 container) :
CALL SFECFE(SINT,COST)
RADIUS = 4.699999D0
ZMIN = -7.2249999D0
ZMAX = -0.0250001D0
RANDY = FLRNDM(XDUMMY)
MYRHO = RADIUS * SQRT(RANDY)
XBEAM = MYRHO * COST
YBEAM = MYRHO * SINT
ZBEAM = ZMIN - ((ZMIN - ZMAX)*FLRNDM(ZDUMMY))
XFLK (NPFLKA) = XBEAM
YFLK (NPFLKA) = YBEAM
ZFLK (NPFLKA) = ZBEAM
Hope it helps,
Regards.
Sebastien.
Lior Cahana wrote :
>Good Morning,
>I would like to simulate a photon source that is evenly distributed insid=
>e a cylinder.
>The manual was not clear on how to do that, how can I simulate this distr=
>ibution?
>Thank you
>
>Lior Cahana
>
>
>
Received on Fri Jan 30 2009 - 17:07:35 CET
This archive was generated by hypermail 2.2.0 : Fri Jan 30 2009 - 17:07:36 CET