version 3.10-dev
Dumux::Components::Ammonia< Scalar > Class Template Reference

A class for the Ammonia (NH3) component properties.

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

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

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

Member Function Documentation

◆ criticalPressure()

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

◆ criticalTemperature()

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

◆ init()

static void Dumux::Components::Base< Scalar , Ammonia< Scalar > >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestaticinherited
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

◆ name()

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

◆ triplePressure()

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

◆ tripleTemperature()

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

◆ vaporPressure()

static Scalar Dumux::Components::Base< Scalar , Ammonia< Scalar > >::vaporPressure ( Scalar  t)
inlinestaticinherited
Parameters
ttemperature of the component in \(\mathrm{[K]}\)

Member Data Documentation

◆ isTabulated

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

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