Opm::H2O< Scalar > Class Template Reference

Material properties of pure water $H_2O$. More...

#include <H2O.hpp>

Inheritance diagram for Opm::H2O< Scalar >:
Opm::Component< Scalar, H2O< Scalar > >

List of all members.

Static Public Member Functions

static const char * name ()
 A human readable name for the water.
static const Scalar molarMass ()
 The molar mass in $\mathrm{[kg/mol]}$ of water.
static const Scalar acentricFactor ()
 The acentric factor $\mathrm{[-]}$ of water.
static const Scalar criticalTemperature ()
 Returns the critical temperature $\mathrm{[K]}$ of water.
static const Scalar criticalPressure ()
 Returns the critical pressure $\mathrm{[Pa]}$ of water.
static const Scalar criticalMolarVolume ()
 Returns the molar volume $\mathrm{[m^3/mol]}$ of water at the critical point.
static const Scalar tripleTemperature ()
 Returns the temperature $\mathrm{[K]}$ at water's triple point.
static const Scalar triplePressure ()
 Returns the pressure $\mathrm{[Pa]}$ at water's triple point.
template<class Evaluation >
static Evaluation vaporPressure (Evaluation temperature)
 The vapor pressure in $\mathrm{[Pa]}$ of pure water at a given temperature.
template<class Evaluation >
static Evaluation vaporTemperature (const Evaluation &pressure)
 The vapor temperature in $\mathrm{[Ka]}$ of pure water at a given pressure.
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy of water steam $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy of liquid water $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation gasHeatCapacity (const Evaluation &temperature, const Evaluation &pressure)
 Specific isobaric heat capacity of water steam $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &temperature, const Evaluation &pressure)
 Specific isobaric heat capacity of liquid water $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation liquidInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
 Specific internal energy of liquid water $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
 Specific internal energy of steam and water vapor $\mathrm{[J/kg]}$.
template<class Evaluation >
static Evaluation liquidHeatCapacityConstVolume (const Evaluation &temperature, const Evaluation &pressure)
 Specific isochoric heat capacity of liquid water $\mathrm{[J/m^3]}$.
template<class Evaluation >
static Evaluation gasHeatCapacityConstVolume (const Evaluation &temperature, const Evaluation &pressure)
 Specific isochoric heat capacity of steam and water vapor $\mathrm{[J/kg]}$.
static bool gasIsCompressible ()
 Returns true iff the gas phase is assumed to be compressible.
static bool liquidIsCompressible ()
 Returns true iff the liquid phase is assumed to be compressible.
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density of steam in $\mathrm{[kg/m^3]}$ at a given pressure and temperature.
static bool gasIsIdeal ()
 Returns true iff the gas phase is assumed to be ideal.
template<class Evaluation >
static Evaluation gasPressure (const Evaluation &temperature, Scalar density)
 The pressure of steam in $\mathrm{[Pa]}$ at a given density and temperature.
template<class Evaluation >
static Evaluation liquidDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density of pure water in $\mathrm{[kg/m^3]}$ at a given pressure and temperature.
template<class Evaluation >
static Evaluation liquidPressure (const Evaluation &temperature, Scalar density)
 The pressure of liquid water in $\mathrm{[Pa]}$ at a given density and temperature.
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &temperature, const Evaluation &pressure)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of steam.
template<class Evaluation >
static Evaluation liquidViscosity (const Evaluation &temperature, const Evaluation &pressure)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of pure water.
template<class Evaluation >
static Evaluation liquidThermalConductivity (const Evaluation &temperature, const Evaluation &pressure)
 Thermal conductivity $\mathrm{[[W/(m K)]}$ of water (IAPWS) .
template<class Evaluation >
static Evaluation gasThermalConductivity (const Evaluation &temperature, const Evaluation &pressure)
 Thermal conductivity $\mathrm{[[W/(m K)]}$ of water (IAPWS) .

Detailed Description

template<class Scalar>
class Opm::H2O< Scalar >

Material properties of pure water $H_2O$.

Template Parameters:
Scalar The type used for scalar values

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf


Member Function Documentation

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density of steam in $\mathrm{[kg/m^3]}$ at a given pressure and temperature.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy of water steam $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasHeatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isobaric heat capacity of water steam $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasHeatCapacityConstVolume ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isochoric heat capacity of steam and water vapor $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific internal energy of steam and water vapor $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasPressure ( const Evaluation &  temperature,
Scalar  density 
) [inline, static]

The pressure of steam in $\mathrm{[Pa]}$ at a given density and temperature.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
density Density in $\mathrm{[kg/m^3]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasThermalConductivity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Thermal conductivity $\mathrm{[[W/(m K)]}$ of water (IAPWS) .

Implementation taken from: freesteam - IAPWS-IF97 steam tables library Copyright (C) 2004-2009 John Pye

Appendix B: Recommended Interpolating equation for Industrial Use see http://www.iapws.org/relguide/thcond.pdf

Parameters:
temperature Absolute temperature in K
pressure Phase pressure of the phase in Pa

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::gasViscosity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of steam.

This method is only valid if pressure is below or at the vapor pressure of water.

See:

IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density of pure water in $\mathrm{[kg/m^3]}$ at a given pressure and temperature.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy of liquid water $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidHeatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isobaric heat capacity of liquid water $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidHeatCapacityConstVolume ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isochoric heat capacity of liquid water $\mathrm{[J/m^3]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific internal energy of liquid water $\mathrm{[J/kg]}$.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidPressure ( const Evaluation &  temperature,
Scalar  density 
) [inline, static]

The pressure of liquid water in $\mathrm{[Pa]}$ at a given density and temperature.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
density Density of the fluid in $\mathrm{[kg/m^3]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidThermalConductivity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Thermal conductivity $\mathrm{[[W/(m K)]}$ of water (IAPWS) .

Implementation taken from: freesteam - IAPWS-IF97 steam tables library Copyright (C) 2004-2009 John Pye

Appendix B: Recommended Interpolating equation for Industrial Use see http://www.iapws.org/relguide/thcond.pdf

Parameters:
temperature Absolute temperature in K
pressure Phase pressure of the phase in Pa

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::liquidViscosity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of pure water.

See:

IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, H2O< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::vaporPressure ( Evaluation  temperature  )  [inline, static]

The vapor pressure in $\mathrm{[Pa]}$ of pure water at a given temperature.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
T Absolute temperature of the system in $\mathrm{[K]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::H2O< Scalar >::vaporTemperature ( const Evaluation &  pressure  )  [inline, static]

The vapor temperature in $\mathrm{[Ka]}$ of pure water at a given pressure.

See:

IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf

Parameters:
pressure Phase pressure in $\mathrm{[Pa]}$

The documentation for this class was generated from the following file:

Generated on 25 Mar 2018 by  doxygen 1.6.1