24#ifndef DUMUX_MATERIAL_THERMALCONDUCTIVITY_AVERAGE_HH
25#define DUMUX_MATERIAL_THERMALCONDUCTIVITY_AVERAGE_HH
42 template<
class VolumeVariables,
class SpatialParams,
class Element,
class FVGeometry>
43 [[deprecated(
"Signature deprecated. Use signature with volume variables only!")]]
45 const SpatialParams& spatialParams,
46 const Element& element,
47 const FVGeometry& fvGeometry,
48 const typename FVGeometry::SubControlVolume& scv)
59 template<
class VolumeVariables>
62 constexpr int numFluidPhases = VolumeVariables::numFluidPhases();
65 Scalar lambdaFluid = 0.0;
66 for (
int phaseIdx = 0; phaseIdx < numFluidPhases; ++phaseIdx)
67 lambdaFluid += volVars.fluidThermalConductivity(phaseIdx)*volVars.saturation(phaseIdx);
69 const Scalar lambdaSolid = volVars.solidThermalConductivity();
70 const Scalar
porosity = volVars.porosity();
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
std::string porosity() noexcept
I/O name of porosity.
Definition: name.hh:139
Relation for a simple effective thermal conductivity.
Definition: thermalconductivityaverage.hh:37
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars, const SpatialParams &spatialParams, const Element &element, const FVGeometry &fvGeometry, const typename FVGeometry::SubControlVolume &scv)
effective thermal conductivity
Definition: thermalconductivityaverage.hh:44
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars)
Relation for a simple effective thermal conductivity .
Definition: thermalconductivityaverage.hh:60