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

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

#include <LiquidPhase.hpp>

Public Types

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

Static Public Member Functions

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

Detailed Description

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

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

Member Typedef Documentation

◆ Component

template<class Scalar , class ComponentT >
typedef ComponentT Opm::LiquidPhase< Scalar, ComponentT >::Component

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

Member Function Documentation

◆ criticalPressure()

template<class Scalar , class ComponentT >
static Scalar Opm::LiquidPhase< Scalar, ComponentT >::criticalPressure ( )
inlinestatic

Returns the critical pressure of the component.

References Opm::Component< ScalarT, Implementation >::criticalPressure().

◆ criticalTemperature()

template<class Scalar , class ComponentT >
static Scalar Opm::LiquidPhase< Scalar, ComponentT >::criticalTemperature ( )
inlinestatic

Returns the critical temperature of the component.

References Opm::Component< ScalarT, Implementation >::criticalTemperature().

◆ density()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::density ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

References Opm::Component< ScalarT, Implementation >::liquidDensity(), and Opm::LiquidPhase< Scalar, ComponentT >::pressure().

Referenced by Opm::LiquidPhase< Scalar, ComponentT >::pressure().

◆ enthalpy()

template<class Scalar , class ComponentT >
template<class Evaluation >
static const Evaluation Opm::LiquidPhase< Scalar, ComponentT >::enthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

References Opm::Component< ScalarT, Implementation >::liquidEnthalpy(), and Opm::LiquidPhase< Scalar, ComponentT >::pressure().

◆ heatCapacity()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::heatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

◆ internalEnergy()

template<class Scalar , class ComponentT >
template<class Evaluation >
static const Evaluation Opm::LiquidPhase< Scalar, ComponentT >::internalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

References Opm::Component< ScalarT, Implementation >::liquidInternalEnergy(), and Opm::LiquidPhase< Scalar, ComponentT >::pressure().

◆ isCompressible()

template<class Scalar , class ComponentT >
static bool Opm::LiquidPhase< Scalar, ComponentT >::isCompressible ( )
inlinestatic

Returns true iff the fluid is assumed to be compressible.

References Opm::Component< ScalarT, Implementation >::liquidIsCompressible().

◆ isIdealGas()

template<class Scalar , class ComponentT >
static bool Opm::LiquidPhase< Scalar, ComponentT >::isIdealGas ( )
inlinestatic

Returns true iff the fluid is assumed to be an ideal gas.

◆ isLiquid()

template<class Scalar , class ComponentT >
static bool Opm::LiquidPhase< Scalar, ComponentT >::isLiquid ( )
inlinestatic

Returs whether the fluid is a liquid.

◆ molarMass()

template<class Scalar , class ComponentT >
static Scalar Opm::LiquidPhase< Scalar, ComponentT >::molarMass ( )
inlinestatic

The mass in [kg] of one mole of the component.

References Opm::Component< ScalarT, Implementation >::molarMass().

◆ name()

template<class Scalar , class ComponentT >
static const char * Opm::LiquidPhase< Scalar, ComponentT >::name ( )
inlinestatic

A human readable name for the component.

References Opm::Component< ScalarT, Implementation >::name().

◆ pressure()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::pressure ( const Evaluation &  temperature,
const Evaluation &  density 
)
inlinestatic

◆ thermalConductivity()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::thermalConductivity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

◆ triplePressure()

template<class Scalar , class ComponentT >
static Scalar Opm::LiquidPhase< Scalar, ComponentT >::triplePressure ( )
inlinestatic

Returns the pressure at the component's triple point.

References Opm::Component< ScalarT, Implementation >::triplePressure().

◆ tripleTemperature()

template<class Scalar , class ComponentT >
static Scalar Opm::LiquidPhase< Scalar, ComponentT >::tripleTemperature ( )
inlinestatic

Returns the temperature at the component's triple point.

References Opm::Component< ScalarT, Implementation >::tripleTemperature().

◆ vaporPressure()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::vaporPressure ( const Evaluation &  temperature)
inlinestatic

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

References Opm::Component< ScalarT, Implementation >::vaporPressure().

◆ viscosity()

template<class Scalar , class ComponentT >
template<class Evaluation >
static Evaluation Opm::LiquidPhase< Scalar, ComponentT >::viscosity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

References Opm::Component< ScalarT, Implementation >::liquidViscosity(), and Opm::LiquidPhase< Scalar, ComponentT >::pressure().


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