|
[Sponsors] |
July 5, 2015, 19:12 |
how to use chemkinToFoam ?
|
#1 |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
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 |
|
July 29, 2015, 20:08 |
|
#2 |
New Member
Join Date: Apr 2015
Posts: 3
Rep Power: 11 |
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 |
|
August 20, 2015, 17:34 |
|
#3 | |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
|
||
August 26, 2015, 18:17 |
|
#4 | |
New Member
Join Date: Apr 2015
Posts: 25
Rep Power: 11 |
Quote:
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 |
||
July 16, 2022, 06:38 |
chemkinToFoam
|
#5 |
New Member
Elhaddad
Join Date: Jun 2012
Posts: 7
Rep Power: 14 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Chemkin reader | stefanke | OpenFOAM Pre-Processing | 28 | March 8, 2022 11:16 |
about chemkintofoam | dahlia-2005 | OpenFOAM | 24 | February 19, 2017 04:10 |
how to use chemkinToFoam ? | khalifa | OpenFOAM Running, Solving & CFD | 1 | July 4, 2015 06:09 |
question about chemkinToFoam | skarnani | OpenFOAM | 11 | September 11, 2013 09:07 |