Basic FMESH question: "Jmesh keyword missing error"

  • Thread starter Thread starter AlexFi
  • Start date Start date
  • Tags Tags
    Error
AI Thread Summary
IMESH, JMES, and KMESH values define the locations and divisions of mesh points in MCNP simulations, with IMESH specifying coarse mesh points in either the y or x direction depending on geometry. The error "imesh keyword missing" may occur despite the keyword being present due to syntax issues or formatting errors in the FMESH card. Users can specify large divisions with IMESH and further divide them using IINTS for finer control over mesh sizes. Properly formatted IMESH values will yield output that reports the centers of the divisions. The discussion also touches on using FMESH for fission rate calculations and syntax concerns related to multipliers.
AlexFi
Messages
19
Reaction score
5
TL;DR Summary
Want to apply fmesh to calculate fission rate
Can someone give me a brief explanation what are imesh jmesh kmesh values are?
edit: MCNP manual says IMESH is
"Locations of the coarse mesh points in the y direction for rectangular geometry or in the x direction for cylindrical geometry"
Which doesnt make any sense to me... what even is coarse mesh points
Secondly, can someone tell me why my code spits out error "imesh keyword missing" even though its clearly there?
 

Attachments

Last edited:
Engineering news on Phys.org
You can specify large divisions using IMESH. Then within the large divisions you can specify small divisions using IINTS. The large divisions are the coarse divisions.

The simplest thing is to just put the divisions where you want them using the IMESH values. If you don't specify any INTS value it only divides each IMESH range into 1 division.

But you can also put IMESH values in, then use the IINTS value to divide the large division into equal sized smaller parts. If you have multiple IMESH values you can divide each IMESH range into as many divisions as you like.

So, for example, with the origin the default (0,0,0). If you put the following in your FMESH (you have to supply the rest of the FMESH card).

IMESH 10 20 IINTS 2 1

This would give you a coarse division from 0 to 10, broken into 2 small divisions, then a coarse division from 10 to 20, in only 1 small division.

When you use the FMESH, the output will report the divisions by reporting the middle of the division. So my example will report divisions with centers 2.5 (half of the first small division), 7.5 (halfway in the second), and 15.
 
Not enough spaces in front of IMESH etc, they are part of the FMESH card. Try 5.
 
Thanks Alex A.
I also added fm24 for fission rate tallying. Could you please check my code to make sure I put the right syntax for the multipliers? Is there any fm syntax or any code line for power density that can be used with fmesh?
 

Attachments

AlexFi said:
TL;DR Summary: Want to apply fmesh to calculate fission rate

Can someone give me a brief explanation what are imesh jmesh kmesh values are?
edit: MCNP manual says IMESH is
"Locations of the coarse mesh points in the y direction for rectangular geometry or in the x direction for cylindrical geometry"
Which doesnt make any sense to me... what even is coarse mesh points
Secondly, can someone tell me why my code spits out error "imesh keyword missing" even though its clearly there?
Do you solve this problem"imesh keyword missing"?
 
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