A generic class which tabulates all thermodynamic properties of a given component.
More...
#include <TabulatedComponent.hpp>
|
static void | init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) |
| Initialize the tables. More...
|
|
static const char * | name () |
| A human readable name for the component. More...
|
|
static Scalar | molarMass () |
| The molar mass in of the component. More...
|
|
static Scalar | criticalTemperature () |
| Returns the critical temperature in of the component. More...
|
|
static Scalar | criticalPressure () |
| Returns the critical pressure in of the component. 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...
|
|
template<class Evaluation > |
static Evaluation | vaporPressure (const Evaluation &temperature) |
| The vapor pressure in of the component at a given temperature. More...
|
|
template<class Evaluation > |
static Evaluation | gasEnthalpy (const Evaluation &temperature, const Evaluation &pressure) |
| Specific enthalpy of the gas . More...
|
|
template<class Evaluation > |
static Evaluation | liquidEnthalpy (const Evaluation &temperature, const Evaluation &pressure) |
| Specific enthalpy of the liquid . More...
|
|
template<class Evaluation > |
static Evaluation | gasHeatCapacity (const Evaluation &temperature, const Evaluation &pressure) |
| Specific isobaric heat capacity of the gas . More...
|
|
template<class Evaluation > |
static Evaluation | liquidHeatCapacity (const Evaluation &temperature, const Evaluation &pressure) |
| Specific isobaric heat capacity of the liquid . More...
|
|
template<class Evaluation > |
static Evaluation | gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure) |
| Specific internal energy of the gas . More...
|
|
template<class Evaluation > |
static Evaluation | liquidInternalEnergy (const Evaluation &temperature, const Evaluation &pressure) |
| Specific internal energy of the liquid . More...
|
|
template<class Evaluation > |
static Evaluation | gasPressure (const Evaluation &temperature, Scalar density) |
| The pressure of gas in at a given density and temperature. More...
|
|
template<class Evaluation > |
static Evaluation | liquidPressure (const Evaluation &temperature, Scalar density) |
| The pressure of liquid in at a given density and temperature. More...
|
|
static bool | gasIsCompressible () |
| Returns true iff the gas phase is assumed to be compressible. More...
|
|
static bool | liquidIsCompressible () |
| Returns true iff the liquid phase is assumed to be compressible. More...
|
|
static bool | gasIsIdeal () |
| Returns true iff the gas phase is assumed to be ideal. More...
|
|
template<class Evaluation > |
static Evaluation | gasDensity (const Evaluation &temperature, const Evaluation &pressure) |
| The density of gas at a given pressure and temperature . More...
|
|
template<class Evaluation > |
static Evaluation | liquidDensity (const Evaluation &temperature, const Evaluation &pressure) |
| The density of liquid at a given pressure and temperature . More...
|
|
template<class Evaluation > |
static Evaluation | gasViscosity (const Evaluation &temperature, const Evaluation &pressure) |
| The dynamic viscosity of gas. More...
|
|
template<class Evaluation > |
static Evaluation | liquidViscosity (const Evaluation &temperature, const Evaluation &pressure) |
| The dynamic viscosity of liquid. More...
|
|
template<class Evaluation > |
static Evaluation | gasThermalConductivity (const Evaluation &temperature, const Evaluation &pressure) |
| The thermal conductivity of gaseous water . More...
|
|
template<class Evaluation > |
static Evaluation | liquidThermalConductivity (const Evaluation &temperature, const Evaluation &pressure) |
| The thermal conductivity of liquid water . More...
|
|
template<class ScalarT, class RawComponent, bool useVaporPressure = true>
class Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >
A generic class which tabulates all thermodynamic properties of a given component.
At the moment, this class can only handle the sub-critical fluids since it tabulates along the vapor pressure curve.
- Template Parameters
-
Scalar | The type used for scalar values |
RawComponent | The component which ought to be tabulated |
useVaporPressure | If true, tabulate all quantities along the vapor pressure curve, if false use the pressure range [p_min, p_max] |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasDensity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasEnthalpy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasHeatCapacity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasInternalEnergy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
Returns true iff the gas phase is assumed to be compressible.
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasPressure |
( |
const Evaluation & |
temperature, |
|
|
Scalar |
density |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasThermalConductivity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::gasViscosity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidDensity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidEnthalpy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidHeatCapacity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidInternalEnergy |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidPressure |
( |
const Evaluation & |
temperature, |
|
|
Scalar |
density |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidThermalConductivity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::liquidViscosity |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pressure |
|
) |
| |
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
The molar mass in of the component.
Referenced by Opm::FluidSystems::H2OAirMesitylene< Scalar >::density(), Opm::FluidSystems::H2ON2LiquidPhase< Scalar, useComplexRelations >::density(), Opm::FluidSystems::H2ON2< Scalar, useComplexRelations >::density(), Opm::FluidSystems::H2ON2LiquidPhase< Scalar, useComplexRelations >::molarMass(), Opm::FluidSystems::H2ON2< Scalar, useComplexRelations >::molarMass(), Opm::FluidSystems::BrineCO2< Scalar, CO2Tables >::molarMass(), Opm::FluidSystems::H2OAirMesitylene< Scalar >::molarMass(), and Opm::FluidSystems::H2OAirMesitylene< Scalar >::viscosity().
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
Returns the pressure in at the component's triple point.
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
Returns the temperature in at the component's triple point.
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
template<class Evaluation >
static Evaluation Opm::TabulatedComponent< ScalarT, RawComponent, useVaporPressure >::vaporPressure |
( |
const Evaluation & |
temperature | ) |
|
|
inlinestatic |
template<class ScalarT, class RawComponent , bool useVaporPressure = true>
The documentation for this class was generated from the following file:
|