armi.reactor.converters.tests.test_blockConverter module

Test block conversions.

armi.reactor.converters.tests.test_blockConverter.buildSimpleFuelBlockNegativeArea()[source]

Return a simple block containing fuel, clad, duct, and coolant.

The block has a negative-area gap between fuel and cladding for testing.

class armi.reactor.converters.tests.test_blockConverter.TestBlockConverter(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_dissolveWireIntoCoolant()[source]

Test dissolving wire into coolant.

Test Case: Homogenize one component into another. T_ARMI_BLOCKCONV0
signature: test_dissolveWireIntoCoolant
requirements: R_ARMI_BLOCKCONV
test_dissolveLinerIntoClad()[source]

Test dissolving liner into clad.

Test Case: Homogenize one component into another. T_ARMI_BLOCKCONV1
signature: test_dissolveLinerIntoClad
requirements: R_ARMI_BLOCKCONV
test_dissolveMultiple()[source]

Test dissolving multiple components into another.

test_dissolveZeroArea()[source]

Test dissolving a zero-area component into another.

test_dissolveIntoZeroArea()[source]

Test dissolving a component into a zero-area solvent (raises ValueError).

test_dissolveNegativeArea()[source]

Test dissolving a zero-area component into another.

test_dissolveIntoNegativeArea()[source]

Test dissolving a zero-area component into another.

test_build_NthRing()[source]

Test building of one ring.

test_buildInsideDuct()[source]

Test building inside the duct.

test_convert()[source]

Test conversion with no fuel driver.

Test Case: Convert hex blocks to cylindrical blocks. T_ARMI_BLOCKCONV_HEX_TO_CYL1
signature: test_convert
test_convertHexWithFuelDriver()[source]

Test conversion with fuel driver.

Test Case: Convert hex blocks to cylindrical blocks. T_ARMI_BLOCKCONV_HEX_TO_CYL0
signature: test_convertHexWithFuelDriver
test_convertHexWithFuelDrOnNegCompAreaBlock()[source]

Tests the conversion of a control block with linked components, where a component contains a negative area due to thermal expansion.

test_convertCartesianLatticeWithFuelDriver()[source]

Test conversion with fuel driver.

class armi.reactor.converters.tests.test_blockConverter.TestToCircles(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_fromHex()[source]
test_fromRingOfRods()[source]
armi.reactor.converters.tests.test_blockConverter.buildControlBlockWithLinkedNegativeAreaComponent()[source]

Return a block that contains a bond component that resolves to a negative area once the fuel and clad thermal expansion have occurred.