diff --git a/src/finiteVolume/cfdTools/general/pimpleControl/pimpleControl.C b/src/finiteVolume/cfdTools/general/pimpleControl/pimpleControl.C index 77ae648eac..b5a03156ed 100644 --- a/src/finiteVolume/cfdTools/general/pimpleControl/pimpleControl.C +++ b/src/finiteVolume/cfdTools/general/pimpleControl/pimpleControl.C @@ -33,19 +33,16 @@ namespace Foam } -// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // +// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * // -Foam::label Foam::pimpleControl::applyToField(const word& fieldName) const +void Foam::pimpleControl::read() { - forAll(residualControl_, i) - { - if (residualControl_[i].name.match(fieldName)) - { - return i; - } - } + solutionControl::read(false); - return -1; + // Read solution controls + const dictionary& pimpleDict = dict(); + nOuterCorr_ = pimpleDict.lookupOrDefault