pmutt.io.chemkin.read_reactions
- pmutt.io.chemkin.read_reactions(filename, species=None)
Directly read reactions from Chemkin gas.inp or surf.inp files
- Parameters:
- Returns:
Reactions (list of reactions)
Reactants (list of reactants found in reactions)
React_obj (list of NASA polynomials for each Reactant) – If species object list is supplied
React_stoic (list of reaction stoichiometries for Reactants)
Products (list of products found in reactions)
Prod_obj (list of NASA polynomials for each Product) – If species object list is supplied
Prod_stoic (list of reaction stoichiometries for Products)
- Raises:
FileNotFoundError – If the surf.inp or gas.inp file isn’t found.
NameError – If the species file does not exist
AttributeError – If the species list is incorrect format