mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
scaling the gas rates a little bit for MS well.
It can possibly benefit the StandardWell, while it is something needs a little bit more investigation before using it.
This commit is contained in:
@@ -550,9 +550,11 @@ namespace Opm
|
||||
// check convergence for flux residuals
|
||||
for ( int comp_idx = 0; comp_idx < numComponents(); ++comp_idx)
|
||||
{
|
||||
report.converged = report.converged && (maximum_residual[comp_idx] < param.tolerance_wells_ * 10.);
|
||||
// report.converged = report.converged && (maximum_residual[comp_idx] < param.tolerance_wells_ * 10.);
|
||||
report.converged = report.converged && (maximum_residual[comp_idx] < param.tolerance_wells_);
|
||||
}
|
||||
|
||||
// TODO: it is not good to use a hard-coded value.
|
||||
report.converged = report.converged && (maximum_residual[SPres] < 100.0);
|
||||
} else { // abnormal values found and no need to check the convergence
|
||||
report.converged = false;
|
||||
|
||||
Reference in New Issue
Block a user