Relations valid for an ideal gas.
#include <dumux/material/idealgas.hh>
|
| 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.
|
| |
| static constexpr Scalar | pressure (Scalar temperature, Scalar rhoMolar) |
| | The pressure of the gas in \(\mathrm{[Pa]}\), depending on the molar density and temperature.
|
| |
| static constexpr Scalar | molarDensity (Scalar temperature, Scalar pressure) |
| | The molar density of the gas \(\mathrm{[mol/m^3]}\), depending on pressure and temperature.
|
| |
|
| static constexpr Scalar | R = Constants<Scalar>::R |
| | The ideal gas constant \(\mathrm{[J/mol/K]}\).
|
| |
◆ density()
template<class Scalar>
| static constexpr Scalar Dumux::IdealGas< Scalar >::density |
( |
Scalar | avgMolarMass, |
|
|
Scalar | temperature, |
|
|
Scalar | pressure ) |
|
inlinestaticconstexpr |
- 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 |
- 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 |
- Parameters
-
| temperature | The temperature of the gas |
| rhoMolar | The molar density of the gas |
The documentation for this class was generated from the following file: