Re: [fluka-discuss]: Unable to change beam direction directly in source.f

From: Mikhail Polkovnikov <pmk_at_ihep.ru>
Date: Tue, 19 Jan 2016 11:41:20 +0300

On 19.01.2016 07:35, Lars Fredrik Fjæra wrote:
> Dear Fluka users
>
> I'm having trouble changing the beam direction using
> TXFLK (NPFLKA)
> TYFLK (NPFLKA)
> TZFLK (NPFLKA)
> in the source routine.
>
> If I have the source routine read the directions from BEAMPOS card in
> Fluka using e,g TXFLK (NPFLKA) = UBEAM, it works perfectly.
> But if I try to define TXFLK (NPFLKA) as for example -1 directly in
> the routine, nothing happens. With nothing, I mean that the beam
> misses my target.
>
> I've tried
> TXFLK (NPFLKA) = -1
> TXFLK (NPFLKA) = -1.0
> TXFLK (NPFLKA) = -ONEONE
> in hope that it should make any difference, but unfortunately not.
> I've also tried to remove the BEAMPOS card completely in Fluka, but
> the same results were achieved.
> Any suggestions?
>
> Thank you.
>
> Best regards,
> ---
> *Lars Fredrik Fjæra*

Dear Lars,

Did you normalize cosines properly?
       TXFLK (NPFLKA) = -ONEONE
       TYFLK (NPFLKA) = ZERZER
       TZFLK (NPFLKA) = ZERZER


Best regards,
Mikhail



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jan 19 2016 - 10:57:58 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 19 2016 - 10:57:59 CET