Re: [fluka-discuss]: Error in fluka

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Tue, 12 May 2020 14:25:27 +0200

Hello
the definition of particle momentum in the source.f routine is not
correct, it is always set equal to the one in the BEAM card. The momentum
has to be calculated for each primary from its kinetic energy. Please find
attached a corrected source.f routine (I also corrected the declaration of
 L as double, it must be an intteger).
The error appeared only after a certain number of stories because low
energy neutron transport is mostly based on kinetic energy only, the crash
occurs in your case only for (n,p) reactions on 14N, that are treated in a
fully correlated way.

If you plan to upgrade to fluka2020, please refer to my recent answer
about changes in the source.f routine (answering to A. Calamida)
Hope this helps
PAola
> Run Crashes with more histories (Time-out problem)
>
>
>
> Hello
>
> I am a user of FLUKA code. I would like to ask a question in FLUKA site.
>
> Dear Fluka expert
>
> I am using the user SOURCE routine and my source.f is prepared for an
> eighteen discrete energy in two forms for neutron particle. I use flair to
> run all of my programs. It runs fine with low history such as 2000 and the
> SOURCE routine was compiled and linked successfully. But it crashes when
> the history is increased (Time out). what is the problem?
>
> I attached the all my files (source.f, NEUTRON.inp and flair).
>
> I would be grateful for any help in this matter.
>
> Best regards
>
> Alireza
>
>
>
> ------------------------------------------------------------
> Alireza Soleimani
>
> Ph.D Candidate at Georg-August-University Göttingen
>
> Federal Republic of Germany
>
>


Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Tue May 12 2020 - 15:39:21 CEST

This archive was generated by hypermail 2.3.0 : Tue May 12 2020 - 15:39:24 CEST