Help debugging MCNP code - particle lost and zero latice element found
Click For Summary
Discussion Overview
The discussion revolves around debugging an MCNP code related to particle loss errors and issues with lattice elements. Participants are exploring potential geometry errors and providing suggestions for troubleshooting within the context of computational modeling in nuclear engineering.
Discussion Character
- Technical explanation, Exploratory, Debate/contested
Main Points Raised
- One participant reports a persistent "particle lost" error despite no apparent holes in the lattice and seeks assistance in identifying mistakes in the code.
- Another participant suggests using the plotting package that comes with MCNP to identify geometry errors, emphasizing that every part of 3-D space must be filled with exactly one cell.
- A further suggestion is made to consult the manual for the "interactive plotter" and to use specific command line options to visualize the geometry.
- A participant describes their experience using the interactive plotter, noting that the entire plot shows as cell 99, which indicates a potential error in the definition of that cell. They suggest that defining reflectors with simple surfaces instead of macrobodies might simplify the void cell definition.
Areas of Agreement / Disagreement
Participants generally agree on the importance of checking geometry definitions and using the plotting tools, but there is no consensus on the specific nature of the errors or the best approach to resolve them.
Contextual Notes
Limitations include potential missing assumptions about the geometry definitions and the specific configurations of the cells and surfaces in the MCNP model.
Similar threads
- · Replies 3 ·
- · Replies 19 ·
- · Replies 1 ·
- · Replies 5 ·
- · Replies 8 ·
- · Replies 4 ·
- · Replies 1 ·