todo
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f5724152dc21297e80e27a252bb4c990f88ff17ca6d231685c5d4d15475c2f5 |
|
MD5 | f96c1e2459bf0f0af04eb87c7b12fdc4 |
|
BLAKE2b-256 | f677746190d68e9fa02d2fc2b8f2f343ead879562c66903fe24d8ee1aa09d852 |
File details
Details for the file openmc_cell_segmenter-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: openmc_cell_segmenter-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9957b20329c702e17bc7d6c28dfd9c184d10273a4667dd8de1d0a6628f6c583 |
|
MD5 | 0d9a9754c92926cdb5f80b26409d1b46 |
|
BLAKE2b-256 | 340c832eb88b27bc29224658752abae47daf38fd9260742ce86118df70fd6c41 |