Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynamics packages. More...
Public Member Functions | |
thermophysicalPropertiesSelector (const word &name) | |
Construct from name. More... | |
thermophysicalPropertiesSelector (const word &name, const dictionary &dict) | |
Construct from name and dictionary. More... | |
thermophysicalPropertiesSelector (const word &name, const thermophysicalPropertiesSelector &) | |
Construct as named copy. More... | |
const word & | name () const |
Return the specie name. More... | |
const ThermophysicalProperties & | properties () const |
Return the physical properties model. More... | |
scalar | W () const |
Molecular weight [kg/kmol]. More... | |
scalar | limit (const scalar T) const |
Limit the temperature to be in the range Tlow_ to Thigh_. More... | |
scalar | rho (scalar p, scalar T) const |
Density [kg/m^3]. More... | |
scalar | psi (scalar p, scalar T) const |
Compressibility [s^2/m^2]. More... | |
scalar | CpMCv (scalar p, scalar T) const |
Return (Cp - Cv) [J/kg/K]. More... | |
scalar | Cp (const scalar p, const scalar T) const |
Heat capacity at constant pressure [J/kg/K]. More... | |
scalar | hs (const scalar p, const scalar T) const |
Sensible enthalpy [J/kg]. More... | |
scalar | hf () const |
Enthalpy of formation [J/kg]. More... | |
scalar | ha (const scalar p, const scalar T) const |
Absolute enthalpy [J/kg]. More... | |
scalar | Cv (const scalar p, const scalar T) const |
Heat capacity at constant volume [J/kg/K]. More... | |
scalar | es (const scalar p, const scalar T) const |
Sensible internal energy [J/kg]. More... | |
scalar | ea (const scalar p, const scalar T) const |
Absolute internal energy [J/kg]. More... | |
scalar | s (const scalar p, const scalar T) const |
scalar | kappa (scalar p, scalar T) const |
Thermal conductivity [W/m/K]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
Static Public Member Functions | |
static word | typeName () |
Return the instantiated type name. More... | |
Static Public Attributes | |
static const bool | incompressible |
Is the equation of state is incompressible i.e. rho != f(p) More... | |
static const bool | isochoric |
Is the equation of state is isochoric i.e. rho = const. More... | |
Wrapper class providing run-time selection of thermophysicalProperties for the templated thermodynamics packages.
Definition at line 51 of file thermophysicalPropertiesSelector.H.
thermophysicalPropertiesSelector | ( | const word & | name | ) |
Construct from name.
Definition at line 31 of file thermophysicalPropertiesSelector.C.
thermophysicalPropertiesSelector | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from name and dictionary.
Definition at line 43 of file thermophysicalPropertiesSelector.C.
References dict, Foam::compressible::New(), and Foam::type().
thermophysicalPropertiesSelector | ( | const word & | name, |
const thermophysicalPropertiesSelector< ThermophysicalProperties > & | tps | ||
) |
Construct as named copy.
Definition at line 66 of file thermophysicalPropertiesSelector.C.
|
inlinestatic |
Return the instantiated type name.
Definition at line 98 of file thermophysicalPropertiesSelector.H.
|
inline |
Return the specie name.
Definition at line 32 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Return the physical properties model.
Definition at line 40 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Molecular weight [kg/kmol].
Definition at line 49 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 57 of file thermophysicalPropertiesSelectorI.H.
References Foam::T().
|
inline |
Density [kg/m^3].
Definition at line 68 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Compressibility [s^2/m^2].
Definition at line 80 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Return (Cp - Cv) [J/kg/K].
Definition at line 92 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 104 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Sensible enthalpy [J/kg].
Definition at line 116 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Enthalpy of formation [J/kg].
Definition at line 128 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Absolute enthalpy [J/kg].
Definition at line 136 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Heat capacity at constant volume [J/kg/K].
Definition at line 148 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Sensible internal energy [J/kg].
Definition at line 160 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Absolute internal energy [J/kg].
Definition at line 172 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Definition at line 184 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Thermal conductivity [W/m/K].
Definition at line 196 of file thermophysicalPropertiesSelectorI.H.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 81 of file thermophysicalPropertiesSelector.C.
|
static |
Is the equation of state is incompressible i.e. rho != f(p)
Definition at line 87 of file thermophysicalPropertiesSelector.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 91 of file thermophysicalPropertiesSelector.H.