Hello all,
I am attempting to use Cantera for getting exhaust heat capacity (Cp) or heat ratio (gamma) from the burnt gases.
One case is taken from a classic textbook, "Internal combustion engine fundamentals by Heywood," as a reference (figure shown below). However, the results from my Cantera don't fit such a trend after the fuel-air ratio is bigger than one.
In the beginning, I thought the mechanism "curran_LLNL.cti" for isooctane is not suitable for showing the flow thermal property calculation. So, I extracted the portion of gas composition and imposed it into the Gri30 mechanism. But, the same result. My code for this calculation is simple:
######################################
gas = ct.Solution('CurranEtAl_PRF_fromLLNL.cti')
fuel = {"IC8H18":1}
def cp_gamma_cal(gas, fuel, lambda_c, T_c, p_c, reaction=1):
phi = 1/lambda_c
gas.TP = T_c, p_c*1e5
gas.set_equivalence_ratio(phi, fuel, 'O2:1.0, N2:3.76')
if reaction == 1:
gas.equilibrate("TP")
gas.TP = T_c, p_c*1e5
return gas.cp_mass, gas.cp_mass/gas.cv_mass
######################################
Could anyone give me some hint? The code is also attached.
Sincerely thanks for your time in advance!
Best regard,
Beichuan

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/cantera-users/0fffdd45-44fb-44ee-97d2-9dc30e62a83en%40googlegroups.com.
Hi Beichuan,
The phrase “heat of dissociation” suggests to me that the definition of cp being used here is one where the composition follows equilibrium as the temperature changes. Cantera uses the definition where cp is defined at fixed composition.
This latter definition is the one that actually appears in governing equations for multi-species systems, such as well-stirred reactors. While the former property can be an interesting one to consider for a system at equilibrium, it is of somewhat limited use generally, since it is only defined at equilibrium.
To calculate this value with Cantera, you could do so as a finite difference with something like the following:
dT = 0.1
gas.TP = T_c, P_c
gas.set_equivalence_ratio(phi, fuel, "O2:1.0, N2:3.76")
gas.equilibrate("TP")
h1 = gas.enthalpy_mass
gas.TP = T_c + dT, P_c
gas.equilibrate("TP")
h2 = gas.enthalpy_mass
cp_eq = (h2 - h1) / dT
Regards,
Ray


To view this discussion on the web visit https://groups.google.com/d/msgid/cantera-users/ef2d64e5-49e9-4f73-a840-ee64c0fb2fc8n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Cantera Users' Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cantera-users/4D9GroVIHZ8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cantera-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cantera-users/95370bab-5bc9-443c-aa4c-13a7758bfcb4n%40googlegroups.com.