copying the segment rates and segment pressure from old well state.

It can be something rather tricky. It looks like with simple trival
initization, it is difficutl to converge. But when there is change to
the well, direct copying will not work anymore. Will we also facing
convergence problem?
This commit is contained in:
Kai Bao
2017-09-21 17:24:22 +02:00
parent 5dee45dc0a
commit c6be20c5cb
2 changed files with 38 additions and 3 deletions

View File

@@ -301,7 +301,7 @@ public:
// handling MS well related
for (const auto& well : wells_ecl) {
if (well->isMultiSegment(timer.currentStepNum())) { // there is one well is MS well
well_state.initWellStateMSWell(wells, wells_ecl, timer.currentStepNum());
well_state.initWellStateMSWell(wells, wells_ecl, timer.currentStepNum(), prev_well_state);
break;
}
}