49 template <
class Scalar>
52 typedef ::Opm::IdealGas<Scalar>
IdealGas;
105 template <
class Evaluation>
116 const Evaluation& sqrtSigma = sqrt(sigma);
117 const Scalar N1 = -6.12445284;
118 const Scalar
N2 = 1.26327220;
119 const Scalar N3 = -0.765910082;
120 const Scalar N4 = -1.77570564;
126 sigma*(sqrtSigma*N3 +
127 sigma*sigma*sigma*N4))));
136 template <
class Evaluation>
137 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
161 template <
class Evaluation>
162 static Evaluation
gasPressure(
const Evaluation& temperature,
const Evaluation& density)
177 template <
class Evaluation>
182 const Scalar cpVapA = 31.15;
183 const Scalar cpVapB = -0.01357;
184 const Scalar cpVapC = 2.680e-5;
185 const Scalar cpVapD = -1.168e-8;
191 temperature*(cpVapA + temperature*
192 (cpVapB/2 + temperature*
193 (cpVapC/3 + temperature*
210 template <
class Evaluation>
212 const Evaluation& pressure)
227 template <
class Evaluation>
232 const Scalar cpVapA = 31.15;
233 const Scalar cpVapB = -0.01357;
234 const Scalar cpVapC = 2.680e-5;
235 const Scalar cpVapD = -1.168e-8;
240 cpVapA + temperature*
241 (cpVapB + temperature*
242 (cpVapC + temperature*
258 template <
class Evaluation>
259 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
262 const Scalar Vc = 90.1;
263 const Scalar omega = 0.037;
265 const Scalar dipole = 0.0;
267 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
271 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
272 const Evaluation& Tstar = 1.2593 * temperature/Tc;
273 const Evaluation& Omega_v =
274 1.16145*pow(Tstar, -0.14874) +
275 0.52487*exp(- 0.77320*Tstar) +
276 2.16178*exp(- 2.43787*Tstar);
277 const Evaluation& mu = 40.785*Fc*sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
294 template <
class Evaluation>
Abstract base class of a pure chemical species.
Relations valid for an ideal gas.
Provides the OPM_UNUSED macro.
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 pressure(const Evaluation &temperature, const Evaluation &rhoMolar)
The pressure of the gas in , depending on the molar density and temperature.
Definition: IdealGas.hpp:58
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
Properties of pure molecular nitrogen .
Definition: N2.hpp:51
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in of pure molecular nitrogen at a given temperature.
Definition: N2.hpp:106
static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &)
Specific heat conductivity of steam .
Definition: N2.hpp:295
static Scalar tripleTemperature()
Returns the temperature at molecular nitrogen's triple point.
Definition: N2.hpp:82
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition: N2.hpp:146
static const char * name()
A human readable name for nitrogen.
Definition: N2.hpp:58
static Evaluation gasPressure(const Evaluation &temperature, const Evaluation &density)
The pressure of gaseous in at a given density and temperature.
Definition: N2.hpp:162
static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure)
The density of gas at a given pressure and temperature.
Definition: N2.hpp:137
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:211
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition: N2.hpp:152
static Scalar criticalPressure()
Returns the critical pressure of molecular nitrogen.
Definition: N2.hpp:76
static Scalar criticalTemperature()
Returns the critical temperature of molecular nitrogen.
Definition: N2.hpp:70
static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &)
The dynamic viscosity of at a given pressure and temperature.
Definition: N2.hpp:259
static Scalar triplePressure()
Returns the pressure at molecular nitrogen's triple point.
Definition: N2.hpp:88
static Scalar molarMass()
The molar mass in of molecular nitrogen.
Definition: N2.hpp:64
static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &)
Specific isobaric heat capacity of pure nitrogen gas.
Definition: N2.hpp:228
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:178