armi.reactor.converters.meshConverters module
Mesh specifiers update the mesh structure of a reactor by increasing or decreasing the number of mesh coordinates.
- class armi.reactor.converters.meshConverters.MeshConverter(converterSettings: dict)[source]
Bases:
object
Base class for the reactor mesh conversions.
- Parameters:
converterSettings (dict) – A set of str, value settings used in mesh conversion. Required settings are implementation specific.
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverter(converterSettings)[source]
Bases:
MeshConverter
Handles mesh conversions for r-z-theta reactor geometries.
- Variables:
converterSettings (dict) – This is a dictionary of settings that are used for the RZThetaReactorMeshConverter. Required converter settings:
uniformThetaMesh
,``thetaBins``
See also
RZThetaReactorMeshConverterByRingCompositionAxialBins
,RZThetaReactorMeshConverterByRingCompositionAxialCoordinates
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialBins(cs)[source]
Bases:
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialBins
Generate a new mesh based on the radial compositions and axial bins in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialBins
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialCoordinates(cs)[source]
Bases:
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialCoordinates
Generate a new mesh based on the radial compositions and axial coordinates in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialCoordinates
- class armi.reactor.converters.meshConverters.RZThetaReactorMeshConverterByRingCompositionAxialFlags(cs)[source]
Bases:
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialFlags
Generate a new mesh based on the radial compositions and axial material (based on block flags) regions in the core.
See also
_RZThetaReactorMeshConverterByRingComposition
,_RZThetaReactorMeshConverterByAxialFlags
- armi.reactor.converters.meshConverters.checkLastValueInList(inputList, listName, expectedValue, eps=0.001, adjustLastValue=False)[source]
Check that the last value in the list is equal to the expected value within +/- eps.