Abstract base class of a pure chemical species. More...
#include <Component.hpp>
Public Types | |
typedef ScalarT | Scalar |
Static Public Member Functions | |
static void | init (Scalar, Scalar, unsigned, Scalar, Scalar, unsigned) |
A default routine for initialization, not needed for components and must not be called. | |
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 bool | liquidIsCompressible () |
Returns true iff the liquid phase is assumed to be compressible. | |
static const char * | name () |
A human readable name for the component. | |
static Scalar | molarMass () |
The molar mass in ![]() | |
static Scalar | criticalTemperature () |
Returns the critical temperature in ![]() | |
static Scalar | criticalPressure () |
Returns the critical pressure in ![]() | |
static Scalar | tripleTemperature () |
Returns the temperature in ![]() | |
static Scalar | triplePressure () |
Returns the pressure in ![]() | |
template<class Evaluation > | |
static Evaluation | vaporPressure (const Evaluation &) |
The vapor pressure in ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | gasDensity (const Evaluation &, const Evaluation &) |
The density in ![]() ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | liquidDensity (const Evaluation &, const Evaluation &) |
The density ![]() ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | gasEnthalpy (const Evaluation &, const Evaluation &) |
Specific enthalpy ![]() | |
template<class Evaluation > | |
static Evaluation | liquidEnthalpy (const Evaluation &, const Evaluation &) |
Specific enthalpy ![]() | |
template<class Evaluation > | |
static Evaluation | gasInternalEnergy (const Evaluation &, const Evaluation &) |
Specific internal energy ![]() | |
template<class Evaluation > | |
static Evaluation | liquidInternalEnergy (const Evaluation &, const Evaluation &) |
Specific internal energy ![]() | |
template<class Evaluation > | |
static Evaluation | gasViscosity (const Evaluation &, const Evaluation &) |
The dynamic viscosity ![]() ![]() ![]() | |
template<class Evaluation > | |
static Evaluation | liquidViscosity (const Evaluation &, const Evaluation &) |
The dynamic liquid viscosity ![]() | |
template<class Evaluation > | |
static Evaluation | gasThermalConductivity (const Evaluation &, const Evaluation &) |
Thermal conductivity of the component [W/(m^2 K/m)] as a gas. | |
template<class Evaluation > | |
static Evaluation | liquidThermalConductivity (const Evaluation &, const Evaluation &) |
Thermal conductivity of the component [W/(m^2 K/m)] as a liquid. | |
template<class Evaluation > | |
static Evaluation | gasHeatCapacity (const Evaluation &, const Evaluation &) |
Specific isobaric heat capacity of the component [J/kg] as a gas. | |
template<class Evaluation > | |
static Evaluation | liquidHeatCapacity (const Evaluation &, const Evaluation &) |
Specific isobaric heat capacity of the component [J/kg] as a liquid. | |
Static Public Attributes | |
static const bool | isTabulated = false |
Abstract base class of a pure chemical species.
ScalarT | The type used for scalar values | |
Implementation | Necessary for static polymorphism |
static Evaluation Opm::Component< ScalarT, Implementation >::gasDensity | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
The density in of the component at a given pressure in
and temperature in
.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Air< Scalar >, Opm::Brine< Scalar, H2O >, Opm::CO2< Scalar, CO2Tables >, Opm::DNAPL< Scalar >, Opm::H2O< Scalar >, Opm::Mesitylene< Scalar >, Opm::N2< Scalar >, Opm::SimpleCO2< Scalar >, Opm::SimpleH2O< Scalar >, Opm::Unit< Scalar >, and Opm::Xylene< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::gasEnthalpy | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
Specific enthalpy of the pure component in gas.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Air< Scalar >, Opm::Brine< Scalar, H2O >, Opm::CO2< Scalar, CO2Tables >, Opm::H2O< Scalar >, Opm::Mesitylene< Scalar >, Opm::N2< Scalar >, Opm::SimpleCO2< Scalar >, Opm::SimpleH2O< Scalar >, Opm::Unit< Scalar >, and Opm::Xylene< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::gasInternalEnergy | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
Specific internal energy of the pure component in gas.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Air< Scalar >, Opm::Brine< Scalar, H2O >, Opm::CO2< Scalar, CO2Tables >, Opm::H2O< Scalar >, Opm::N2< Scalar >, Opm::SimpleCO2< Scalar >, Opm::SimpleH2O< Scalar >, and Opm::Unit< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::gasViscosity | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
The dynamic viscosity of the pure component at a given pressure in
and temperature in
.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Air< Scalar >, Opm::Brine< Scalar, H2O >, Opm::H2O< Scalar >, Opm::N2< Scalar >, Opm::SimpleCO2< Scalar >, Opm::SimpleH2O< Scalar >, and Opm::Unit< Scalar >.
static void Opm::Component< ScalarT, Implementation >::init | ( | Scalar | , | |
Scalar | , | |||
unsigned | , | |||
Scalar | , | |||
Scalar | , | |||
unsigned | ||||
) | [inline, static] |
A default routine for initialization, not needed for components and must not be called.
tempMin | The minimum of the temperature range in ![]() | |
tempMax | The maximum of the temperature range in ![]() | |
nTemp | The number of entries/steps within the temperature range | |
pressMin | The minimum of the pressure range in ![]() | |
pressMax | The maximum of the pressure range in ![]() | |
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!"
static Evaluation Opm::Component< ScalarT, Implementation >::liquidDensity | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
The density of the liquid component at a given pressure in
and temperature in
.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Brine< Scalar, H2O >, Opm::DNAPL< Scalar >, Opm::H2O< Scalar >, Opm::LNAPL< Scalar >, Opm::Mesitylene< Scalar >, Opm::SimpleH2O< Scalar >, Opm::Unit< Scalar >, and Opm::Xylene< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::liquidEnthalpy | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
Specific enthalpy of the pure component in liquid.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Brine< Scalar, H2O >, Opm::DNAPL< Scalar >, Opm::H2O< Scalar >, Opm::Mesitylene< Scalar >, Opm::SimpleCO2< Scalar >, Opm::SimpleH2O< Scalar >, Opm::Unit< Scalar >, and Opm::Xylene< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::liquidInternalEnergy | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
Specific internal energy of pure the pure component in liquid.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Brine< Scalar, H2O >, Opm::H2O< Scalar >, Opm::SimpleH2O< Scalar >, and Opm::Unit< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::liquidViscosity | ( | const Evaluation & | , | |
const Evaluation & | ||||
) | [inline, static] |
The dynamic liquid viscosity of the pure component.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented in Opm::Brine< Scalar, H2O >, Opm::DNAPL< Scalar >, Opm::H2O< Scalar >, Opm::LNAPL< Scalar >, Opm::SimpleH2O< Scalar >, and Opm::Unit< Scalar >.
static Evaluation Opm::Component< ScalarT, Implementation >::vaporPressure | ( | const Evaluation & | ) | [inline, static] |
The vapor pressure in of the component at a given temperature in
.
temperature | temperature of the component in ![]() |
Reimplemented in Opm::Brine< Scalar, H2O >, Opm::CO2< Scalar, CO2Tables >, Opm::DNAPL< Scalar >, Opm::Mesitylene< Scalar >, Opm::N2< Scalar >, Opm::SimpleH2O< Scalar >, Opm::Unit< Scalar >, and Opm::Xylene< Scalar >.