diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H index 4dec94266..8773c152b 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/pEqn.H @@ -70,12 +70,12 @@ constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF); } } + p = p_rgh + rho*gh; + // Thermodynamic density update thermo.correctRho(psi*p - psip0); } -p = p_rgh + rho*gh; - // Update pressure time derivative if needed if (thermo.dpdt()) {