Hi all,
Im new to Cantera and i use Cantera v2.5.1 and Python v3.9.
Converting the San Diego mechanism (
https://web.eng.ucsd.edu/mae/groups/combustion/mechanism.html) to a YAML i got a few error messages.
There are some unexpected species, what to do with them? I want to simulate flame speed for a adiabatic hydrogen flame. In line 222 I didn't find anything conspicuous.
C:\Users\micha>python -m cantera.ck2yaml --input=sandiego20161214_mechCK.txt --thermo=sandiego20160815_therm.txt --transport=sandiego20160815_trans.txt
Skipping unexpected species "JP10" while reading thermodynamics entry.
Skipping unexpected species "CHO" while reading thermodynamics entry.
Skipping unexpected species "C5H8" while reading thermodynamics entry.
ERROR: Unable to parse 'sandiego20160815_therm.txt' near line 222:
Traceback (most recent call last):
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\site-packages\cantera\ck2yaml.py", line 2226, in <module>
main(sys.argv[1:])
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\site-packages\cantera\ck2yaml.py", line 2187, in main
parser, surfaces = Parser.convert_mech(input_file, thermo_file,
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\site-packages\cantera\ck2yaml.py", line 2037, in convert_mech
parser.load_chemkin_file(thermo_file,
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\site-packages\cantera\ck2yaml.py", line 1675, in load_chemkin_file
self.warn('Found additional thermo entry for species {0}. '
File "C:\Users\micha\AppData\Local\Programs\Python\Python39\lib\site-packages\cantera\ck2yaml.py", line 781, in warn
raise InputError(message)
__main__.InputError: Found additional thermo entry for species C3H5. If --permissive was given, the first entry is used.
Please check
https://cantera.org/tutorials/ck2yaml-tutorial.html#debugging-common-errors-in-ck-filesfor the correct Chemkin syntax.
Any help is welcome!
Kind regards
Michael