mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Corrected 'hs'.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user