armi.reactor.converters.uniformMesh module¶
Converts reactor with arbitrary axial meshing (e.g. multiple assemblies with different axial meshes) to one with a global uniform axial mesh.
Useful for preparing DIF3D, etc. structured mesh neutronics runs from flexible ARMI reactor
Requirements¶
Build an average reactor with aligned axial meshes from a reactor with arbitrarily unaligned axial meshes in a way that conserves nuclide mass
Translate state information computed on the uniform mesh back to the unaligned mesh.
For neutronics cases, all neutronics-related block params should be translated, as well as the multigroup real and adjoint flux.
Examples
converter = uniformMesh.UniformMeshGeometryConverter() uniformReactor = converter.convert(reactor) # do calcs, then: converter.applyStateToOriginal()
The mesh mapping happens as described in the figure:
-
class
armi.reactor.converters.uniformMesh.UniformMeshGeometryConverter(cs=None)[source]¶ Bases:
armi.reactor.converters.geometryConverters.GeometryConverterBuild uniform mesh version of the source reactor