Dumux::BlackoilComponent< Scalar > Class Template Reference

A component class for the black oil model, intended to be used for all three components. More...

#include <BlackoilComponent.hpp>

Static Public Member Functions

static const char * name ()
 A human readable name for the component. More...
 
static Scalar molarMass ()
 The molar mass in [kg] of the component. More...
 
static Scalar criticalTemperature ()
 Returns the critical temperature in [K] of the component. More...
 
static Scalar criticalPressure ()
 Returns the critical pressure in [Pa] of the component. More...
 
static Scalar tripleTemperature ()
 Returns the temperature in [K] at the component's triple point. More...
 
static Scalar triplePressure ()
 Returns the pressure in [Pa] at the component's triple point. More...
 
static Scalar vaporPressure (Scalar T)
 The vapor pressure in [Pa] of the component at a given temperature in [K]. More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density in [kg/m^3] of the component at a given pressure in [Pa] and temperature in [K]. More...
 
static Scalar liquidDensity (Scalar temperature, Scalar pressure)
 The density [kg/m^3] of the liquid component at a given pressure in [Pa] and temperature in [K]. More...
 
static const Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy [J/kg] of the pure component in gas. More...
 
static const Scalar liquidEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy [J/kg] of the pure component in liquid. More...
 
static const Scalar gasInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy [J/kg] of the pure component in gas. More...
 
static const Scalar liquidInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy [J/kg] of pure the pure component in liquid. More...
 
static Scalar gasViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity [Pa*s] of the pure component at a given pressure in [Pa] and temperature in [K]. More...
 
static Scalar liquidViscosity (Scalar temperature, Scalar pressure)
 The dynamic liquid viscosity [Pa*s] of the pure component. More...
 

Detailed Description

template<class Scalar>
class Dumux::BlackoilComponent< Scalar >

A component class for the black oil model, intended to be used for all three components.

Template Parameters
ScalarThe type used for scalar values

Member Function Documentation

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::criticalPressure ( )
inlinestatic

Returns the critical pressure in [Pa] of the component.

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::criticalTemperature ( )
inlinestatic

Returns the critical temperature in [K] of the component.

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static const Scalar Dumux::BlackoilComponent< Scalar >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy [J/kg] of the pure component in gas.

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static const Scalar Dumux::BlackoilComponent< Scalar >::gasInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy [J/kg] of the pure component in gas.

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static const Scalar Dumux::BlackoilComponent< Scalar >::liquidEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy [J/kg] of the pure component in liquid.

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static const Scalar Dumux::BlackoilComponent< Scalar >::liquidInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy [J/kg] of pure the pure component in liquid.

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::liquidViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic liquid viscosity [Pa*s] of the pure component.

Parameters
temperaturetemperature of component in [K]
pressurepressure of component in [Pa]
template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::molarMass ( )
inlinestatic

The molar mass in [kg] of the component.

template<class Scalar >
static const char* Dumux::BlackoilComponent< Scalar >::name ( )
inlinestatic

A human readable name for the component.

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::triplePressure ( )
inlinestatic

Returns the pressure in [Pa] at the component's triple point.

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::tripleTemperature ( )
inlinestatic

Returns the temperature in [K] at the component's triple point.

template<class Scalar >
static Scalar Dumux::BlackoilComponent< Scalar >::vaporPressure ( Scalar  T)
inlinestatic

The vapor pressure in [Pa] of the component at a given temperature in [K].

Parameters
Ttemperature of the component in [K]

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