A class for the air fluid properties. More...
#include <dumux/material/components/air.hh>
A class for the air fluid properties.
Scalar | The type used for scalar values |
Public Types | |
using | Scalar = Scalar |
export the scalar type used by the component More... | |
Static Public Member Functions | |
static std::string | name () |
A human readable name for Air. More... | |
static constexpr Scalar | molarMass () |
The molar mass in \(\mathrm{[kg/mol]}\) of Air. More... | |
static Scalar | criticalTemperature () |
Returns the critical temperature \(\mathrm{[K]}\) of Air. More... | |
static Scalar | criticalPressure () |
Returns the critical pressure \(\mathrm{[Pa]}\) of Air. More... | |
static Scalar | gasDensity (Scalar temperature, Scalar pressure) |
The density \(\mathrm{[kg/m^3]}\) of Air at a given pressure and temperature. More... | |
static Scalar | gasMolarDensity (Scalar temperature, Scalar pressure) |
The molar density of air in \(\mathrm{[mol/m^3]}\), depending on pressure and temperature. More... | |
static constexpr bool | gasIsCompressible () |
Returns true, the gas phase is assumed to be compressible. More... | |
static constexpr bool | gasIsIdeal () |
Returns true, the gas phase is assumed to be ideal. More... | |
static Scalar | gasPressure (Scalar temperature, Scalar density) |
The pressure \(\mathrm{[Pa]}\) of gaseous Air at a given density and temperature. More... | |
static Scalar | oldGasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature. More... | |
static Scalar | gasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature. More... | |
static Scalar | simpleGasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature. More... | |
static Scalar | exactGasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature. More... | |
static Scalar | gasEnthalpy (Scalar temperature, Scalar pressure) |
Specific enthalpy of Air \(\mathrm{[J/kg]}\) with 273.15 \( K \) as basis. More... | |
static const Scalar | gasInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of Air \(\mathrm{[J/kg]}\). More... | |
static const Scalar | gasHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity \(\mathrm{[J/(kg*K)]}\) of pure air. More... | |
static Scalar | gasThermalConductivity (Scalar temperature, Scalar pressure) |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of air. More... | |
static void | init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) |
A default routine for initialization, not needed for components and must not be called. More... | |
static constexpr Scalar | tripleTemperature () |
Returns the temperature in \(\mathrm{[K]}\) at the component's triple point. More... | |
static constexpr Scalar | triplePressure () |
Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point. More... | |
static Scalar | vaporPressure (Scalar t) |
The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature in \(\mathrm{[K]}\). More... | |
static constexpr bool | gasViscosityIsConstant () |
Returns true if the gas phase viscostiy is constant. More... | |
Static Public Attributes | |
static constexpr bool | isTabulated |
if the component relies on tabulated values More... | |
|
inherited |
export the scalar type used by the component
|
inlinestatic |
Returns the critical pressure \(\mathrm{[Pa]}\) of Air.
|
inlinestatic |
Returns the critical temperature \(\mathrm{[K]}\) of Air.
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature.
This is a very exact approach by Lemmon and Jacobsen (2004) [39] All the values and parameters used below are explained in their paper Since they use ''eta'' for dyn. viscosity, we do it as well for easier comparison with the paper
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The density \(\mathrm{[kg/m^3]}\) of Air at a given pressure and temperature.
Ideal gas is assumed.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific isobaric heat capacity \(\mathrm{[J/(kg*K)]}\) of pure air.
This methods uses the formula for "zero-pressure" heat capacity that is only dependent on temperature, because the pressure dependence is rather small. This one should be accurate for a pressure of 1 atm.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
Values taken from Hollis (1996) [30]
"Tables of Thermal Properties of Gases"
|
inlinestatic |
Specific internal energy of Air \(\mathrm{[J/kg]}\).
Definition of enthalpy: \(h= u + pv = u + p / \rho\). Rearranging for internal energy yields: \(u = h - pv\). Exploiting the Ideal Gas assumption ( \(pv = R_{\textnormal{specific}} T\)) gives: \(u = h - R / M T \).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestaticconstexpr |
Returns true, the gas phase is assumed to be compressible.
|
inlinestaticconstexpr |
Returns true, the gas phase is assumed to be ideal.
|
inlinestatic |
The molar density of air in \(\mathrm{[mol/m^3]}\), depending on pressure and temperature.
temperature | The temperature of the gas |
pressure | The pressure of the gas |
|
inlinestatic |
The pressure \(\mathrm{[Pa]}\) of gaseous Air at a given density and temperature.
Ideal gas is assumed.
temperature | temperature of component in \(\mathrm{[K]}\) |
density | density of component in \(\mathrm{[kg/m^3]}\) |
|
inlinestatic |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of air.
Isobaric Properties for Nitrogen in: NIST Standard [44]
evaluated at p=.1 MPa, T=20°C
Nitrogen: 0.025398
Oxygen: 0.026105
lambda_air is approximately 0.78*lambda_N2+0.22*lambda_O2
temperature | absolute temperature in \(\mathrm{[K]}\) |
pressure | of the phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature.
Simple method, already implemented in MUFTE-UG, but pretty accurate.
The pressure correction is even simpler and developed and tested by Holger Class in 2016 against the results of the Lemmon and Jacobsen (2004) approach [39] It shows very reasonable results throughout realistic pressure and temperature ranges up to several hundred Kelvin and up to 500 bar
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestaticconstexprinherited |
Returns true if the gas phase viscostiy is constant.
|
inlinestaticinherited |
A default routine for initialization, not needed for components and must not be called.
tempMin | The minimum of the temperature range in \(\mathrm{[K]}\) |
tempMax | The maximum of the temperature range in \(\mathrm{[K]}\) |
nTemp | The number of entries/steps within the temperature range |
pressMin | The minimum of the pressure range in \(\mathrm{[Pa]}\) |
pressMax | The maximum of the pressure range in \(\mathrm{[Pa]}\) |
nPress | The number of entries/steps within the pressure range |
This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"
|
inlinestaticconstexpr |
The molar mass in \(\mathrm{[kg/mol]}\) of Air.
Taken from constrelair.hh.
|
inlinestatic |
A human readable name for Air.
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature.
Criticial specific volume calculated by \(V_c = (R*T_c)/p_c\).
Reid et al. (1987, pp 396-397, 667) [56]
Poling et al. (2001, pp 9.7-9.8) [54]
Accentric factor taken from:
Adebiyi (2003) [4]
air is a non-polar substance, thus dipole moment mu is zero, as well the dimensionless dipole moment mu_r therefore not considered below the same holds for the correction value kappa for highly polar substances
This calculation was introduced into Dumux in 2012 although the method here is designed for general polar substances. Air, however, is (a) non-polar, and (b) there are more precise methods available
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of Air at a given pressure and temperature.
Simple method, already implemented in MUFTE-UG, but pretty accurate at atmospheric pressures. Gas viscosity is not very dependent on pressure. Thus, for low pressures one might switch the pressure correction off
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestaticconstexprinherited |
Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point.
|
inlinestaticconstexprinherited |
Returns the temperature in \(\mathrm{[K]}\) at the component's triple point.
|
inlinestaticinherited |
The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature in \(\mathrm{[K]}\).
t | temperature of the component in \(\mathrm{[K]}\) |
|
staticconstexprinherited |
if the component relies on tabulated values