mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use upwind mobility flux.
This commit is contained in:
parent
093daa93d7
commit
92592672fe
@ -233,7 +233,8 @@ namespace Opm {
|
||||
|
||||
const V kr = pdepfdata_.phaseRelPerm(phase);
|
||||
const ADB mu = pdepfdata_.phaseViscosity(phase);
|
||||
const ADB flux = (kr / mu) * nkgradp;
|
||||
const ADB mf = upwind.select(kr / mu);
|
||||
const ADB flux = mf * nkgradp;
|
||||
|
||||
const ADB face_B = upwind.select(cell_B);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user