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

Component for Xylene. More...

#include <Xylene.hpp>

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

Static Public Member Functions

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

Detailed Description

template<class Scalar>
class Opm::Xylene< Scalar >

Component for Xylene.

Template Parameters
ScalarThe type used for scalar values

Member Function Documentation

◆ gasDensity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Xylene< 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::Xylene< Scalar >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
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]}$

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

◆ gasIsCompressible()

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

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

◆ gasIsIdeal()

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

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

◆ gasViscosity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Xylene< Scalar >::gasViscosity ( 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]}$

◆ heatVap()

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

Latent heat of vaporization for xylene $\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::Xylene< Scalar >::liquidDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The density $\mathrm{[kg/m^3]}$ of the liquid 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]}$

◆ liquidEnthalpy()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::Xylene< Scalar >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
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]}$

◆ liquidIsCompressible()

template<class Scalar >
static bool Opm::Xylene< Scalar >::liquidIsCompressible ( )
inlinestatic

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

◆ liquidViscosity()

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

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

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

◆ molarGasDensity()

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

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

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

◆ molarLiquidDensity()

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

The molar density of pure xylene 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]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ spHeatCapLiquidPhase()

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

Specific heat cap of liquid xylene $\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]}$

◆ vaporPressure()

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

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

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

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