ebos: improve the messages printed during the run

the convergence behaviour can now be understood and the report step
information is printed, too. This does not affect `flow`, becase it
implements its own newton and time stepping routines.
This commit is contained in:
Andreas Lauser
2019-03-01 10:36:29 +01:00
parent 8e5f1279f3
commit 3ca8b8f285
2 changed files with 14 additions and 0 deletions

View File

@@ -210,6 +210,8 @@ public:
Scalar y = EWOMS_GET_PARAM(TypeTag, Scalar, EclNewtonSumToleranceExponent);
sumTolerance_ = x*std::pow(sumPv, y);
this->endIterMsg() << " (max: " << this->tolerance_ << ", violated for " << errorPvFraction_*100 << "% of the pore volume), aggegate error: " << errorSum_ << " (max: " << sumTolerance_ << ")";
// make sure that the error never grows beyond the maximum
// allowed one
if (this->error_ > newtonMaxError)