Surface treatment

Hi,

I have a question about plane surfaces.
Since there is no “or” operator in OpenMC, how can I treat it?
For example, when designing outside of rectangle, which one is correct below?

Thank you.

Well, I’d encourage the ‘try it and see’ approach. Regardless, I’d do the second option.

You would need to have four separate cells outside the rectangle like what you’re outlined on the right. You might want to try the geometry plotter to ensure that you’ve built your geometry correctly:
http://mit-crpg.github.io/openmc/usersguide/input.html#geometry-plotting-specification-plots-xml

Best,
Paul