MCNP Barrel Geometry Help

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues with an MCNP input deck, specifically focusing on geometry errors and material definitions. Participants are seeking to resolve problems related to the visualization and configuration of the geometry in the MCNP software.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant notes that every point in space must belong to only one cell and all space must be in a cell, suggesting the need for a void cell with importance 0.
  • Another participant points out potential inconsistencies in the use of surfaces and suggests that all rods must be mentioned for a specific cell to exclude them.
  • A participant expresses confusion about defining materials for the cells and indicates that they are encountering a fatal error related to material definitions.
  • One participant identifies an extra blank line before the material cards as a potential source of error, along with issues related to character limits and spacing in the input code.

Areas of Agreement / Disagreement

Participants generally agree on the need for proper cell definitions and the importance of adhering to formatting rules, but the discussion remains unresolved regarding the specific errors in the material definitions and their causes.

Contextual Notes

Limitations include potential misunderstandings of the MCNP input format and the specific requirements for cell and material definitions, which may not be fully clarified in the discussion.

wtobias
Messages
3
Reaction score
2
Hey all. I am creating an MCNP input deck but my geometry is appearing red in the vised plot and I am receiving errors relating to the geometry and material card sections. Could anyone potentially help me figure this issue out?
 

Attachments

Engineering news on Phys.org
Hi @wtobias, welcome to PhysicsForums!

All problems need a void cell with importance 0, or particles transport forever. Every point in space must belong to only one cell and all space must be in a cell.

You are using surface 1 and 3 in what feels like inconsistent ways. I've ignored surface 1, and putting it back in is your job. If you need a cell between these think about what you need to do to create that.

For cell 111 to not include any of the rods, you have to mention them all. For example,
Code:
  111     0         -3 2
       #51 #52 #53 #54 #55 #56 #57 #58 #59 #60
       #61 #62 #63 #64 #65 #66 #67 #68 #69 #70
       #71 #72 #73 #74 #75 #76 #77 #78 #79 #80
       #81 #82 #83 #84 #85 #86 #87 #88 #89 #90
       #91 #92 #93 #94 #95 #96 #97 #98 #99 #100
       #91 #92 #93 #94 #95 #96 #97 #98 #99 #100
       #101 #102 #103 #104 #105 #106 #107 #108 #109 #110 imp:n=1

I've used cell 50 as the central rod and added 999 as the void. Does this start to make sense?
 

Attachments

Last edited:
  • Informative
Likes   Reactions: berkeman
Yes thank you that makes sense. I still run into a fatal error when defining the materials however. I define material 1 for cell 111 and material 2 for the new cell I made 112. I'm not exactly sure where I am going wrong with my input. Ill provide the updated copy of the code below that sends the error. all that was changed was the material definition in the cell section for cells 111 and 112.
 

Attachments

You have an extra blank line just before the material cards and the program stops reading. One blank after the cell definitions and one after the surface definitions is all you should have. There is also stuff beyond the 80 char limit, which makes my version unhappy, but a new copy might be fine with that. It was an old IBM mainframe punched card limitation. Lastly there are too few spaces here
Code:
   24052.80c -0.18 $ 18% Chromium for SS 304
   28058.80c -0.12 $ 12% Nickel for SS 304
5 spaces will tell the code you are continuing the last line.
 
This helped thank you
 
  • Like
Likes   Reactions: Alex A and berkeman

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
845
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 0 ·
Replies
0
Views
1K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
2
Views
7K