3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::Components::H2O< Scalar > Class Template Reference

Material properties of pure water \(H_2O\). More...

#include <dumux/material/components/h2o.hh>

Inheritance diagram for Dumux::Components::H2O< Scalar >:

Description

template<class Scalar>
class Dumux::Components::H2O< Scalar >

Material properties of pure water \(H_2O\).

Template Parameters
ScalarThe 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 [24]

Public Types

using Scalar = Scalar
 export the scalar type used by the component More...
 

Static Public Member Functions

static std::string name ()
 A human readable name for the water. More...
 
static constexpr Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of water. More...
 
static constexpr Scalar acentricFactor ()
 The acentric factor \(\mathrm{[-]}\) of water. More...
 
static constexpr Scalar criticalTemperature ()
 Returns the critical temperature \(\mathrm{[K]}\) of water. More...
 
static constexpr Scalar criticalPressure ()
 Returns the critical pressure \(\mathrm{[Pa]}\) of water. More...
 
static constexpr Scalar criticalMolarVolume ()
 Returns the molar volume \(\mathrm{[m^3/mol]}\) of water at the critical point. More...
 
static constexpr Scalar tripleTemperature ()
 Returns the temperature \(\mathrm{[K]}\) at water's triple point. More...
 
static constexpr Scalar triplePressure ()
 Returns the pressure \(\mathrm{[Pa]}\) at water's triple point. More...
 
static Scalar vaporPressure (Scalar T)
 The vapor pressure in \(\mathrm{[Pa]}\) of pure water at a given temperature. More...
 
static Scalar vaporTemperature (Scalar pressure)
 The vapor temperature in \(\mathrm{[K]}\) of pure water at a given pressure. More...
 
static const Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of water steam \(\mathrm{[J/kg]}\). More...
 
static const Scalar liquidEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of liquid water \(\mathrm{[J/kg]}\). More...
 
static const Scalar gasHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)}\). More...
 
static const Scalar liquidHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of liquid water \(\mathrm{[J/(kg*K)]}\). More...
 
static const Scalar liquidInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy of liquid water \(\mathrm{[J/kg]}\). More...
 
static Scalar gasInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy of steam and water vapor \(\mathrm{[J/kg]}\). More...
 
static const Scalar liquidHeatCapacityConstVolume (Scalar temperature, Scalar pressure)
 Specific isochoric heat capacity of liquid water \(\mathrm{[J/(m^3*K)]}\). More...
 
static Scalar gasHeatCapacityConstVolume (Scalar temperature, Scalar pressure)
 Specific isochoric heat capacity of steam and water vapor \(\mathrm{[J/(kg*K)}\). More...
 
static constexpr bool gasIsCompressible ()
 Returns true if the gas phase is assumed to be compressible. More...
 
static constexpr bool liquidIsCompressible ()
 Returns true if the liquid phase is assumed to be compressible. More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density of steam in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature. More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. More...
 
static Scalar gasPressure (Scalar temperature, Scalar density)
 The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar liquidDensity (Scalar temperature, Scalar pressure)
 The density of pure water in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature. More...
 
static Scalar liquidMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of water in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More...
 
static Scalar liquidPressure (Scalar temperature, Scalar density)
 The pressure of liquid water in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar gasViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of steam. More...
 
static Scalar liquidViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure water. More...
 
static Scalar liquidThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of water (IAPWS) . More...
 
static Scalar gasThermalConductivity (const Scalar temperature, const Scalar pressure)
 Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of steam (IAPWS) . More...
 
static void init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress)
 A default routine for initialization, not needed for components and must not be called. More...
 
static constexpr bool liquidViscosityIsConstant ()
 Returns true if the liquid phase viscostiy is constant. More...
 
static constexpr bool gasViscosityIsConstant ()
 Returns true if the gas phase viscostiy is constant. More...
 

Static Public Attributes

static constexpr bool isTabulated
 if the component relies on tabulated values More...
 

Member Typedef Documentation

◆ Scalar

using Dumux::Components::Base< Scalar , H2O< Scalar > >::Scalar = Scalar
inherited

export the scalar type used by the component

Member Function Documentation

◆ acentricFactor()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::acentricFactor ( )
inlinestaticconstexpr

The acentric factor \(\mathrm{[-]}\) of water.

◆ criticalMolarVolume()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::criticalMolarVolume ( )
inlinestaticconstexpr

Returns the molar volume \(\mathrm{[m^3/mol]}\) of water at the critical point.

◆ criticalPressure()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::criticalPressure ( )
inlinestaticconstexpr

Returns the critical pressure \(\mathrm{[Pa]}\) of water.

◆ criticalTemperature()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::criticalTemperature ( )
inlinestaticconstexpr

Returns the critical temperature \(\mathrm{[K]}\) of water.

