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 |
| Liquid density [kg/m^3]. More... | |
| scalar | psi (scalar p, scalar T) const |
| Liquid 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 |
| void | write (Ostream &os) const |
| Write to Ostream. More... | |
| scalar | mu (scalar p, scalar T) const |
| Liquid viscosity [Pa s]. More... | |
| scalar | kappa (scalar p, scalar T) const |
| Liquid thermal conductivity [W/m/K]. 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 48 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 56 of file thermophysicalPropertiesSelectorI.H.
References Foam::T().

|
inline |
Liquid density [kg/m^3].
Definition at line 67 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Liquid compressibility [s^2/m^2].
Note: currently it is assumed the liquid is incompressible
Definition at line 79 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Return (Cp - Cv) [J/kg/K].
Note: currently it is assumed the liquid is incompressible so CpMCv 0
Definition at line 91 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 103 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Sensible enthalpy [J/kg].
Definition at line 115 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Enthalpy of formation [J/kg].
Definition at line 127 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Absolute enthalpy [J/kg].
Definition at line 135 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Heat capacity at constant volume [J/kg/K].
Definition at line 147 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Sensible internal energy [J/kg].
Definition at line 159 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Absolute internal energy [J/kg].
Definition at line 171 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Definition at line 183 of file thermophysicalPropertiesSelectorI.H.

| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 81 of file thermophysicalPropertiesSelector.C.
|
inline |
Liquid viscosity [Pa s].
Definition at line 195 of file thermophysicalPropertiesSelectorI.H.

|
inline |
Liquid thermal conductivity [W/m/K].
Definition at line 207 of file thermophysicalPropertiesSelectorI.H.

|
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.