Opm::IAPWS::Common< Scalar > Class Template Reference

Implements relations which are common for all regions of the IAPWS '97 formulation. More...

#include <Common.hpp>

Static Public Member Functions

template<class Evaluation >
static Evaluation viscosity (const Evaluation &temperature, const Evaluation &rho)
 The dynamic viscosity $\mathrm{[(N/m^2)*s]}$of pure water. More...
 
template<class Evaluation >
static Evaluation thermalConductivityIAPWS (const Evaluation &T, const Evaluation &rho)
 Thermal conductivity $\mathrm{[[W/(m^2 K/m)]}$ water (IAPWS) . More...
 

Static Public Attributes

static const Scalar molarMass = 18.01518e-3
 The molar mass of water $\mathrm{[kg/mol]}$. More...
 
static const Scalar Rs = Constants<Scalar>::R/molarMass
 Specific gas constant of water $\mathrm{[J/(kg*K)]}$. More...
 
static const Scalar criticalTemperature = 647.096
 Critical temperature of water $\mathrm{[K]}$. More...
 
static const Scalar criticalPressure = 22.064e6
 Critical pressure of water $\mathrm{[Pa]}$. More...
 
static const Scalar criticalDensity = 322.0
 Density of water at the critical point $\mathrm{[kg/m^3]}$. More...
 
static const Scalar criticalVolume = 5.595e-2
 Critical volume of water $\mathrm{[m^3/kmol]}$. More...
 
static const Scalar criticalMolarVolume = molarMass/criticalDensity
 Critical molar volume of water $\mathrm{[m^3/mol]}$. More...
 
static const Scalar acentricFactor = 0.344
 The acentric factor of water $\mathrm{[-]}$. More...
 
static const Scalar tripleTemperature = 273.16
 Triple temperature of water $\mathrm{[K]}$. More...
 
static const Scalar triplePressure = 611.657
 Triple pressure of water $\mathrm{[Pa]}$. More...
 

Detailed Description

template<class Scalar>
class Opm::IAPWS::Common< Scalar >

Implements relations which are common for all regions of the IAPWS '97 formulation.

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

Member Function Documentation

◆ thermalConductivityIAPWS()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Common< Scalar >::thermalConductivityIAPWS ( const Evaluation &  T,
const Evaluation &  rho 
)
inlinestatic

Thermal conductivity $\mathrm{[[W/(m^2 K/m)]}$ 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
Tabsolute temperature in K
rhodensity of water in kg/m^3

References Opm::abs(), Opm::exp(), Opm::pow(), and Opm::sqrt().

Referenced by Opm::H2O< Scalar >::gasThermalConductivity(), and Opm::H2O< Scalar >::liquidThermalConductivity().

◆ viscosity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Common< Scalar >::viscosity ( const Evaluation &  temperature,
const Evaluation &  rho 
)
inlinestatic

The dynamic viscosity $\mathrm{[(N/m^2)*s]}$of pure water.

This relation is valid for all regions of the IAPWS '97 formulation.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
rhodensity of component in $\mathrm{[kg/m^3]}$

See:

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

References Opm::IAPWS::Common< Scalar >::criticalTemperature, Opm::exp(), and Opm::sqrt().

Referenced by Opm::H2O< Scalar >::gasViscosity(), Opm::SimpleHuDuanH2O< Scalar >::liquidViscosity(), and Opm::H2O< Scalar >::liquidViscosity().

Member Data Documentation

◆ acentricFactor

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::acentricFactor = 0.344
static

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

Referenced by Opm::H2O< Scalar >::acentricFactor().

◆ criticalDensity

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::criticalDensity = 322.0
static

Density of water at the critical point $\mathrm{[kg/m^3]}$.

◆ criticalMolarVolume

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::criticalMolarVolume = molarMass/criticalDensity
static

Critical molar volume of water $\mathrm{[m^3/mol]}$.

Referenced by Opm::H2O< Scalar >::criticalMolarVolume().

◆ criticalPressure

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::criticalPressure = 22.064e6
static

Critical pressure of water $\mathrm{[Pa]}$.

Referenced by Opm::H2O< Scalar >::criticalPressure().

◆ criticalTemperature

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::criticalTemperature = 647.096
static

Critical temperature of water $\mathrm{[K]}$.

Referenced by Opm::H2O< Scalar >::criticalTemperature(), and Opm::IAPWS::Common< Scalar >::viscosity().

◆ criticalVolume

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::criticalVolume = 5.595e-2
static

Critical volume of water $\mathrm{[m^3/kmol]}$.

Referenced by Opm::H2O< Scalar >::criticalVolume().

◆ molarMass

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::molarMass = 18.01518e-3
static

The molar mass of water $\mathrm{[kg/mol]}$.

Referenced by Opm::H2O< Scalar >::molarMass().

◆ Rs

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::Rs = Constants<Scalar>::R/molarMass
static

Specific gas constant of water $\mathrm{[J/(kg*K)]}$.

◆ triplePressure

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::triplePressure = 611.657
static

Triple pressure of water $\mathrm{[Pa]}$.

Referenced by Opm::H2O< Scalar >::triplePressure().

◆ tripleTemperature

template<class Scalar >
const Scalar Opm::IAPWS::Common< Scalar >::tripleTemperature = 273.16
static

Triple temperature of water $\mathrm{[K]}$.

Referenced by Opm::H2O< Scalar >::tripleTemperature().


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