From 9eb1502555a80cab21cb4f7fad6c525c00fa2737 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 9 Sep 2011 10:02:24 +0100 Subject: [PATCH] BUG: Corrected pimple control stroring of prev iter --- src/OpenFOAM/matrices/solution/solution.C | 4 ++-- .../general/solutionControl/pimpleControl/pimpleControlI.H | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/OpenFOAM/matrices/solution/solution.C b/src/OpenFOAM/matrices/solution/solution.C index aa4676f7e5..dde12a8553 100644 --- a/src/OpenFOAM/matrices/solution/solution.C +++ b/src/OpenFOAM/matrices/solution/solution.C @@ -57,9 +57,9 @@ void Foam::solution::read(const dictionary& dict) if (dict.found("relaxationFactors")) { const dictionary& relaxDict(dict.subDict("relaxationFactors")); - if (relaxDict.found("variables")) + if (relaxDict.found("fields")) { - fieldRelaxDict_ = relaxDict.subDict("variables"); + fieldRelaxDict_ = relaxDict.subDict("fields"); eqnRelaxDict_ = relaxDict.subDict("equations"); } else diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H index cc4062356f..59e4e14204 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H +++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControlI.H @@ -73,10 +73,6 @@ inline bool Foam::pimpleControl::loop() if (nOuterCorr_ != 1) { Info<< algorithmName_ << ": iteration " << corr_ + 1 << endl; - } - - if (corr_ != 0) - { storePrevIterFields(); }