This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checking against "pdep" reactions in ReactionLibrary reactions.txt file
This commit switches the general order of adding reactions to the ODE input file and CHEMKIN chem.inp file from: * Seed * Reaction Library pdepreactions * RMG (fame) pdepreactions * RMG nonpdep reactions to: * Seed * Reaction Library pdepreactions * RMG nonpdep reactions # RMG (fame) pdepreactions Example: Suppose user started with H and O2 in the input file, and Glarborg/C3 reaction library. RMG would find H+O2=O+OH in Glarborg/C3 library and would make HO2 (H+O2) included, thereby finding the O+OH well, making H+O2(+m)=O+OH(+m). In the previous order, RMG would add the RMG pdepreactions reaction to the list, and then add the Glarborg/C3 reaction to the list: this would be an incorrect duplicate. With the new order, RMG adds the Glarborg/C3 reaction, and then recognizes the RMG (fame) pdepreaction to be a duplicate and will not add it to the ODE or CHEMKIN list.
- Loading branch information
Showing
2 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92cef7e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that there's a non-pdep bimolecular reaction A+B<=>C+D, and a well-skipping pdep rate from a network like A+B<=>X<=>C+B in which case wouldn't we want both?
92cef7e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're absolutely right.
92cef7e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The difference between the two cases is that one "non-pdep" bimolecular reaction comes from RMG (H_Abstraction, Disproportionation) while the other comes from a Reaction Library. We can add a check for the reactions' kinetics' source/comments ... but is there a cleaner way?