Zero lattice element hit in MCNP6 (but I cannot find the wrong area)

Click For Summary
The discussion revolves around a "zero lattice element hit" error in the mcnp6 code. A user seeks assistance in identifying the issue, which is linked to an incomplete coverage of the square lattice by a 6x6 fill. A suggestion is made to change the fill to 7x6 to potentially resolve the problem. The user confirms that this adjustment successfully fixed the error. The interaction highlights the collaborative nature of troubleshooting in programming forums.
yqh
Messages
2
Reaction score
2
TL;DR
The mcnp6 code I wrote contains a "zero lattice element hit" error, but I am unable to identify the problem. My code has been uploaded, and I kindly ask someone with the ability to assist me. Thank you
The mcnp6 code I wrote contains a "zero lattice element hit" error, but I am unable to identify the problem. My code has been uploaded, and I kindly ask someone with the ability to assist me. Thank you
 

Attachments

Engineering news on Phys.org
Welcome to PhysicsForums @yqh,
If you run the program with ip, and show a cross section with "pz 23", you can see the square lattice isn't fully covered, by the 6x6 fill. Changing it to a 7x6 fill might fix it.
Code:
5      1 0.100104 -401 402 -403 404 lat=1 u=4
         fill=0:6 0:5 0:0
         5 41r
 
Alex A said:
Welcome to PhysicsForums @yqh,
If you run the program with ip, and show a cross section with "pz 23", you can see the square lattice isn't fully covered, by the 6x6 fill. Changing it to a 7x6 fill might fix it.
Code:
5      1 0.100104 -401 402 -403 404 lat=1 u=4
         fill=0:6 0:5 0:0
         5 41r
Thank you very much for your help, this solved my problem, thank you again.
 
  • Like
Likes Alex A and berkeman
What type of energy is actually stored inside an atom? When an atom is split—such as in a nuclear explosion—it releases enormous energy, much of it in the form of gamma-ray electromagnetic radiation. Given this, is it correct to say that the energy stored in the atom is fundamentally electromagnetic (EM) energy? If not, how should we properly understand the nature of the energy that binds the nucleus and is released during fission?

Similar threads

  • · Replies 3 ·
Replies
3
Views
5K
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 65 ·
3
Replies
65
Views
7K
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K