[fluka-discuss]: Source Geometry in subroutine file

From: Jyoti <jyoti.grg_at_britatom.gov.in>
Date: Fri, 03 May 2019 14:24:20 +0530

Dear FLUKA Experts,
I am drawing a cylinderical source using source.f subroutine.
These are the particle coordinates.

Particle coordinates
 RMIN = 5
 RMAX = 10
 ZMIN = 30
 ZMAX = 50
 R=SQRT(FLRNDM(DUMMY)) * (RMAX-RMIN) + RMIN
 THETA = FLRNDM(DUMMY) * TWOPIPI
 x = R * cos(THETA)
 y = R * sin(THETA)
 z = ZMIN + (ZMAX - ZMIN) * FLRNDM(DUMMY)
 XFLK (NPFLKA) =x
 YFLK (NPFLKA) =y
 ZFLK (NPFLKA) =z

Is there any way to check my source geometry if correct or not?

With Regards,
Jyoti Garg


__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri May 03 2019 - 12:28:38 CEST

This archive was generated by hypermail 2.3.0 : Fri May 03 2019 - 18:09:15 CEST