Opm::Unit< Scalar > Class Template Reference

A component where all quantities are fixed at 1.0. More...

#include <Unit.hpp>

Inheritance diagram for Opm::Unit< Scalar >:
Opm::Component< Scalar, Unit< Scalar > >

List of all members.

Static Public Member Functions

static const char * name ()
static Scalar molarMass ()
static Scalar criticalTemperature ()
static Scalar criticalPressure ()
static Scalar tripleTemperature ()
static Scalar triplePressure ()
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &)
static bool liquidIsCompressible ()
static bool gasIsCompressible ()
static bool gasIsIdeal ()
template<class Evaluation >
static Evaluation liquidDensity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation liquidViscosity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation liquidInternalEnergy (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasThermalConductivity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation liquidThermalConductivity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation gasHeatCapacity (const Evaluation &, const Evaluation &)
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &, const Evaluation &)

Detailed Description

template<class Scalar>
class Opm::Unit< Scalar >

A component where all quantities are fixed at 1.0.

This component is meant as a debugging tool. Do not use it in real-life applications!

Template Parameters:
Scalar The type used for scalar values

Member Function Documentation

template<class Scalar >
static Scalar Opm::Unit< Scalar >::criticalPressure (  )  [inline, static]

Returns the critical pressure in $\mathrm{[Pa]}$ of the component.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static Scalar Opm::Unit< Scalar >::criticalTemperature (  )  [inline, static]

Returns the critical temperature in $\mathrm{[K]}$ of the component.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasDensity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

The density in $\mathrm{[kg/m^3]}$ of the component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasEnthalpy ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasHeatCapacity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific isobaric heat capacity of the component [J/kg] as a gas.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasInternalEnergy ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific internal energy $\mathrm{[J/kg]}$ of the pure component in gas.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static bool Opm::Unit< Scalar >::gasIsCompressible (  )  [inline, static]

Returns true iff the gas phase is assumed to be compressible.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static bool Opm::Unit< Scalar >::gasIsIdeal (  )  [inline, static]

Returns true iff the gas phase is assumed to be ideal.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasThermalConductivity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Thermal conductivity of the component [W/(m^2 K/m)] as a gas.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::gasViscosity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of the pure component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidDensity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

The density $\mathrm{[kg/m^3]}$ of the liquid component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidEnthalpy ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in liquid.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidHeatCapacity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific isobaric heat capacity of the component [J/kg] as a liquid.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidInternalEnergy ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Specific internal energy $\mathrm{[J/kg]}$ of pure the pure component in liquid.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static bool Opm::Unit< Scalar >::liquidIsCompressible (  )  [inline, static]

Returns true iff the liquid phase is assumed to be compressible.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidThermalConductivity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Thermal conductivity of the component [W/(m^2 K/m)] as a liquid.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Unit< Scalar >::liquidViscosity ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

The dynamic liquid viscosity $\mathrm{[Pa*s]}$ of the pure component.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static Scalar Opm::Unit< Scalar >::molarMass (  )  [inline, static]

The molar mass in $\mathrm{[kg]}$ of the component.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static const char* Opm::Unit< Scalar >::name (  )  [inline, static]

A human readable name for the component.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static Scalar Opm::Unit< Scalar >::triplePressure (  )  [inline, static]

Returns the pressure in $\mathrm{[Pa]}$ at the component's triple point.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

template<class Scalar >
static Scalar Opm::Unit< Scalar >::tripleTemperature (  )  [inline, static]

Returns the temperature in $\mathrm{[K]}$ at the component's triple point.

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.

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

The vapor pressure in $\mathrm{[Pa]}$ of the component at a given temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of the component in $\mathrm{[K]}$

Reimplemented from Opm::Component< Scalar, Unit< Scalar > >.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1