[fluka-discuss]: How to implement annular beam in source.f user routine?

From: Mikhail Polkovnikov <Михаил Полковников> <pmk_at_ihep.ru>
Date: Fri, 17 Oct 2014 14:12:32 +0400

Dear FLUKA users,


For 70 GeV proton beam with annular form and Rmax = 4.0cm

*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....
BEAM -70.0 0.0 0.0 4.0 0.0 -1.0PROTON
BEAMPOS 0.0 0.0 -79.0 0.0 0.0

  i need to add some spectrum in source.f, but in the user routine the
annular beam always changes its profile even if add uniform distribution
like

       CALL SFECFE( SFE, CFE)
       RADIUS = XSPOT * FLRNDM(XDUMMY)
       XFLK (NPFLKA) = RADIUS * SFE
       YFLK (NPFLKA) = RADIUS * CFE
       ZFLK (NPFLKA) = ZBEAM

Is there any way to peek uniform beam profile in user routine?

Images of beam profiles along x-axis in attachment


Best regards,
Mikhail




annular.jpg
(image/jpeg attachment: annular.jpg)

user_routine.jpg
(image/jpeg attachment: user_routine.jpg)

Received on Fri Oct 17 2014 - 13:57:18 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 17 2014 - 13:57:19 CEST