My Project
Loading...
Searching...
No Matches
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.
 
template<class Evaluation >
static Evaluation thermalConductivityIAPWS (const Evaluation &T, const Evaluation &rho)
 Thermal conductivity $\mathrm{[[W/(m^2 K/m)]}$ water (IAPWS) .
 

Static Public Attributes

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

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

◆ 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


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