How can I fix the illegal data signal error in my FMESH tally code in MCNP6?

  • Thread starter Thread starter Marina123456
  • Start date Start date
  • Tags Tags
    Mesh problem
AI Thread Summary
The user is experiencing an "illegal data signal" error while using MCNP6 with their FMESH code. They provided their FMESH code snippet for assistance. Other users suggested sharing input or output files for better troubleshooting and noted that MCNP is sensitive to formatting. A potential issue identified is the use of "X Y Z" instead of "XYZ" in the code. Proper formatting and syntax are crucial for resolving the error.
Marina123456
Messages
2
Reaction score
0
Hi everyone, I would help in such problem. i have tried to use a fresh card, but it always gives an illegal data signal am using mcnp6. here is my fmesh code. thanks
FMESH44:n GEOM=X Y Z ORIGIN=-10 -10 -10
IMESH=-50 IINTS=5
JMESH=50 JINTS=11
KMESH=50 KINTS=8
EMESH= 1e-7 1 2
 
Engineering news on Phys.org
Hi, welcome to physicsforums,

If you can share your input or output files, renaming to add .txt will let you attach it to a post here. MCNP is very sensitive to formatting. Alternatively you can put the lines in bbcode CODE tags so the formatting is not lost.

A guess but you have "X Y Z" when maybe it should be "XYZ".
 
  • Like
  • Love
Likes Marina123456 and berkeman
Hello, I'm currently trying to compare theoretical results with an MCNP simulation. I'm using two discrete sets of data, intensity (probability) and linear attenuation coefficient, both functions of energy, to produce an attenuated energy spectrum after x-rays have passed through a thin layer of lead. I've been running through the calculations and I'm getting a higher average attenuated energy (~74 keV) than initial average energy (~33 keV). My guess is I'm doing something wrong somewhere...

Similar threads

Back
Top