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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
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

Physics 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
 
Reply
  • Informative
Likes   Reactions: berkeman
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.
 
Reply
  • Like
Likes   Reactions: Alex A and berkeman