From a01233bda6a1787cda5da971de04526a4b082bbf Mon Sep 17 00:00:00 2001
From: andy <andy>
Date: Fri, 19 Oct 2012 16:30:00 +0100
Subject: [PATCH] BUG: corrected source term solve variable

---
 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 6aa559a763a..86c314c9c4b 100644
--- a/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H
+++ b/applications/solvers/heatTransfer/buoyantPimpleFoam/pEqn.H
@@ -29,7 +29,7 @@
         fvc::ddt(rho) + psi*correction(fvm::ddt(p_rgh))
       + fvc::div(phiHbyA)
       ==
-        sources(psi, p, rho.name())
+        sources(psi, p_rgh, rho.name())
     );
 
     while (pimple.correctNonOrthogonal())
-- 
GitLab