mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Fix sign bug in well contribution to mass balance.
This commit is contained in:
parent
73402c892f
commit
33d58792de
@ -917,7 +917,7 @@ namespace {
|
|||||||
|
|
||||||
// Add well contributions to mass balance equations
|
// Add well contributions to mass balance equations
|
||||||
for (int phase = 0; phase < np; ++phase) {
|
for (int phase = 0; phase < np; ++phase) {
|
||||||
residual_.mass_balance[phase] += superset(cq_s[phase],well_cells,nc);
|
residual_.mass_balance[phase] -= superset(cq_s[phase],well_cells,nc);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add WELL EQUATIONS
|
// Add WELL EQUATIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user