47 template <
class Scalar>
103 template <
class Evaluation>
114 const Evaluation& sqrtSigma = Opm::sqrt(sigma);
115 const Scalar N1 = -6.12445284;
116 const Scalar
N2 = 1.26327220;
117 const Scalar N3 = -0.765910082;
118 const Scalar N4 = -1.77570564;
124 sigma*(sqrtSigma*N3 +
125 sigma*sigma*sigma*N4))));
134 template <
class Evaluation>
135 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
159 template <
class Evaluation>
160 static Evaluation
gasPressure(
const Evaluation& temperature,
const Evaluation& density)
175 template <
class Evaluation>
180 const Scalar cpVapA = 31.15;
181 const Scalar cpVapB = -0.01357;
182 const Scalar cpVapC = 2.680e-5;
183 const Scalar cpVapD = -1.168e-8;
189 temperature*(cpVapA + temperature*
190 (cpVapB/2 + temperature*
191 (cpVapC/3 + temperature*
216 template <
class Evaluation>
218 const Evaluation& pressure)
233 template <
class Evaluation>
238 const Scalar cpVapA = 31.15;
239 const Scalar cpVapB = -0.01357;
240 const Scalar cpVapC = 2.680e-5;
241 const Scalar cpVapD = -1.168e-8;
246 cpVapA + temperature*
247 (cpVapB + temperature*
248 (cpVapC + temperature*
265 template <
class Evaluation>
266 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
269 const Scalar Vc = 90.1;
270 const Scalar omega = 0.037;
272 const Scalar dipole = 0.0;
274 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
278 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
279 const Evaluation& Tstar = 1.2593 * temperature/Tc;
280 const Evaluation& Omega_v =
281 1.16145*Opm::pow(Tstar, -0.14874) +
282 0.52487*Opm::exp(- 0.77320*Tstar) +
283 2.16178*Opm::exp(- 2.43787*Tstar);
284 const Evaluation& mu = 40.785*Fc*Opm::sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
301 template <
class Evaluation>
static const char * name()
A human readable name for nitrogen.
Definition: N2.hpp:56
Relations valid for an ideal gas.
Abstract base class of a pure chemical species.
Definition: Component.hpp:43
Properties of pure molecular nitrogen .
Definition: N2.hpp:48
static Evaluation gasPressure(const Evaluation &temperature, const Evaluation &density)
The pressure of gaseous in at a given density and temperature.
Definition: N2.hpp:160
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in of pure molecular nitrogen at a given temperature.
Definition: N2.hpp:104
static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &)
Specific heat conductivity of steam .
Definition: N2.hpp:302
static Scalar criticalPressure()
Returns the critical pressure of molecular nitrogen.
Definition: N2.hpp:74
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:217
static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &)
Specific isobaric heat capacity of pure nitrogen gas.
Definition: N2.hpp:234
static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure)
The density of gas at a given pressure and temperature.
Definition: N2.hpp:135
Definition: Air_Mesitylene.hpp:33
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 gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of pure nitrogen gas.
Definition: N2.hpp:176
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
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 molecular nitrogen.
Definition: N2.hpp:62
static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &)
The dynamic viscosity of at a given pressure and temperature.
Definition: N2.hpp:266
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition: N2.hpp:144
static Scalar tripleTemperature()
Returns the temperature at molecular nitrogen's triple point.
Definition: N2.hpp:80
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition: N2.hpp:150
static Scalar criticalTemperature()
Returns the critical temperature of molecular nitrogen.
Definition: N2.hpp:68
static Scalar triplePressure()
Returns the pressure at molecular nitrogen's triple point.
Definition: N2.hpp:86