A simple class implementing the fluid properties of air.
More...
#include <Air.hpp>
|
static bool | liquidIsCompressible () |
| Returns true iff the liquid phase is assumed to be compressible. More...
|
|
static const char * | name () |
| A human readable name for the . More...
|
|
static bool | gasIsCompressible () |
| Returns true iff the gas phase is assumed to be compressible. More...
|
|
static bool | gasIsIdeal () |
| Returns true iff the gas phase is assumed to be ideal. More...
|
|
static Scalar | molarMass () |
| The molar mass in of . More...
|
|
static Scalar | criticalTemperature () |
| Returns the critical temperature of . More...
|
|
static Scalar | criticalPressure () |
| Returns the critical pressure of . More...
|
|
template<class Evaluation > |
static Evaluation | gasDensity (const Evaluation &temperature, const Evaluation &pressure) |
| The density of at a given pressure and temperature [kg/m^3]. More...
|
|
template<class Evaluation > |
static Evaluation | gasPressure (const Evaluation &temperature, Scalar density) |
| The pressure of gaseous at a given density and temperature . More...
|
|
template<class Evaluation > |
static Evaluation | gasViscosity (const Evaluation &temperature, const Evaluation &) |
| The dynamic viscosity of at a given pressure and temperature. More...
|
|
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 with 273.15 K as basis. See: W. Kays, M. Crawford, B. Weigand Convective heat and mass transfer, 4th edition (2005) p. 431ff. More...
|
|
template<class Evaluation > |
static Evaluation | gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure) |
| Specific internal energy of . More...
|
|
template<class Evaluation > |
static Evaluation | gasThermalConductivity (const Evaluation &, const Evaluation &) |
| Specific heat conductivity of steam . More...
|
|
template<class Evaluation > |
static Evaluation | gasHeatCapacity (const Evaluation &temperature, const Evaluation &) |
| Specific isobaric heat capacity of pure air. More...
|
|
static void | init (Scalar, Scalar, unsigned, Scalar, Scalar, unsigned) |
| A default routine for initialization, not needed for components and must not be called. More...
|
|
static Scalar | tripleTemperature () |
| Returns the temperature in at the component's triple point. More...
|
|
static Scalar | triplePressure () |
| Returns the pressure in at the component's triple point. More...
|
|
static Evaluation | vaporPressure (const Evaluation &) |
| The vapor pressure in of the component at a given temperature in . More...
|
|
static Evaluation | liquidDensity (const Evaluation &, const Evaluation &) |
| The density of the liquid component at a given pressure in and temperature in . More...
|
|
static Evaluation | liquidEnthalpy (const Evaluation &, const Evaluation &) |
| Specific enthalpy of the pure component in liquid. More...
|
|
static Evaluation | liquidInternalEnergy (const Evaluation &, const Evaluation &) |
| Specific internal energy of pure the pure component in liquid. More...
|
|
static Evaluation | liquidViscosity (const Evaluation &, const Evaluation &) |
| The dynamic liquid viscosity of the pure component. More...
|
|
static Evaluation | liquidThermalConductivity (const Evaluation &, const Evaluation &) |
| Thermal conductivity of the component [W/(m^2 K/m)] as a liquid. More...
|
|
static Evaluation | liquidHeatCapacity (const Evaluation &, const Evaluation &) |
| Specific isobaric heat capacity of the component [J/kg] as a liquid. More...
|
|
template<class Scalar>
class Opm::Air< Scalar >
A simple class implementing the fluid properties of air.
- Template Parameters
-
Scalar | The type used for scalar values |
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasDensity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasEnthalpy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
|
|
) |
| |
|
inlinestatic |
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasHeatCapacity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
|
|
) |
| |
|
inlinestatic |
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"
- Parameters
-
temperature | temperature of component in |
pressure | pressure of component in |
References Opm::Air< Scalar >::molarMass(), Opm::LocalAd::pow(), and Opm::IdealGas< Scalar >::R.
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasInternalEnergy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
Returns true iff the gas phase is assumed to be compressible.
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasPressure |
( |
const Evaluation & |
temperature, |
|
|
Scalar |
density |
|
) |
| |
|
inlinestatic |
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasThermalConductivity |
( |
const Evaluation & |
, |
|
|
const Evaluation & |
|
|
) |
| |
|
inlinestatic |
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::gasViscosity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
|
|
) |
| |
|
inlinestatic |
The dynamic viscosity of at a given pressure and temperature.
- Parameters
-
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
References Opm::Air< Scalar >::criticalTemperature(), Opm::LocalAd::exp(), Opm::Air< Scalar >::molarMass(), Opm::LocalAd::pow(), and Opm::LocalAd::sqrt().
Referenced by Opm::FluidSystems::H2OAirMesitylene< Scalar >::viscosity(), and Opm::FluidSystems::H2OAir< Scalar, H2Otype, useComplexRelations >::viscosity().
Specific isobaric heat capacity of the component [J/kg] as a liquid.
Returns true iff the liquid phase is assumed to be compressible.
Thermal conductivity of the component [W/(m^2 K/m)] as a liquid.
The molar mass in of .
Taken from constrelair.hh.
Referenced by Opm::FluidSystems::H2OAirXylene< Scalar >::density(), Opm::FluidSystems::H2OAirMesitylene< Scalar >::density(), Opm::FluidSystems::H2OAir< Scalar, H2Otype, useComplexRelations >::density(), Opm::Air< Scalar >::gasDensity(), Opm::BinaryCoeff::Air_Xylene::gasDiffCoeff(), Opm::BinaryCoeff::Air_Mesitylene::gasDiffCoeff(), Opm::Air< Scalar >::gasHeatCapacity(), Opm::Air< Scalar >::gasInternalEnergy(), Opm::Air< Scalar >::gasPressure(), Opm::Air< Scalar >::gasViscosity(), Opm::FluidSystems::H2OAirXylene< Scalar >::molarMass(), Opm::FluidSystems::H2OAir< Scalar, H2Otype, useComplexRelations >::molarMass(), Opm::FluidSystems::H2OAirMesitylene< Scalar >::molarMass(), Opm::FluidSystems::H2OAirXylene< Scalar >::viscosity(), Opm::FluidSystems::H2OAirMesitylene< Scalar >::viscosity(), and Opm::FluidSystems::H2OAir< Scalar, H2Otype, useComplexRelations >::viscosity().
template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Air< Scalar >::simpleGasViscosity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
|
|
) |
| |
|
inlinestatic |
Returns the pressure in at the component's triple point.
Returns the temperature in at the component's triple point.
The documentation for this class was generated from the following file:
|