pimpleControl: Support field relaxation when the number of PIMPLE iterations = 1

This allows PIMPLE solvers to operate in SIMPLE mode
This commit is contained in:
Henry 2015-05-03 11:50:05 +01:00
parent bc241781bf
commit e64f0846f0

View File

@ -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;
}
}