Hi Cantera team,
I’m working on extracting submechanisms from a detailed mechanism (.yaml), following the example available on the Cantera website. However, I’ve noticed that the extracted sub-mechanism shows modified kinetic parameters such as
1. The pre-exponential factor (A) is often reduced by 3+ orders of magnitude
2. The activation energy (Ea) is changed
Please let me know how to fix such problems.Hi Anand,
There is no problem with the output file. The original input file specifies that it uses the following unit system:
units: {length: cm, time: s, quantity: mol, activation-energy: cal/mol}By default, the output submechanism uses Cantera’s intrinsic unit system of m, s, kmol (with activation energy in J/kmol). To override this default, you can specify a units argument to the write_yaml method:
gas2.write_yaml("thomas_mech-submech.yaml", header=True, units={'length': 'cm', 'time': 's', 'quantity': 'mol', 'activation-energy': 'cal/mol'})Regards,
Ray