30 #ifndef OPM_SIMPLE_CO2_HPP 31 #define OPM_SIMPLE_CO2_HPP 49 template <
class Scalar>
71 {
return 273.15 + 30.95; }
83 {
return 273.15 - 56.35; }
106 template <
class Evaluation>
109 {
return 571.3e3 + (temperature - 298.15)*0.85e3; }
114 template <
class Evaluation>
117 {
return (temperature - 298.15)*5e3; }
122 template <
class Evaluation>
124 const Evaluation& pressure)
135 template <
class Evaluation>
136 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
150 template <
class Evaluation>
151 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
154 const Scalar Vc = 93.9;
155 const Scalar omega = 0.239;
157 const Scalar dipole = 0.0;
159 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
163 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
164 Evaluation Tstar = 1.2593 * temperature/Tc;
166 1.16145*Opm::pow(Tstar, -0.14874) +
167 0.52487*Opm::exp(- 0.77320*Tstar) +
168 2.16178*Opm::exp(- 2.43787*Tstar);
169 Evaluation mu = 40.785*Fc*Opm::sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &)
The dynamic viscosity of the pure component at a given pressure in and temperature in ...
Definition: SimpleCO2.hpp:151
Relations valid for an ideal gas.
Abstract base class of a pure chemical species.
Definition: Component.hpp:43
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in gas.
Definition: SimpleCO2.hpp:107
static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in liquid.
Definition: SimpleCO2.hpp:115
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition: SimpleCO2.hpp:94
static Scalar criticalPressure()
Returns the critical pressure of .
Definition: SimpleCO2.hpp:76
Definition: Air_Mesitylene.hpp:33
static const Scalar R
The ideal gas constant .
Definition: IdealGas.hpp:41
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition: SimpleCO2.hpp:100
static Evaluation density(const Evaluation &avgMolarMass, const Evaluation &temperature, const Evaluation &pressure)
The density of the gas in , depending on pressure, temperature and average molar mass of the gas...
Definition: IdealGas.hpp:48
static Scalar criticalTemperature()
Returns the critical temperature of .
Definition: SimpleCO2.hpp:70
A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) fr...
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific internal energy of the pure component in gas.
Definition: SimpleCO2.hpp:123
Abstract base class of a pure chemical species.
Relations valid for an ideal gas.
Definition: IdealGas.hpp:37
static Scalar molarMass()
The molar mass in of the component.
Definition: SimpleCO2.hpp:64
static Scalar triplePressure()
Returns the pressure at the triple point of .
Definition: SimpleCO2.hpp:88
static const char * name()
A human readable name for the component.
Definition: SimpleCO2.hpp:58
static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure)
The density in of the component at a given pressure in and temperature in .
Definition: SimpleCO2.hpp:136
static Scalar tripleTemperature()
Returns the temperature at the triple point of .
Definition: SimpleCO2.hpp:82
A simplistic class representing the fluid properties.
Definition: SimpleCO2.hpp:50