Skip to content
Snippets Groups Projects
Commit 4cffcbd4 authored by Andrew Heather's avatar Andrew Heather
Browse files

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

parent 69f4da06
Branches
No related merge requests found
...@@ -93,8 +93,8 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write ...@@ -93,8 +93,8 @@ void Foam::hPolynomialThermo<EquationOfState, PolySize>::write
) const ) const
{ {
EquationOfState::write(os); EquationOfState::write(os);
os.writeKeyword("Hf") << Hf_ << token::END_STATEMENT << nl; os.writeKeyword("Hf") << Hf_/this->W() << token::END_STATEMENT << nl;
os.writeKeyword("Sf") << Sf_ << token::END_STATEMENT << nl; os.writeKeyword("Sf") << Sf_/this->W() << token::END_STATEMENT << nl;
os.writeKeyword("cpPolynomial") << cpPolynomial_/this->W() os.writeKeyword("cpPolynomial") << cpPolynomial_/this->W()
<< token::END_STATEMENT << nl; << token::END_STATEMENT << nl;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment