Skip to content

Segments cells into smaller cells. Useful for redefining geometry for cell based shutdown dose rate simulations.

License

Notifications You must be signed in to change notification settings

fusion-energy/openmc_cell_segmenter

Repository files navigation

CI with install

Segments OpenMC cells into smaller cells.

Specify the type of segmentation pane desired (XPlane, YPlane, ZPlane or ZCylinder) and the number of segments and obtain segmented cells.

Install

You will need to have OpenMC installed then you can use pip to install this package.

pip install openmc-cell-segmenter

Example scripts

Example Python scripts can be found in the examples folder.

Example outputs

In this animation we see an S shaped cell that has been segmented first with XPlanes, YPlanes, ZPlanes and ZCylinders colored by cell.

openmc cell segmented zplane

Motivation

Cell segmentation has a variety of use cases. However, this package was originally made for redefining CSG geometry for cell based shutdown dose rate simulations where separate cells are needed to capture the variation in neutron activation across large cells.

About

Segments cells into smaller cells. Useful for redefining geometry for cell based shutdown dose rate simulations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages