48template <
class Scalar>
51 typedef ::Opm::IdealGas<Scalar>
IdealGas;
57 static std::string_view
name()
114 template <
class Evaluation>
125 const Evaluation& sqrtSigma = sqrt(sigma);
126 const Scalar N1 = -6.12445284;
127 const Scalar
N2 = 1.26327220;
128 const Scalar N3 = -0.765910082;
129 const Scalar N4 = -1.77570564;
135 sigma*(sqrtSigma*N3 +
136 sigma*sigma*sigma*N4))));
145 template <
class Evaluation>
146 static Evaluation
gasDensity(
const Evaluation& temperature,
const Evaluation& pressure)
170 template <
class Evaluation>
171 static Evaluation
gasPressure(
const Evaluation& temperature,
const Evaluation& density)
186 template <
class Evaluation>
191 const Scalar cpVapA = 31.15;
192 const Scalar cpVapB = -0.01357;
193 const Scalar cpVapC = 2.680e-5;
194 const Scalar cpVapD = -1.168e-8;
200 temperature*(cpVapA + temperature*
201 (cpVapB/2 + temperature*
202 (cpVapC/3 + temperature*
219 template <
class Evaluation>
221 const Evaluation& pressure)
236 template <
class Evaluation>
241 const Scalar cpVapA = 31.15;
242 const Scalar cpVapB = -0.01357;
243 const Scalar cpVapC = 2.680e-5;
244 const Scalar cpVapD = -1.168e-8;
249 cpVapA + temperature*
250 (cpVapB + temperature*
251 (cpVapC + temperature*
267 template <
class Evaluation>
268 static Evaluation
gasViscosity(
const Evaluation& temperature,
const Evaluation& )
271 const Scalar Vc = 90.1;
272 const Scalar omega = 0.037;
274 const Scalar dipole = 0.0;
276 Scalar mu_r4 = 131.3 * dipole / std::sqrt(Vc * Tc);
280 Scalar Fc = 1 - 0.2756*omega + 0.059035*mu_r4;
281 const Evaluation& Tstar = 1.2593 * temperature/Tc;
282 const Evaluation& Omega_v =
283 1.16145*pow(Tstar, -0.14874) +
284 0.52487*exp(- 0.77320*Tstar) +
285 2.16178*exp(- 2.43787*Tstar);
286 const Evaluation& mu = 40.785*Fc*sqrt(M*temperature)/(std::pow(Vc, 2./3)*Omega_v);
303 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: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 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:50
static Evaluation vaporPressure(const Evaluation &temperature)
The vapor pressure in of pure molecular nitrogen at a given temperature.
Definition N2.hpp:115
static Evaluation gasThermalConductivity(const Evaluation &, const Evaluation &)
Specific heat conductivity of steam .
Definition N2.hpp:304
static Scalar tripleTemperature()
Returns the temperature at molecular nitrogen's triple point.
Definition N2.hpp:91
static bool gasIsCompressible()
Returns true iff the gas phase is assumed to be compressible.
Definition N2.hpp:155
static Evaluation gasPressure(const Evaluation &temperature, const Evaluation &density)
The pressure of gaseous in at a given density and temperature.
Definition N2.hpp:171
static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure)
The density of gas at a given pressure and temperature.
Definition N2.hpp:146
static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure)
Specific enthalpy of pure nitrogen gas.
Definition N2.hpp:220
static bool gasIsIdeal()
Returns true iff the gas phase is assumed to be ideal.
Definition N2.hpp:161
static Scalar criticalPressure()
Returns the critical pressure of molecular nitrogen.
Definition N2.hpp:75
static Scalar criticalTemperature()
Returns the critical temperature of molecular nitrogen.
Definition N2.hpp:69
static std::string_view name()
A human readable name for nitrogen.
Definition N2.hpp:57
static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &)
The dynamic viscosity of at a given pressure and temperature.
Definition N2.hpp:268
static Scalar criticalVolume()
Critical volume of [m2/kmol].
Definition N2.hpp:81
static Scalar triplePressure()
Returns the pressure at molecular nitrogen's triple point.
Definition N2.hpp:97
static Scalar acentricFactor()
Acentric factor of .
Definition N2.hpp:86
static Scalar molarMass()
The molar mass in of molecular nitrogen.
Definition N2.hpp:63
static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &)
Specific isobaric heat capacity of pure nitrogen gas.
Definition N2.hpp:237
static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &)
Specific enthalpy of pure nitrogen gas.
Definition N2.hpp:187
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30