Opm::N2< Scalar > Class Template Reference

Properties of pure molecular nitrogen $N_2$. More...

#include <N2.hpp>

Inheritance diagram for Opm::N2< Scalar >:
Opm::Component< Scalar, N2< Scalar > >

List of all members.

Static Public Member Functions

static const char * name ()
 A human readable name for nitrogen.
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg/mol]}$ of molecular nitrogen.
static Scalar criticalTemperature ()
 Returns the critical temperature $\mathrm{[K]}$ of molecular nitrogen.
static Scalar criticalPressure ()
 Returns the critical pressure $\mathrm{[Pa]}$ of molecular nitrogen.
static Scalar tripleTemperature ()
 Returns the temperature $\mathrm{[K]}$ at molecular nitrogen's triple point.
static Scalar triplePressure ()
 Returns the pressure $\mathrm{[Pa]}$ at molecular nitrogen's triple point.
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &temperature)
 The vapor pressure in $\mathrm{[Pa]}$ of pure molecular nitrogen at a given temperature.
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density $\mathrm{[kg/m^3]}$ of $N_2$ gas at a given pressure and temperature.
static bool gasIsCompressible ()
 Returns true iff the gas phase is assumed to be compressible.
static bool gasIsIdeal ()
 Returns true iff the gas phase is assumed to be ideal.
template<class Evaluation >
static Evaluation gasPressure (const Evaluation &temperature, const Evaluation &density)
 The pressure of gaseous $N_2$ in $\mathrm{[Pa]}$ at a given density and temperature.
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of pure nitrogen gas.
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy $\mathrm{[J/kg]}$ of pure nitrogen gas.
template<class Evaluation >
static Evaluation gasHeatCapacity (const Evaluation &temperature, const Evaluation &)
 Specific isobaric heat capacity $[J/(kg K)]$ of pure nitrogen gas.
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &temperature, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of $N_2$ at a given pressure and temperature.
template<class Evaluation >
static Evaluation gasThermalConductivity (const Evaluation &, const Evaluation &)
 Specific heat conductivity of steam $\mathrm{[W/(m K)]}$.

Detailed Description

template<class Scalar>
class Opm::N2< Scalar >

Properties of pure molecular nitrogen $N_2$.

Template Parameters:
Scalar The type used for scalar values

Member Function Documentation

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density $\mathrm{[kg/m^3]}$ of $N_2$ gas at a given pressure and temperature.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of pure nitrogen gas.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp 154, 657, 665

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasHeatCapacity ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

Specific isobaric heat capacity $[J/(kg K)]$ of pure nitrogen gas.

This is equivalent to the partial derivative of the specific enthalpy to the temperature.

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of pure nitrogen gas.

Definition of enthalpy: $h= u + pv = u + p / \rho$.

Rearranging for internal energy yields: $u = h - pv$.

Exploiting the Ideal Gas assumption ($pv = R_{\textnormal{specific}} T$)gives: $u = h - R / M T $.

The universal gas constant can only be used in the case of molar formulations.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasPressure ( const Evaluation &  temperature,
const Evaluation &  density 
) [inline, static]

The pressure of gaseous $N_2$ in $\mathrm{[Pa]}$ at a given density and temperature.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
density density of component in $\mathrm{[kg/m^3]}$
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasThermalConductivity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific heat conductivity of steam $\mathrm{[W/(m K)]}$.

Isobaric Properties for Nitrogen in: NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard evaluated at p=.1 MPa, T=8°C, does not change dramatically with p,T

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::gasViscosity ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of $N_2$ at a given pressure and temperature.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

See:

See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp 396-397, 5th edition, McGraw-Hill, 2001 pp 9.7-9.8 (omega and V_c taken from p. A.19)

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::N2< Scalar >::vaporPressure ( const Evaluation &  temperature  )  [inline, static]

The vapor pressure in $\mathrm{[Pa]}$ of pure molecular nitrogen at a given temperature.

Parameters:
temperature temperature of component in $\mathrm{[K]}$

Taken from:

R. Span, E.W. Lemmon, et al.: A Reference Equation of State for the Thermodynamic Properties of Nitrogen for Temperatures from 63.151 to 1000 K and Pressures to 2200 MPa, Journal of Physical and Chemical Refefence Data, Vol. 29, No. 6, pp. 1361-1433

Reimplemented from Opm::Component< Scalar, N2< Scalar > >.


The documentation for this class was generated from the following file:

Generated on 25 Mar 2018 by  doxygen 1.6.1