armi.materials.tests.test_materials module
Tests materials.py.
- class armi.materials.tests.test_materials.AbstractMaterialTest[source]
Bases:
objectBase for material tests.
- MAT_CLASS = None
- VALID_TEMP_K = 500
- class armi.materials.tests.test_materials.TestMaterialBasics(methodName='runTest')[source]
Bases:
TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestMaterialFinding(methodName='runTest')[source]
Bases:
TestCaseMake sure materials are discoverable as designed.
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.
- class armi.materials.tests.test_materials.TestCalifornium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
Californium
- class armi.materials.tests.test_materials.TestCesium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestMagnesium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- VALID_TEMP_K = 1000
- class armi.materials.tests.test_materials.TestMagnesiumOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestMOX(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestNaCl(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestPotassium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestScandiumOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestSodium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestThoriumUraniumMetal(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestUranium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestUraniumOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
UraniumOxide
- class armi.materials.tests.test_materials.TestThorium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestThoriumOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
ThoriumOxide
- class armi.materials.tests.test_materials.TestVoid(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestLead(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- VALID_TEMP_K = 600
- class armi.materials.tests.test_materials.TestLeadBismuth(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
LeadBismuth
- class armi.materials.tests.test_materials.TestCopper(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestZr(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestInconel(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestInconel600(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
Inconel600
- class armi.materials.tests.test_materials.TestInconel625(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
Inconel625
- class armi.materials.tests.test_materials.TestInconelX750(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
InconelX750
- class armi.materials.tests.test_materials.TestAlloy200(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestCaH2(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestHafnium(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestHT9(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestHastelloyN(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- MAT_CLASS
alias of
HastelloyN
- class armi.materials.tests.test_materials.TestTZM(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestYttriumOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestZincOxide(methodName='runTest')[source]
Bases:
AbstractMaterialTest,TestCaseCreate 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.
- class armi.materials.tests.test_materials.TestFuelMaterial(methodName='runTest')[source]
Bases:
TestCaseCreate 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.
- baseInput = '\nnuclide flags:\n U: {burn: false, xs: true}\n ZR: {burn: false, xs: true}\ncustom isotopics:\n customIsotopic1:\n input format: mass fractions\n density: 1\n U: 1\n customIsotopic2:\n input format: mass fractions\n density: 1\n ZR: 1\nblocks:\n fuel: &block_fuel\n fuel1: &component_fuel_fuel1\n shape: Hexagon\n material: UZr\n Tinput: 600.0\n Thot: 600.0\n ip: 0.0\n mult: 1\n op: 10.0\n fuel2: &component_fuel_fuel2\n shape: Hexagon\n material: UZr\n Tinput: 600.0\n Thot: 600.0\n ip: 0.0\n mult: 1\n op: 10.0\nassemblies:\n fuel a: &assembly_a\n specifier: IC\n blocks: [*block_fuel]\n height: [1.0]\n axial mesh points: [1]\n xs types: [A]\n'
- class armi.materials.tests.test_materials.TestPickledMaterials(methodName='runTest')[source]
Bases:
TestCaseCreate 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_simpleReload()[source]
Prove that the material pickling works, creating reasonable copies of the matProps material.
- test_massFrac()[source]
Ensure that setting the mass fractions on one pickled material does not affect another copy.