This project converts OpenMC models from XML files to a Cubit journal file for import as CAD geometry.
To install this tool run:
python -m pip install git+https://github.com/openmc-dev/openmc_cad_adapter.git
This will make the openmc_to_cad
script available for use. To convert an OpenMC model, run:
openmc_to_cad /path/to/openmc/model.xml
There has been no methodical V&V on this converter; use at your own risk!
There are several known and many unknown limitations of this tool. It is in a preliminary state and subject to considerable redesign, including the addition of a backend for other CAD engines.