version 3.8
Dumux::IdealGas< Scalar > Class Template Reference

Relations valid for an ideal gas.

#include <dumux/material/idealgas.hh>

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
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
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
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 documentation for this class was generated from the following file: