30#ifndef OPM_SIMPLE_CO2_HPP
31#define OPM_SIMPLE_CO2_HPP
48template <
class Scalar>
51 typedef ::Opm::IdealGas<Scalar>
IdealGas;
57 static std::string_view
name()
70 {
return 273.15 + 30.95; }
82 {
return 273.15 - 56.35; }
116 template <
class Evaluation>
119 {
return 350.0e3 + temperature*0.85e3; }
124 template <
class Evaluation>
132 template <
class Evaluation>
135 {
return temperature*2e3; }
140 template <
class Evaluation>
148 template <
class Evaluation>
150 const Evaluation& pressure)
161 template <
class Evaluation>
162 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
176 template <
class Evaluation>
177 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
180 const Scalar Vc = 93.9;
181 const Scalar omega = 0.239;
183 const Scalar dipole = 0.0;
185 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
189 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
190 Evaluation Tstar = 1.2593 * temperature/Tc;
192 1.16145*pow(Tstar, -0.14874) +
193 0.52487*exp(- 0.77320*Tstar) +
194 2.16178*exp(- 2.43787*Tstar);
195 Evaluation mu = 40.785*Fc*sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
Abstract base class of a pure chemical species.
Relations valid for an ideal gas.
Abstract base class of a pure chemical species.
Definition Component.hpp:44
Relations valid for an ideal gas.
Definition IdealGas.hpp:38
static const Scalar R
The ideal gas constant .
Definition IdealGas.hpp:41
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
A simplistic class representing the fluid properties.
Definition SimpleCO2.hpp:50
static Scalar criticalVolume()
Critical volume of [m2/kmol].
Definition SimpleCO2.hpp:93
static Evaluation liquidHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a liquid.
Definition SimpleCO2.hpp:141
static Evaluation gasHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a gas.
Definition SimpleCO2.hpp:125
static Scalar criticalTemperature()
Returns the critical temperature of .
Definition SimpleCO2.hpp:69
static Scalar triplePressure()
Returns the pressure at the triple point of .
Definition SimpleCO2.hpp:98
static Scalar acentricFactor()
Acentric factor of .
Definition SimpleCO2.hpp:87
static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in liquid.
Definition SimpleCO2.hpp:133
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition SimpleCO2.hpp:104
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition SimpleCO2.hpp:110
static Scalar tripleTemperature()
Returns the temperature at the triple point of .
Definition SimpleCO2.hpp:81
static Scalar criticalPressure()
Returns the critical pressure of .
Definition SimpleCO2.hpp:75
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:177
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in gas.
Definition SimpleCO2.hpp:117
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific internal energy of the pure component in gas.
Definition SimpleCO2.hpp:149
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:162
static std::string_view name()
A human readable name for the component.
Definition SimpleCO2.hpp:57
static Scalar molarMass()
The molar mass in of the component.
Definition SimpleCO2.hpp:63
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30