12#ifndef DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SOMERTON_HH
13#define DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SOMERTON_HH
62 template<
class VolumeVariables>
65 using FluidSystem =
typename VolumeVariables::FluidSystem;
66 static_assert(FluidSystem::numPhases == 2,
"ThermalConductivitySomerton only works for two-phase fluid systems!");
67 static_assert((FluidSystem::isGas(0) && !FluidSystem::isGas(1)) || (!FluidSystem::isGas(0) && FluidSystem::isGas(1)),
68 "ThermalConductivitySomerton only works if one phase is gaseous and one is liquid!");
70 constexpr int liquidPhaseIdx = FluidSystem::isGas(0) ? 1 : 0;
71 constexpr int gasPhaseIdx = FluidSystem::isGas(0) ? 0 : 1;
73 const Scalar satLiquid = volVars.saturation(liquidPhaseIdx);
74 const Scalar lambdaLiquid = volVars.fluidThermalConductivity(liquidPhaseIdx);
75 const Scalar lambdaGas = volVars.fluidThermalConductivity(gasPhaseIdx);
76 const Scalar lambdaSolid = volVars.solidThermalConductivity();
77 const Scalar
porosity = volVars.porosity();
79 return effectiveThermalConductivity_(satLiquid, lambdaLiquid, lambdaGas, lambdaSolid,
porosity);
95 static Scalar effectiveThermalConductivity_(
const Scalar satLiquid,
96 const Scalar lambdaLiquid,
97 const Scalar lambdaGas,
98 const Scalar lambdaSolid,
100 const Scalar rhoSolid = 0.0 )
105 const Scalar satLiquidPhysical = max<Scalar>(0.0, satLiquid);
107 const Scalar lambdaSaturated = lambdaSolid * pow(lambdaLiquid / lambdaSolid,
porosity);
108 const Scalar lambdaDry = lambdaSolid * pow(lambdaGas / lambdaSolid,
porosity);
110 return lambdaDry + sqrt(satLiquidPhysical) * (lambdaSaturated - lambdaDry);
Relation for the saturation-dependent effective thermal conductivity.
Definition: somerton.hh:48
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars)
effective thermal conductivity after Somerton (1974)
Definition: somerton.hh:63
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:127