3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::Components::Xylene< Scalar > Class Template Reference

Properties of xylene. More...

#include <dumux/material/components/xylene.hh>

Inheritance diagram for Dumux::Components::Xylene< Scalar >:
Inheritance graph

Description

template<class Scalar>
class Dumux::Components::Xylene< Scalar >

Properties of xylene.

Template Parameters
ScalarThe type used for scalar values

Public Types

using Scalar = Scalar
 export the scalar type used by the component More...
 

Static Public Member Functions

static std::string name ()
 A human readable name for the xylene. More...
 
static constexpr Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of xylene. More...
 
static constexpr Scalar criticalTemperature ()
 Returns the critical temperature \(\mathrm{[K]}\) of xylene. More...
 
static constexpr Scalar criticalPressure ()
 Returns the critical pressure \(\mathrm{[Pa]}\) of xylene. More...
 
static constexpr Scalar boilingTemperature ()
 Returns the temperature \(\mathrm{[K]}\) at xylene's boiling point (1 atm). More...
 
static Scalar tripleTemperature ()
 Returns the temperature \(\mathrm{[K]}\) at xylene's triple point. More...
 
static Scalar triplePressure ()
 Returns the pressure \(\mathrm{[Pa]}\) at xylene's triple point. More...
 
static Scalar vaporPressure (Scalar 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 [24]
More...
 
static Scalar liquidHeatCapacity (Scalar temp, Scalar pressure)
 Specific heat cap of liquid xylene \(\mathrm{[J/kg]}\). More...
 
static Scalar liquidEnthalpy (const Scalar temperature, const Scalar pressure)
 Specific enthalpy of liquid xylene \(\mathrm{[J/kg]}\). More...
 
static Scalar heatVap (Scalar temperature, const Scalar pressure)
 Latent heat of vaporization for xylene \(\mathrm{[J/kg]}\). More...
 
static Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of xylene vapor \(\mathrm{[J/kg]}\). More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density \(\mathrm{[kg/m^3]}\) of xylene gas at a given pressure and temperature. More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar gas density \(\mathrm{[mol/m^3]}\) of xylene gas at a given pressure and temperature. More...
 
static Scalar liquidMolarDensity (Scalar temp, Scalar pressure)
 The molar liquid density of pure xylene at a given pressure and temperature \(\mathrm{[mol/m^3]}\). More...
 
static Scalar liquidDensity (Scalar temperature, Scalar pressure)
 The density of pure xylene at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static constexpr bool gasIsCompressible ()
 Returns true if the gas phase is assumed to be compressible. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. More...
 
static constexpr bool liquidIsCompressible ()
 Returns true if the liquid phase is assumed to be compressible. More...
 
static Scalar gasViscosity (Scalar temp, Scalar pressure, bool regularize=true)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of xylene vapor. More...
 
static Scalar liquidViscosity (Scalar temp, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure xylene. More...
 
static Scalar liquidThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of xylene. More...
 
static void init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress)
 A default routine for initialization, not needed for components and must not be called. More...
 
static constexpr bool liquidViscosityIsConstant ()
 Returns true if the liquid phase viscostiy is constant. More...
 
static const Scalar liquidInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy \(\mathrm{[J/kg]}\) of pure the pure component in liquid. More...
 
static constexpr bool gasViscosityIsConstant ()
 Returns true if the gas phase viscostiy is constant. More...
 
static const Scalar gasInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy \(\mathrm{[J/kg]}\) of the pure component in gas. More...
 
static Scalar gasViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of the pure component at a given pressure in \(\mathrm{[Pa]}\) and temperature in \(\mathrm{[K]}\). More...
 
static Scalar gasThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity of the component \(\mathrm{[W/(m*K)]}\) as a gas. More...
 
static Scalar gasHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a gas. More...
 

Static Public Attributes

static constexpr bool isTabulated
 if the component relies on tabulated values More...
 

Member Typedef Documentation

◆ Scalar

using Dumux::Components::Base< Scalar , Xylene< Scalar > >::Scalar = Scalar
inherited

export the scalar type used by the component

Member Function Documentation

◆ boilingTemperature()

template<class Scalar >
static constexpr Scalar Dumux::Components::Xylene< Scalar >::boilingTemperature ( )
inlinestaticconstexpr

Returns the temperature \(\mathrm{[K]}\) at xylene's boiling point (1 atm).

◆ criticalPressure()

template<class Scalar >
static constexpr Scalar Dumux::Components::Xylene< Scalar >::criticalPressure ( )
inlinestaticconstexpr

Returns the critical pressure \(\mathrm{[Pa]}\) of xylene.

◆ criticalTemperature()

template<class Scalar >
static constexpr Scalar Dumux::Components::Xylene< Scalar >::criticalTemperature ( )
inlinestaticconstexpr

Returns the critical temperature \(\mathrm{[K]}\) of xylene.

◆ gasDensity()

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

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

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

◆ gasEnthalpy()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy of xylene 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]}\)

