Hello again!
I have been looking up the exact meaning of the function 'getDeltaEnthalpy' in Cantera's GasKinetics.cpp file. I haven't found much information.
I would like to know if it refers to the differences in the enthalpies of formation of products and reactants in a given reaction. Is this the standard enthalpy of the reaction (i.e. the standard enthalpy change of the reaction, 'ΔrH°')?
Thank you in advance!
Yuruan
Ray,
which reference is getDeltaEnthalpy based on, and what units does it have?
The background is that we want to calculate the heat of reaction in a counterflow flame and the influence of the various reactions on it. We calculate the total volumetric heat of reaction (in Python) using
sum(gas.enthalpies_RT()*gas.netProductionRates())*ct.GasConstant*gas.temperature()
which is in J m^-3.
Ideally, the sum of the enthalpy changes of all reactions should yield the same result:
sum(gas.delta_H())
(getDeltaEnthalpy is apparently wrapped as delta_H() in Python)
However, this gives a quite different number. Is it just a matter of reference, or is it not possible to use getDeltaEnthalpy to calculate the total volumetric heat of reaction?
Thanks a lot!
Thomas