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:
  • filename (str) – Input filename for Chemkin surf or gas .inp file

  • species (list of Nasa objects) – List of NASA objects containing thermodynamic properties for all Reactants and Products in Reactions default = None. Will not return React_obj and Prod_obj

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: