From e64f0846f02ffe886637a299b6d4a9aaf58eae6d Mon Sep 17 00:00:00 2001
From: Henry <Henry>
Date: Sun, 3 May 2015 11:50:05 +0100
Subject: [PATCH] pimpleControl: Support field relaxation when the number of
 PIMPLE iterations = 1 This allows PIMPLE solvers to operate in SIMPLE mode

---
 .../general/solutionControl/pimpleControl/pimpleControl.C | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C
index d49421fa40e..25b9d3568b0 100644
--- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C
+++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C
@@ -226,12 +226,8 @@ bool Foam::pimpleControl::loop()
 
         if (corr_ <= nCorrPIMPLE_)
         {
-            if (nCorrPIMPLE_ != 1)
-            {
-                Info<< algorithmName_ << ": iteration " << corr_ << endl;
-                storePrevIterFields();
-            }
-
+            Info<< algorithmName_ << ": iteration " << corr_ << endl;
+            storePrevIterFields();
             completed = false;
         }
     }
-- 
GitLab