Relations valid for an ideal gas.
More...
#include <dumux/material/idealgas.hh>
template<class Scalar>
class Dumux::IdealGas< Scalar >
Relations valid for an ideal gas.
|
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 constexpr Scalar | R = Constants<Scalar>::R |
| The ideal gas constant \(\mathrm{[J/mol/K]}\). More...
|
|
◆ 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
-
avgMolarMass | The average molar mass of the gas |
temperature | The temperature of the gas |
pressure | The 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
-
temperature | The temperature of the gas |
pressure | The 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
-
temperature | The temperature of the gas |
rhoMolar | The molar density of the gas |
The ideal gas constant \(\mathrm{[J/mol/K]}\).
The documentation for this class was generated from the following file: