13#ifndef DUMUX_SOLID_STATE_COMPOSITIONAL_HH
14#define DUMUX_SOLID_STATE_COMPOSITIONAL_HH
23template <
class Scalar,
class Sol
idSystemType>
35 static constexpr bool isInert() {
return SolidSystem::isInert(); }
44 {
return SolidSystem::molarMass(); }
51 Scalar sumVolumeFraction = 0.0;
54 Scalar
porosity = 1-sumVolumeFraction;
104 template <
class Sol
idState>
Represents all relevant thermodynamic quantities of a compositional solid system.
Definition: compositionalsolidstate.hh:25
Scalar volumeFraction_[numComponents]
Definition: compositionalsolidstate.hh:148
void setThermalConductivity(Scalar value)
Set the heat capacity of the solid phase.
Definition: compositionalsolidstate.hh:130
Scalar density() const
The mass density of the solid phase in .
Definition: compositionalsolidstate.hh:59
void setHeatCapacity(Scalar value)
Set the thermal conductivity of the solid phase.
Definition: compositionalsolidstate.hh:136
Scalar temperature() const
The temperature of the solid phase in .
Definition: compositionalsolidstate.hh:82
Scalar molarDensity() const
The molar density of a solid phase in .
Definition: compositionalsolidstate.hh:78
@ numComponents
Definition: compositionalsolidstate.hh:31
@ numInertComponents
Definition: compositionalsolidstate.hh:32
SolidSystemType SolidSystem
Definition: compositionalsolidstate.hh:27
Scalar temperature_
Definition: compositionalsolidstate.hh:147
Scalar density_
Definition: compositionalsolidstate.hh:146
void setTemperature(Scalar value)
Set the temperature of the solid phase.
Definition: compositionalsolidstate.hh:118
void setDensity(Scalar value)
Set the density of the solid phase.
Definition: compositionalsolidstate.hh:124
Scalar thermalConductivity() const
The heat capacity of the solid phase in .
Definition: compositionalsolidstate.hh:67
void setVolumeFraction(const int compIdx, Scalar value)
Set the volume fraction of a solid component.
Definition: compositionalsolidstate.hh:142
Scalar heatCapacity() const
The heat capacity of the solid phase in .
Definition: compositionalsolidstate.hh:63
void assign(const SolidState &sst)
Retrieve all parameters from an arbitrary solid state.
Definition: compositionalsolidstate.hh:105
Scalar averageMolarMass() const
The average molar mass of phase in .
Definition: compositionalsolidstate.hh:43
Scalar heatCapacity_
Definition: compositionalsolidstate.hh:149
Scalar thermalConducivity_
Definition: compositionalsolidstate.hh:150
Scalar volumeFraction(const int compIdx) const
The volume fraction of a solid component within the solid phase.
Definition: compositionalsolidstate.hh:86
static constexpr bool isInert()
Definition: compositionalsolidstate.hh:35
Scalar porosity() const
The porosity of the porous medium.
Definition: compositionalsolidstate.hh:49