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

how to use chemkinToFoam ?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By stack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2015, 18:12
Default how to use chemkinToFoam ?
  #1
New Member
 
Join Date: Apr 2015
Posts: 25
Rep Power: 11
khalifa is on a distinguished road
Hello. can someone explain a bit how to use chemkinToFoam to convert the GRI-3 mechanism files; both reactions and thermodynamics file, from chemkin 2 format to the openFoam format ?

Thanks
khalifa is offline   Reply With Quote

Old   July 29, 2015, 19:08
Default
  #2
New Member
 
Join Date: Apr 2015
Posts: 3
Rep Power: 11
stack is on a distinguished road
Working through this issue myself.

Download grimech30.dat and thermo30.dat: http://combustion.berkeley.edu/gri-m...30/text30.html

Running below should output the files you want (had to remove line #2 in thermo30.dat.)
Code:
chemkinToFoam -newFormat grimech30.dat thermo30.dat chem thermo
Uyan and khalifa like this.
stack is offline   Reply With Quote

Old   August 20, 2015, 16:34
Default
  #3
New Member
 
Join Date: Apr 2015
Posts: 25
Rep Power: 11
khalifa is on a distinguished road
Quote:
Originally Posted by stack View Post
Working through this issue myself.

Download grimech30.dat and thermo30.dat: http://combustion.berkeley.edu/gri-m...30/text30.html

Running below should output the files you want (had to remove line #2 in thermo30.dat.)
Code:
chemkinToFoam -newFormat grimech30.dat thermo30.dat chem thermo
Thank you so much ! worked perfectly.
khalifa is offline   Reply With Quote

Old   August 26, 2015, 17:17
Default
  #4
New Member
 
Join Date: Apr 2015
Posts: 25
Rep Power: 11
khalifa is on a distinguished road
Quote:
Originally Posted by stack View Post
Working through this issue myself.

Download grimech30.dat and thermo30.dat: http://combustion.berkeley.edu/gri-m...30/text30.html

Running below should output the files you want (had to remove line #2 in thermo30.dat.)
Code:
chemkinToFoam -newFormat grimech30.dat thermo30.dat chem thermo
Dear Stack,

Do you know how to transfer the transport file from chemkin to Foam ? , chemkintofoam utility allows me only to transfer the reaction and thermodynamics files!


Thank you
khalifa is offline   Reply With Quote

Old   July 16, 2022, 05:38
Default chemkinToFoam
  #5
New Member
 
Elhaddad
Join Date: Jun 2012
Posts: 7
Rep Power: 13
AhmedSamy is on a distinguished road
I tried the following command using both versions Openfoam 8 and 2112, which did not work
chemkinToFoam -newFormat grimech30.dat thermo30.dat chem thermo

I get this error:

--> FOAM FATAL IO ERROR: (openfoam-2112)
"ill defined primitiveEntry starting at keyword 'THERMO' on line 1 and ending at line 4"

file: therm.dat at line 4.

From void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&)
in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 238.


Any help is appreciated.
Thank's
AhmedSamy is offline   Reply With Quote

Reply


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
Chemkin reader stefanke OpenFOAM Pre-Processing 28 March 8, 2022 10:16
about chemkintofoam dahlia-2005 OpenFOAM 24 February 19, 2017 03:10
how to use chemkinToFoam ? khalifa OpenFOAM Running, Solving & CFD 1 July 4, 2015 05:09
question about chemkinToFoam skarnani OpenFOAM 11 September 11, 2013 08:07


All times are GMT -4. The time now is 07:56.