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 = Opm::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 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

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::LocalAd::abs(), Opm::LocalAd::exp(), Opm::LocalAd::pow(), and Opm::LocalAd::sqrt().

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

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::LocalAd::exp(), and Opm::LocalAd::sqrt().

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

Member Data Documentation

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().

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

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

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().

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().

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().

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().

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

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

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().

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: