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

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

#include <Region1.hpp>

Static Public Member Functions

template<class Evaluation >
static bool isValid (const Evaluation &temperature, const Evaluation &pressure)
 Returns true if IAPWS region 1 applies for a (temperature in $\mathrm{[K]}$, pressure in $\mathrm{[Pa]}$) pair. More...
 
template<class Evaluation >
static Evaluation tau (const Evaluation &temperature)
 Returns the reduced temperature for IAPWS region 1. More...
 
template<class Evaluation >
static Evaluation dtau_dT (const Evaluation &temperature)
 Returns the derivative of the reduced temperature to the temperature for IAPWS region 1 in $\mathrm{[1/K]}$. More...
 
template<class Evaluation >
static Evaluation pi (const Evaluation &pressure)
 Returns the reduced pressure for IAPWS region 1. More...
 
template<class Evaluation >
static Scalar dpi_dp (const Evaluation &)
 Returns the derivative of the reduced pressure to the pressure for IAPWS region 1 in $\mathrm{[1/Pa]}$. More...
 
template<class Evaluation >
static Scalar dp_dpi (const Evaluation &)
 Returns the derivative of the pressure to the reduced pressure for IAPWS region 1 in $\mathrm{[Pa]}$. More...
 
template<class Evaluation >
static Evaluation gamma (const Evaluation &temperature, const Evaluation &pressure)
 The Gibbs free energy (dimensionless) for IAPWS region 1 (i.e. liquid) More...
 
template<class Evaluation >
static Evaluation dgamma_dtau (const Evaluation &temperature, const Evaluation &pressure)
 The partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 1 (i.e. liquid) (dimensionless). More...
 
template<class Evaluation >
static Evaluation dgamma_dpi (const Evaluation &temperature, const Evaluation &pressure)
 The partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 (i.e. liquid) dimensionless). More...
 
template<class Evaluation >
static Evaluation ddgamma_dtaudpi (const Evaluation &temperature, const Evaluation &pressure)
 The partial derivative of the Gibbs free energy to the normalized pressure and to the normalized temperature for IAPWS region 1 (i.e. liquid water) (dimensionless). More...
 
template<class Evaluation >
static Evaluation ddgamma_ddpi (const Evaluation &temperature, const Evaluation &pressure)
 The second partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 (i.e. liquid water) (dimensionless). More...
 
template<class Evaluation >
static Evaluation ddgamma_ddtau (const Evaluation &temperature, const Evaluation &pressure)
 The second partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 1 (i.e. liquid) (dimensionless). More...
 

Detailed Description

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

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

◆ ddgamma_ddpi()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::ddgamma_ddpi ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The second partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 (i.e. liquid water) (dimensionless).

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

◆ ddgamma_ddtau()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::ddgamma_ddtau ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The second partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 1 (i.e. liquid) (dimensionless).

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

◆ ddgamma_dtaudpi()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::ddgamma_dtaudpi ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The partial derivative of the Gibbs free energy to the normalized pressure and to the normalized temperature for IAPWS region 1 (i.e. liquid water) (dimensionless).

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

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

◆ dgamma_dpi()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::dgamma_dpi ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 (i.e. liquid) dimensionless).

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

◆ dgamma_dtau()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::dgamma_dtau ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 1 (i.e. liquid) (dimensionless).

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

◆ dp_dpi()

template<class Scalar >
template<class Evaluation >
static Scalar Opm::IAPWS::Region1< Scalar >::dp_dpi ( const Evaluation &  )
inlinestatic

Returns the derivative of the pressure to the reduced pressure for IAPWS region 1 in $\mathrm{[Pa]}$.

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

◆ dpi_dp()

template<class Scalar >
template<class Evaluation >
static Scalar Opm::IAPWS::Region1< Scalar >::dpi_dp ( const Evaluation &  )
inlinestatic

Returns the derivative of the reduced pressure to the pressure for IAPWS region 1 in $\mathrm{[1/Pa]}$.

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

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

◆ dtau_dT()

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

Returns the derivative of the reduced temperature to the temperature for IAPWS region 1 in $\mathrm{[1/K]}$.

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

◆ gamma()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IAPWS::Region1< Scalar >::gamma ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The Gibbs free energy (dimensionless) for IAPWS region 1 (i.e. liquid)

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

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

References Opm::IAPWS::Region1< Scalar >::pi(), Opm::pow(), and Opm::IAPWS::Region1< Scalar >::tau().

◆ isValid()

template<class Scalar >
template<class Evaluation >
static bool Opm::IAPWS::Region1< Scalar >::isValid ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

Returns true if IAPWS region 1 applies for a (temperature in $\mathrm{[K]}$, pressure in $\mathrm{[Pa]}$) pair.

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

Referenced by Opm::H2O< Scalar >::liquidDensity(), Opm::H2O< Scalar >::liquidEnthalpy(), Opm::H2O< Scalar >::liquidHeatCapacity(), Opm::H2O< Scalar >::liquidHeatCapacityConstVolume(), Opm::H2O< Scalar >::liquidInternalEnergy(), and Opm::H2O< Scalar >::liquidViscosity().

◆ pi()

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

◆ tau()

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

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