Skip to main content

todo

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openmc_cell_segmenter-0.1.1.tar.gz (9.0 kB view hashes)

Uploaded Source

Built Distribution

openmc_cell_segmenter-0.1.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page