Basic FMESH question: "Jmesh keyword missing error"

  • Thread starter AlexFi
  • Start date
  • Tags
    Error
In summary: Yes, I solved this problem. The keyword "imesh" is missing from the command line. 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.
  • #1
AlexFi
19
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

  • OPUS_Center_FMESH.txt
    717 bytes · Views: 119
Last edited:
  • Like
Likes Grelbr42
Engineering news on Phys.org
  • #2
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.
 
  • Informative
Likes Alex A
  • #3
Not enough spaces in front of IMESH etc, they are part of the FMESH card. Try 5.
 
  • Like
Likes AlexFi
  • #4
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

  • OPUS_Center_FMESH.txt
    780 bytes · Views: 110
  • #5
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"?
 

FAQ: Basic FMESH question: "Jmesh keyword missing error"

What is the "Jmesh keyword missing error" in FMESH?

The "Jmesh keyword missing error" in FMESH typically indicates that the input file for the FMESH tally is missing a required keyword, specifically 'Jmesh'. This keyword is essential for defining the mesh parameters in the FMESH tally, which is used for spatially resolved scoring in Monte Carlo simulations.

How can I fix the "Jmesh keyword missing error"?

To fix the "Jmesh keyword missing error," you need to ensure that the 'Jmesh' keyword is correctly included in your FMESH input file. This involves specifying the mesh parameters such as the number of bins and the boundaries for the mesh in the input file. Double-check the syntax and format according to the FMESH documentation.

Where should the 'Jmesh' keyword be placed in the FMESH input file?

The 'Jmesh' keyword should be placed within the section of the FMESH input file that defines the mesh tally parameters. It usually follows the 'IMESH' and 'KMESH' keywords, completing the 3D mesh definition. Ensure it is properly formatted and placed in the correct sequence.

What are common mistakes that lead to the "Jmesh keyword missing error"?

Common mistakes include typographical errors such as misspelling 'Jmesh', incorrect formatting, or omitting the keyword entirely. Additionally, placing the 'Jmesh' keyword in the wrong section of the input file or not following the required syntax can also lead to this error.

Is there a way to validate my FMESH input file to avoid the "Jmesh keyword missing error"?

Yes, you can validate your FMESH input file by using syntax checkers or validators provided by the Monte Carlo simulation software. Some software packages also offer debugging tools or detailed error messages that can help identify and correct issues in the input file. Carefully reviewing the FMESH documentation and examples can also help ensure your input file is correctly formatted.

Similar threads

Replies
1
Views
2K
Replies
9
Views
3K
Replies
24
Views
5K
Replies
2
Views
2K
Replies
2
Views
2K
Replies
1
Views
3K
Replies
31
Views
3K
Replies
2
Views
3K
Back
Top