Replies: 1 comment 3 replies
-
|
It is really hard to say what might be the problem here. But I am strongly suspecting that the error lies on the MCNP side of things, since the conversion from ssw to mcpl of each particle is always based on more or less the same unpacking of fortran records of 11 (IIRC) double precision floats. Also, it is hard to imagine why only some gamma peaks would be missing. Of course, hard to say for sure. Perhaps you can first try with a simpler MCNP setup where there are less complications (importances, funny tallies, etc.) and see if the problem persists. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I converted an SSW file created in MCNP6 (version 6.1.0) to an MCPL (version 2.2.4) file for use in Geant4. The original source is a box containing thermal neutrons and gamma rays, mainly prompt gammas from graphite. After the conversion to MCPL, I split the source into its two components: neutrons and gammas.
The issue is that the gamma source is missing some peaks that we would expect from the activation of graphite (around 1.8 MeV and 3 MeV). This does not happen for all gamma peaks; most of them are present. I verified this by comparing a plot of the MCPL gamma source with a tallied gamma current in MCNP using a box slightly smaller than the SSW. In that MCNP simulation, particles are killed when they enter the tally box, and they travel only 1 mm in air.
Furthermore, when I use the two MCPL sources (neutrons and gammas) in Geant4 and reproduce the same tally as in MCNP, I observe a gamma current 100 times higher and a neutron current 10 times higher.
An additional note: I used different importances when building the SSW in MCNP. Could this issue be related to a wrong conversion of particle weights using ssw2mcpl? What puzzles me the most is that some gammas are entirely missing in the MCPL file.
Any help would be greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions