OpenFOAM logo
Open Source CFD Toolkit

H2O Class Reference

Inheritance diagram for H2O:

Inheritance graph
[legend]
Collaboration diagram for H2O:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeName ("H2O")
 Runtime type information.
 H2O ()
 Construct null.
 H2O (const liquid &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 (Istream &is)
 Construct from Istream.
scalar rho (scalar p, scalar T) const
 Liquid density [kg/m^3].
scalar pv (scalar p, scalar T) const
 Vapour pressure [Pa].
scalar hl (scalar p, scalar T) const
 Heat of vapourisation [J/kg].
scalar cp (scalar p, scalar T) const
 Liquid heat capacity [J/(kg K)].
scalar h (scalar p, scalar T) const
 Liquid Enthalpy [J/(kg)].
scalar cpg (scalar p, scalar T) const
 Ideal gas heat capacity [J/(kg K)].
scalar B (scalar p, scalar T) const
 Second Virial Coefficient [m^3/kg].
scalar mu (scalar p, scalar T) const
 Liquid viscosity [Pa s].
scalar mug (scalar p, scalar T) const
 Vapour viscosity [Pa s].
scalar K (scalar p, scalar T) const
 Liquid thermal conductivity [W/(m K)].
scalar Kg (scalar p, scalar T) const
 Vapour thermal conductivity [W/(m K)].
scalar sigma (scalar p, scalar T) const
 Surface tension [N/m].
scalar D (scalar p, scalar T) const
 Vapour diffussivity [m2/s].
void writeData (Ostream &os) const
 Write the function coefficients.

Friends

Ostreamoperator<< (Ostream &os, const H2O &l)

Constructor & Destructor Documentation

H2O  )  [inline]
 

Construct null.

Definition at line 96 of file H2O.H.

H2O const liquid 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
[inline]
 

Definition at line 117 of file H2O.H.

H2O Istream is  )  [inline]
 

Construct from Istream.

Definition at line 151 of file H2O.H.


Member Function Documentation

scalar B scalar  p,
scalar  T
const [inline]
 

Second Virial Coefficient [m^3/kg].

Definition at line 209 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar cp scalar  p,
scalar  T
const [inline, virtual]
 

Liquid heat capacity [J/(kg K)].

Implements liquid.

Definition at line 191 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar cpg scalar  p,
scalar  T
const [inline, virtual]
 

Ideal gas heat capacity [J/(kg K)].

Implements liquid.

Definition at line 203 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar D scalar  p,
scalar  T
const [inline, virtual]
 

Vapour diffussivity [m2/s].

Implements liquid.

Definition at line 245 of file H2O.H.

scalar h scalar  p,
scalar  T
const [inline, virtual]
 

Liquid Enthalpy [J/(kg)].

Implements liquid.

Definition at line 197 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar hl scalar  p,
scalar  T
const [inline, virtual]
 

Heat of vapourisation [J/kg].

Implements liquid.

Definition at line 185 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar K scalar  p,
scalar  T
const [inline, virtual]
 

Liquid thermal conductivity [W/(m K)].

Implements liquid.

Definition at line 227 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar Kg scalar  p,
scalar  T
const [inline, virtual]
 

Vapour thermal conductivity [W/(m K)].

Implements liquid.

Definition at line 233 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar mu scalar  p,
scalar  T
const [inline, virtual]
 

Liquid viscosity [Pa s].

Implements liquid.

Definition at line 215 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar mug scalar  p,
scalar  T
const [inline, virtual]
 

Vapour viscosity [Pa s].

Implements liquid.

Definition at line 221 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar pv scalar  p,
scalar  T
const [inline, virtual]
 

Vapour pressure [Pa].

Implements liquid.

Definition at line 179 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar rho scalar  p,
scalar  T
const [inline, virtual]
 

Liquid density [kg/m^3].

Implements liquid.

Definition at line 173 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

scalar sigma scalar  p,
scalar  T
const [inline, virtual]
 

Surface tension [N/m].

Implements liquid.

Definition at line 239 of file H2O.H.

References p, and Foam::T().

Here is the call graph for this function:

TypeName "H2O"   ) 
 

Runtime type information.

void writeData Ostream os  )  const [inline, virtual]
 

Write the function coefficients.

Reimplemented from liquid.

Definition at line 252 of file H2O.H.


Friends And Related Function Documentation

Ostream& operator<< Ostream os,
const H2O l
[friend]
 

Definition at line 272 of file H2O.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org