mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected pimple control stroring of prev iter
This commit is contained in:
@ -57,9 +57,9 @@ void Foam::solution::read(const dictionary& dict)
|
|||||||
if (dict.found("relaxationFactors"))
|
if (dict.found("relaxationFactors"))
|
||||||
{
|
{
|
||||||
const dictionary& relaxDict(dict.subDict("relaxationFactors"));
|
const dictionary& relaxDict(dict.subDict("relaxationFactors"));
|
||||||
if (relaxDict.found("variables"))
|
if (relaxDict.found("fields"))
|
||||||
{
|
{
|
||||||
fieldRelaxDict_ = relaxDict.subDict("variables");
|
fieldRelaxDict_ = relaxDict.subDict("fields");
|
||||||
eqnRelaxDict_ = relaxDict.subDict("equations");
|
eqnRelaxDict_ = relaxDict.subDict("equations");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -73,10 +73,6 @@ inline bool Foam::pimpleControl::loop()
|
|||||||
if (nOuterCorr_ != 1)
|
if (nOuterCorr_ != 1)
|
||||||
{
|
{
|
||||||
Info<< algorithmName_ << ": iteration " << corr_ + 1 << endl;
|
Info<< algorithmName_ << ": iteration " << corr_ + 1 << endl;
|
||||||
}
|
|
||||||
|
|
||||||
if (corr_ != 0)
|
|
||||||
{
|
|
||||||
storePrevIterFields();
|
storePrevIterFields();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user