thermodynamics: Added pressure as an addition argument to all primitive thermodynamic functions

Added additional layer of templating to reactingMixture to support specie functions in a generic manner.
This commit is contained in:
Henry
2012-06-05 19:51:57 +01:00
parent 0cdb34dbdf
commit 2d2787bd8c
69 changed files with 1154 additions and 1555 deletions

View File

@ -87,7 +87,7 @@
forAll(Y, i)
{
Y[i] = Y0[i];
hs0 += Y0[i]*specieData[i].Hs(T0);
hs0 += Y0[i]*specieData[i].Hs(p[i], T0);
}
hs = dimensionedScalar("h", dimEnergy/dimMass, hs0);