circular beam

From: Hamideh Jalali <jalali.hb_at_gmail.com>
Date: Sun, 16 Jan 2011 12:58:43 +0330

Dear FLUKA experts

I'm going to define a circular beam in x-y plane ( a beam which
travels around a circle of radius r and center (0,0,0)). Is it correct
if I follow these steps:

In BEAMPOS card:
WHAT(1)-WHAT(3):x,y,z coordinates of the center of the
circle(XBEAM-YBEAM-ZBEAM)
WHAT(4): radius of the circle (UBEAM)

Then I modify source.f by adding these command:

       r = UBEAM * (FLRNDM(dummy)
        alpha = 2 * PI* (FLRNDM(dummy))

        XFLK (NPFLKA) = XBEAM + r * COS(alpha)
        YFLK (NPFLKA) = YBEAM + r * SIN(alpha)
        ZFLK (NPFLKA) = ZBEAM

I would be grateful for your help.
Hamideh
Received on Sun Jan 16 2011 - 13:11:41 CET

This archive was generated by hypermail 2.2.0 : Sun Jan 16 2011 - 13:12:11 CET