Skip to content

Convert OpenMC Geometry Components to CAD

License

Notifications You must be signed in to change notification settings

openmc-dev/openmc_cad_adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conversion of OpenMC Geometry Components to CAD

License

This project converts OpenMC models from XML files to a Cubit journal file for import as CAD geometry.

Installation

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

Disclaimer

There has been no methodical V&V on this converter; use at your own risk!

Dependencies

Limitations

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.

Specific Limitations:

  • general Cones are not handled
  • Torii are required to have a single minor radius, OpenMC allows for different minor radii orthogonal to the toroidal axis

About

Convert OpenMC Geometry Components to CAD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages