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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file openmc_cell_segmenter-0.1.1.tar.gz.

File metadata

  • Download URL: openmc_cell_segmenter-0.1.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for openmc_cell_segmenter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f5724152dc21297e80e27a252bb4c990f88ff17ca6d231685c5d4d15475c2f5
MD5 f96c1e2459bf0f0af04eb87c7b12fdc4
BLAKE2b-256 f677746190d68e9fa02d2fc2b8f2f343ead879562c66903fe24d8ee1aa09d852

See more details on using hashes here.

File details

Details for the file openmc_cell_segmenter-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openmc_cell_segmenter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9957b20329c702e17bc7d6c28dfd9c184d10273a4667dd8de1d0a6628f6c583
MD5 0d9a9754c92926cdb5f80b26409d1b46
BLAKE2b-256 340c832eb88b27bc29224658752abae47daf38fd9260742ce86118df70fd6c41

See more details on using hashes here.

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