ENH: making pcEqn.H similar to pEqn.H.

STY: Fixing syntax in rhoPimpleDyMFoam/pEqn.H
This commit is contained in:
sergio
2017-06-28 14:36:25 -07:00
parent 29d613dae4
commit 00a5b61bd2
2 changed files with 4 additions and 12 deletions

View File

@ -109,18 +109,10 @@ K = 0.5*magSqr(U);
if (pressureControl.limit(p))
{
p.correctBoundaryConditions();
}
thermo.correctRho(psi*p - psip0, rhoMin, rhoMax) ;
rho = thermo.rho();
}
else if (pimple.SIMPLErho())
{
thermo.correctRho(psi*p - psip0, rhoMin, rhoMax);
rho = thermo.rho();
}
else
{
thermo.correctRho(psi*p - psip0, rhoMin, rhoMax);
}
if (thermo.dpdt())
{