From 1589e8d431f563a61c3919f4a0660ea409d5049c Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Fri, 2 Sep 2016 08:14:10 +0100 Subject: [PATCH] BUG: buoyantPimpleFoam - div term should be present for both compressible and incompressible --- applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H b/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H index cda60d98b2..c778ef40a8 100644 --- a/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H +++ b/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H @@ -41,7 +41,6 @@ p_rghDDtEqn = ( fvc::ddt(rho) + psi*correction(fvm::ddt(p_rgh)) - + fvc::div(phiHbyA) == fvOptions(psi, p_rgh, rho.name()) ); @@ -52,6 +51,7 @@ fvScalarMatrix p_rghEqn ( p_rghDDtEqn() + + fvc::div(phiHbyA) - fvm::laplacian(rhorAUf, p_rgh) );