diff --git a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C index 8fd3eadcd3..ff371e2303 100644 --- a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C +++ b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C @@ -93,8 +93,8 @@ void Foam::hPolynomialThermo::write ) const { EquationOfState::write(os); - os.writeKeyword("Hf") << Hf_ << token::END_STATEMENT << nl; - os.writeKeyword("Sf") << Sf_ << token::END_STATEMENT << nl; + os.writeKeyword("Hf") << Hf_/this->W() << token::END_STATEMENT << nl; + os.writeKeyword("Sf") << Sf_/this->W() << token::END_STATEMENT << nl; os.writeKeyword("cpPolynomial") << cpPolynomial_/this->W() << token::END_STATEMENT << nl; }