BUG: Corrected Hf and Sf units for hPoly thermo on write

This commit is contained in:
andy
2010-10-15 14:51:20 +01:00
parent 69f4da06f6
commit 4cffcbd440

View File

@ -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;
}