30 #ifndef OPM_SIMPLE_CO2_HPP
31 #define OPM_SIMPLE_CO2_HPP
49 template <
class Scalar>
52 typedef ::Opm::IdealGas<Scalar>
IdealGas;
71 {
return 273.15 + 30.95; }
83 {
return 273.15 - 56.35; }
117 template <
class Evaluation>
120 {
return 350.0e3 + temperature*0.85e3; }
125 template <
class Evaluation>
133 template <
class Evaluation>
136 {
return temperature*2e3; }
141 template <
class Evaluation>
149 template <
class Evaluation>
151 const Evaluation& pressure)
162 template <
class Evaluation>
163 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
177 template <
class Evaluation>
178 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
181 const Scalar Vc = 93.9;
182 const Scalar omega = 0.239;
184 const Scalar dipole = 0.0;
186 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
190 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
191 Evaluation Tstar = 1.2593 * temperature/Tc;
193 1.16145*pow(Tstar, -0.14874) +
194 0.52487*exp(- 0.77320*Tstar) +
195 2.16178*exp(- 2.43787*Tstar);
196 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.
A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) fr...
Abstract base class of a pure chemical species.
Definition: Component.hpp:42
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:51
static Scalar criticalVolume()
Critical volume of [m2/kmol].
Definition: SimpleCO2.hpp:94
static Evaluation liquidHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a liquid.
Definition: SimpleCO2.hpp:142
static Evaluation gasHeatCapacity(const Evaluation &, const Evaluation &)
Specific isobaric heat capacity of the component [J/kg] as a gas.
Definition: SimpleCO2.hpp:126
static const char * name()
A human readable name for the component.
Definition: SimpleCO2.hpp:58
static Scalar criticalTemperature()
Returns the critical temperature of .
Definition: SimpleCO2.hpp:70
static Scalar triplePressure()
Returns the pressure at the triple point of .
Definition: SimpleCO2.hpp:99
static Scalar acentricFactor()
Acentric factor of .
Definition: SimpleCO2.hpp:88
static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in liquid.
Definition: SimpleCO2.hpp:134
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition: SimpleCO2.hpp:105
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition: SimpleCO2.hpp:111
static Scalar tripleTemperature()
Returns the temperature at the triple point of .
Definition: SimpleCO2.hpp:82
static Scalar criticalPressure()
Returns the critical pressure of .
Definition: SimpleCO2.hpp:76
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:178
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of the pure component in gas.
Definition: SimpleCO2.hpp:118
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific internal energy of the pure component in gas.
Definition: SimpleCO2.hpp:150
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:163
static Scalar molarMass()
The molar mass in of the component.
Definition: SimpleCO2.hpp:64