24#ifndef DUMUX_IDEAL_GAS_HH
25#define DUMUX_IDEAL_GAS_HH
35template <
class Scalar>
49 static constexpr Scalar
density(Scalar avgMolarMass,
60 static constexpr Scalar
pressure(Scalar temperature,
62 {
return R*temperature*rhoMolar; }
A central place for various physical constants occuring in some equations.
static constexpr Scalar R
The ideal gas constant .
Definition constants.hh:44
Relations valid for an ideal gas.
Definition idealgas.hh:37
static constexpr Scalar pressure(Scalar temperature, Scalar rhoMolar)
The pressure of the gas in , depending on the molar density and temperature.
Definition idealgas.hh:60
static constexpr Scalar R
The ideal gas constant .
Definition idealgas.hh:40
static constexpr Scalar density(Scalar avgMolarMass, Scalar temperature, Scalar pressure)
The density of the gas in , depending on pressure, temperature and average molar mass of the gas.
Definition idealgas.hh:49
static constexpr Scalar molarDensity(Scalar temperature, Scalar pressure)
The molar density of the gas , depending on pressure and temperature.
Definition idealgas.hh:70