various improvement and bug fixing.

fixed one invalid memory reading of perforation_segment_depth_diffs_
in computePerfRate, which caused different results for different
running.
This commit is contained in:
Kai Bao
2017-10-12 12:01:48 +02:00
parent 1a7b5571b6
commit 6a4260c264
5 changed files with 64 additions and 41 deletions

View File

@@ -190,6 +190,11 @@ namespace Opm {
if (param_.solve_welleq_initially_ && iterationIdx == 0) {
// solve the well equations as a pre-processing step
report = solveWellEq(ebosSimulator, dt, well_state);
if (report.converged) {
std::cout << " solveWellEq converged ! " << std::endl;
} else {
std::cout << " solveWellEq does not get converged ! " << std::endl;
}
}
assembleWellEq(ebosSimulator, dt, well_state, false);