https://github.com/openmc-dev/openmc_serpent_adapter
Tool for converting Serpent input files to OpenMC classes/XML
https://github.com/openmc-dev/openmc_serpent_adapter
Last synced: 2 months ago
JSON representation
Tool for converting Serpent input files to OpenMC classes/XML
- Host: GitHub
- URL: https://github.com/openmc-dev/openmc_serpent_adapter
- Owner: openmc-dev
- License: mit
- Created: 2024-01-17T20:09:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-19T23:32:53.000Z (over 1 year ago)
- Last Synced: 2024-11-20T00:25:53.535Z (over 1 year ago)
- Language: Python
- Size: 95.7 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serpent Conversion Tools for OpenMC
[](https://opensource.org/licenses/MIT)
This repository provides tools for parsing/converting Serpent models to OpenMC
classes and/or XML files. To install these tools, run:
python -m pip install git+https://github.com/openmc-dev/openmc_serpent_adapter.git
This makes the `openmc_serpent_adapter` Python module and `serpent_to_openmc`
console script available. To convert an Serpent model, run:
serpent_to_openmc serpent_input
## Disclaimer
There has been no methodical V&V on this converter; use at your own risk!
## Known Limitations
The converter currently only handles geometry and material information; source
definition (`src`) and detectors (`det`) are ignored.
Many geometry features are not currrently supported:
- Many lattice types
- Limited support for transformations (`trans`)
- Velocity and acceleration transformations (`transa`, `transv`)
- Nested universe definitions (`nest`)
- Particle geometry (`particle`)
- Explicit stochastic geometry (`pbed`)
- Irregular 3D geometry (`solid`)
- Unstructured mesh-based geometry (`umsh`)
- Stochastic Voronoi tessellation geomery (`voro`)