Cp = R*(a1 + a2.*T + a3.*T.^2 + a4.*T.^3 + a5.*T.^4);
H = R*(a1.*T + 0.5.*a2.*T.^2 + (1/3).*a3.*T.^3 + (1/4).*a4.*T.^4 + (1/5).*a5.*T.^5 + a6);
--
You received this message because you are subscribed to the Google Groups "Cantera Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cantera-user...@googlegroups.com.
To post to this group, send email to canter...@googlegroups.com.
Visit this group at https://groups.google.com/group/cantera-users.
For more options, visit https://groups.google.com/d/optout.
Hi Christopher,
I second Bryan’s comments, but just want to push back a little more forcefully on the idea that you can have a phase with constant Cp and h. I would strongly advise against this
You could, in principle, define a new phase with these qualities. But it is at its very nature thermodynamically inconsistent because, as Bryan points out, Cp = dh/dT. You would, essentially, be changing the very definition of Cp in such a model. I’m also not quite sure what benefit this gets you.
I would recommend deciding on one or the other — constant h (and Cp = 0) or constant Cp and an enthalpy that varies linearly with T — and using the const_cp thermo type.
Best,Steven
——————————————————————————————————Steven DeCaluwe, PhDAssistant Professor of Mechanical EngineeringColorado School of MinesBrown Building W410BGolden, CO 80401
phone: (303) 273-3666Twitter: @DeCaluweGroup