version 3.10-dev
Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert > Class Template Reference

A solid phase consisting of multiple inert solid components. More...

#include <dumux/material/solidsystems/compositionalsolidphase.hh>

Description

template<class Scalar, class Component1, class Component2, int numInert = 0>
class Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >
Note
a solid is considered inert if it cannot dissolve in a liquid and and cannot increase its mass by precipitation from a fluid phase.
inert components have to come after all non-inert components

Public Types

using ComponentOne = Component1
 
using ComponentTwo = Component2
 

Static Public Member Functions

static std::string componentName (int compIdx)
 Return the human readable name of a solid phase. More...
 
static std::string name ()
 A human readable name for the solid system. More...
 
static constexpr bool isCompressible (int compIdx)
 Returns whether the phase is incompressible. More...
 
static constexpr bool isInert ()
 Returns whether the component is inert (doesn't react) More...
 
static Scalar molarMass (int compIdx)
 The molar mass in \(\mathrm{[kg/mol]}\) of the component. More...
 
template<class SolidState >
static Scalar density (const SolidState &solidState)
 The density \(\mathrm{[kg/m^3]}\) of the solid phase at a given pressure and temperature. More...
 
template<class SolidState >
static Scalar density (const SolidState &solidState, const int compIdx)
 The density \(\mathrm{[kg/m^3]}\) of the solid phase at a given pressure and temperature. More...
 
template<class SolidState >
static Scalar molarDensity (const SolidState &solidState, const int compIdx)
 The molar density of the solid phase at a given pressure and temperature. More...
 
template<class SolidState >
static Scalar thermalConductivity (const SolidState &solidState)
 Thermal conductivity of the solid \(\mathrm{[W/(m K)]}\). More...
 
template<class SolidState >
static Scalar heatCapacity (const SolidState &solidState)
 Specific isobaric heat capacity of the pure solids \(\mathrm{[J/(kg K)]}\). More...
 

Static Public Attributes

static constexpr int numComponents = 2
 
static constexpr int numInertComponents = numInert
 
static constexpr int comp0Idx = 0
 
static constexpr int comp1Idx = 1
 

Member Typedef Documentation

◆ ComponentOne

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
using Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::ComponentOne = Component1

◆ ComponentTwo

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
using Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::ComponentTwo = Component2

Member Function Documentation

◆ componentName()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
static std::string Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::componentName ( int  compIdx)
inlinestatic
Parameters
compIdxThe index of the solid phase to consider

◆ density() [1/2]

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
template<class SolidState >
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::density ( const SolidState &  solidState)
inlinestatic

◆ density() [2/2]

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
template<class SolidState >
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::density ( const SolidState &  solidState,
const int  compIdx 
)
inlinestatic

◆ heatCapacity()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
template<class SolidState >
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::heatCapacity ( const SolidState &  solidState)
inlinestatic

◆ isCompressible()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
static constexpr bool Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::isCompressible ( int  compIdx)
inlinestaticconstexpr

◆ isInert()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
static constexpr bool Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::isInert ( )
inlinestaticconstexpr

◆ molarDensity()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
template<class SolidState >
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::molarDensity ( const SolidState &  solidState,
const int  compIdx 
)
inlinestatic

◆ molarMass()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::molarMass ( int  compIdx)
inlinestatic

◆ name()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
static std::string Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::name ( )
inlinestatic

◆ thermalConductivity()

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
template<class SolidState >
static Scalar Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::thermalConductivity ( const SolidState &  solidState)
inlinestatic

Member Data Documentation

◆ comp0Idx

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
constexpr int Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::comp0Idx = 0
staticconstexpr

◆ comp1Idx

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
constexpr int Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::comp1Idx = 1
staticconstexpr

◆ numComponents

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
constexpr int Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::numComponents = 2
staticconstexpr

◆ numInertComponents

template<class Scalar , class Component1 , class Component2 , int numInert = 0>
constexpr int Dumux::SolidSystems::CompositionalSolidPhase< Scalar, Component1, Component2, numInert >::numInertComponents = numInert
staticconstexpr

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