3.6-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::Ammonia< Scalar > Class Template Reference

A class for the Ammonia (NH3) component properties. More...

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

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

Description

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

A class for the Ammonia (NH3) component properties.

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 NH3. More...
 
static Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of NH3. 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 Public Attributes

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

Member Typedef Documentation

◆ Scalar

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

export the scalar type used by the component

Member Function Documentation

◆ criticalPressure()

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

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

◆ criticalTemperature()

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

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

◆ init()

static void Dumux::Components::Base< Scalar , Ammonia< 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 Scalar Dumux::Components::Ammonia< Scalar >::molarMass ( )
inlinestatic

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

◆ name()

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

A human readable name for NH3.

◆ triplePressure()

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

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

◆ tripleTemperature()

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

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

◆ vaporPressure()

static Scalar Dumux::Components::Base< Scalar , Ammonia< 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 , Ammonia< Scalar > >::isTabulated
staticconstexprinherited

if the component relies on tabulated values


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