28#ifndef OPM_HENRY_IAPWS_HPP
29#define OPM_HENRY_IAPWS_HPP
44template <
class Scalar,
class Evaluation>
49 const Evaluation& temperature)
54 Evaluation tau = 1 - Tr;
56 static const Scalar c[6] = {
57 1.99274064, 1.09965342, -0.510839303,
58 -1.75493479,-45.5170352, -6.7469445e5
60 static const Scalar d[6] = {
62 16/3.0, 43/3.0, 110/3.0
64 static const Scalar q = -0.023767;
67 for (
int i = 0; i < 6; ++i) {
68 f += c[i]*pow(tau, d[i]);
71 const Evaluation& exponent =
Material properties of pure water .
Material properties of pure water .
Definition H2O.hpp:65
static const Scalar criticalTemperature()
Returns the critical temperature of water.
Definition H2O.hpp:95
static Evaluation vaporPressure(Evaluation temperature)
The vapor pressure in of pure water at a given temperature.
Definition H2O.hpp:141
static const Scalar tripleTemperature()
Returns the temperature at water's triple point.
Definition H2O.hpp:119
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30
Evaluation henryIAPWS(Scalar E, Scalar F, Scalar G, Scalar H, const Evaluation &temperature)
The Henry constants in liquid water using the IAPWS 2004 formulation.
Definition HenryIapws.hpp:45