Hello Kevin et al:
Have you tried the online CEA at http://cearun.grc.nasa.gov ?
Michael J. Zehe
NASA Glenn R.C.
From: canter...@googlegroups.com [mailto:canter...@googlegroups.com] On Behalf Of Kevin Holst
Sent: Tuesday, January 08, 2013 1:30 PM
To: canter...@googlegroups.com
Subject: [cantera-users] Constant pressure specific heat calculation
Group,
I've been checking out Cantera for a little while now, and I've run into a question that I think I know the answer to, but I just wanted to be sure. First some background, NASA's CEA code is considered the gold standard, in my line of work, for equilibrium thermo calculations. Unfortunately it's slow and cumbersome to use in computer programs. Cantera has been much easier to use for basic equilibrium calculations, and can be easily worked into existing code. So in an effort to get a warm, fuzzy feeling about using Cantera rather than CEA, I decided to compare the two for the pressure/temperature range of interest. When using the same set of NASA9 polynomial curve fits, everything compares VERY well between CEA and Cantera, except Cp (and presumably Cv, although that is not explicitly given as an output in CEA).
Does Cantera only calculate the 'frozen' Cp (as defined in the CEA Analysis Report http://www.grc.nasa.gov/WWW/CEAWeb/RP-1311.pdf in section 2.5), leaving out the contributions due to the reactions? If so, was there a specific rationale for doing that, and is there a function built in that I don't know about that calculates the equilibrium Cp?
I suspect that the answer to the first question is "no," based on a comment, reproduced below, in 'IdealMolalSoln.cpp' (thanks for commenting the code so well by the way!)
/*
* Molar heat capacity at constant pressure: Units: J/kmol/K.
* * \f[
* \bar{c}_p(T, P, X_k) = \sum_k X_k \bar{c}_{p,k}(T)
* \f]
*
* Units: J/kmol/K
*/
-Kevin Holst
--
You received this message because you are subscribed to the Google Groups "Cantera User's Group" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cantera-users/-/r2ATaBGDY4IJ.
To post to this group, send email to canter...@googlegroups.com.
To unsubscribe from this group, send email to cantera-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cantera-users?hl=en.