csg2csg
csg2csg copied to clipboard
Tools to translate between different CSG geometry types
Was attempting to convert an MCNP file, which had the word 'implicit' in one of the tally comment cards. This broke the _get_importances function in MCNPInputs so fixed with a...
MCNP defines cone surfaces (K/X, KX etc.) with an origin, a gradient (t^2) and optionally a +/-1 specifier for single cones (as opposed to double cones). When converting single-cone surfaces...
This is an initial attempt to add some additional functionality to parsing MCNP inputs. Additions include: - Changes to importance regex - Support for read cards - Support for &...
I have added capability to retain xs library data from mcnp and serpent input files, which is invoked by a new command line argument, -xs.
This adds a check in the `__get_cell_cards` method to check a token. This block throwing an error due to an attempt at creating a cell card object from a line...
I'm trying to convert this material file from Serpent to OpenMC: ``` mat fuel -4.69 . . . 120230 -0.00000000000000E+00 . . . ``` The dotted lines are filled in...
Hi @makeclean, Noticed that csg2csg master doesn't like $ comments on MCNP files if the are not preceded by any text, for example: ' $The outer cell' is commonly found...
This PR adds the ability to import OpenMC geometry and translate to other functions. It still needs work on geometries that have lattices & universes, but other than that should...
Fluka appears to have a limit on the number of terms enclosed by parenthesis. Converting a large MCNP cell can lead to geometry that looks okay in flair but gives...
I can cite Serpent-1.1.7 user manual obtained from OECD, p.28 : 2. Only the intersection operator is available for cell definitions. This means that a point is inside the cell...