mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixes in the Appelyard in updateState and updateWellState
1) changes dp_max_rel default to 0.2 2) introduces a dbhp_max_rel paramter to restrict the bhp update in the updateWellState() (instead of using the dp_max_rel) Default is set to 1.0 3) Restrict rs and rv between 0,and the satruation value 4) Set rs and rv to zero for the water only cases 5) Guard against zero rs and rv when calcuating the maximum allowed rs and rv change. Tested on norne, model 2 and model 2.2 Number of problems for the different models with and without this fix Case this PR master Norne 10 45 Model 2 21 78 Model 2.2 200 248
This commit is contained in:
@@ -540,6 +540,7 @@ namespace Opm {
|
||||
int nc) const;
|
||||
|
||||
double dpMaxRel() const { return param_.dp_max_rel_; }
|
||||
double dbhpMaxRel() const {return param_.dbhp_max_rel_; }
|
||||
double dsMax() const { return param_.ds_max_; }
|
||||
double drMaxRel() const { return param_.dr_max_rel_; }
|
||||
double maxResidualAllowed() const { return param_.max_residual_allowed_; }
|
||||
|
||||
Reference in New Issue
Block a user