Different neutron spallation source

Dear FLUKA experts,

I try to use mgdraw.f for creating neutron sources as I did here. The source file came out, but when I plot the neutron distribution from this source file in MATLAB. The result shows like this


image

The distribution looks weird. It’s not distributed all over the geometry from this input.
ads_fuelrod-mgdraw.inp (39.6 KB)
mgdraw_example.f (4.2 KB)

On the other hand, when I use fluscw.f the neutron distribution looks like this. it seems the distribution is correct.
fluscw_forads.f (4.7 KB)
ads_complex-fuelrod.inp (39.4 KB)


I do not understand what causes the neutron source from mgdraw.f distributed like that and the energy range between these sources is significantly different.

Thank you in advance,
Thanapong

Dear @thanapong,

I opened your *.inp files, and they seem to have some geometric errors, visible in the xy plane.Screenshot from 2021-11-16 10-15-21

Although this is most likely not the cause of the discrepancy your are mentioning, could you rerun with the corrected geometry?

Thank you!

Best,
Daniel

1 Like

Dear @dprelipc ,

Sorry for my mistake, I have attached the wrong file.
Here is the correct one ads_complex - fuelrod.inp (39.5 KB)
instead of ads_complex-fuelrod.inp

Dear @thanapong,

The updated file you attached has additional PHYSICS cards definitions, but still has the same geometric errors, please correct them.

Nevertheless, I had a look at your routines.

In the mgdraw_example.f routine, on line 93, you are applying a cut on the particle generation:
IF (LTRACK.GT.1 .OR. LTRACK.LT.4)THEN
which is not present in the fluscw_forads.f. This will of course reduce the number of particles that will be saved.

Secondly, please pay attention to the kinematic variables you are storing. In mgdraw_example.f, you are saving the TKI(ip), which is the kinetic energy of the particle, whereas in fluscw_forads.f you are first taking the norm of the PLA variable, but in the header (documentation) of the user routine, on line 33, it tells you that if it’s negative, then it’s the laboratory momentum. My guess is that you are storing the momentum instead of the kinetic energy, hence why the energy range between the source is different. Out of curiosity, I plotted the kinetic energy vs. momentum in your energy range for neutrons, and it seems to confirm the order of magnitude.
kinetic_energy_vs_momentum_neutron

Please let me know if this was useful and if there is anything else I can help with.

Best,
Daniel

1 Like