mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Follow change to well rate target sign convention.
This commit is contained in:
parent
b107180272
commit
3fe04afa8d
@ -413,7 +413,7 @@ namespace Opm
|
||||
}
|
||||
const double flow = wells.ctrls[w]->target[0];
|
||||
const double cell = wells.well_cells[wells.well_connpos[w]];
|
||||
src[cell] = (wells.type[w] == INJECTOR) ? flow : -flow;
|
||||
src[cell] = flow;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user