Read and parse the chemical reactions .xml input file rxns.xml.
Collect the species into a species list. My output is ['H', 'O', 'OH', 'H2', 'O2'].
Some notes and hints:
.xml format you should have a loop over the phase element.find() method to get the species array.Calculate and print out the Arrhenius reaction rate coefficients using $R = 8.314$ and $T = 1500$.
Some notes and hints:
.xml format you should have loops over the reactionData element, the reaction element, the rateCoeff element, and the Arrhenius element using the findall() method discussed in lecture.find() method to get the reaction rate coefficients.My solution is:
k for reaction01 = 6.8678391864294477e+05
k for reaction02 = 2.3105559199959813e+06