Follow change to well rate target sign convention.
This commit is contained in:
parent
5357158984
commit
51639bf3bc
@ -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