3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | Static Public Attributes | List of all members
Dumux::IdealGas< Scalar > Class Template Reference

Relations valid for an ideal gas. More...

#include <dumux/material/idealgas.hh>

Description

template<class Scalar>
class Dumux::IdealGas< Scalar >

Relations valid for an ideal gas.

Static Public Member Functions

static constexpr Scalar density (Scalar avgMolarMass, Scalar temperature, Scalar pressure)
 The density of the gas in \(\mathrm{[kg/m^3]}\), depending on pressure, temperature and average molar mass of the gas. More...
 
static constexpr Scalar pressure (Scalar temperature, Scalar rhoMolar)
 The pressure of the gas in \(\mathrm{[Pa]}\), depending on the molar density and temperature. More...
 
static constexpr Scalar molarDensity (Scalar temperature, Scalar pressure)
 The molar density of the gas \(\mathrm{[mol/m^3]}\), depending on pressure and temperature. More...
 

Static Public Attributes

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

Member Function Documentation

◆ density()

template<class Scalar >
static constexpr Scalar Dumux::IdealGas< Scalar >::density ( Scalar  avgMolarMass,
Scalar  temperature,
Scalar  pressure 
)
inlinestaticconstexpr

The density of the gas in \(\mathrm{[kg/m^3]}\), depending on pressure, temperature and average molar mass of the gas.

Parameters
avgMolarMassThe average molar mass of the gas
temperatureThe temperature of the gas
pressureThe pressure of the gas

◆ molarDensity()

template<class Scalar >
static constexpr Scalar Dumux::IdealGas< Scalar >::molarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticconstexpr

The molar density of the gas \(\mathrm{[mol/m^3]}\), depending on pressure and temperature.

Parameters
temperatureThe temperature of the gas
pressureThe pressure of the gas

◆ pressure()

template<class Scalar >
static constexpr Scalar Dumux::IdealGas< Scalar >::pressure ( Scalar  temperature,
Scalar  rhoMolar 
)
inlinestaticconstexpr

The pressure of the gas in \(\mathrm{[Pa]}\), depending on the molar density and temperature.

Parameters
temperatureThe temperature of the gas
rhoMolarThe molar density of the gas

Member Data Documentation

◆ R

template<class Scalar >
constexpr Scalar Dumux::IdealGas< Scalar >::R = Constants<Scalar>::R
staticconstexpr

The ideal gas constant \(\mathrm{[J/mol/K]}\).


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