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

AI Thread 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 Summary
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
Hello everyone, I am currently working on a burnup calculation for a fuel assembly with repeated geometric structures using MCNP6. I have defined two materials (Material 1 and Material 2) which are actually the same material but located in different positions. However, after running the calculation with the BURN card, I am encountering an issue where all burnup information(power fraction(Initial input is 1,but output file is 0), burnup, mass, etc.) for Material 2 is zero, while Material 1...
Back
Top