Hi,
These rate constants are all as-expected. The trick to understanding this is knowing what the dimensions of the rate constant are in each case, and in particular that for falloff reactions, the high- and low-pressure rate constants have different units. The documentation for falloff reactions provides some insight here. In the high pressure limit, the reaction rate is independent of [M]. In your first example, the forward rate of reaction can be calculated as:
which means that must have units of m^3/kmol/s and the conversion factor to cm^3/mol/s is 1000. In contrast, at the low pressure limit, the forward rate of reaction can be calculated as
which means that must have units of m^6/kmol^2/s and the conversion factor to cm^6/kmol^2/s is 1,000,000.
You can repeat this exercise for the second reaction and will see that, since there is only a single reactant, the high-pressure rate has units of 1/s and a unity conversion factor, while the low pressure rate has units of m^3/kmol/s and a conversion factor of 1000.
Regards,
Ray
Hi rrcits,
I’m confused by the syntax that you’re using in the example code provided. I don’t think Cantera has ever contained an add_reaction_from_string method or a Site class. What were you basing this code on? If you’re trying to create a standalone mechanism file, I think you should just write in the YAML format directly, rather than trying to construct the mechanism in Python and then write out the file. The option of doing this programmatically through the Python interface is mostly of use when the contents of the mechanisms are determined parametrically, rather than just representing a specific, fixed mechanism.
If you’re having trouble converting an existing Chemkin-format file, please share the input files and the error message you get. Otherwise, it’s quite difficult to provide any meaningful advice.
Regards,
Ray