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

Implements the equations for region 4 of the IAPWS '97 formulation. More...

#include <Region4.hpp>

Static Public Member Functions

template<class Evaluation >
static Evaluation saturationPressure (const Evaluation &temperature)
 Returns the saturation pressure in $\mathrm{[Pa]}$ of pure water at a given temperature. More...
 
template<class Evaluation >
static Evaluation vaporTemperature (const Evaluation &pressure)
 Returns the saturation temperature in $\mathrm{[K]}$ of pure water at a given pressure. More...
 

Detailed Description

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

Implements the equations for region 4 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

◆ saturationPressure()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region4< Scalar >::saturationPressure ( const Evaluation &  temperature)
inlinestatic

Returns the saturation pressure in $\mathrm{[Pa]}$ of pure water at a given temperature.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$

The saturation pressure is often also called vapor pressure.

References Opm::sqrt().

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

◆ vaporTemperature()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region4< Scalar >::vaporTemperature ( const Evaluation &  pressure)
inlinestatic

Returns the saturation temperature in $\mathrm{[K]}$ of pure water at a given pressure.

Parameters
pressurepressure of component in $\mathrm{[Pa]}$

The saturation pressure is often also called vapor pressure.

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

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


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