A simple class implementing the fluid properties of air. More...
#include <Air.hpp>
Static Public Member Functions | |
static bool | liquidIsCompressible () |
Returns true iff the liquid phase is assumed to be compressible. | |
static const char * | name () |
A human readable name for the ![]() | |
static bool | gasIsCompressible () |
Returns true iff the gas phase is assumed to be compressible. | |
static bool | gasIsIdeal () |
Returns true iff the gas phase is assumed to be ideal. | |
static Scalar | molarMass () |
The molar mass in ![]() ![]() | |
static Scalar | criticalTemperature () |
Returns the critical temperature ![]() ![]() | |
static Scalar | criticalPressure () |
Returns the critical pressure ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | gasDensity (const Evaluation &temperature, const Evaluation &pressure) |
The density of ![]() | |
template<class Evaluation > | |
static Evaluation | gasPressure (const Evaluation &temperature, Scalar density) |
The pressure of gaseous ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | gasViscosity (const Evaluation &temperature, const Evaluation &) |
The dynamic viscosity ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | simpleGasViscosity (const Evaluation &temperature, const Evaluation &) |
template<class Evaluation > | |
static Evaluation | gasEnthalpy (const Evaluation &temperature, const Evaluation &) |
Specific enthalpy of liquid water ![]() | |
template<class Evaluation > | |
static Evaluation | gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure) |
Specific internal energy of ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | gasThermalConductivity (const Evaluation &, const Evaluation &) |
Specific heat conductivity of steam ![]() | |
template<class Evaluation > | |
static Evaluation | gasHeatCapacity (const Evaluation &temperature, const Evaluation &) |
Specific isobaric heat capacity ![]() |
A simple class implementing the fluid properties of air.
Scalar | The type used for scalar values |
static Evaluation Opm::Air< Scalar >::gasDensity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
The density of at a given pressure and temperature [kg/m^3].
temperature | temperature of component in ![]() | |
pressure | pressure of phase in ![]() |
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Evaluation Opm::Air< Scalar >::gasEnthalpy | ( | const Evaluation & | temperature, | |
const Evaluation & | ||||
) | [inline, static] |
Specific enthalpy of liquid water with 273.15 K as basis.
See: W. Kays, M. Crawford, B. Weigand Convective heat and mass transfer, 4th edition (2005) p. 431ff
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Evaluation Opm::Air< Scalar >::gasHeatCapacity | ( | const Evaluation & | temperature, | |
const Evaluation & | ||||
) | [inline, static] |
Specific isobaric heat capacity 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. Values taken from NASA Contractor Report 4755, Real-Gas Flow Properties for NASA Langley Research Center Aerothermodynamic Facilities Complex Wind Tunnels using data from Hilsenrath et al 1955, "Tables of Thermal Properties of Gases"
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Evaluation Opm::Air< Scalar >::gasInternalEnergy | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific internal energy of
.
Definition of enthalpy: . Rearranging for internal energy yields:
. Exploiting the Ideal Gas assumption (
)gives:
.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Evaluation Opm::Air< Scalar >::gasPressure | ( | const Evaluation & | temperature, | |
Scalar | density | |||
) | [inline, static] |
The pressure of gaseous at a given density and temperature
.
temperature | temperature of component in ![]() | |
density | density of component in ![]() |
static Evaluation Opm::Air< Scalar >::gasThermalConductivity | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
Specific heat conductivity of steam .
Isobaric Properties for Nitrogen in: NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard evaluated at p=.1 MPa, T=8°C, does not change dramatically with p,T
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Evaluation Opm::Air< Scalar >::gasViscosity | ( | const Evaluation & | temperature, | |
const Evaluation & | ||||
) | [inline, static] |
The dynamic viscosity of
at a given pressure and temperature.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
See:
See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp 396-397, 667 5th edition, McGraw-Hill, 2001, pp 9.7-9.8
accentric factor taken from: Journal of Energy Resources Technology, March 2005, Vol 127 Formulation for the Thermodynamic Properties Georeg A. Abediyi University, Mississippi State
V_c = (R*T_c)/p_c
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.
static Scalar Opm::Air< Scalar >::molarMass | ( | ) | [inline, static] |
The molar mass in of
.
Taken from constrelair.hh.
Reimplemented from Opm::Component< Scalar, Air< Scalar > >.