3.3.0
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::Benzene< Scalar > Class Template Reference

A simple benzene component (LNAPL). More...

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

Inheritance diagram for Dumux::Components::Benzene< Scalar >:

Description

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

A simple benzene component (LNAPL).

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 benzene. More...
 
static constexpr Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of benzene. More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density of benzene steam at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of steam in \(\mathrm{[mol/m^3]}\), depending on pressure and temperature. More...
 
static Scalar liquidDensity (Scalar temperature, Scalar pressure)
 The density of pure benzene at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar liquidMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of pure benzene at a given pressure and temperature \(\mathrm{[mol/m^3]}\). More...
 
static Scalar liquidViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure benzene. 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 Scalar criticalTemperature ()
 Returns the critical temperature in \(\mathrm{[K]}\) of the component. More...
 
static constexpr Scalar criticalPressure ()
 Returns the critical pressure in \(\mathrm{[Pa]}\) of the component. More...
 
static constexpr Scalar tripleTemperature ()
 Returns the temperature in \(\mathrm{[K]}\) at the component's triple point. More...
 
static constexpr Scalar triplePressure ()
 Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point. More...
 
static Scalar vaporPressure (Scalar t)
 The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature in \(\mathrm{[K]}\). More...
 
static constexpr bool liquidIsCompressible ()
 Returns true if the liquid phase is assumed to be compressible. More...
 
static constexpr bool liquidViscosityIsConstant ()
 Returns true if the liquid phase viscostiy is constant. More...
 
static const Scalar liquidEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy \(\mathrm{[J/kg]}\) of the pure component in liquid. More...
 
static const Scalar liquidInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy \(\mathrm{[J/kg]}\) of pure the pure component in liquid. More...
 
static Scalar liquidThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity of the component \(\mathrm{[W/(m*K)]}\) as a liquid. More...
 
static Scalar liquidHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a liquid. More...
 
static constexpr bool gasIsCompressible ()
 Returns true if the gas phase is assumed to be compressible. More...
 
static constexpr bool gasViscosityIsConstant ()
 Returns true if the gas phase viscostiy is constant. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. More...
 
static const Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy \(\mathrm{[J/kg]}\) of the pure component in gas. 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 , Benzene< Scalar > >::Scalar = Scalar
inherited

export the scalar type used by the component

Member Function Documentation

◆ criticalPressure()

static constexpr Scalar Dumux::Components::Base< Scalar , Benzene< Scalar > >::criticalPressure ( )
inlinestaticconstexprinherited

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

◆ criticalTemperature()

static constexpr Scalar Dumux::Components::Base< Scalar , Benzene< Scalar > >::criticalTemperature ( )
inlinestaticconstexprinherited

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

◆ gasDensity()

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

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

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

◆ gasEnthalpy()

static const Scalar Dumux::Components::Gas< Scalar, Benzene< Scalar > >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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()

static Scalar Dumux::Components::Gas< Scalar, Benzene< 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, Benzene< 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()

static constexpr bool Dumux::Components::Gas< Scalar, Benzene< Scalar > >::gasIsCompressible ( )
inlinestaticconstexprinherited

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

◆ gasIsIdeal()

static constexpr bool Dumux::Components::Gas< Scalar, Benzene< Scalar > >::gasIsIdeal ( )
inlinestaticconstexprinherited

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

◆ gasMolarDensity()

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

The molar density of steam in \(\mathrm{[mol/m^3]}\), depending on pressure and temperature.

Parameters
temperatureThe temperature of the gas
pressureThe pressure of the gas

◆ gasThermalConductivity()

static Scalar Dumux::Components::Gas< Scalar, Benzene< 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()

static Scalar Dumux::Components::Gas< Scalar, Benzene< 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, Benzene< Scalar > >::gasViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the gas phase viscostiy is constant.

◆ init()

static void Dumux::Components::Base< Scalar , Benzene< 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::Benzene< Scalar >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

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

◆ liquidEnthalpy()

static const Scalar Dumux::Components::Liquid< Scalar, Benzene< Scalar > >::liquidEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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()

static Scalar Dumux::Components::Liquid< Scalar, Benzene< Scalar > >::liquidHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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

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

◆ liquidInternalEnergy()

static const Scalar Dumux::Components::Liquid< Scalar, Benzene< 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()

static constexpr bool Dumux::Components::Liquid< Scalar, Benzene< Scalar > >::liquidIsCompressible ( )
inlinestaticconstexprinherited

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

◆ liquidMolarDensity()

template<class Scalar >
static Scalar Dumux::Components::Benzene< Scalar >::liquidMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

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

◆ liquidThermalConductivity()

static Scalar Dumux::Components::Liquid< Scalar, Benzene< Scalar > >::liquidThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

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

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

◆ liquidViscosity()

template<class Scalar >
static Scalar Dumux::Components::Benzene< Scalar >::liquidViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

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

◆ liquidViscosityIsConstant()

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

Returns true if the liquid phase viscostiy is constant.

◆ molarMass()

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

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

◆ name()

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

A human readable name for the benzene.

◆ triplePressure()

static constexpr Scalar Dumux::Components::Base< Scalar , Benzene< Scalar > >::triplePressure ( )
inlinestaticconstexprinherited

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

◆ tripleTemperature()

static constexpr Scalar Dumux::Components::Base< Scalar , Benzene< Scalar > >::tripleTemperature ( )
inlinestaticconstexprinherited

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

◆ vaporPressure()

static Scalar Dumux::Components::Base< Scalar , Benzene< Scalar > >::vaporPressure ( Scalar  t)
inlinestaticinherited

The vapor pressure in \(\mathrm{[Pa]}\) of the component at a given temperature in \(\mathrm{[K]}\).

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

Member Data Documentation

◆ isTabulated

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

if the component relies on tabulated values


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