Lewis number calculation

1,881 views
Skip to first unread message

Francis Oppong

unread,
Aug 16, 2018, 4:59:40 AM8/16/18
to Cantera Users' Group
Good day all,

a) Please I am trying to calculate the Lewis number  but the plot I am getting is not what I am expecting. From the attached image the tendency of the curve should be in the descending order of Lewis number for the equivalence ratio, which is right but it shouldn't be a straight line like in the plot. However, the Lewis numbers are too high from equivalence ratios 0.9-1.4. 

b) Also, I want to compute the effective Lewis number. Therefore, I have to compute the Lewis numbers of the fuel and the oxidizer separately. Since I am treating the oxidizer as single ideal gas I used the binary mass diffusion coefficients to calculate the Lewis number of the oxidizer and I end up getting higher Le's in the range of 4. 

Please can someone kindly advise on what I am doing wrong. Attached is the cti and the code.

Figure_1.png




Thanks
FO

Lewis number.py
chem.cti

Jeff Santner

unread,
Aug 16, 2018, 11:55:11 AM8/16/18
to Cantera Users' Group
The mass diffusivity should not be the average diffusivity of all species. Instead, the Lewis number of the fuel is based on the diffusivity of the fuel in the mixture, and the Lewis number of the oxidizer is based on the diffusivity of oxygen in the mixture. 

Francis Oppong

unread,
Aug 17, 2018, 3:45:24 AM8/17/18
to Cantera Users' Group
Jeff,

Thanks.  I get a messy plot for not using the average mass diffusivity. I am unable to get what you suggested in Cantera. Please can you kindly give a small demonstration (code form) of what you mean by looking at my code or you can recommend a cantera documentation that will give me a cue about how to obtain the mass diffusivity of the fuel and oxidizer.

Regards
Francis

Jeff Santner

unread,
Aug 17, 2018, 11:55:51 AM8/17/18
to canter...@googlegroups.com
Francis,
This is how I've been calculating the Lewis number of the fuel and of the oxidizer. "gas" is a cantera Solution object of the unburned mixture.

    thermal_diff = gas.thermal_conductivity/gas.cp_mass/gas.density_mass
    Le_O2 = (thermal_diff /
             gas.mix_diff_coeffs_mole[gas.species_index('O2')])
    Le_F = 0
    sum_fuel = sum([x[1] for x in mixture_list if x[0] in fuel_list])  # Find the total mole fraction of fuel species. There may be multiple "fuel"s
    for component in mixture_list:
        #Use molar weighting as found in Yu, Hu, Cheng, Yang, Zhang, Huang (2015)
        if component[0] in fuel_list:
            Le_F += (component[1]/sum_fuel) * (thermal_diff /
                     gas.mix_diff_coeffs_mole[gas.species_index(component[0])])

    # Using equation from Bechtold and Matalon (2001)
    if phi < 1:
        PHI = 1/phi     # capital phi
        Le_E = Le_O2    # excess reactant
        Le_D = Le_F    # deficient reactant
    else:
        PHI = phi
        Le_E = Le_F
        Le_D = Le_O2
    A = 1 + beta * (PHI - 1)

    Le_eff = 1+((Le_E - 1) + (Le_D - 1) * A) / (1 + A)
    # Above equation can be rearranged to (Le_E + A*Le_D ) / (1 + A).


--
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/RV3l3BrL-24/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Francis Oppong

unread,
Aug 17, 2018, 12:37:56 PM8/17/18
to Cantera Users' Group
Jeff, 

Thanks. Trying to go through to understand it.

Regards
Francis.

Francis Oppong

unread,
Aug 17, 2018, 1:17:21 PM8/17/18
to Cantera Users' Group
Jeff, 

Sorry to worry you. I don't really understand this line 'sum_fuel = sum([x[1] for x in mixture_list if x[0] in fuel_list])'. I specified the mixture_list as the fuel and oxidizer, and the fuel_list as the fuel but it doesn't work. The fuel is a single fuel.

Regards
Francis 

Jeff Santner

unread,
Aug 17, 2018, 2:48:24 PM8/17/18
to canter...@googlegroups.com
Sorry, that code is a snippet from something I wrote that doesn't really work on its own. Since you have a single fuel (let's say the species is called 'fuel'), you can just replace all the lines regarding Le_F with:
    Le_F = (thermal_diff / gas.mix_diff_coeffs_mole[gas.species_index('fuel')])

dailim...@gmail.com

unread,
Jun 28, 2021, 12:31:36 AM6/28/21
to Cantera Users' Group
Hi Jeffrey,

how did you determine the beta, Zeldovich number? particularly, how you determine the activation energy when calculating the Zeldovich number?

Best,
Liming

Francis

unread,
Jun 28, 2021, 3:28:38 AM6/28/21
to Cantera Users' Group
Liming,


All the best.
Francis

dailim...@gmail.com

unread,
Jun 28, 2021, 3:48:21 AM6/28/21
to Cantera Users' Group
Thanks Francis.

Best,
Liming

Jeff Santner

unread,
Jun 28, 2021, 12:38:06 PM6/28/21
to canter...@googlegroups.com
First I found the activation temperature (or energy) using a polynomial fit of ln(flame speed) against 1/(T_adiabatic), while perturbing the unburned temperature +/- 10 K. I usually had results with perturbations of -10K, -5K, unperturbed, +5K, and +10K that I used to create the fit. If I remember correctly, the activation temperature = -2 x d(ln(Su)) / d(1/T_ad).

Then, the Zeldovich number is calculated as Ze = T_act * (T_ad - T_u)/(T_ad**2)

You should check the paper that Francis attached for more information.

Gan Xiao

unread,
Jun 28, 2021, 1:26:52 PM6/28/21
to canter...@googlegroups.com
Hi Jeffrey:

             I am also very interested in your work about how to calculate the Lewis number in Cantera. Could you share the code about how to implement it?
             Thanks.

Regards
Shawn

         

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/CALUnxiNn0srLdid9MstJgyMUsh4edeoXkhCuG_AA%2B%2BnJfo4ZBw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages