In this simulation, the neutron source is read from a phase space file. While running the simulation, I observed the following aspects:
No matter what the primaries are selected (1E+7 or higher), in the sum file I could see: Total primaries run: 2611280. Thus, I am unable to improve the statistics in the simulation.
The simulation is finishing within 30 mins or so, however, in the Run window, large time is shown at the bottom
Also, most of the time one or more spawn run is stopped due to Time out error.
However, since the ‘total primaries run’ printed in the output is less than what is given in the input, I believe, it is not completing the total no of primary histories.
In the read_phase_space_file subroutine, you set the sequential_logical_flag to .true.. In this mode, FLUKA will read your phase-space file line-by-line and stop when it reaches it the end.
You need to set the sequential_logical_flag to .false. to sample the file randomly until you simulate the requested number of primaries.
The initial time estimation comes from the time of the first primary particle, which tends to be much longer that the later ones due to background initializations.
If you run a shorter simulation (~1e4 primaries) in the .err or .out files, you will find the correct average time per primary particle. From this you can have an accurate guess how long the full simulation would be.