version 3.8
Dumux::CompositionalSolidState< Scalar, SolidSystemType > Class Template Reference

Represents all relevant thermodynamic quantities of a compositional solid system.

#include <dumux/material/solidstates/compositionalsolidstate.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 heat capacity of the solid phase in \(\mathrm{[J/(kg*K)}\). More...
 
Scalar molarDensity () const
 The molar density \(\rho_{mol,\alpha}\) of a solid phase \(\alpha\) in \(\mathrm{[mol/m^3]}\). 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...
 
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 ()
 

Protected Attributes

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

Member Typedef Documentation

◆ SolidSystem

template<class Scalar , class SolidSystemType >
using Dumux::CompositionalSolidState< 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::CompositionalSolidState< Scalar, SolidSystemType >::assign ( const SolidState &  sst)
inline
Parameters
sstCompositionalSolidState
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::CompositionalSolidState< Scalar, SolidSystemType >::averageMolarMass ( ) const
inline

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

◆ density()

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

◆ heatCapacity()

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

◆ isInert()

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

◆ molarDensity()

template<class Scalar , class SolidSystemType >
Scalar Dumux::CompositionalSolidState< 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::CompositionalSolidState< Scalar, SolidSystemType >::porosity ( ) const
inline

◆ setDensity()

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

◆ setHeatCapacity()

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

◆ setTemperature()

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

◆ setThermalConductivity()

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

◆ setVolumeFraction()

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

◆ temperature()

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

◆ thermalConductivity()

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

◆ volumeFraction()

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

Member Data Documentation

◆ density_

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

◆ heatCapacity_

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

◆ temperature_

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

◆ thermalConducivity_

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

◆ volumeFraction_

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

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