-
-
Notifications
You must be signed in to change notification settings - Fork 409
Closed
Description
System information
- Cantera version: 2.5.0a4 (current master / commit c16c4b0)
- OS: Ubuntu
- Python/MATLAB version: Python 3.6.8
Expected behavior
The example kinetics/extract_submechanism.py runs.
Actual behavior
In [1]: %run extract_submechanism.py
Species: H2, H, O, O2, OH, H2O, HO2, H2O2, C, CO, CO2, N2
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/src/build/python/cantera/examples/kinetics/extract_submechanism.py in <module>()
37
38 # Filter reactions, keeping only those that only involve the selected species
---> 39 all_reactions = ct.Reaction.listFromFile('gri30.yaml')
40 reactions = []
41
interfaces/cython/cantera/reaction.pyx in cantera._cantera.Reaction.listFromFile()
ValueError: A Kinetics object is required.
To Reproduce
See above.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels