Opm::GasPhase< Scalar, ComponentT > Class Template Reference

Represents the gas phase of a single (pseudo-) component. More...

#include <GasPhase.hpp>

List of all members.

Public Types

typedef ComponentT Component
 The type of the phase's underlying (pseudo-) component.

Static Public Member Functions

static const char * name ()
 A human readable name for the component.
static bool isLiquid ()
 Returs whether the fluid is a liquid.
static bool isCompressible ()
 Returns true iff the fluid is assumed to be compressible.
static bool isIdealGas ()
 Returns true iff the fluid is assumed to be an ideal gas.
static Scalar molarMass ()
 The mass in [kg] of one mole of the component.
static Scalar criticalTemperature ()
 Returns the critical temperature of the component.
static Scalar criticalPressure ()
 Returns the critical pressure of the component.
static Scalar tripleTemperature ()
 Returns the temperature at the component's triple point.
static Scalar triplePressure ()
 Returns the pressure at the component's triple point.
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &temperature)
 The vapor pressure in [N/m^2] of the component at a given temperature.
template<class Evaluation >
static Evaluation density (const Evaluation &temperature, const Evaluation &pressure)
 The density [kg/m^3] of the component at a given pressure and temperature.
template<class Evaluation >
static Evaluation pressure (const Evaluation &temperature, const Evaluation &density)
 The pressure [Pa] of the component at a given density and temperature.
template<class Evaluation >
static Evaluation enthalpy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy [J/kg] the pure component as a gas.
template<class Evaluation >
static Evaluation internalEnergy (const Evaluation &temperature, const Evaluation &pressure)
 Specific internal energy [J/kg] the pure component as a gas.
template<class Evaluation >
static Evaluation viscosity (const Evaluation &temperature, const Evaluation &pressure)
 The dynamic viscosity [Pa s] of the pure component at a given pressure and temperature.
template<class Evaluation >
static Evaluation thermalConductivity (const Evaluation &temperature, const Evaluation &pressure)
 Thermal conductivity of the fluid [W/(m^2 K/m)].
template<class Evaluation >
static Evaluation heatCapacity (const Evaluation &temperature, const Evaluation &pressure)
 Specific isobaric heat capacity of the fluid [J/kg].

Detailed Description

template<class Scalar, class ComponentT>
class Opm::GasPhase< Scalar, ComponentT >

Represents the gas phase of a single (pseudo-) component.


Member Function Documentation

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::density ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density [kg/m^3] of the component at a given pressure and temperature.

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::enthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy [J/kg] the pure component as a gas.

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::heatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isobaric heat capacity of the fluid [J/kg].

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::internalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific internal energy [J/kg] the pure component as a gas.

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::pressure ( const Evaluation &  temperature,
const Evaluation &  density 
) [inline, static]

The pressure [Pa] of the component at a given density and temperature.

Parameters:
temperature The temperature of interest [K]
density The density of interest [kg / m^3]
template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::thermalConductivity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Thermal conductivity of the fluid [W/(m^2 K/m)].

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::vaporPressure ( const Evaluation &  temperature  )  [inline, static]

The vapor pressure in [N/m^2] of the component at a given temperature.

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::GasPhase< Scalar, ComponentT >::viscosity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The dynamic viscosity [Pa s] of the pure component at a given pressure and temperature.


The documentation for this class was generated from the following file:

Generated on 25 Mar 2018 by  doxygen 1.6.1