-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create YAML file outputs in RMG for use in Cantera #2321
base: main
Are you sure you want to change the base?
Commits on Aug 2, 2024
-
Tweaking Chemkin species list parser for readability.
This took me a while to figure out what was happening. So I changed variable name, removed a redundant if block, and added a couple of comments.
Configuration menu - View commit details
-
Copy full SHA for d549ec7 - Browse repository at this point
Copy the full SHA d549ec7View commit details -
Cleaning up chemkinTest methods for multidentate adsorbate writing.
It was fragile, depending on the precise ordering of lines in the test file.
Configuration menu - View commit details
-
Copy full SHA for 6bcfe51 - Browse repository at this point
Copy the full SHA 6bcfe51View commit details -
Cleaning up and extending a chemkin test mechanism.
To enable proper conversion in Cantera (for a future test) we need some gas phase parts to the chemkin mechanism. I added two extra types of surface reaction, an adsorption sticking coefficient, and an associative desorption. I also tidied up the species names and formatting.
Configuration menu - View commit details
-
Copy full SHA for 213d7bd - Browse repository at this point
Copy the full SHA 213d7bdView commit details -
Updating methods that create in-memory Cantera objects of things.
to_cantera for Reaction and Species and some surface kinetics types squashed commit from Richard: Should be able to use the to_cantera_kinetics methods. Not sure about all these nested elifs. I think some are confused. Co-authored-by: Nora Khalil <khalil.nor@northeastern.edu> Co-authored-by: Richard West <r.west@northeastern.edu>
Configuration menu - View commit details
-
Copy full SHA for 5e62acd - Browse repository at this point
Copy the full SHA 5e62acdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4c5d6 - Browse repository at this point
Copy the full SHA 3e4c5d6View commit details -
Added to_cantera_kinetics for SurfaceArrhenius and StickingCoefficient
Nick add cm^5/(mol^2*s) dimensionality Co-authored-by: Sevy Harris <harris.se@northeastern.edu> Co-authored-by: Nicholas Tietje <tietje.n@northeastern.edu>
Configuration menu - View commit details
-
Copy full SHA for 07080a9 - Browse repository at this point
Copy the full SHA 07080a9View commit details -
Adding to_cantera_kinetics for ArrheniusBM class.
Cantera now has a BlowersMasel kinetics class. This requires Cantera > 2.6 As described in https://cantera.org/dev/python/kinetics.html#cantera.BlowersMaselRate the API may change suddenly on some versions.
Configuration menu - View commit details
-
Copy full SHA for a1ae617 - Browse repository at this point
Copy the full SHA a1ae617View commit details -
Testing conversion to Cantera for adsorbed species and reactions.
This is in the canteramodelTest. We load a gas/surface mechanism saved in chemkin format (updated in prior commit) into both RMG and into Cantera. We then convert the RMG objects into Cantera objects and then compare them all - species and reactions. This mirrors the way the gas phase parts were tested. Hopefully increases test coverage of the new to_cantera_kinetics methods.
Configuration menu - View commit details
-
Copy full SHA for 57a35ef - Browse repository at this point
Copy the full SHA 57a35efView commit details -
Save cantera files that were made from chemkin files to a separate fo…
…lder. So they don't over-write the ones that are being written directly.
Configuration menu - View commit details
-
Copy full SHA for 7e3dc83 - Browse repository at this point
Copy the full SHA 7e3dc83View commit details -
Rename yml to yaml_rms, because it was specific to RMS
This allows the Cantera yaml writer to live alongside it
Configuration menu - View commit details
-
Copy full SHA for 0249f39 - Browse repository at this point
Copy the full SHA 0249f39View commit details -
Nora did most of the work. Richard did some cleanup. Nick fixed species_to_dict function to use correct parameter as rxn species. Co-authored-by: Nora Khalil <khalil.nor@northeastern.edu> Co-authored-by: Richard West <r.west@northeastern.edu> Co-authored-by: Nicholas Tietje <tietje.n@northeastern.edu>
Configuration menu - View commit details
-
Copy full SHA for 5cca9bb - Browse repository at this point
Copy the full SHA 5cca9bbView commit details -
Minor: Fix a Cython declaration in a Reaction method.
Although Atom is a subclass of Vertex, it adds an element attribute. This leads to more efficient Cython code (and quietens a warning in vscode).
Configuration menu - View commit details
-
Copy full SHA for fe9bcff - Browse repository at this point
Copy the full SHA fe9bcffView commit details