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 the addRing method adds the correct number of fuel assemblies to the test reactor.

test_setNumberOfFuelAssems()[source]

Tests that the setNumberOfFuelAssems method 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_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.

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_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.