24#ifndef DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SIMPLE_FLUID_LUMPING_HH
25#define DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SIMPLE_FLUID_LUMPING_HH
46 template<
class VolumeVariables>
49 using FluidSystem =
typename VolumeVariables::FluidSystem;
50 const Scalar sw = volVars.saturation(FluidSystem::phase0Idx);
51 const Scalar lambdaW = volVars.fluidThermalConductivity(FluidSystem::phase0Idx);
52 const Scalar lambdaN = volVars.fluidThermalConductivity(FluidSystem::phase1Idx);
53 const Scalar lambdaSolid = volVars.solidThermalConductivity();
54 const Scalar
porosity = volVars.porosity();
56 return effectiveThermalConductivity_(sw, lambdaW, lambdaN, lambdaSolid,
porosity);
71 static Scalar effectiveThermalConductivity_(
const Scalar sw,
74 const Scalar lambdaSolid,
79 const Scalar satW = max<Scalar>(0.0, sw);
80 return porosity * ( (1. - satW) * lambdaN + satW * lambdaW ) + (1.0 -
porosity) * lambdaSolid ; ;
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:139
Relation for the saturation-dependent effective thermal conductivity.
Definition: simplefluidlumping.hh:38
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars)
Effective thermal conductivity .
Definition: simplefluidlumping.hh:47