BUG: rhoPimpleFoam: Only execute the density predictor if not in simpleRho mode

This commit is contained in:
Henry Weller 2018-06-10 22:45:46 +01:00 committed by Andrew Heather
parent 22e1384522
commit 0cdb9d1ca0

View File

@ -148,7 +148,7 @@ int main(int argc, char *argv[])
}
}
if (pimple.nCorrPIMPLE() <= 1)
if (pimple.firstIter() && !pimple.SIMPLErho())
{
#include "rhoEqn.H"
}