armi.matProps.material module
How matProps defines a material class.
- class armi.matProps.material.Material[source]
Bases:
objectThe Material class is a generic container for all Material types, whether they contain ASME properties, fluid properties, or steel properties.
It may be necessary to have multiple Material definitions for a single material containing different phases.
Constructor for Material class.
- validFileFormatVersions = [3.0, 'TESTS']
- materialType
Enum represting type for the Material object
- composition
List of Constituent objects representing composition of Material.
- name
Name of Material object.
- saved() bool[source]
Returns a bool value indicating whether the Material has been stored internally in the matProps.materials map via matProps.addMaterial().
- static dataCheckMaterialFile(filePath, rootNode)[source]
This is a partial data check of the material data file.
Checks the first level of data keywords and also check that the file format is a valid version.
- static getValidFileFormatVersions()[source]
Get a vector of strings with all of the valid file format versions.
- static getNode(node: dict, subnodeName: str)[source]
Searches a node for a child element and returns it.