Corrected 'hs'.

This commit is contained in:
henry
2009-03-12 22:19:46 +00:00
parent 89683498e1
commit 98028820f9

View File

@ -145,12 +145,7 @@ inline Foam::scalar Foam::janafThermo<equationOfState>::hs
const scalar T
) const
{
const coeffArray& a = coeffs(T);
scalar Tr = T - specie::Tstd;
return this->RR*
(
((((a[4]/5.0*Tr + a[3]/4.0)*Tr + a[2]/3.0)*Tr + a[1]/2.0)*Tr + a[0])*Tr
);
return h(T) - hc();
}