mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding two more parameters related to ms wells
to help to tune and improve the convergence.
This commit is contained in:
@@ -411,6 +411,8 @@ namespace Opm {
|
||||
std::vector< Scalar > B_avg( numComp, Scalar() );
|
||||
computeAverageFormationFactor(ebosSimulator, B_avg);
|
||||
|
||||
const int max_iter = param_.max_welleq_iter_;
|
||||
|
||||
int it = 0;
|
||||
bool converged;
|
||||
do {
|
||||
@@ -442,7 +444,7 @@ namespace Opm {
|
||||
updateWellControls(well_state);
|
||||
initPrimaryVariablesEvaluation();
|
||||
}
|
||||
} while (it < 15);
|
||||
} while (it < max_iter);
|
||||
|
||||
if (converged) {
|
||||
if ( terminal_output_ ) {
|
||||
|
||||
Reference in New Issue
Block a user