24#ifndef DUMUX_INERT_SOLID_STATE_HH
25#define DUMUX_INERT_SOLID_STATE_HH
33template <
class Scalar,
class Sol
idSystemType>
51 static_assert(SolidSystem::isInert(),
"Only inert solid systems are allowed with the InertSolidState");
62 {
return SolidSystem::molarMass(); }
69 Scalar sumVolumeFraction = 0.0;
72 Scalar
porosity = 1-sumVolumeFraction;
117 template <
class Sol
idState>
Represents all relevant thermodynamic quantities of a inert solid system.
Definition: inertsolidstate.hh:35
void setHeatCapacity(Scalar value)
Set the thermal conductivity of the solid phase.
Definition: inertsolidstate.hh:149
Scalar averageMolarMass() const
The average molar mass of phase in .
Definition: inertsolidstate.hh:61
void assign(const SolidState &sst)
Retrieve all parameters from an arbitrary solid state.
Definition: inertsolidstate.hh:118
Scalar heatCapacity() const
The heat capacity of the solid phase in .
Definition: inertsolidstate.hh:80
Scalar density_
Definition: inertsolidstate.hh:159
Scalar porosity() const
The porosity of the porous medium.
Definition: inertsolidstate.hh:67
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:49
Scalar density() const
The mass density of the solid phase in .
Definition: inertsolidstate.hh:77
Scalar temperature_
Definition: inertsolidstate.hh:160
Scalar volumeFraction(const int compIdx) const
The volume fraction of a solid component within the solid phase.
Definition: inertsolidstate.hh:89
@ numComponents
Definition: inertsolidstate.hh:41
@ numInertComponents
Definition: inertsolidstate.hh:42
Scalar thermalConducivity_
Definition: inertsolidstate.hh:163
Scalar molarDensity() const
The molar density of a solid phase in .
Definition: inertsolidstate.hh:100
void setTemperature(Scalar value)
Set the temperature of the solid phase.
Definition: inertsolidstate.hh:131
SolidSystemType SolidSystem
Definition: inertsolidstate.hh:37
void setVolumeFraction(const int compIdx, Scalar value)
Set the volume fraction of a solid component.
Definition: inertsolidstate.hh:155
Scalar heatCapacity_
Definition: inertsolidstate.hh:162
Scalar volumeFraction_[numComponents]
Definition: inertsolidstate.hh:161
void setThermalConductivity(Scalar value)
Set the heat capacity of the solid phase.
Definition: inertsolidstate.hh:143
Scalar temperature() const
The temperature of the solid phase in .
Definition: inertsolidstate.hh:86
Scalar thermalConductivity() const
The thermal conductivity of the solid phase in .
Definition: inertsolidstate.hh:83
void setDensity(Scalar value)
Set the density of the solid phase.
Definition: inertsolidstate.hh:137