armi.reactor.converters.tests.test_geometryConverters module

Module to test geometry converters.

class armi.reactor.converters.tests.test_geometryConverters.TestGeometryConverters(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_addRing()[source]

Tests that addRing adds the correct number of fuel assemblies to the test reactor.

test_setNumberOfFuelAssems()[source]

Tests that setNumberOfFuelAssems properly changes the number of fuel assemblies.

test_getAssembliesInSector()[source]
class armi.reactor.converters.tests.test_geometryConverters.TestHexToRZConverter(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_convert()[source]

Test HexToRZConverter.convert().

Notes

Ensure the converted reactor has 1) nuclides and nuclide masses that match the original reactor, 2) for a given (r,z,theta) location the expected block type exists, 3) the converted reactor has the right (r,z,theta) coordinates, and 4) the converted reactor blocks all have a single (homogenized) component.

Test Case: Convert a 3D hex reactor core to an RZ-Theta core. T_ARMI_CONV_3DHEX_TO_2DRZ
signature: test_convert
test_createHomogenizedRZTBlock()[source]
class armi.reactor.converters.tests.test_geometryConverters.TestEdgeAssemblyChanger(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_edgeAssemblies()[source]

Sanity check on adding edge assemblies.

Test Case: Test adding/removing assemblies from a reactor. T_ARMI_ADD_EDGE_ASSEMS
signature: test_edgeAssemblies
class armi.reactor.converters.tests.test_geometryConverters.TestThirdCoreHexToFullCoreChanger(methodName='runTest')[source]

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

test_growToFullCoreFromThirdCore()[source]

Test that a hex core can be converted from a third core to a full core geometry.

Test Case: Convert a third-core to a full-core geometry and then restore it. T_ARMI_THIRD_TO_FULL_CORE0
signature: test_growToFullCoreFromThirdCore
test_initNewFullReactor()[source]

Test that initNewReactor will growToFullCore if necessary.

test_skipGrowToFullCoreWhenAlreadyFullCore()[source]

Test that hex core is not modified when third core to full core changer is called on an already full core geometry.