diff --git a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C index 8fd3eadcd3a452f55569d003e3425e136fb91b0f..ff371e230393c12ff75670e18d2902f3f6475a1c 100644 --- a/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C +++ b/src/thermophysicalModels/specie/thermo/hPolynomial/hPolynomialThermo.C @@ -93,8 +93,8 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::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; }