From f47adb9a0fbc070651bdb3e82c93f2b43e22d782 Mon Sep 17 00:00:00 2001
From: andy <andy>
Date: Mon, 12 Nov 2012 10:56:16 +0000
Subject: [PATCH] ENH: Enforce consistent treatment for film energy source with
 mass term

---
 .../surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C
index 758abe807b4..9f0c18c0cce 100644
--- a/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C
+++ b/src/regionModels/surfaceFilmModels/thermoSingleLayer/thermoSingleLayer.C
@@ -317,7 +317,8 @@ void thermoSingleLayer::solveEnergy()
       - hsSp_
       + q(hs_)
       + radiation_->Shs()
-      - fvm::SuSp(rhoSp_, hs_)
+//      - fvm::SuSp(rhoSp_, hs_)
+      - rhoSp_*hs_
     );
 
     correctThermoFields();
-- 
GitLab