water More...
Public Member Functions | |
TypeName ("H2O") | |
Runtime type information. More... | |
H2O () | |
Construct null. More... | |
H2O (const liquidProperties &l, const NSRDSfunc5 &density, const NSRDSfunc1 &vapourPressure, const NSRDSfunc6 &heatOfVapourisation, const NSRDSfunc0 &heatCapacity, const NSRDSfunc0 &enthalpy, const NSRDSfunc7 &idealGasHeatCapacity, const NSRDSfunc4 &secondVirialCoeff, const NSRDSfunc1 &dynamicViscosity, const NSRDSfunc2 &vapourDynamicViscosity, const NSRDSfunc0 &thermalConductivity, const NSRDSfunc2 &vapourThermalConductivity, const NSRDSfunc6 &surfaceTension, const APIdiffCoefFunc &vapourDiffussivity) | |
Construct from components. More... | |
H2O (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual autoPtr< liquidProperties > | clone () const |
Construct and return clone. More... | |
scalar | rho (scalar p, scalar T) const |
Liquid density [kg/m^3]. More... | |
scalar | pv (scalar p, scalar T) const |
Vapour pressure [Pa]. More... | |
scalar | hl (scalar p, scalar T) const |
Heat of vapourisation [J/kg]. More... | |
scalar | Cp (scalar p, scalar T) const |
Liquid heat capacity [J/(kg K)]. More... | |
scalar | h (scalar p, scalar T) const |
Liquid Enthalpy [J/(kg)]. More... | |
scalar | Cpg (scalar p, scalar T) const |
Ideal gas heat capacity [J/(kg K)]. More... | |
scalar | B (scalar p, scalar T) const |
Second Virial Coefficient [m^3/kg]. More... | |
scalar | mu (scalar p, scalar T) const |
Liquid viscosity [Pa s]. More... | |
scalar | mug (scalar p, scalar T) const |
Vapour viscosity [Pa s]. More... | |
scalar | kappa (scalar p, scalar T) const |
Liquid thermal conductivity [W/(m K)]. More... | |
scalar | kappag (scalar p, scalar T) const |
Vapour thermal conductivity [W/(m K)]. More... | |
scalar | sigma (scalar p, scalar T) const |
Surface tension [N/m]. More... | |
scalar | D (scalar p, scalar T) const |
Vapour diffusivity [m2/s]. More... | |
scalar | D (scalar p, scalar T, scalar Wb) const |
Vapour diffusivity [m2/s] with specified binary pair. More... | |
void | writeData (Ostream &os) const |
Write the function coefficients. More... | |
![]() | |
TypeName ("liquid") | |
declareRunTimeSelectionTable (autoPtr, liquidProperties,,(),()) | |
declareRunTimeSelectionTable (autoPtr, liquidProperties, dictionary,(const dictionary &dict),(dict)) | |
liquidProperties (scalar W, scalar Tc, scalar Pc, scalar Vc, scalar Zc, scalar Tt, scalar Pt, scalar Tb, scalar dipm, scalar omega, scalar delta) | |
Construct from components. More... | |
liquidProperties (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~liquidProperties ()=default |
Destructor. More... | |
scalar | Y () const |
No of moles of this species in mixture. More... | |
scalar | Tc () const |
Critical temperature [K]. More... | |
scalar | Pc () const |
Critical pressure [Pa]. More... | |
scalar | Vc () const |
Critical volume [m^3/kmol]. More... | |
scalar | Zc () const |
Critical compressibility factor. More... | |
scalar | Tt () const |
Triple point temperature [K]. More... | |
scalar | Pt () const |
Triple point pressure [Pa]. More... | |
scalar | Tb () const |
Normal boiling temperature [K]. More... | |
scalar | dipm () const |
Dipole moment []. More... | |
scalar | omega () const |
Pitzer's acentric factor []. More... | |
scalar | delta () const |
Solubility parameter [(J/m^3)^(1/2)]. More... | |
scalar | limit (const scalar T) const |
Limit temperature to be within the range. 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 | 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 | S (const scalar p, const scalar T) const |
scalar | alphah (const scalar p, const scalar T) const |
Liquid thermal diffusivity of enthalpy [kg/ms]. More... | |
virtual scalar | pvInvert (scalar p) const |
Invert the vapour pressure relationship to retrieve the. More... | |
void | readIfPresent (const dictionary &dict) |
Read and set the properties present it the given dictionary. More... | |
template<class Func > | |
void | readIfPresent (Func &f, const word &name, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Liquid > | |
void | readIfPresent (Liquid &l, const dictionary &dict) |
Read and set the function coefficients. More... | |
template<class Liquid > | |
void | writeData (const Liquid &l, Ostream &os) const |
Write the data for each of the property functions. More... | |
![]() | |
TypeName ("thermophysicalProperties") | |
declareRunTimeSelectionTable (autoPtr, thermophysicalProperties,,(),()) | |
declareRunTimeSelectionTable (autoPtr, thermophysicalProperties, dictionary,(const dictionary &dict),(dict)) | |
thermophysicalProperties (scalar W) | |
Construct from molecular weight. More... | |
thermophysicalProperties (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~thermophysicalProperties ()=default |
Destructor. More... | |
scalar | W () const |
Molecular weight [kg/kmol]. More... | |
scalar | limit (const scalar T) const |
Limit temperature to be within the range. More... | |
void | readIfPresent (const dictionary &dict) |
Read and set the properties present it the given dictionary. More... | |
Friends | |
class | liquidProperties |
Ostream & | operator<< (Ostream &os, const H2O &l) |
Ostream Operator. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< liquidProperties > | New (const word &name) |
Return a pointer to a new liquidProperties created from name. More... | |
static autoPtr< liquidProperties > | New (const dictionary &dict) |
Return a pointer to a new liquidProperties created from dictionary. More... | |
![]() | |
static autoPtr< thermophysicalProperties > | New (const word &name) |
Return a pointer to a new thermophysicalProperties created from name. More... | |
static autoPtr< thermophysicalProperties > | New (const dictionary &dict) |
Return a pointer to a new thermophysicalProperties. More... | |
![]() | |
static const bool | incompressible = true |
Is the equation of state is incompressible i.e. rho != f(p) More... | |
static const bool | isochoric = false |
Is the equation of state is isochoric i.e. rho = const. More... | |
H2O | ( | const liquidProperties & | l, |
const NSRDSfunc5 & | density, | ||
const NSRDSfunc1 & | vapourPressure, | ||
const NSRDSfunc6 & | heatOfVapourisation, | ||
const NSRDSfunc0 & | heatCapacity, | ||
const NSRDSfunc0 & | enthalpy, | ||
const NSRDSfunc7 & | idealGasHeatCapacity, | ||
const NSRDSfunc4 & | secondVirialCoeff, | ||
const NSRDSfunc1 & | dynamicViscosity, | ||
const NSRDSfunc2 & | vapourDynamicViscosity, | ||
const NSRDSfunc0 & | thermalConductivity, | ||
const NSRDSfunc2 & | vapourThermalConductivity, | ||
const NSRDSfunc6 & | surfaceTension, | ||
const APIdiffCoefFunc & | vapourDiffussivity | ||
) |
H2O | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 139 of file H2O.C.
References dict, and liquidProperties::readIfPresent().
TypeName | ( | "H2O" | ) |
Runtime type information.
|
inlinevirtual |
|
inlinevirtual |
Liquid density [kg/m^3].
Implements thermophysicalProperties.
Definition at line 28 of file H2OI.H.
References NSRDSfunc5::f(), p, and Foam::T().
|
inlinevirtual |
Vapour pressure [Pa].
Implements liquidProperties.
Definition at line 34 of file H2OI.H.
|
inlinevirtual |
Heat of vapourisation [J/kg].
Implements liquidProperties.
Definition at line 40 of file H2OI.H.
|
inlinevirtual |
Liquid heat capacity [J/(kg K)].
Implements thermophysicalProperties.
Definition at line 46 of file H2OI.H.
|
inlinevirtual |
Liquid Enthalpy [J/(kg)].
Implements liquidProperties.
Definition at line 52 of file H2OI.H.
|
inlinevirtual |
Ideal gas heat capacity [J/(kg K)].
Implements liquidProperties.
Definition at line 58 of file H2OI.H.
|
inline |
|
inlinevirtual |
Liquid viscosity [Pa s].
Implements liquidProperties.
Definition at line 70 of file H2OI.H.
|
inlinevirtual |
Vapour viscosity [Pa s].
Implements liquidProperties.
Definition at line 76 of file H2OI.H.
|
inlinevirtual |
Liquid thermal conductivity [W/(m K)].
Implements liquidProperties.
Definition at line 82 of file H2OI.H.
|
inlinevirtual |
Vapour thermal conductivity [W/(m K)].
Implements liquidProperties.
Definition at line 88 of file H2OI.H.
|
inlinevirtual |
Surface tension [N/m].
Implements liquidProperties.
Definition at line 94 of file H2OI.H.
|
inlinevirtual |
Vapour diffusivity [m2/s].
Implements liquidProperties.
Definition at line 100 of file H2OI.H.
|
inlinevirtual |
Vapour diffusivity [m2/s] with specified binary pair.
Implements liquidProperties.
Definition at line 106 of file H2OI.H.
|
virtual |
Write the function coefficients.
Implements liquidProperties.
Definition at line 149 of file H2O.C.
References os(), and liquidProperties::writeData().
Referenced by Foam::operator<<().
|
friend |