From 3f53a04f091bc8980eadea73b52caf4c9b106ec4 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 26 Oct 2011 14:29:49 +0100 Subject: [PATCH] ENH: Extended and restructured solutionControl class --- .../compressibleInterFoam/alphaEqnsSubCycle.H | 2 +- .../alphaEqnsSubCycle.H | 2 +- .../pimpleControl/pimpleControl.C | 65 +++++++++-- .../pimpleControl/pimpleControl.H | 28 +---- .../pimpleControl/pimpleControlI.H | 110 +----------------- .../simpleControl/simpleControl.C | 34 ++++++ .../simpleControl/simpleControl.H | 6 +- .../simpleControl/simpleControlI.H | 30 ----- .../solutionControl/solutionControl.C | 4 +- .../solutionControl/solutionControl.H | 27 +++++ .../solutionControl/solutionControlI.H | 40 +++++++ 11 files changed, 173 insertions(+), 175 deletions(-) diff --git a/applications/solvers/multiphase/compressibleInterFoam/alphaEqnsSubCycle.H b/applications/solvers/multiphase/compressibleInterFoam/alphaEqnsSubCycle.H index 6270f7e9e5..2d70a5bab5 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/alphaEqnsSubCycle.H +++ b/applications/solvers/multiphase/compressibleInterFoam/alphaEqnsSubCycle.H @@ -31,7 +31,7 @@ } // correct interface on first PIMPLE corrector - if (pimple.corrPIMPLE() == 1) + if (pimple.corr() == 1) { interface.correct(); } diff --git a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/alphaEqnsSubCycle.H b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/alphaEqnsSubCycle.H index 862dc60409..ade8af0081 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/alphaEqnsSubCycle.H +++ b/applications/solvers/multiphase/compressibleInterFoam/compressibleInterDyMFoam/alphaEqnsSubCycle.H @@ -33,7 +33,7 @@ } // correct interface on first PIMPLE corrector - if (pimple.corrPIMPLE() == 1) + if (pimple.corr() == 1) { interface.correct(); } diff --git a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C index d3b295cdf2..98a742e16b 100644 --- a/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C +++ b/src/finiteVolume/cfdTools/general/solutionControl/pimpleControl/pimpleControl.C @@ -44,8 +44,6 @@ void Foam::pimpleControl::read() const dictionary& pimpleDict = dict(); nCorrPIMPLE_ = pimpleDict.lookupOrDefault