ENH: Correcting order of the compressibleContErr.H in comp solvers.

Adding pMin,Pmax pressure control to buoyantPimple and
chtMultiReagion
This commit is contained in:
sergio
2019-04-05 14:15:17 -07:00
committed by Andrew Heather
parent e05b85fa4e
commit a9747b90b1
8 changed files with 53 additions and 17 deletions

View File

@ -85,8 +85,6 @@ else
}
}
#include "rhoEqn.H"
#include "compressibleContinuityErrs.H"
// Explicitly relax pressure for momentum corrector
p.relax();
@ -102,6 +100,10 @@ if (pressureControl.limit(p))
}
thermo.correctRho(psi*p - psip0, rhoMin, rhoMax) ;
#include "rhoEqn.H"
#include "compressibleContinuityErrs.H"
rho = thermo.rho();
// Correct rhoUf if the mesh is moving