PBICGStab does not set residualField under some conditions
Summary
Inspection of PBICGStab.C
shows that
matrix().setResidualField
(
ConstPrecisionAdaptor<scalar, solveScalar>(rA)(),
fieldName_,
false
);
is not called if sA convergence test succeeds.
Environment information
- OpenFOAM version : v2006
Possible fixes
Update residual and call setResidualField before exiting.