24#ifndef DUMUX_SOLIDSYSTEMS_SOLID_PHASE_HH
25#define DUMUX_SOLIDSYSTEMS_SOLID_PHASE_HH
28#include <dune/common/exceptions.hh>
31namespace SolidSystems {
39template <
class Scalar,
class ComponentT,
bool isInertComp = true>
57 {
return Component::name(); }
75 {
return isInertComp; }
81 {
return Component::molarMass(); }
92 template <
class Sol
idState>
93 static Scalar
density(
const SolidState& solidState,
int compIdx = 0)
94 {
return density(solidState.temperature(), compIdx); }
99 template <
class Sol
idState>
100 static Scalar
molarDensity(
const SolidState& solidState,
int compIdx = 0)
107 {
return Component::solidThermalConductivity(
temperature); }
112 template <
class Sol
idState>
120 {
return Component::solidHeatCapacity(
temperature); }
125 template <
class Sol
idState>
126 static Scalar
heatCapacity(
const SolidState &solidState,
int compIdx = 0)
127 {
return heatCapacity(solidState.temperature(), compIdx); }
136template <
class Scalar,
class ComponentT>
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
The simplest solid phase consisting of a single solid component.
Definition: 1csolid.hh:41
static Scalar heatCapacity(const SolidState &solidState, int compIdx=0)
Specific isobaric heat capacity of the solid .
Definition: 1csolid.hh:126
static constexpr bool isInert()
Returns whether the component is inert (doesn't react)
Definition: 1csolid.hh:74
static Scalar heatCapacity(Scalar temperature, int compIdx=0)
Specific isobaric heat capacity of the solid .
Definition: 1csolid.hh:119
static Scalar molarDensity(const SolidState &solidState, int compIdx=0)
The molar density of the solid phase at a given pressure and temperature.
Definition: 1csolid.hh:100
ComponentT Component
Definition: 1csolid.hh:43
static Scalar thermalConductivity(const SolidState &solidState, int compIdx=0)
Thermal conductivity of the solid .
Definition: 1csolid.hh:113
static std::string name()
A human readable name for the solid system.
Definition: 1csolid.hh:62
static Scalar density(const SolidState &solidState, int compIdx=0)
The density of the solid phase at a given pressure and temperature.
Definition: 1csolid.hh:93
static Scalar molarMass(int compIdx=0)
The molar mass in of the component.
Definition: 1csolid.hh:80
static Scalar thermalConductivity(Scalar temperature, int compIdx=0)
Thermal conductivity of the solid .
Definition: 1csolid.hh:106
static constexpr int numInertComponents
Definition: 1csolid.hh:49
static constexpr bool isCompressible(int compIdx=0)
Returns whether the phase is incompressible.
Definition: 1csolid.hh:68
static constexpr int numComponents
Definition: 1csolid.hh:48
static Scalar density(Scalar temperature, int compIdx=0)
The density of the solid phase at a given pressure and temperature.
Definition: 1csolid.hh:86
static std::string componentName(int compIdx=0)
A human readable name for the component.
Definition: 1csolid.hh:56