pyrk.materials.material module

class pyrk.materials.material.Material(name=None, k=<Quantity(0.0, 'watt / kelvin / meter')>, cp=<Quantity(0.0, 'joule / kelvin / kilogram')>, mu=<Quantity(0, 'pascal * second')>, dm=<density_model.DensityModel object>)[source]

Bases: object

This class represents a material. Its attributes are material properties and behaviors.

rho(temp)[source]

The density of this material as a function of temperature.

Parameters:timestep (int) – the timestep at which to query the temperature
Returns:the density of this component
Return type:float, in units of \(kg/m^3\)