ReactionMechanismGenerator / RMG-Py

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

How to set temperature range for thermo() in Arkane? #1517

Closed pez16103 closed 5 years ago

pez16103 commented 5 years ago

Topic

General area which your question is related to.

Context

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

Question

Write your question here. I was wondering how does the program determine Tint in arkane when I run example/arkane/species/H. After I modified T in therm.py,

species.thermo = wilhoit.toNASA(Tmin=200.0, Tmax=3000.0, Tint=1000.0)

I checked chem.inp and found only Tmin and Tmax are updated as the expected values, while Tint will be changed.

H H 1 G 200.000 3000.000 1988.08 1

Installation Information

Describe your installation method and system information if applicable.

alongd commented 5 years ago

Hi, Tint is allowed to vary in order to improve the fit. If for some reason you'd like to fix it (probably compromising for accuracy), you could change line 136 you pointed to in thermo.py to be: species.thermo = wilhoit.toNASA(Tmin=200.0, Tmax=3000.0, Tint=1000.0, fixedTint=True) There are additional optional parameters to the toNASA function, please see this docstring. Let us know if you have any additional questions