12#ifndef DUMUX_INERT_SOLID_STATE_HH
13#define DUMUX_INERT_SOLID_STATE_HH
21template <
class Scalar,
class Sol
idSystemType>
39 static_assert(SolidSystem::isInert(),
"Only inert solid systems are allowed with the InertSolidState");
50 {
return SolidSystem::molarMass(); }
57 Scalar sumVolumeFraction = 0.0;
60 Scalar
porosity = 1-sumVolumeFraction;
105 template <
class Sol
idState>
Represents all relevant thermodynamic quantities of a inert solid system.
Definition: inertsolidstate.hh:23
void setHeatCapacity(Scalar value)
Set the thermal conductivity of the solid phase.
Definition: inertsolidstate.hh:137
Scalar averageMolarMass() const
The average molar mass of phase in .
Definition: inertsolidstate.hh:49
void assign(const SolidState &sst)
Retrieve all parameters from an arbitrary solid state.
Definition: inertsolidstate.hh:106
Scalar heatCapacity() const
The heat capacity of the solid phase in .
Definition: inertsolidstate.hh:68
Scalar density_
Definition: inertsolidstate.hh:147
Scalar porosity() const
The porosity of the porous medium.
Definition: inertsolidstate.hh:55
static constexpr bool isInert()
Allows compile-time evaluation of if the solid system is inert or takes part in any kind of reactions...
Definition: inertsolidstate.hh:37
Scalar density() const
The mass density of the solid phase in .
Definition: inertsolidstate.hh:65
Scalar temperature_
Definition: inertsolidstate.hh:148
Scalar volumeFraction(const int compIdx) const
The volume fraction of a solid component within the solid phase.
Definition: inertsolidstate.hh:77
Scalar thermalConducivity_
Definition: inertsolidstate.hh:151
Scalar molarDensity() const
The molar density of a solid phase in .
Definition: inertsolidstate.hh:88
@ numComponents
Definition: inertsolidstate.hh:29
@ numInertComponents
Definition: inertsolidstate.hh:30
void setTemperature(Scalar value)
Set the temperature of the solid phase.
Definition: inertsolidstate.hh:119
SolidSystemType SolidSystem
Definition: inertsolidstate.hh:25
void setVolumeFraction(const int compIdx, Scalar value)
Set the volume fraction of a solid component.
Definition: inertsolidstate.hh:143
Scalar heatCapacity_
Definition: inertsolidstate.hh:150
Scalar volumeFraction_[numComponents]
Definition: inertsolidstate.hh:149
void setThermalConductivity(Scalar value)
Set the heat capacity of the solid phase.
Definition: inertsolidstate.hh:131
Scalar temperature() const
The temperature of the solid phase in .
Definition: inertsolidstate.hh:74
Scalar thermalConductivity() const
The thermal conductivity of the solid phase in .
Definition: inertsolidstate.hh:71
void setDensity(Scalar value)
Set the density of the solid phase.
Definition: inertsolidstate.hh:125