An error occurred when using Gd material in LOW-PWXS card

Purpose: Use LOW-PWXS card to process low-energy neutrons and Gd materials for nuclear reaction, and record the energy spectrum and deposition energy spectrum of internal converted electrons

The error is as follows:executable returned RC=136,error code: 136

Look always at .err, 001.out and .log files (error code does not mean much).

GdOS4微米-Ir600nm光输出.inp (3.9 KB)
GdOS4微米-Ir600nm光输出001.err (3.6 MB)
GdOS4微米-Ir600nm光输出001.log (783 Bytes)
GdOS4微米-Ir600nm光输出001.out (127.1 KB)
GdOS4微米-Ir600nm光输出.out (618 Bytes)

It has been uploaded. Please have a look at it when you are free

Purpose: Use LOW-PWXS card to process low-energy neutrons and Gd materials for nuclear reaction, and record the energy spectrum and deposition energy spectrum of internal converted electrons

The error is as follows:executable returned RC=136,error code: 136

GdOS4微米-Ir600nm光输出.inp (3.9 KB)
GdOS4微米-Ir600nm光输出.out (618 Bytes)
GdOS4微米-Ir600nm光输出001.err (3.6 MB)
GdOS4微米-Ir600nm光输出001.log (783 Bytes)
GdOS4微米-Ir600nm光输出001.out (127.1 KB)

Dear Yuhua Ma,

I could not obtain exactly the same error messages as you when running on my PC. Please confirm that you run with the most recent FLUKA release (4-3.2). Also, make sure that you have downloaded and installed the ENDF-VII.1 neutron database following the instructions available on the FLUKA website.

I also noticed a few things in your input file. You are using a very high energy fraction in your OPT-PROD card for scintillation light. You used 0.9 which would mean that 90% of the deposited energy is converted to optical photons. Usually, the energy fraction is closer to 1% or even less. Also, you have set a reflectivity for iridium of 0%. By default, FLUKA materials (with exceptions) fully absorb optical photons. Hence you could consider either removing this OPT-PROP card (if you wish IRIDIUM to be an absorber) or use a more realistic reflectivity.

I tried to run it in the other conputer with FLUKA4-3.2 and ENDF-VII.1 neutron database. But the error occurred again. Is there any other special operation required?

When the number of particles in operation exceeds 10 million, something goes wrong. The error displayed in the log file is: Floating point exception (core dumped)

Dear Yuhua Ma,

The error in your simulation is due to neutrons transferring, in some very rare cases, extremely low amounts of energy to the medium. This special case is not currently handled properly by the FLUKA software when generating optical photons.

This bug occured in your simulation because of the coincidental use of the LOW-PWXS card with optical photon production. Hence, your simulation will run smoothly by removing the LOW-PWXS card. Obviously this is not the neutron setting you would normally wish, but you may momentarily consider to do that until a patched FLUKA version is released.

FLUKA developers have identified and fixed the issue in the code. The next major FLUKA release (expected at end of the Summer or after the Summer) should contain the patch.

In fact, there is a lot of deposited energy. Neutrons react with Gd157 to emit internal conversion electrons and gamma rays, and the reaction energy Q=7.9MeV

hat is simulated: Neutrons incident on a Gd2O2S material and produce optical photons in it.
In the simulation, this error occurs even if I don’t use any counting cards and just do a transport calculation.
After several tests, it was found that whenever the LOW-PWXS card and the optical photon dependent card (OPT-PROD, OPT-PROB) were present at the same time, the error would occur
GdOS4微米-Ir600nm光输出.flair (5.6 KB)
GdOS4微米-Ir600nm光输出124.err (64.4 KB)
GdOS4微米-Ir600nm光输出124.out (124.1 KB)
GdOS4微米-Ir600nm光输出124.log (783 Bytes)

What is extremely low and causes the problem in the optical photon generation, is the kinetic energy of the recoiling 158Gd (since the large Q-value you quote is mostly taken by gammas).

Yes, this is exactly what @blefebvre wrote above:

As he mentioned, the problem has been cured and the fix is currently being tested before release. Thanks for reporting.