Handling Mixtures with Cantera
Objective: 1) In the given code, mole fractions of O2 & N2 are given as 0.21 & 0.79 we know that, mole fraction = (number of moles of that species)/(Total number of moles) from the reaction of methane(CH4) `CH_4 +2O_2 +2(3.76)N_2=CO_2+2H_2O+2(3.76)N_2` lets calculate mole fraction of O2(A gas quantity) as example …