openmc.model – Model Building

Convenience Functions

Several helper functions are available here. Ther first two create rectangular and hexagonal prisms defined by the intersection of four and six surface half-spaces, respectively. The last function takes a sequence of surfaces and returns the regions that separate them.

openmc.model.get_hexagonal_prism Create a hexagon region from six surface planes.
openmc.model.get_rectangular_prism Get an infinite rectangular prism from four planar surfaces.
openmc.model.subdivide Create regions separated by a series of surfaces.

TRISO Fuel Modeling

Classes

openmc.model.TRISO Tristructural-isotopic (TRISO) micro fuel particle

Functions

openmc.model.create_triso_lattice Create a lattice containing TRISO particles for optimized tracking.
openmc.model.pack_trisos Generate a random, non-overlapping configuration of TRISO particles within a container.

Model Container

Classes

openmc.model.Model Model container.