◆ gasHeatCapacity()

static Scalar Dumux::Components::Gas< Scalar, Xylene< Scalar > >::gasHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a gas.

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

◆ gasInternalEnergy()

static const Scalar Dumux::Components::Gas< Scalar, Xylene< Scalar > >::gasInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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 constexpr bool Dumux::Components::Xylene< Scalar >::gasIsCompressible ( )
inlinestaticconstexpr

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

◆ gasIsIdeal()

template<class Scalar >
static constexpr bool Dumux::Components::Xylene< Scalar >::gasIsIdeal ( )
inlinestaticconstexpr

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

◆ gasMolarDensity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::gasMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar gas 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]}\)

◆ gasThermalConductivity()

static Scalar Dumux::Components::Gas< Scalar, Xylene< Scalar > >::gasThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

Thermal conductivity of the component \(\mathrm{[W/(m*K)]}\) as a gas.

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

◆ gasViscosity() [1/2]

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::gasViscosity ( Scalar  temp,
Scalar  pressure,
bool  regularize = true 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of xylene vapor.

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

◆ gasViscosity() [2/2]

static Scalar Dumux::Components::Gas< Scalar, Xylene< Scalar > >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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]}\)

◆ gasViscosityIsConstant()

static constexpr bool Dumux::Components::Gas< Scalar, Xylene< Scalar > >::gasViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the gas phase viscostiy is constant.

◆ heatVap()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::heatVap ( Scalar  temperature,
const Scalar  pressure 
)
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) [53]

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

◆ init()

static void Dumux::Components::Base< Scalar , Xylene< Scalar > >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestaticinherited

A default routine for initialization, not needed for components and must not be called.

Parameters
tempMinThe minimum of the temperature range in \(\mathrm{[K]}\)
tempMaxThe maximum of the temperature range in \(\mathrm{[K]}\)
nTempThe number of entries/steps within the temperature range
pressMinThe minimum of the pressure range in \(\mathrm{[Pa]}\)
pressMaxThe maximum of the pressure range in \(\mathrm{[Pa]}\)
nPressThe number of entries/steps within the pressure range

This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"

◆ liquidDensity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The density of pure xylene 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 >
static Scalar Dumux::Components::Xylene< Scalar >::liquidEnthalpy ( const Scalar  temperature,
const Scalar  pressure 
)
inlinestatic

Specific enthalpy of liquid xylene \(\mathrm{[J/kg]}\).

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

◆ liquidHeatCapacity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::liquidHeatCapacity ( Scalar  temp,
Scalar  pressure 
)
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) [53]

Parameters
temptemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidInternalEnergy()

static const Scalar Dumux::Components::Liquid< Scalar, Xylene< Scalar > >::liquidInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

Specific internal energy \(\mathrm{[J/kg]}\) of pure the pure component in liquid.

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

◆ liquidIsCompressible()

template<class Scalar >
static constexpr bool Dumux::Components::Xylene< Scalar >::liquidIsCompressible ( )
inlinestaticconstexpr

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

◆ liquidMolarDensity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::liquidMolarDensity ( Scalar  temp,
Scalar  pressure 
)
inlinestatic

The molar liquid 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) [53]

Parameters
temptemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidThermalConductivity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::liquidThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of xylene.

Thermal Conductivity of p-Xylene taken from the Dortmund Data Bank, see: http://www.ddbst.de/en/EED/PCP/TCN_C176.php

Parameters
temperatureabsolute temperature in \(\mathrm{[K]}\)
pressureof the phase in \(\mathrm{[Pa]}\)

◆ liquidViscosity()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::liquidViscosity ( Scalar  temp,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure xylene.

Parameters
temptemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidViscosityIsConstant()

static constexpr bool Dumux::Components::Liquid< Scalar, Xylene< Scalar > >::liquidViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the liquid phase viscostiy is constant.

◆ molarMass()

template<class Scalar >
static constexpr Scalar Dumux::Components::Xylene< Scalar >::molarMass ( )
inlinestaticconstexpr

The molar mass in \(\mathrm{[kg/mol]}\) of xylene.

◆ name()

template<class Scalar >
static std::string Dumux::Components::Xylene< Scalar >::name ( )
inlinestatic

A human readable name for the xylene.

◆ triplePressure()

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

Returns the pressure \(\mathrm{[Pa]}\) at xylene's triple point.

◆ tripleTemperature()

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

Returns the temperature \(\mathrm{[K]}\) at xylene's triple point.

◆ vaporPressure()

template<class Scalar >
static Scalar Dumux::Components::Xylene< Scalar >::vaporPressure ( Scalar  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 [24]

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

Member Data Documentation

◆ isTabulated

constexpr bool Dumux::Components::Base< Scalar , Xylene< Scalar > >::isTabulated
staticconstexprinherited

if the component relies on tabulated values


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