armi.cases.inputModifiers.tests.test_pinTypeInputModifiers module

Unit tests for input modifiers.

class armi.cases.inputModifiers.tests.test_pinTypeInputModifiers.MockGeom[source]

Bases: object

geomType = 'hex'
class armi.cases.inputModifiers.tests.test_pinTypeInputModifiers.TestBlueprintModifiers(methodName='runTest')[source]

Bases: unittest.case.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_AdjustSmearDensity()[source]

Compute the smear density where clad.id is 1.0.

\[areaFuel = smearDensity * innerCladArea fuelOD^2 / 4 = 0.5 * cladID^2 / 4 fuelOD = \sqrt{0.5}\]

Notes

The area of fuel is 0.5 * inner area of clad.

test_CladThickenessByODModifier()[source]

Adjust the clad thickness by outer diameter.

\[cladThickness = (clad.od - clad.id) / 2 clad.od = 2 * cladThicness - clad.id\]

when clad.id = 1.0 and cladThickness = 0.12,

\[clad.od = 2 * 0.12 - 1.0 clad.od = 1.24\]
test_CladThickenessByIDModifier()[source]

Adjust the clad thickness by inner diameter.

\[cladThickness = (clad.od - clad.id) / 2 clad.id = cladod - 2 * cladThicness\]

when clad.id = 1.1 and cladThickness = 0.025,

\[clad.od = 1.1 - 2 * 0.025 clad.od = 1.05\]