7#ifndef DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SIMPLE_FLUID_LUMPING_HH
8#define DUMUX_MATERIAL_FLUIDMATRIX_THERMALCONDUCTIVITY_SIMPLE_FLUID_LUMPING_HH
12#warning "This header is deprecated and will be removed after 3.9. Use ThermalConductivityAverage"
30 template<
class VolumeVariables>
33 using FluidSystem =
typename VolumeVariables::FluidSystem;
34 const Scalar sw = volVars.saturation(FluidSystem::phase0Idx);
35 const Scalar lambdaW = volVars.fluidThermalConductivity(FluidSystem::phase0Idx);
36 const Scalar lambdaN = volVars.fluidThermalConductivity(FluidSystem::phase1Idx);
37 const Scalar lambdaSolid = volVars.solidThermalConductivity();
38 const Scalar
porosity = volVars.porosity();
40 return effectiveThermalConductivity_(sw, lambdaW, lambdaN, lambdaSolid,
porosity);
55 static Scalar effectiveThermalConductivity_(
const Scalar sw,
58 const Scalar lambdaSolid,
63 const Scalar satW = max<Scalar>(0.0, sw);
64 return porosity * ( (1. - satW) * lambdaN + satW * lambdaW ) + (1.0 -
porosity) * lambdaSolid ; ;
Effective thermal conductivity based on weighted arithmetic average.
Definition: thermalconductivityaverage.hh:43
Relation for the saturation-dependent effective thermal conductivity.
Definition: simplefluidlumping.hh:23
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars)
Effective thermal conductivity in for two phases.
Definition: simplefluidlumping.hh:31
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:127