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.
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.
Metadata
Release files for openmc-cell-segmenter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openmc_cell_segmenter-0.1.1.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openmc_cell_segmenter-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / openmc_cell_segmenter-0.1.1.tar.gz
| Download URL | openmc_cell_segmenter-0.1.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f5724152dc21297e80e27a252bb4c990f88ff17ca6d231685c5d4d15475c2f5
|
|
BLAKE2b-256 checksum How to use checksums |
f677746190d68e9fa02d2fc2b8f2f343ead879562c66903fe24d8ee1aa09d852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / openmc_cell_segmenter-0.1.1-py3-none-any.whl
| Download URL | openmc_cell_segmenter-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9957b20329c702e17bc7d6c28dfd9c184d10273a4667dd8de1d0a6628f6c583
|
|
BLAKE2b-256 checksum How to use checksums |
340c832eb88b27bc29224658752abae47daf38fd9260742ce86118df70fd6c41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|