Dear FLUKA experts,
I’m simulating the energy deposition of photon spectrum (synchrotron bending magnet source with energy from 5 to 400 KeV) in air volume (1 m³). I’m comparing the FLUKA results with PENELOPE code and analytical estimation.
For the case of the spectrum through air, the three methods shows a good agreement but when I consider the spectrum hitting a 0.2 mm diamond window before air volume, the energy deposited in air was at least 2 order of magnitude lower with FLUKA. The errors in simulations are lower than 1 %.
Could you post the missing source routine (from your .flair the Compile tab suggests it is called sourceCard1.f) and any other user routines you may have used?
You appear to be shooting the photon beam along the diamond layer, not across it. A fluence map of e-,e+,gamma shows something like this (low statistics but enough to show the point):