Skip to content
Snippets Groups Projects
Commit 13af9d39 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/wettingPhase-thermalconductivity' into 'master'

[fluidmatrixinteractions] Rename wettingPhaseIdx() -> wettingPhase()

Closes #847

See merge request !1929
parents f800d756 e68beebc
No related branches found
No related tags found
1 merge request!1929[fluidmatrixinteractions] Rename wettingPhaseIdx() -> wettingPhase()
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
static_assert(FluidSystem::numPhases == 2, "ThermalConductivitySomerton only works for two-phase fluid systems!"); static_assert(FluidSystem::numPhases == 2, "ThermalConductivitySomerton only works for two-phase fluid systems!");
// TODO: there should be an assertion that the indices are correct and 0 is actually the wetting phase! // TODO: there should be an assertion that the indices are correct and 0 is actually the wetting phase!
const Scalar sw = volVars.saturation(volVars.wettingPhaseIdx()); const Scalar sw = volVars.saturation(volVars.wettingPhase());
const Scalar lambdaW = volVars.fluidThermalConductivity(volVars.wettingPhase()); const Scalar lambdaW = volVars.fluidThermalConductivity(volVars.wettingPhase());
const Scalar lambdaN = volVars.fluidThermalConductivity(1-volVars.wettingPhase()); const Scalar lambdaN = volVars.fluidThermalConductivity(1-volVars.wettingPhase());
const Scalar lambdaSolid = volVars.solidThermalConductivity(); const Scalar lambdaSolid = volVars.solidThermalConductivity();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment