[MCNP6] How to use Tally E with Fmesh

  • Thread starter Thread starter DONGY
  • Start date Start date
  • Tags Tags
    Mcnp6
Click For Summary
SUMMARY

This discussion focuses on the implementation of Tally E with Fmesh in MCNP6, building on previous experiences with MCNP5. The correct syntax for using Fmesh in MCNP6 requires the inclusion of energy values in the EMESH section, which is crucial for accurate tallying. The proper format is demonstrated as follows: FMESH4:P GEOM=REC ORIGIN=-550 -550 -1 IMESH=-50 IINTS=5 JMESH=550 JINTS=11 KMESH=799 KINTS=8 EMESH=0 200i 2. This adjustment ensures compatibility between MCNP5 and MCNP6.

PREREQUISITES
  • Fmesh configuration in MCNP5
  • Understanding of Tally E in MCNP
  • Basic knowledge of MCNP6 syntax
  • Energy binning concepts in Monte Carlo simulations
NEXT STEPS
  • Review the MCNP6 User Manual for detailed syntax and examples
  • Explore advanced Fmesh configurations in MCNP6
  • Learn about energy deposition tallies in MCNP
  • Investigate common pitfalls when transitioning from MCNP5 to MCNP6
USEFUL FOR

This discussion is beneficial for nuclear engineers, radiation physicists, and researchers utilizing MCNP for Monte Carlo simulations, particularly those transitioning from MCNP5 to MCNP6.

DONGY
Messages
2
Reaction score
0
Hello everyone,
I do need your help in this matter, please kindly help me solve this problem.
I use MCNP5 and i want to use Tally E with Fmesh.
I use Tally E and Fmesh this way with MCNP5.
Code:
F4:P,E 6
E4 0 200i 2
FMESH4:P GEOM=REC ORIGIN=-550 -550 -1
      IMESH=-50 IINTS=5
      JMESH=550 JINTS=11
      KMESH=799 KINTS=8
      EMESH=2
But I want to use Fmesh in MCNP6. I don't know how to write it.
Such as this.
Code:
FMESH4:P GEOM=REC ORIGIN=-550 -550 -1
      IMESH=-50 IINTS=5
      JMESH=550 JINTS=11
      KMESH=799 KINTS=8
E4 0 200i 2
Please, help me
 
Last edited by a moderator:
Engineering news on Phys.org
Hi,

E4 would follow an F4 tally.
To do the same thing with an FMESH4, put the energy values you would put in an E4 into the EMESH= section which exists in your first example but is missing in your second.
Like this
Code:
FMESH4:P GEOM=REC ORIGIN=-550 -550 -1
      IMESH=-50 IINTS=5
      JMESH=550 JINTS=11
      KMESH=799 KINTS=8
      EMESH=0 200i 2

This is the same for MCNP5 and 6.
,
I hope this helps.
 
Alex A said:
Hi,

E4 would follow an F4 tally.
To do the same thing with an FMESH4, put the energy values you would put in an E4 into the EMESH= section which exists in your first example but is missing in your second.
Like this
Code:
FMESH4:P GEOM=REC ORIGIN=-550 -550 -1
      IMESH=-50 IINTS=5
      JMESH=550 JINTS=11
      KMESH=799 KINTS=8
      EMESH=0 200i 2

This is the same for MCNP5 and 6.
,
I hope this helps.
These are very helpful to me.
Thank you very much!
 
Hello, I am designing an X-ray irradiator with MCNP simulation. But I am still in confusion, whether my X-ray housing will be a box or a cylinder. If the box (macrobody identifier of MCNP) is required, I am trying to match the dimension as that of the cylinder, i,e, the height will be that of the cylinder height, and the other two dimensions will be that of the radius of the cylinder (surface 52 and 53). Can anybody please help me define the surfaces? Below is my attached text file. Forgot...

Similar threads

Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K