MCNP geometry error

Click For Summary
SUMMARY

The forum discussion centers on resolving a geometry error in an MCNP input deck, specifically related to cell #14, which represents the outer edge of a detector model. The user seeks assistance in defining a union of surfaces for this cell, emphasizing the importance of precision in surface definitions. The discussion highlights a quick fix involving the use of the "imp:p" command to negate a cell, ensuring that the boundary to the void is correctly established without interfering with volumes defined by other cells.

PREREQUISITES
  • Familiarity with MCNP (Monte Carlo N-Particle Transport Code) input decks
  • Understanding of geometry definitions in MCNP, particularly union of surfaces
  • Knowledge of the "imp:p" command and its application in MCNP
  • Basic concepts of cell definitions and boundary conditions in MCNP simulations
NEXT STEPS
  • Review MCNP documentation on geometry definitions and surface unions
  • Practice creating and troubleshooting MCNP input decks with complex geometries
  • Explore advanced techniques for defining boundaries in MCNP simulations
  • Learn about common errors in MCNP and their resolutions to enhance debugging skills
USEFUL FOR

This discussion is beneficial for nuclear engineers, radiation physicists, and researchers using MCNP for simulations, particularly those dealing with complex geometries and seeking to optimize their input decks.

MadGander
Messages
28
Reaction score
1
I've got a small geometry related error in my MCNP input deck, corresponding to cell #14 (the outer edge of my detector model). This should be a quick fix, but I'm running into issues defining that particular union of surfaces. Any assistance is appreciated.
 

Attachments

Engineering news on Phys.org
This is a quick trick for the experiment cell,
Code:
14 0 -99 #1 #2 #3 #4 #5 #6 #7 #8 #9 #10 #11 #12 imp:p 1     $ surroundings
# negates a cell. So everything inside the surface that defines the boundary to the void (graveyard in your input file), but not any of the volumes defined by cells 1 through 12.

Using surfaces properly is probably better, but you can't half do it. It's perfect or it's broken.
 
  • Informative
Likes   Reactions: berkeman

Similar threads

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