Re: [fluka-discuss]: about annular cylindrical source

From: <arghyac_at_barc.gov.in>
Date: Tue, 23 May 2017 09:38:37 +0530

Thank you very much for this suggestions. It is working well.


On 2017-05-23 00:52, Luigi Salvatore Esposito wrote:
> Dear Arghya,
> To sample from an energy spectrum, you can refer to the same slides of
> my previous email: there is an example from page 36 and following.
> About the position/direction cosines, you can adapt the following
> pseudocode (assuming that the cylinder axis is along the z-axis), to
> be inserted in the source.f.
>
> * Cosines (tx,ty,tz)
> TXFLK (NPFLKA) = TXX
> TYFLK (NPFLKA) = TYY
> TZFLK (NPFLKA) = TZZ
> * Particle coordinates
> R = SQRT(FLRNDM(DUMMY)) * (RMAX-RMIN) + RMIN
> theta = FLRNDM(DUMMY) * TWOPIP
> XFLK (NPFLKA) = R * cos( theta )
> YFLK (NPFLKA) = R * sin( theta )
> ZFLK (NPFLKA) = ZMIN + (ZMAX - ZMIN) * FLRNDM(DUMMY)
>
> In the same slides, some useful auxiliary routines are documented at
> page 31 and following.
> Hope this could help.
> Best regards, luigi
>
> On 22.05.17, 13:40, "arghyac_at_barc.gov.in" <arghyac_at_barc.gov.in> wrote:
>
> Thank you very much for your quick response.
>
> But in my case I cannot use Beampos card as I have to feed
> energy
> spectrum also. So I need to sample both annular cylindrical source
> geometry and energy spectrum using source.f subroutine only.
> Please suggest me how to sample both using source.f subroutine.
>
> Thanking you in advance.
>
>
>
> On 2017-05-22 15:37, Luigi Salvatore Esposito wrote:
> > Dear Arghya,
> > You can use BEAMPOS card with SDUM = CYLI-VOL.
> > More details in the manual and in the example given in these
> slides
> > (from page 8 to 11)
> >
> https://indico.cern.ch/event/489973/contributions/2148893/attachments/1271819/1884943/11_AdvancedSources2016.pdf
> > Best regards, luigi
> >
> > On 22.05.17, 07:44, "owner-fluka-discuss_at_mi.infn.it on behalf of
> > arghyac_at_barc.gov.in" <owner-fluka-discuss_at_mi.infn.it on behalf of
> > arghyac_at_barc.gov.in> wrote:
> >
> > Dear experts,
> >
> > I need to design one annular cylindrical source (Rmin =
> 2 cm
> > and
> > Rmax = 5 cm) in which source material will be within Rmin and
> Rmax
> > i.e
> > annular region. Source.f card will be for Ir-192 spectrum.
> >
> > How to sample this kind of Cylindrical source in source.f
> card.
> > Please give me some suggestions on this.
> >
> > Thank you in advance.
> >
> > With regards,
> > Arghya Chattaraj
> >
> >
> >
> __________________________________________________________________________
> > You can manage unsubscription from this mailing list at
> > https://www.fluka.org/fluka.php?id=acc_info
> >
> >
> >
> >
> ��������������������������������������������������������(�Ƨ��ځ맲��r���*'~�&�?�����x%��Z�?m����?0��n���?ߖ�?��i�'i���w�
>
>
>
> ��������������������������������������������������������(�Ƨ��ځ맲��r���*'~�&������x%��Z�m���� 0��n���ߖ���i�'i���w�

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue May 23 2017 - 07:12:54 CEST

This archive was generated by hypermail 2.3.0 : Tue May 23 2017 - 07:12:56 CEST