Dear Fluka expert!
Could you please help me understand the following.
First simulation case:
I simulated a case whan 22 MeV photon beam interacts with water (using the BEAM and BEAMPOS cards) was calculated the energy depostion in the water along the beam in a volume of 0.1x0.1x0.1 mm3 (using the source USERBIN card).
The output from the source USERBIN card is attached (En_Dep_without_source.dat).
During this simulation, I also get beam parameters that interact with the currently selected value of 0.1x0.1x0.1cm3.
I obtained this data using the mgdraw.f procedure (attached)(1_ResultsPhoton_IN.dat).
Second simulation case:
In the second case, for the simulation I used the sorce.f subroutine (attached), in which the primary ray took into account the data obtained from the mgdraw.f (1_ResultsPhoton_IN.dat) subroutine from the first simulation.
In this case, also calculated the energy depostion in the water along the beam in a volume of 0.1x0.1x0.1 mm3 (output dats En_Dep_with_source.dat).
When I compare these data, I see that these are different amounts of storage energy for the same region.
thanks in advance for any help
Best regards
Zohrab
Could you please look at the attached files and help me find my errors?1_ResultsPhoton_IN.dat (2.7 MB) Dose22Mev.flair (7.9 KB) Dose22Mev.inp (5.7 KB) En_Dep_with_source.dat (721 Bytes) En_Dep_without_source.dat (721 Bytes) mgdraw_bw.f (16.9 KB) source.f (7.4 KB)