CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

chemkinToFoam handling units properly?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By m_a_s

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2021, 14:27
Default chemkinToFoam handling units properly?
  #1
New Member
 
Mark
Join Date: Jun 2017
Posts: 4
Rep Power: 9
m_a_s is on a distinguished road
Greetings OF users.

I needed to convert a Chemkin mechanism for use in OF. I tried using the chemkinToFoam converter, but some of the values in the generated OF reactions file seem suspicious.

Consider the following Chemkin reaction line:
OH+H2=H+O2 2.14E+08 1.52 3449.0
The A, beta, and Ta values were converted to 214000, 1.52, and 1735.506583, respectively. Since there were not any unit callouts in the Chemkin file, the 3rd term (the activation energy) should have been in cal/mol (1 cal = 4.184 J) but the value is scaled by a factor of 1.987.


Am I missing something?
m_a_s is offline   Reply With Quote

Old   July 9, 2021, 12:58
Default
  #2
New Member
 
Mark
Join Date: Jun 2017
Posts: 4
Rep Power: 9
m_a_s is on a distinguished road
I think I figured it out. The factor is 4.184/R (R=8.314J/(mol*K)) which gives me the same number 1735.50...
Amirreza_pro likes this.
m_a_s is offline   Reply With Quote

Reply

Tags
chemkin, chemkintofoam, units


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to show the units on the results. ounifiras FLOW-3D 2 November 25, 2024 15:26
fvOptions() Options and SemiImplicit Source Term - Units Tobi OpenFOAM Programming & Development 11 February 18, 2021 10:13
Thermophysical Property Units johanz OpenFOAM Pre-Processing 2 December 16, 2018 11:08
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 09:04
mergeMeshes no handling zones properly hansel OpenFOAM Bugs 1 July 25, 2009 19:44


All times are GMT -4. The time now is 14:45.