My Project
Loading...
Searching...
No Matches
Opm::SimpleCO2< Scalar > Class Template Reference

A simplistic class representing the $CO_2$ fluid properties. More...

#include <SimpleCO2.hpp>

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

Static Public Member Functions

static std::string_view name ()
 A human readable name for the component.
 
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg]}$ of the component.
 
static Scalar criticalTemperature ()
 Returns the critical temperature $\mathrm{[K]}$ of $CO_2$.
 
static Scalar criticalPressure ()
 Returns the critical pressure $\mathrm{[Pa]}$ of $CO_2$.
 
static Scalar tripleTemperature ()
 Returns the temperature $\mathrm{[K]}$ at the triple point of $CO_2$.
 
static Scalar acentricFactor ()
 Acentric factor of $CO_2$.
 
static Scalar criticalVolume ()
 Critical volume of $CO_2$ [m2/kmol].
 
static Scalar triplePressure ()
 Returns the pressure $\mathrm{[Pa]}$ at the triple point of $CO_2$.
 
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.
 
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas.
 
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 liquidEnthalpy (const Evaluation &temperature, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in liquid.
 
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a liquid.
 
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
 Specific internal energy $\mathrm{[J/kg]}$ of the pure component in gas.
 
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density in $\mathrm{[kg/m^3]}$ of the component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.
 
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &temperature, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of the pure component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.
 
- Static Public Member Functions inherited from Opm::Component< Scalar, SimpleCO2< Scalar > >
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 std::string_view name ()
 A human readable name for the component.
 
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg]}$ of the component.
 
static Scalar criticalTemperature ()
 Returns the critical temperature in $\mathrm{[K]}$ of the component.
 
static Scalar criticalPressure ()
 Returns the critical pressure in $\mathrm{[Pa]}$ of the component.
 
static Scalar acentricFactor ()
 Returns the acentric factor of the component.
 
static Scalar criticalVolume ()
 Returns the critical volume in $\mathrm{[m2/kmol]}$ of the component.
 
static Scalar tripleTemperature ()
 Returns the temperature in $\mathrm{[K]}$ at the component's triple point.
 
static Scalar triplePressure ()
 Returns the pressure in $\mathrm{[Pa]}$ at the component's triple point.
 
static Evaluation vaporPressure (const Evaluation &)
 The vapor pressure in $\mathrm{[Pa]}$ of the component at a given temperature in $\mathrm{[K]}$.
 
static Evaluation gasDensity (const Evaluation &, const Evaluation &)
 The density in $\mathrm{[kg/m^3]}$ of the component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.
 
static Evaluation liquidDensity (const Evaluation &, const Evaluation &)
 The density $\mathrm{[kg/m^3]}$ of the liquid component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.
 
static Evaluation gasEnthalpy (const Evaluation &, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas.
 
static Evaluation liquidEnthalpy (const Evaluation &, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in liquid.
 
static Evaluation gasInternalEnergy (const Evaluation &, const Evaluation &)
 Specific internal energy $\mathrm{[J/kg]}$ of the pure component in gas.
 
static Evaluation liquidInternalEnergy (const Evaluation &, const Evaluation &)
 Specific internal energy $\mathrm{[J/kg]}$ of pure the pure component in liquid.
 
static Evaluation gasViscosity (const Evaluation &, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of the pure component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.
 
static Evaluation liquidViscosity (const Evaluation &, const Evaluation &)
 The dynamic liquid viscosity $\mathrm{[Pa*s]}$ of the pure component.
 
static Evaluation gasThermalConductivity (const Evaluation &, const Evaluation &)
 Thermal conductivity of the component [W/(m^2 K/m)] as a gas.
 
static Evaluation liquidThermalConductivity (const Evaluation &, const Evaluation &)
 Thermal conductivity of the component [W/(m^2 K/m)] as a liquid.
 
static Evaluation gasHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a gas.
 
static Evaluation liquidHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a liquid.
 

Additional Inherited Members

- Public Types inherited from Opm::Component< Scalar, SimpleCO2< Scalar > >
typedef Scalar Scalar
 
- Static Public Attributes inherited from Opm::Component< Scalar, SimpleCO2< Scalar > >
static const bool isTabulated
 

Detailed Description

template<class Scalar>
class Opm::SimpleCO2< Scalar >

A simplistic class representing the $CO_2$ fluid properties.

Template Parameters
ScalarThe type used for scalar values

Member Function Documentation

◆ gasDensity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ gasEnthalpy()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
)
inlinestatic

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

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ gasHeatCapacity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasHeatCapacity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

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

◆ gasInternalEnergy()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ gasIsCompressible()

template<class Scalar >
static bool Opm::SimpleCO2< Scalar >::gasIsCompressible ( )
inlinestatic

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

◆ gasIsIdeal()

template<class Scalar >
static bool Opm::SimpleCO2< Scalar >::gasIsIdeal ( )
inlinestatic

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

◆ gasViscosity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasViscosity ( const Evaluation &  temperature,
const Evaluation &   
)
inlinestatic

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

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

See:

See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp 396-397, 667

◆ liquidEnthalpy()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
)
inlinestatic

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

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ liquidHeatCapacity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::liquidHeatCapacity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

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

◆ molarMass()

template<class Scalar >
static Scalar Opm::SimpleCO2< Scalar >::molarMass ( )
inlinestatic

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

◆ name()

template<class Scalar >
static std::string_view Opm::SimpleCO2< Scalar >::name ( )
inlinestatic

A human readable name for the component.


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