armi.materials.custom module

Custom materials are ones that you can specify all the number densities yourself.

Useful for benchmarking when you have a particular specified material density. Use the isotopic input described in The Blueprints Input File.

The density function gets applied from custom isotopics by armi.reactor.blueprints.isotopicOptions.CustomIsotopic.apply().

class armi.materials.custom.Custom[source]

Bases: Material

Custom Materials have user input properties.

During construction, set default density to 1.0. That way, people can set number densities without having to set a density and it will work. This will generally be overwritten in practice by a constant user-input density.

enrichedNuclide = 'U235'

Name of enriched nuclide to be interpreted by enrichment modification methods

linearExpansion(Tk=None, Tc=None)[source]

There is not enough information to calculate the linear expansion for this material.

linearExpansionPercent(Tk=None, Tc=None)[source]

There is not enough information to calculate the linear expansion for this material.

pseudoDensity(Tk=None, Tc=None)[source]

The density value is set in the loading input.

In some cases it needs to be set after full core assemblies are populated (e.g. for CustomLocation materials), so the missing density warning will appear no matter what.

density(Tk=None, Tc=None)[source]

The density value is set in the loading input.

As there is not enough information to calculate the linear expansion of this material, the density and pseudo- density are set equal.

setMassFrac(*args, **kwargs)[source]