Minor convergence improvments

- set current control when initializing the wellstate
- re calculate wellVariable after well control has changed.
This commit is contained in:
Tor Harald Sandve
2016-08-18 08:58:07 +02:00
parent 49f478480d
commit f60e26faf7
3 changed files with 140 additions and 132 deletions

View File

@@ -287,7 +287,7 @@ namespace Opm {
// get reasonable initial conditions for the wells
wellModel().updateWellControls(well_state);
// Create the primary variables.
// Set the primary variables for the wells
setWellVariables(well_state);
//SolutionState state(/*numPhases=*/3);