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
48edc421a8
commit
e558e900ef
1 changed files with 2 additions and 6 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue