Base class for all components Components provide the thermodynamic relations for the liquid, gaseous and/or solid state of a single chemical species or a fixed mixture of species. Fluid systems use components to compute thermodynamic quantities of phases.
#include <dumux/material/components/base.hh>
|
using | Scalar = ScalarType |
| export the scalar type used by the component 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...
|
|
template<class C = Component> |
static std::string | name () |
| A human readable name for the component. More...
|
|
template<class C = Component> |
static constexpr Scalar | molarMass () |
| The molar mass in \(\mathrm{[kg/mol]}\) of the component. More...
|
|
template<class C = Component> |
static constexpr Scalar | criticalTemperature () |
| Returns the critical temperature in \(\mathrm{[K]}\) of the component. More...
|
|
template<class C = Component> |
static constexpr Scalar | criticalPressure () |
| Returns the critical pressure in \(\mathrm{[Pa]}\) of the component. More...
|
|
template<class C = Component> |
static constexpr Scalar | tripleTemperature () |
| Returns the temperature in \(\mathrm{[K]}\) at the component's triple point. More...
|
|
template<class C = Component> |
static constexpr Scalar | triplePressure () |
| Returns the pressure in \(\mathrm{[Pa]}\) at the component's triple point. More...
|
|
template<class C = Component> |
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 | isTabulated = false |
| if the component relies on tabulated values More...
|
|
◆ Scalar
template<class ScalarType , class Component >
◆ criticalPressure()
template<class ScalarType , class Component >
template<class C = Component>
◆ criticalTemperature()
template<class ScalarType , class Component >
template<class C = Component>
◆ init()
template<class ScalarType , class Component >
- Parameters
-
tempMin | The minimum of the temperature range in \(\mathrm{[K]}\) |
tempMax | The maximum of the temperature range in \(\mathrm{[K]}\) |
nTemp | The number of entries/steps within the temperature range |
pressMin | The minimum of the pressure range in \(\mathrm{[Pa]}\) |
pressMax | The maximum of the pressure range in \(\mathrm{[Pa]}\) |
nPress | The 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 ScalarType , class Component >
template<class C = Component>
◆ name()
template<class ScalarType , class Component >
template<class C = Component>
- Note
- Mandatory for all components
◆ triplePressure()
template<class ScalarType , class Component >
template<class C = Component>
◆ tripleTemperature()
template<class ScalarType , class Component >
template<class C = Component>
◆ vaporPressure()
template<class ScalarType , class Component >
template<class C = Component>
- Parameters
-
t | temperature of the component in \(\mathrm{[K]}\) |
◆ isTabulated
template<class ScalarType , class Component >
The documentation for this class was generated from the following file: