From 46da755afe8e211748b479f0c7c7b08fa8e5c8b7 Mon Sep 17 00:00:00 2001
From: andy <a.heather@opencfd.co.uk>
Date: Fri, 15 Oct 2010 15:18:33 +0100
Subject: [PATCH] BUG: Corrected Hf and Sf units for hPoly thermo on write mkII

---
 .../specie/thermo/hPolynomial/hPolynomialThermo.C               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C
index ff371e23039..dca99a5a61a 100644
--- a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C
+++ b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C
@@ -111,7 +111,7 @@ Foam::Ostream& Foam::operator<<
 {
     os  << static_cast<const EquationOfState&>(pt) << tab
         << pt.Hf_/pt.W() << tab
-        << pt.Sf_ << tab
+        << pt.Sf_/pt.W() << tab
         << "cpPolynomial" << tab << pt.cpPolynomial_/pt.W();
 
     os.check
-- 
GitLab