◆ gasDensity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ gasEnthalpy()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ gasHeatCapacity()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::gasHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ gasHeatCapacityConstVolume()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasHeatCapacityConstVolume ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isochoric heat capacity of steam and water vapor \(\mathrm{[J/(kg*K)}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ gasInternalEnergy()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ gasIsCompressible()

template<class Scalar >
static constexpr bool Dumux::Components::H2O< Scalar >::gasIsCompressible ( )
inlinestaticconstexpr

Returns true if the gas phase is assumed to be compressible.

◆ gasIsIdeal()

template<class Scalar >
static constexpr bool Dumux::Components::H2O< Scalar >::gasIsIdeal ( )
inlinestaticconstexpr

Returns true if the gas phase is assumed to be ideal.

◆ gasMolarDensity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasPressure()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densityof component in \(\mathrm{[kg/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 [24]

◆ gasThermalConductivity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasThermalConductivity ( const Scalar  temperature,
const Scalar  pressure 
)
inlinestatic

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

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

See: IAPWS: "Release on the IAPWS Formulation 2011 for the Thermal Conductivity of Ordinary Water Substance", http://www.iapws.org/relguide/ThCond.pdf [31]

Parameters
temperatureabsolute temperature in \(\mathrm{[K]}\)
pressureof the phase in \(\mathrm{[Pa]}\)

◆ gasViscosity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [16]

◆ gasViscosityIsConstant()

static constexpr bool Dumux::Components::Gas< Scalar, H2O< Scalar > >::gasViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the gas phase viscostiy is constant.

◆ init()

static void Dumux::Components::Base< Scalar , H2O< Scalar > >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestaticinherited

A default routine for initialization, not needed for components and must not be called.

Parameters
tempMinThe minimum of the temperature range in \(\mathrm{[K]}\)
tempMaxThe maximum of the temperature range in \(\mathrm{[K]}\)
nTempThe number of entries/steps within the temperature range
pressMinThe minimum of the pressure range in \(\mathrm{[Pa]}\)
pressMaxThe maximum of the pressure range in \(\mathrm{[Pa]}\)
nPressThe number of entries/steps within the pressure range

This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"

◆ liquidDensity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ liquidEnthalpy()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::liquidEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ liquidHeatCapacity()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::liquidHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity of liquid water \(\mathrm{[J/(kg*K)]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ liquidHeatCapacityConstVolume()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::liquidHeatCapacityConstVolume ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isochoric heat capacity of liquid water \(\mathrm{[J/(m^3*K)]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ liquidInternalEnergy()

template<class Scalar >
static const Scalar Dumux::Components::H2O< Scalar >::liquidInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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 [24]

◆ liquidIsCompressible()

template<class Scalar >
static constexpr bool Dumux::Components::H2O< Scalar >::liquidIsCompressible ( )
inlinestaticconstexpr

Returns true if the liquid phase is assumed to be compressible.

◆ liquidMolarDensity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::liquidMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of water in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidPressure()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::liquidPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydensity of component in \(\mathrm{[kg/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 [24]

◆ liquidThermalConductivity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::liquidThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

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

See: IAPWS: "Release on the IAPWS Formulation 2011 for the Thermal Conductivity of Ordinary Water Substance", http://www.iapws.org/relguide/ThCond.pdf [31]

Parameters
temperatureabsolute temperature in \(\mathrm{[K]}\)
pressureof the phase in \(\mathrm{[Pa]}\)

◆ liquidViscosity()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::liquidViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

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

◆ liquidViscosityIsConstant()

static constexpr bool Dumux::Components::Liquid< Scalar, H2O< Scalar > >::liquidViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the liquid phase viscostiy is constant.

◆ molarMass()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::molarMass ( )
inlinestaticconstexpr

The molar mass in \(\mathrm{[kg/mol]}\) of water.

◆ name()

template<class Scalar >
static std::string Dumux::Components::H2O< Scalar >::name ( )
inlinestatic

A human readable name for the water.

◆ triplePressure()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::triplePressure ( )
inlinestaticconstexpr

Returns the pressure \(\mathrm{[Pa]}\) at water's triple point.

◆ tripleTemperature()

template<class Scalar >
static constexpr Scalar Dumux::Components::H2O< Scalar >::tripleTemperature ( )
inlinestaticconstexpr

Returns the temperature \(\mathrm{[K]}\) at water's triple point.

◆ vaporPressure()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::vaporPressure ( Scalar  T)
inlinestatic

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

Parameters
Ttemperature of component in \(\mathrm{[K]}\)

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 [24]

◆ vaporTemperature()

template<class Scalar >
static Scalar Dumux::Components::H2O< Scalar >::vaporTemperature ( Scalar  pressure)
inlinestatic

The vapor temperature in \(\mathrm{[K]}\) of pure water at a given pressure.

Parameters
pressurepressure in \(\mathrm{[Pa]}\)

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 [24]

Member Data Documentation

◆ isTabulated

constexpr bool Dumux::Components::Base< Scalar , H2O< Scalar > >::isTabulated
staticconstexprinherited

if the component relies on tabulated values


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