csg2csg icon indicating copy to clipboard operation
csg2csg copied to clipboard

Converting from other csg formats

Open shimwell opened this issue 5 years ago • 0 comments

Currently CSG2CSG converts from MCNP to *

@makeclean is working on OpenMC to MCNP

In the longer term it would be great to convert from * to * and perhaps we should start structuring the code so that this is supported.

Changing the arg parsing so that an input file and format are accepted

python3 python/csg2csg.py -i ~/Desktop/serpent_docker/matti_Neutronics/DEMO_materials.serp -f serpent -o openmc mcnp

I have a short term need to create some OpenMC inputs (or at least the material cards part) from Serpent so I have created a fork

This also contains the suggested changes to arg parse

shimwell avatar Jul 08 '19 15:07 shimwell