3.1-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::O2< Scalar > Class Template Reference

Properties of pure molecular oxygen \(O_2\). More...

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

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

Description

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

Properties of pure molecular oxygen \(O_2\).

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 \(O_2\). More...
 
static constexpr Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of molecular oxygen. More...
 
static constexpr Scalar criticalTemperature ()
 Returns the critical temperature in \(\mathrm{[K]}\) of molecular oxygen. More...
 
static constexpr Scalar criticalPressure ()
 Returns the critical pressure in \(\mathrm{[Pa]}\) of molecular oxygen. More...
 
static constexpr Scalar tripleTemperature ()
 Returns the temperature in \(\mathrm{[K]}\) at molecular oxygen's triple point. More...
 
static constexpr Scalar triplePressure ()
 Returns the pressure in \(\mathrm{[Pa]}\) at molecular oxygen's triple point. More...
 
static Scalar vaporPressure (Scalar T)
 The vapor pressure in \(\mathrm{[Pa]}\) of pure molecular oxygen at a given temperature. More...
 
static constexpr bool gasIsCompressible ()
 Returns true if the gas phase is assumed to be compressible. More...
 
static constexpr Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density in \(\mathrm{[kg/m^3]}\) of pure \(O_2\) at a given pressure and temperature. More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of pure \(O_2\) in \(\mathrm{[mol/m^3]}\), depending on pressure and temperature. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. More...
 
static constexpr Scalar gasPressure (Scalar temperature, Scalar density)
 The pressure of gaseous \(O_2\) in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy \(\mathrm{[J/kg]}\) of pure oxygen gas. More...
 
static Scalar gasHeatCapacity (Scalar T, Scalar pressure)
 Specific isobaric heat capacity \(\mathrm{[J/(kg*K)]}\) of pure oxygen gas. More...
 
static Scalar gasViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of \(O_2\) at a given pressure and temperature. More...
 
static constexpr Scalar gasThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of nitrogen. 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 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 Public Attributes

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

Member Typedef Documentation

◆ Scalar

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

export the scalar type used by the component

Member Function Documentation

◆ criticalPressure()

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

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

◆ criticalTemperature()

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

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

◆ gasDensity()

template<class Scalar >
static constexpr Scalar Dumux::Components::O2< Scalar >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticconstexpr

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

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)
Todo:
: density liquid oxygen

◆ gasEnthalpy()

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

Specific enthalpy \(\mathrm{[J/kg]}\) of pure oxygen gas.

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

◆ gasHeatCapacity()

template<class Scalar >
static Scalar Dumux::Components::O2< Scalar >::gasHeatCapacity ( Scalar  T,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity \(\mathrm{[J/(kg*K)]}\) of pure oxygen gas.

This is equivalent to the partial derivative of the specific enthalpy to the temperature.

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

See: R. Reid, et al. (1987, pp 154, 657, 665) [59]

◆ gasInternalEnergy()

static const Scalar Dumux::Components::Gas< Scalar, O2< 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::O2< Scalar >::gasIsCompressible ( )
inlinestaticconstexpr

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

◆ gasIsIdeal()

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

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

◆ gasMolarDensity()

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

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

Parameters
temperatureThe temperature of the gas
pressureThe pressure of the gas

◆ gasPressure()

template<class Scalar >
static constexpr Scalar Dumux::Components::O2< Scalar >::gasPressure ( Scalar  temperature,
Scalar  density 
)
inlinestaticconstexpr

The pressure of gaseous \(O_2\) in \(\mathrm{[Pa]}\) at a given density and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydensity of component in \(\mathrm{[kg/m^3]}\)

◆ gasThermalConductivity()

template<class Scalar >
static constexpr Scalar Dumux::Components::O2< Scalar >::gasThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticconstexpr

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

Isobaric Properties for Nitrogen and Oxygen in: NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard evaluated at p=.1 MPa, does not change dramatically with p and can be interpolated linearly with temperature

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

◆ gasViscosity()

template<class Scalar >
static Scalar Dumux::Components::O2< Scalar >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of \(O_2\) at a given pressure and temperature.

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

See:

See: R. Reid, et al. (1987, pp 396-397, 664) [59]

◆ gasViscosityIsConstant()

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

Returns true if the gas phase viscostiy is constant.

◆ init()

static void Dumux::Components::Base< Scalar , O2< 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!"

◆ molarMass()

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

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

◆ name()

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

A human readable name for the \(O_2\).

◆ triplePressure()

template<class Scalar >
static constexpr Scalar Dumux::Components::O2< Scalar >::triplePressure ( )
inlinestaticconstexpr

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

◆ tripleTemperature()

template<class Scalar >
static constexpr Scalar Dumux::Components::O2< Scalar >::tripleTemperature ( )
inlinestaticconstexpr

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

◆ vaporPressure()

template<class Scalar >
static Scalar Dumux::Components::O2< Scalar >::vaporPressure ( Scalar  T)
inlinestatic

The vapor pressure in \(\mathrm{[Pa]}\) of pure molecular oxygen at a given temperature.

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

Taken from:

R. Prydz (1972, pp. 1-4) [58]

Member Data Documentation

◆ isTabulated

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

if the component relies on tabulated values


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