ReactionMechanismGenerator / RMG-Py

Python version of the amazing Reaction Mechanism Generator (RMG).
http://reactionmechanismgenerator.github.io/RMG-Py/
Other
381 stars 226 forks source link

Creating a Combustion Model for N-Dodecane. #2027

Closed rahulkaruvingal closed 3 years ago

rahulkaruvingal commented 3 years ago

Topic

General area which your question is related to.

Context

A clear and concise description what you're trying to do.

My aim is to generate the mechanism file for different fuels. As of now I am trying a combustion model for n-dodecane for 900k and 60bar . I am new to rmg. As much as I could understand from the documentation I tried to create an input file for the same. I have attached the screen shot of the input file

rmg rmg2

Question

  1. I don't get CO2 as a species after the reaction is ended in the mechanism file. Is my input file right?
  2. It takes a long time for the reaction to go on. How to reduce the time?
  3. Can I get the ignition delay using rmg ? If yes then where can I find the documentation for that?

Installation Information

Describe your installation method and system information if applicable.

mjohnson541 commented 3 years ago

Your value for maximumEdgeSpecies=1000 is very low and most likely causing you to miss CO2 and other important stuff (unless it's a thermochemistry issue) I typically use maximumEdgeSpecies=100,000.

Dodecane is a large molecule and the number of possible reactions for molecules in general scale combinatorically with the number of reaction sites so in general it's going to take RMG much longer than something smaller. Running in parallel on 4 or more cores will often speed you up by a factor of 2 or 3. Also if you give RMG more of the chemistry you expect to start with it (through reaction libraries or species) it tends to save it a lot of time exploring unimportant chemistries.

RMG's internal simulation software isn't capable of running ignition simulations. Chemkin and Cantera are popular options.

rahulkaruvingal commented 3 years ago

Thank you very much for the reply. It works now but it takes very long. I can use the cluster systems to run it parallel. Do you have an example of how to run it in parallel? I do not know the command for running rmg in parallel. Could you please help me with that?

mjohnson541 commented 3 years ago

See here in the documentation: http://reactionmechanismgenerator.github.io/RMG-Py/users/rmg/running.html#input-flags