47 template <
class Scalar>
50 typedef ::Opm::IdealGas<Scalar>
IdealGas;
113 template <
class Evaluation>
124 const Evaluation& sqrtSigma = sqrt(sigma);
125 const Scalar N1 = -6.12445284;
126 const Scalar
N2 = 1.26327220;
127 const Scalar N3 = -0.765910082;
128 const Scalar N4 = -1.77570564;
134 sigma*(sqrtSigma*N3 +
135 sigma*sigma*sigma*N4))));
144 template <
class Evaluation>
145 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
169 template <
class Evaluation>
170 static Evaluation
gasPressure(
const Evaluation& temperature,
const Evaluation& density)
185 template <
class Evaluation>
190 const Scalar cpVapA = 31.15;
191 const Scalar cpVapB = -0.01357;
192 const Scalar cpVapC = 2.680e-5;
193 const Scalar cpVapD = -1.168e-8;
199 temperature*(cpVapA + temperature*
200 (cpVapB/2 + temperature*
201 (cpVapC/3 + temperature*
218 template <
class Evaluation>
220 const Evaluation& pressure)
235 template <
class Evaluation>
240 const Scalar cpVapA = 31.15;
241 const Scalar cpVapB = -0.01357;
242 const Scalar cpVapC = 2.680e-5;
243 const Scalar cpVapD = -1.168e-8;
248 cpVapA + temperature*
249 (cpVapB + temperature*
250 (cpVapC + temperature*
266 template <
class Evaluation>
267 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
270 const Scalar Vc = 90.1;
271 const Scalar omega = 0.037;
273 const Scalar dipole = 0.0;
275 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
279 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
280 const Evaluation& Tstar = 1.2593 * temperature/Tc;
281 const Evaluation& Omega_v =
282 1.16145*pow(Tstar, -0.14874) +
283 0.52487*exp(- 0.77320*Tstar) +
284 2.16178*exp(- 2.43787*Tstar);
285 const Evaluation& mu = 40.785*Fc*sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
302 template <
class Evaluation>
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: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:49
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in of pure molecular nitrogen at a given temperature.
Definition: N2.hpp:114
static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &)
Specific heat conductivity of steam .
Definition: N2.hpp:303
static Scalar tripleTemperature()
Returns the temperature at molecular nitrogen's triple point.
Definition: N2.hpp:90
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition: N2.hpp:154
static const char * name()
A human readable name for nitrogen.
Definition: N2.hpp:56
static Evaluation gasPressure(const Evaluation &temperature, const Evaluation &density)
The pressure of gaseous in at a given density and temperature.
Definition: N2.hpp:170
static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure)
The density of gas at a given pressure and temperature.
Definition: N2.hpp:145
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:219
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition: N2.hpp:160
static Scalar criticalPressure()
Returns the critical pressure of molecular nitrogen.
Definition: N2.hpp:74
static Scalar criticalTemperature()
Returns the critical temperature of molecular nitrogen.
Definition: N2.hpp:68
static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &)
The dynamic viscosity of at a given pressure and temperature.
Definition: N2.hpp:267
static Scalar criticalVolume()
Critical volume of [m2/kmol].
Definition: N2.hpp:80
static Scalar triplePressure()
Returns the pressure at molecular nitrogen's triple point.
Definition: N2.hpp:96
static Scalar acentricFactor()
Acentric factor of .
Definition: N2.hpp:85
static Scalar molarMass()
The molar mass in of molecular nitrogen.
Definition: N2.hpp:62
static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &)
Specific isobaric heat capacity of pure nitrogen gas.
Definition: N2.hpp:236
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:186