mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix polymer in well model for producers.
This commit is contained in:
@@ -835,7 +835,6 @@ namespace Opm {
|
||||
const double tol_cnv = param_.tolerance_cnv_;
|
||||
const double tol_wells = param_.tolerance_wells_;
|
||||
|
||||
const int nc = Opm::AutoDiffGrid::numCells(grid_);
|
||||
const int np = numPhases();
|
||||
const int numComp = numComponents();
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ namespace Opm {
|
||||
if (wells().type[w] == INJECTOR) {
|
||||
cq_s_poly *= wpolymer(w);
|
||||
} else {
|
||||
cq_s_poly *= extendEval(intQuants.polymerConcentration());
|
||||
cq_s_poly *= extendEval(intQuants.polymerConcentration() * intQuants.polymerViscosityCorrection());
|
||||
}
|
||||
if (!only_wells) {
|
||||
for (int pvIdx = 0; pvIdx < numEq; ++pvIdx) {
|
||||
|
||||
Reference in New Issue
Block a user