[fluka-discuss]: About multiple spherical source

From: <arghyac_at_barc.gov.in>
Date: Fri, 15 Sep 2017 17:45:43 +0530

Dear Experts,

    I need to simulate 5 spherical sources with different spatial
co-ordinate in a single source.f card.

    I model one sphere (centre at (0,0,0) in source.f card as follows

*particle corodinate
     CALL RACO(TXX, TYY, TZZ)
     RADIUS = R*FLRNDM(XDUMMY)
     XFLK (NPFLKA) = RADIUS*TXX
     YFLK (NPFLKA) = RADIUS*TYY
     ZFLK (NPFLKA) = RADIUS*TZZ

I guess I need to edit XFLK (NPFLKA), YFLK (NPFLKA), ZFLK (NPFLKA) to
sample 5 spherical sources in single subroutine.
Co-ordinate of other 4 sphere's centre are (-10,0,0), (-5,0,0),(5,0,0)
and (10,0,0). radius of each = 1.5 cm.

Now how to sample other spheres here or how to edit it to accommodate
all the 5 sources at the same time.

Kindly give some suggestions.

Thanking you in advance.

With regards,
Arghya

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Sep 15 2017 - 15:33:48 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 15 2017 - 15:33:50 CEST