mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: PBiCGStab: check minIter. Fixes #1052.
This commit is contained in:
@ -206,7 +206,11 @@ Foam::solverPerformance Foam::PBiCGStab::solve
|
||||
solverPerf.finalResidual() =
|
||||
gSumMag(sA, matrix().mesh().comm())/normFactor;
|
||||
|
||||
if (solverPerf.checkConvergence(tolerance_, relTol_))
|
||||
if
|
||||
(
|
||||
solverPerf.nIterations() >= minIter_
|
||||
&& solverPerf.checkConvergence(tolerance_, relTol_)
|
||||
)
|
||||
{
|
||||
for (label cell=0; cell<nCells; cell++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user