Fix to the flores indices

This commit is contained in:
David Landa Marban committed 2023-02-07 13:29:39 +01:00
1 parent bdec8e1a6b
commit 94b8f5a941
1 file changed
+2 -1
@@ -377,7 +377,8 @@ public:
darcyFlux = pressureDifference *
(Toolbox::value(up.mobility(phaseIdx, facedir)) * Toolbox::value(transMult) * (-trans / faceArea));
}
darcy[phaseIdx] = darcyFlux.value() * faceArea; // For the FLORES fluxes
unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
darcy[conti0EqIdx + activeCompIdx] = darcyFlux.value() * faceArea; // For the FLORES fluxes
unsigned pvtRegionIdx = up.pvtRegionIndex();
// if (upIdx == globalFocusDofIdx){