mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix to the flores indices
This commit is contained in:
@@ -377,7 +377,8 @@ public:
|
|||||||
darcyFlux = pressureDifference *
|
darcyFlux = pressureDifference *
|
||||||
(Toolbox::value(up.mobility(phaseIdx, facedir)) * Toolbox::value(transMult) * (-trans / faceArea));
|
(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();
|
unsigned pvtRegionIdx = up.pvtRegionIndex();
|
||||||
// if (upIdx == globalFocusDofIdx){
|
// if (upIdx == globalFocusDofIdx){
|
||||||
|
|||||||
Reference in New Issue
Block a user