version 3.8.0
Loading...
Searching...
No Matches
Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp > Class Template Reference

The simplest solid phase consisting of a single solid component. More...

#include <dumux/material/solidsystems/1csolid.hh>

Description

template<class Scalar, class ComponentT, bool isInertComp = true>
class Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >
Note
A solid is considered inert if it can't dissolve in a liquid and and can't increase its mass by precipitation from a fluid phase.

Public Types

using Component = ComponentT
 

Static Public Member Functions

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

Static Public Attributes

static constexpr int numComponents = 1
 
static constexpr int numInertComponents = isInertComp ? 1 : 0
 

Member Typedef Documentation

◆ Component

template<class Scalar , class ComponentT , bool isInertComp = true>
using Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::Component = ComponentT

Member Function Documentation

◆ componentName()

template<class Scalar , class ComponentT , bool isInertComp = true>
static std::string Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::componentName ( int compIdx = 0)
inlinestatic
Parameters
compIdxThe index of the component to consider

◆ density() [1/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
template<class SolidState >
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::density ( const SolidState & solidState,
int compIdx = 0 )
inlinestatic

◆ density() [2/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::density ( Scalar temperature,
int compIdx = 0 )
inlinestatic

◆ heatCapacity() [1/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
template<class SolidState >
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::heatCapacity ( const SolidState & solidState,
int compIdx = 0 )
inlinestatic

◆ heatCapacity() [2/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::heatCapacity ( Scalar temperature,
int compIdx = 0 )
inlinestatic

◆ isCompressible()

template<class Scalar , class ComponentT , bool isInertComp = true>
static constexpr bool Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::isCompressible ( int compIdx = 0)
inlinestaticconstexpr

◆ isInert()

template<class Scalar , class ComponentT , bool isInertComp = true>
static constexpr bool Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::isInert ( )
inlinestaticconstexpr

◆ molarDensity()

template<class Scalar , class ComponentT , bool isInertComp = true>
template<class SolidState >
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::molarDensity ( const SolidState & solidState,
int compIdx = 0 )
inlinestatic

◆ molarMass()

template<class Scalar , class ComponentT , bool isInertComp = true>
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::molarMass ( int compIdx = 0)
inlinestatic

◆ name()

template<class Scalar , class ComponentT , bool isInertComp = true>
static std::string Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::name ( )
inlinestatic

◆ thermalConductivity() [1/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
template<class SolidState >
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::thermalConductivity ( const SolidState & solidState,
int compIdx = 0 )
inlinestatic

◆ thermalConductivity() [2/2]

template<class Scalar , class ComponentT , bool isInertComp = true>
static Scalar Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::thermalConductivity ( Scalar temperature,
int compIdx = 0 )
inlinestatic

Member Data Documentation

◆ numComponents

template<class Scalar , class ComponentT , bool isInertComp = true>
constexpr int Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::numComponents = 1
staticconstexpr

◆ numInertComponents

template<class Scalar , class ComponentT , bool isInertComp = true>
constexpr int Dumux::SolidSystems::OneCSolid< Scalar, ComponentT, isInertComp >::numInertComponents = isInertComp ? 1 : 0
staticconstexpr

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