Opm::IdealGas< Scalar > Class Template Reference

Relations valid for an ideal gas. More...

#include <IdealGas.hpp>

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. More...
 
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. More...
 
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. More...
 

Static Public Attributes

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

Detailed Description

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

Relations valid for an ideal gas.

Member Function Documentation

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IdealGas< Scalar >::density ( const Evaluation &  avgMolarMass,
const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IdealGas< Scalar >::molarDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::IdealGas< Scalar >::pressure ( const Evaluation &  temperature,
const Evaluation &  rhoMolar 
)
inlinestatic

The pressure of the gas in $\mathrm{[N/m^2]}$, depending on the molar density and temperature.

Referenced by Opm::Air< Scalar >::gasPressure(), Opm::N2< Scalar >::gasPressure(), Opm::SimpleH2O< Scalar >::gasPressure(), and Opm::H2O< Scalar >::gasPressure().

Member Data Documentation


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