Hi Mickey,
Thanks for reporting this problem. The error message here is not very helpful, but I think it stems from having reactions: none specified in the phase definition of the YAML file. Is the intention to create a CK input file with no reactions? If so, the easiest workaround might be to just convert the mechanism with at least one reaction, and then remove that section in the output file after the fact.
I’ve created Issue #1679 to keep track of this on GitHub.
Regards,
Ray
Hi Mickey,
In addition to these options, you also need to skip reactions involving excluded species. To do this, you should define the reactions entry in the phase definition as:
reactions: [{reactions: declared-species}]You’re correct that the skip-undeclared-third-bodies: true is incorrectly ignored. The result is that the output CK file still contains these 3rd body efficiencies. I don’t know what Chemkin does with such cases, but I expect it just ignores them given the frequency with which these show up. The error reported by Cantera only affects validation, since there’s no way for the CK file to indicate that this flag should be included when converting back to YAML. I’ve created an issue on our tracker for this problem (https://github.com/Cantera/cantera/issues/1683).
Regards,
Ray