adding scale material outputs
shimwell opened this issue · 3 comments
To allow shift material format to be exported we could add another function like this one that outputs mcnp materials
neutronics_material_maker/neutronics_material_maker/utils.py
Lines 81 to 127 in 4ec3fcb
then we could add a new property for the scale shift export in materials.py like this one that does mcnp
neutronics_material_maker/neutronics_material_maker/material.py
Lines 285 to 299 in 4ec3fcb
and another in the multimaterial class like this one
neutronics_material_maker/neutronics_material_maker/mutlimaterial.py
Lines 205 to 217 in 4ec3fcb
what do you think @jbae11 does this look like the best option
@shimwell is there a dictionary of isotopic atomic mass (e.g. {'h1': 1.0078})?
So Shift's material composition unit is [atoms/barn-cm], meaning that the material density is 'baked into' the material definition, which is different than MCNP. Thus I'd need the atomic mass to convert from wo
. If there isn't a dictionary of isotopic atomic mass, I think I have one, I can add that in the utils.py
as well. Let me know :)
Perhaps openmc.Material().get_nuclide_atom_densities() is useful here