Opm::IdealGas< Scalar > Class Template Reference

Relations valid for an ideal gas. More...

#include <IdealGas.hpp>

List of all members.

Static Public Member Functions

template<class Evaluation >
static Evaluation density (const Evaluation &avgMolarMass, const Evaluation &temperature, const Evaluation &pressure)
 The density of the gas in $\mathrm{[kg/m^3]}$, depending on pressure, temperature and average molar mass of the gas.
template<class Evaluation >
static Evaluation pressure (const Evaluation &temperature, const Evaluation &rhoMolar)
 The pressure of the gas in $\mathrm{[N/m^2]}$, depending on the molar density and temperature.
template<class Evaluation >
static Evaluation molarDensity (const Evaluation &temperature, const Evaluation &pressure)
 The molar density of the gas $\mathrm{[mol/m^3]}$, depending on pressure and temperature.

Static Public Attributes

static const Scalar R = Opm::Constants<Scalar>::R
 The ideal gas constant $\mathrm{[J/mol/K]}$.

Detailed Description

template<class Scalar>
class Opm::IdealGas< Scalar >

Relations valid for an ideal gas.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1