From 03c28e5d89056b4d0e41ccbc3a4bc7c49b06148d Mon Sep 17 00:00:00 2001
From: Sergio Ferraris <sergio@alex.opencfd.co.uk>
Date: Wed, 7 Aug 2013 15:20:57 +0100
Subject: [PATCH] Modification of hEq in the pyrolysis model to account for gas
 enthalpy released

---
 .../pyrolysisModels/reactingOneDim/reactingOneDim.C             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C
index db31437057b..10c8a4b4ac4 100644
--- a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C
+++ b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C
@@ -323,7 +323,7 @@ void reactingOneDim::solveEnergy()
       - fvm::laplacian(alpha, h_)
      ==
         chemistrySh_
-      + fvm::Sp(solidChemistry_->RRg(), h_)
+      - fvm::Sp(solidChemistry_->RRg(), h_)
     );
 
     if (gasHSource_)
-- 
GitLab