How to modify transport properties in FreeFlame

92 views
Skip to first unread message

Chengeng Qian

unread,
Jun 1, 2022, 5:44:55 PM6/1/22
to Cantera Users' Group
Hi everyone, 
I want to calculated laminar flame speed with transport properties approximated by polynomials. I know how to set polynomial fit to the transport properties in class Solution. But the same method doesn't work in class FreeFlame. Are there some methods to modify transport properties in FreeFlame? By the way, I use cantera via python.

Best
Chengeng

Ray Speth

unread,
Jun 2, 2022, 11:59:43 AM6/2/22
to Cantera Users' Group

Hi Chengeng,

If you set the polynomials on the Solution object used to create the FreeFlame, it should use the updated polynomials when calculating the properties while solving the flame. If you aren’t able to get this working, can you post an example of what you’ve tried?

Regards,
Ray

Bryan Weber

unread,
Jun 2, 2022, 12:00:56 PM6/2/22
to Cantera Users' Group
Hi Chengeng,

I'm not sure what you mean by polynomial fits for transport properties, or how you're able to modify those in the Solution. Since the FreeFlame uses the Solution to evaluate the properties it needs, if it works for Solution, it seems as though it should also work for FreeFlame.

Can you attach a complete example showing what you're trying to do, what works, and what doesn't?

Thanks!
Bryan

On Wednesday, June 1, 2022 at 5:44:55 PM UTC-4 qianc...@gmail.com wrote:

Chengeng Qian

unread,
Jun 3, 2022, 4:52:12 AM6/3/22
to Cantera Users' Group
Hi Ray,
Thanks for your suggestions. The set_thermal_conductivity_polynomial works if I didn't set transport model while solving the flame. Please check the attachment. 

I have one more question. I didn't found the expression of polynomial fitting the thermal conductivity. Assuming that 
Solution.set_thermal_conductivity_polynomial(i, [a0, a1, a2, a3, a4]), the ploynomial will reads 
a0+a1*ln(T)+a2*ln(T)+a3*ln(T)+a4*ln(T). Is that right?

Best,
Chengeng

Laminar_sample.py

Chengeng Qian

unread,
Jun 3, 2022, 4:55:27 AM6/3/22
to Cantera Users' Group
Hi Bryan,
Thanks, it works without seting the transprot model in FreeFlame. Please check the attachement in previous letter.

Regards,
Chengeng

Reply all
Reply to author
Forward
0 new messages