version 3.10-dev
Dumux::InertSolidState< Scalar, SolidSystemType > Class Template Reference

Represents all relevant thermodynamic quantities of a inert solid system.

#include <dumux/material/solidstates/inertsolidstate.hh>

Public Types

enum  { numComponents = SolidSystem::numComponents , numInertComponents = SolidSystem::numInertComponents }
 
using SolidSystem = SolidSystemType
 

Public Member Functions

Scalar averageMolarMass () const
 The average molar mass \(\overline M_\alpha\) of phase \(\alpha\) in \(\mathrm{[kg/mol]}\). More...
 
Scalar porosity () const
 The porosity of the porous medium. More...
 
Scalar density () const
 The mass density of the solid phase in \(\mathrm{[kg/m^3]}\). More...
 
Scalar heatCapacity () const
 The heat capacity of the solid phase in \(\mathrm{[J/(kg*K)}\). More...
 
Scalar thermalConductivity () const
 The thermal conductivity of the solid phase in \(\mathrm{[[W/(m*K)]}\). More...
 
Scalar temperature () const
 The temperature of the solid phase in \(\mathrm{[K]}\). More...
 
Scalar volumeFraction (const int compIdx) const
 The volume fraction of a solid component within the solid phase. More...
 
Scalar molarDensity () const
 The molar density \(\rho_{mol,\alpha}\) of a solid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). More...
 
template<class SolidState >
void assign (const SolidState &sst)
 Retrieve all parameters from an arbitrary solid state. More...
 
void setTemperature (Scalar value)
 Set the temperature \(\mathrm{[K]}\) of the solid phase. More...
 
void setDensity (Scalar value)
 Set the density of the solid phase. More...
 
void setThermalConductivity (Scalar value)
 Set the heat capacity of the solid phase. More...
 
void setHeatCapacity (Scalar value)
 Set the thermal conductivity of the solid phase. More...
 
void setVolumeFraction (const int compIdx, Scalar value)
 Set the volume fraction of a solid component. More...
 

Static Public Member Functions

static constexpr bool isInert ()
 Allows compile-time evaluation of if the solid system is inert or takes part in any kind of reactions. More...
 

Protected Attributes

Scalar density_
 
Scalar temperature_
 
Scalar volumeFraction_ [numComponents]
 
Scalar heatCapacity_
 
Scalar thermalConducivity_
 

Member Typedef Documentation

◆ SolidSystem

template<class Scalar , class SolidSystemType >
using Dumux::InertSolidState< Scalar, SolidSystemType >::SolidSystem = SolidSystemType

Member Enumeration Documentation

◆ anonymous enum

template<class Scalar , class SolidSystemType >
anonymous enum
Enumerator
numComponents 
numInertComponents 

Member Function Documentation

◆ assign()

template<class Scalar , class SolidSystemType >
template<class SolidState >
void Dumux::InertSolidState< Scalar, SolidSystemType >::assign ( const SolidState &  sst)
inline
Parameters
sstThe inert solid state
Note
If the other solid state object is inconsistent with the thermodynamic equilibrium, the result of this method is undefined.

◆ averageMolarMass()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::averageMolarMass ( ) const
inline

Since this is an inert InertSolidState we simply consider the molarMass of the pure component/phase.

◆ density()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::density ( ) const
inline

◆ heatCapacity()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::heatCapacity ( ) const
inline

◆ isInert()

template<class Scalar , class SolidSystemType >
static constexpr bool Dumux::InertSolidState< Scalar, SolidSystemType >::isInert ( )
inlinestaticconstexpr

◆ molarDensity()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::molarDensity ( ) const
inline

The molar density is defined by the mass density \(\rho_\alpha\) and the mean molar mass \(\overline M_\alpha\):

\[\rho_{mol,\alpha} = \frac{\rho_\alpha}{\overline M_\alpha} \;.\]

◆ porosity()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::porosity ( ) const
inline

◆ setDensity()

template<class Scalar , class SolidSystemType >
void Dumux::InertSolidState< Scalar, SolidSystemType >::setDensity ( Scalar  value)
inline

◆ setHeatCapacity()

template<class Scalar , class SolidSystemType >
void Dumux::InertSolidState< Scalar, SolidSystemType >::setHeatCapacity ( Scalar  value)
inline

◆ setTemperature()

template<class Scalar , class SolidSystemType >
void Dumux::InertSolidState< Scalar, SolidSystemType >::setTemperature ( Scalar  value)
inline

◆ setThermalConductivity()

template<class Scalar , class SolidSystemType >
void Dumux::InertSolidState< Scalar, SolidSystemType >::setThermalConductivity ( Scalar  value)
inline

◆ setVolumeFraction()

template<class Scalar , class SolidSystemType >
void Dumux::InertSolidState< Scalar, SolidSystemType >::setVolumeFraction ( const int  compIdx,
Scalar  value 
)
inline

◆ temperature()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::temperature ( ) const
inline

◆ thermalConductivity()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::thermalConductivity ( ) const
inline

◆ volumeFraction()

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::volumeFraction ( const int  compIdx) const
inline

Member Data Documentation

◆ density_

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::density_
protected

◆ heatCapacity_

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::heatCapacity_
protected

◆ temperature_

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::temperature_
protected

◆ thermalConducivity_

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::thermalConducivity_
protected

◆ volumeFraction_

template<class Scalar , class SolidSystemType >
Scalar Dumux::InertSolidState< Scalar, SolidSystemType >::volumeFraction_[numComponents]
protected

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