mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix sign bug in well contribution to mass balance.
This commit is contained in:
@@ -917,7 +917,7 @@ namespace {
|
||||
|
||||
// Add well contributions to mass balance equations
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user