mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user