openmc.model – Model Building

Convenience Functions

openmc.model.borated_water Return a Material with the composition of boron dissolved in water.
openmc.model.cylinder_from_points Return a cylinder given points that define the axis and a radius.
openmc.model.hexagonal_prism Create a hexagon region from six surface planes.
openmc.model.rectangular_prism Get an infinite rectangular prism from four planar surfaces.
openmc.model.subdivide Create regions separated by a series of surfaces.
openmc.model.pin Convenience function for building a fuel pin

Composite Surfaces

openmc.model.RectangularParallelepiped Rectangular parallelpiped composite surface
openmc.model.RightCircularCylinder Right circular cylinder composite surface
openmc.model.XConeOneSided One-sided cone parallel the x-axis
openmc.model.YConeOneSided One-sided cone parallel the y-axis
openmc.model.ZConeOneSided One-sided cone parallel the z-axis

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_spheres Generate a random, non-overlapping configuration of spheres within a container.

Model Container

Classes

openmc.model.Model Model container.