mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
Add more residual output in getConvergence.
Output the residualWellFlux, residualWell, MB to monitor the convergence process.
This commit is contained in:
parent
55b0164d4a
commit
94e3fd3fcb
@ -1682,11 +1682,13 @@ namespace {
|
||||
|
||||
bool converged = converged_MB && converged_CNV && converged_Well;
|
||||
|
||||
#ifdef OPM_VERBOSE
|
||||
// #ifdef OPM_VERBOSE
|
||||
std::cout << " residualWellFlux " << residualWellFlux << " residualWell " << residualWell << std::endl;
|
||||
std::cout << " CNVW " << CNVW << " CNVO " << CNVO << " CNVG " << CNVG << std::endl;
|
||||
std::cout << " MB " << fabs(BW_avg*RW_sum) << " " << fabs(BO_avg*RO_sum) << " " << fabs(BG_avg*RG_sum) << std::endl;
|
||||
std::cout << " converged_MB " << converged_MB << " converged_CNV " << converged_CNV
|
||||
<< " converged_Well " << converged_Well << " converged " << converged << std::endl;
|
||||
#endif
|
||||
// #endif
|
||||
return converged;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user