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 48edc421a8
commit e558e900ef

View file

@ -226,12 +226,8 @@ bool Foam::pimpleControl::loop()
if (corr_ <= nCorrPIMPLE_) if (corr_ <= nCorrPIMPLE_)
{ {
if (nCorrPIMPLE_ != 1) Info<< algorithmName_ << ": iteration " << corr_ << endl;
{ storePrevIterFields();
Info<< algorithmName_ << ": iteration " << corr_ << endl;
storePrevIterFields();
}
completed = false; completed = false;
} }
} }