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 dictionary &dict) | |
Construct from dictionary. More... | |
const ThermophysicalProperties & | properties () const |
Return reference to the selected physical properties class. More... | |
scalar | W () const |
Molecular weight [kg/kmol]. More... | |
scalar | limit (const scalar T) const |
Limit temperature to be within the range. More... | |
scalar | rho (scalar p, scalar T) const |
Liquid density [kg/m^3]. More... | |
scalar | psi (scalar p, scalar T) const |
Liquid compressibility rho/p [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 | Ha (const scalar p, const scalar T) const |
Absolute Enthalpy [J/kg]. More... | |
scalar | Hs (const scalar p, const scalar T) const |
Sensible enthalpy [J/kg]. More... | |
scalar | Hc () const |
Chemical 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 | 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... | |
scalar | alphah (const scalar p, const scalar T) const |
Liquid thermal diffusivity of enthalpy [kg/ms]. 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 49 of file thermophysicalPropertiesSelector.H.
thermophysicalPropertiesSelector | ( | const word & | name | ) |
Construct from name.
Definition at line 28 of file thermophysicalPropertiesSelector.C.
thermophysicalPropertiesSelector | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 39 of file thermophysicalPropertiesSelector.C.
References dict, Foam::name(), and Foam::New().
|
inlinestatic |
Return the instantiated type name.
Definition at line 91 of file thermophysicalPropertiesSelector.H.
|
inline |
Return reference to the selected physical properties class.
Definition at line 26 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Molecular weight [kg/kmol].
Definition at line 34 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Limit temperature to be within the range.
Definition at line 43 of file thermophysicalPropertiesSelectorI.H.
References T.
|
inline |
Liquid density [kg/m^3].
Definition at line 54 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Liquid compressibility rho/p [s^2/m^2].
Note: currently it is assumed the liquid is incompressible
Definition at line 66 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 78 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 90 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Absolute Enthalpy [J/kg].
Definition at line 102 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Sensible enthalpy [J/kg].
Definition at line 114 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Chemical enthalpy [J/kg].
Definition at line 125 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Heat capacity at constant volume [J/(kg K)].
Definition at line 134 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Sensible internal energy [J/kg].
Definition at line 146 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Absolute internal energy [J/kg].
Definition at line 158 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Definition at line 170 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Liquid viscosity [Pa s].
Definition at line 182 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Liquid thermal conductivity [W/(m K)].
Definition at line 194 of file thermophysicalPropertiesSelectorI.H.
|
inline |
Liquid thermal diffusivity of enthalpy [kg/ms].
Definition at line 206 of file thermophysicalPropertiesSelectorI.H.
|
static |
Is the equation of state is incompressible i.e. rho != f(p)
Definition at line 76 of file thermophysicalPropertiesSelector.H.
|
static |
Is the equation of state is isochoric i.e. rho = const.
Definition at line 82 of file thermophysicalPropertiesSelector.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.