24#ifndef DUMUX_MATERIAL_THERMALCONDUCTIVITY_SOMERTON_3P_HH
25#define DUMUX_MATERIAL_THERMALCONDUCTIVITY_SOMERTON_3P_HH
64class ThermalConductivitySomerton
70 template<
class VolumeVariables,
class SpatialParams,
class Element,
class FVGeometry>
71 [[deprecated(
"Signature deprecated. Use signature with volume variables only!")]]
73 const SpatialParams& spatialParams,
74 const Element& element,
75 const FVGeometry& fvGeometry,
76 const typename FVGeometry::SubControlVolume& scv)
93 template<
class VolumeVariables>
96 using FluidSystem =
typename VolumeVariables::FluidSystem;
98 const Scalar sw = volVars.saturation(FluidSystem::wPhaseIdx);
99 const Scalar sn = volVars.saturation(FluidSystem::nPhaseIdx);
100 const Scalar lambdaW = volVars.fluidThermalConductivity(FluidSystem::wPhaseIdx);
101 const Scalar lambdaN = volVars.fluidThermalConductivity(FluidSystem::nPhaseIdx);
102 const Scalar lambdaG = volVars.fluidThermalConductivity(FluidSystem::gPhaseIdx);
103 const Scalar lambdaSolid = volVars.solidThermalConductivity();
104 const Scalar
porosity = volVars.porosity();
124 const Scalar lambdaW,
125 const Scalar lambdaN,
126 const Scalar lambdaG,
127 const Scalar lambdaSolid,
133 const Scalar satW = max<Scalar>(0.0, sw);
134 const Scalar satN = max<Scalar>(0.0, sn);
140 const Scalar lSw = pow(lambdaSolid, (1.0 -
porosity)) * pow(lambdaW,
porosity);
141 const Scalar lSn = pow(lambdaSolid, (1.0 -
porosity)) * pow(lambdaN,
porosity);
142 const Scalar lSg = pow(lambdaSolid, (1.0 -
porosity)) * pow(lambdaG,
porosity);
143 const Scalar lambdaEff = lSg + sqrt(satW) * (lSw - lSg) + sqrt(satN) * (lSn -lSg);
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
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars)
effective thermal conductivity after Somerton (1974) extended for a three phase system
Definition: thermalconductivitysomerton3p.hh:94
static Scalar effectiveThermalConductivity(const Scalar sw, const Scalar sn, const Scalar lambdaW, const Scalar lambdaN, const Scalar lambdaG, const Scalar lambdaSolid, const Scalar porosity)
effective thermal conductivity after Somerton (1974)
Definition: thermalconductivitysomerton3p.hh:122
static Scalar effectiveThermalConductivity(const VolumeVariables &volVars, const SpatialParams &spatialParams, const Element &element, const FVGeometry &fvGeometry, const typename FVGeometry::SubControlVolume &scv)
effective thermal conductivity after Somerton (1974) extended for a three phase system
Definition: thermalconductivitysomerton3p.hh:72