yaml2ck includes third body efficiencies for species that are not defined in the mechanism, but were only excluded by the use of the YAML option skip-undeclared-third-bodies: true appearing in the phase definition. This prevents successful validation of the mechanism, though I think the resulting CK file is probably usable (depending on how the software using the resulting CK file handles such efficiencies).
Problem description
yaml2ck
includes third body efficiencies for species that are not defined in the mechanism, but were only excluded by the use of the YAML optionskip-undeclared-third-bodies: true
appearing in the phase definition. This prevents successful validation of the mechanism, though I think the resulting CK file is probably usable (depending on how the software using the resulting CK file handles such efficiencies).Steps to reproduce
Create the following YAML file:
Convert:
python -m cantera.yaml2ck test.yaml --overwrite
Behavior
ck2yaml
writes a CK file, but fails on validation:System information
main
branch at b0ba90a3eAdditional context
Originally reported on the Cantera Users' Group.