ThermalSolidProperties
This is the base class for providing thermal solid properties as a function of temperature. This class defines functions to compute the following thermal properties, which are all assumed to be functions of temperature only:
cp
: isobaric specific heat,e
: specific internal energy,k
: thermal conductivity,rho
: density,
For each of these, the following methods are available, where y
should be replaced by the respective property name given in the list above:
provides the value using a Real
input value for .
provides the value and its derivative using a Real
input value for .
provides the value and its derivative using an ADReal
input value for .
Thus both AD and non-AD interfaces are available. Derived classes are only responsible for overriding the non-AD interfaces for each property. The AD interfaces are implemented by default by combining the two non-AD interfaces.
Note that the e_from_T
interfaces should not be overridden because they have generic implementations, and the non-AD interfaces are not even virtual. Instead, derived classes must override the following:
which corresponds to the indefinite integral of , minus the constant of integration:
Due to the definition of the isobaric specific heat capacity,
the specific internal energy can be expressed as
where is the temperature at which the specific internal energy is assumed to be zero. This is a convention supplied by the user using the parameter "T_zero_e". By default, this is taken to be at standard temperature, 273.15 K. Note that this is important for comparing specific internal energy values to external sources, which may be based on different reference temperatures.