Skip to content

Modelling a Pincell #3098

Open
Open
@tcsousa99

Description

@tcsousa99

Dear OpenMC contributors,

I'm learning OpenMC and until now the documentation has been wonderful. I thought I should contribute just by noticing some improvements on the example of the "Modeling a Pincell".

In cell [32] when running:
box = op.model.RectangularPrism(width=pitch, height=pitch, boundary_type='reflective') type(box)

The ouput I get is
openmc.model.surface_composite.RectangularPrism

And right after that there's a piece of text saying:

Pay attention here -- the object that was returned is NOT a surface. It is actually the intersection of four surface half-spaces, just like we created manually before. Thus, we don't need to apply the unary operator (-box). Instead, we can directly combine it with +clad_or.

But immediatelly after the '-box' is used in:
water_region = -box & +clad_outer_radius

From what I understand, from this class surface_composite.RectangularPrism, four surfaces are created but we still need to use the '-' operator to define a region, am I correct?

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions