mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
BUGFIX. Use the modified NTG values in multiplyHalfIntersections_(..)
This commit is contained in:
parent
5581771917
commit
b468d2baa1
@ -141,9 +141,6 @@ namespace Opm
|
||||
tpfa_loc_trans_compute_(grid,eclgrid, props.permeability(),htrans);
|
||||
}
|
||||
|
||||
std::vector<double> mult;
|
||||
multiplyHalfIntersections_(grid, eclState, ntg, htrans, mult);
|
||||
|
||||
// Use volume weighted arithmetic average of the NTG values for
|
||||
// the cells effected by the current OPM cpgrid process algorithm
|
||||
// for MINPV. Note that the change does not effect the pore volume calculations
|
||||
@ -154,12 +151,16 @@ namespace Opm
|
||||
opmfil = true;
|
||||
if (opmfil) {
|
||||
minPvFillProps_(grid, eclState, ntg);
|
||||
} else if (eclgrid->isPinchActive()) {
|
||||
}
|
||||
|
||||
std::vector<double> mult;
|
||||
multiplyHalfIntersections_(grid, eclState, ntg, htrans, mult);
|
||||
|
||||
if (!opmfil && eclgrid->isPinchActive()) {
|
||||
// opmfil is hardcoded to be true. i.e the pinch processor is never used
|
||||
pinchProcess_(grid, *eclState, htrans, numCells);
|
||||
}
|
||||
|
||||
|
||||
// combine the half-face transmissibilites into the final face
|
||||
// transmissibilites.
|
||||
tpfa_trans_compute(ug, htrans.data(), trans_.data());
|
||||
|
Loading…
Reference in New Issue
Block a user