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

Component for Mesitylene. More...

#include <Mesitylene.hpp>

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

Static Public Member Functions

static std::string_view name ()
 A human readable name for the mesitylene.
 
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg/mol]}$ of mesitylene.
 
static Scalar criticalTemperature ()
 Returns the critical temperature $\mathrm{[K]}$ of mesitylene.
 
static Scalar criticalPressure ()
 Returns the critical pressure $\mathrm{[Pa]}$ of mesitylene.
 
static Scalar boilingTemperature ()
 Returns the temperature $\mathrm{[K]}$ at mesitylene's boiling point (1 atm).
 
static Scalar tripleTemperature ()
 Returns the temperature $\mathrm{[K]}$ at mesitylene's triple point.
 
static Scalar triplePressure ()
 Returns the pressure $\mathrm{[Pa]}$ at mesitylene's triple point.
 
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &temperature)
 The saturation vapor pressure in $\mathrm{[Pa]}$ of pure mesitylene at a given temperature according to Antoine after Betz 1997, see Gmehling et al 1980.
 
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy of liquid mesitylene $\mathrm{[J/kg]}$.
 
template<class Evaluation >
static Evaluation heatVap (const Evaluation &temperature, const Evaluation &)
 Latent heat of vaporization for mesitylene $\mathrm{[J/kg]}$.
 
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
 Specific enthalpy of mesitylene vapor $\mathrm{[J/kg]}$.
 
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density of pure mesitylene vapor at a given pressure and temperature $\mathrm{[kg/m^3]}$.
 
template<class Evaluation >
static Evaluation liquidDensity (const Evaluation &temperature, const Evaluation &)
 The density of pure mesitylene at a given pressure and temperature $\mathrm{[kg/m^3]}$.
 
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.
 
template<class Evaluation >
static Evaluation gasViscosity (Evaluation temperature, const Evaluation &, bool=true)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of mesitylene vapor.
 
template<class Evaluation >
static Evaluation liquidViscosity (Evaluation temperature, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of pure mesitylene.
 
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &temperature, const Evaluation &)
 Specific heat cap of liquid mesitylene $\mathrm{[J/kg]}$.
 
- Static Public Member Functions inherited from Opm::Component< Scalar, Mesitylene< 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.
 

Static Protected Member Functions

template<class Evaluation >
static Evaluation molarLiquidDensity_ (Evaluation temperature)
 The molar density of pure mesitylene at a given pressure and temperature $\mathrm{[mol/m^3]}$.
 

Additional Inherited Members

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

Detailed Description

template<class Scalar>
class Opm::Mesitylene< Scalar >

Component for Mesitylene.

Template Parameters
ScalarThe type used for scalar values

Member Function Documentation

◆ gasDensity()

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

The density of pure mesitylene vapor at a given pressure and temperature $\mathrm{[kg/m^3]}$.

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

◆ gasEnthalpy()

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

Specific enthalpy of mesitylene vapor $\mathrm{[J/kg]}$.

This relation is true on the vapor pressure curve, i.e. as long as there is a liquid phase present.

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

◆ gasViscosity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Mesitylene< Scalar >::gasViscosity ( Evaluation  temperature,
const Evaluation &  ,
bool  = true 
)
inlinestatic

The dynamic viscosity $\mathrm{[Pa*s]}$ of mesitylene vapor.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$
regularizedefines, if the functions is regularized or not, set to true by default

◆ heatVap()

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

Latent heat of vaporization for mesitylene $\mathrm{[J/kg]}$.

source : Reid et al. (fourth edition): Chen method (chap. 7-11, Delta H_v = Delta H_v (T) according to chap. 7-12)

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

◆ liquidDensity()

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

The density of pure mesitylene at a given pressure and temperature $\mathrm{[kg/m^3]}$.

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

◆ liquidEnthalpy()

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

Specific enthalpy of liquid mesitylene $\mathrm{[J/kg]}$.

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

◆ liquidHeatCapacity()

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

Specific heat cap of liquid mesitylene $\mathrm{[J/kg]}$.

source : Reid et al. (fourth edition): Missenard group contrib. method (chap 5-7, Table 5-11, s. example 5-8)

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

◆ liquidViscosity()

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

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

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

◆ molarLiquidDensity_()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Mesitylene< Scalar >::molarLiquidDensity_ ( Evaluation  temperature)
inlinestaticprotected

The molar density of pure mesitylene at a given pressure and temperature $\mathrm{[mol/m^3]}$.

source : Reid et al. (fourth edition): Modified Racket technique (chap. 3-11, eq. 3-11.9)

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

◆ vaporPressure()

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

The saturation vapor pressure in $\mathrm{[Pa]}$ of pure mesitylene at a given temperature according to Antoine after Betz 1997, see Gmehling et al 1980.

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

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