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:
parent
bc241781bf
commit
e64f0846f0
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user