MCNP Geometry Error

  • Thread starter Thread starter MadGander
  • Start date Start date
  • Tags Tags
    Mcnp Nuclear
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
1 reply · 3K views
MadGander
Messages
28
Reaction score
1
TL;DR
MCNP cell definition help
Hello,

I'm attempting to model a 300x300x300 cm room in MCNP with a doorway and walk-in section, but I'm struggling with some of the cell definitions, particularly in the Z plane. I've attached the input deck below. It is fairly short, so it's probably going to be a relatively quick fix. Any help is appreciated.
 

Attachments

Physics news on Phys.org
Hello again!

More objects but simpler is often easier to debug.

Code:
5 0 -1 6 -7 (2 -10 -5 4) :(10 -3 4 -8) :(10 -3 9 -5) imp:p 1  $ room
I think you were expecting the intersections on the left to apply to all of the union blocks, but this needs extra brackets.
Code:
5 0 -1 6 -7 ((2 -10 -5 4) :(10 -3 4 -8) :(10 -3 9 -5)) imp:p 1  $ room

I think this fixes it.