Re: [fluka-discuss]: How to set up a time-dependent source and scoring ?

From: Giuseppe Battistoni <giuseppe.battistoni_at_mi.infn.it>
Date: Wed, 5 Oct 2016 08:50:03 +0200

Yes, you can.
The time of primary in assigned to 0 by default.
In fact you can see in source.f the following line:
  AGESTK (NPFLKA) = +ZERZER

Now, for instance, you can replace that line with the following
ones:

  CALL FLNRRN (RGAUSS)
  AGESTK (NPFLKA) = RGAUSS*1.0D-12

The call to FLNRRN returns a pseudo-random number RGAUSS sampled
from a normal gaussian distribution

In such a way you the time of injection of your
primaries will be normally distributed with
mean = 0 and sigma = 1 ps

        Best
                Giuseppe Battistoni

On 05/10/16 05:54, Ñ wrote:
> Dear Fluka experts,
>
> I am doing a simulation where relativistic electrons interact
> with the high-Z target.
>
> is it possible to use the source.f Routine to define a electron source
> with a time distribution of Gauss function £¨e.g.FWHM= 1
> picosecond£© and then score the time distribution of generated photons
> into the detector?
>
> I check the FLUKA Manual but can not find a possible solution. Any
> suggestion would be appreciated. Thank you
>
> Best Regards
>
> Bo Yang
>
>
>
>

-- 
INFN Milano
via Celoria 16, 20133 Milano
tel: +39 02 50317307
fax: +39 02 50317617
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Oct 05 2016 - 10:22:30 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 05 2016 - 10:22:40 CEST