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

convert chemkin file ino format

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2016, 12:59
Default convert chemkin file ino format
  #1
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,263
Blog Entries: 1
Rep Power: 20
nimasam is on a distinguished road
i download the chemkin file from here for iso-octane
but i can not convert it in OpenFOAM format using chemkinToFoam
Quote:
chemkinToFoam ic8_ver3_mech.txt prf_v3_therm_dat.txt chemistry thermo
the error line is:
Quote:
--> FOAM FATAL ERROR:
while reading thermodynamic data specie formula on line 2
' expected <word><label><word><label><word><label><word><labe l> (4(2A1,I3)) but found '"0"0.000

From function chemkinReader::lex()
in file chemistryReaders/chemkinReader/chemkinLexer.L at line 1517.

FOAM exiting
i tested openfoam 220,301,3+
__________________
Telegram channel (https://telegram.me/openfoam4Iranian)
My Weblog in Persian(http://openfoam.blogfa.com/)
My Personal Website (http://nimasamkhaniani.ir/)
nimasam is offline   Reply With Quote

Old   July 11, 2016, 06:17
Default
  #2
New Member
 
Akash
Join Date: Jun 2016
Location: India
Posts: 2
Rep Power: 0
asjamwal94 is on a distinguished road
Hello,
I tried it and was able to solve this error by using THERMO ALL instead of THERMO in Thermodynamic parameters file. But then I am getting another error.
Quote:
--> FOAM FATAL ERROR:
while reading thermodynamic specie name on line 3
'H 120186H 1 G 0300.00 5000.00 1000.00 1

From function chemkinReader::lex()
in file chemistryReaders/chemkinReader/chemkinLexer.L at line 1517.

FOAM exiting
using OF 3.0.1
asjamwal94 is offline   Reply With Quote

Old   September 9, 2016, 11:02
Default
  #3
New Member
 
Fabrizio
Join Date: Aug 2016
Posts: 4
Rep Power: 5
fabri is on a distinguished road
Hi to all,
I have the same problem.
did you solve it?

thanks in advance
Fabri
fabri is offline   Reply With Quote

Old   September 15, 2016, 06:47
Default
  #4
New Member
 
Akash
Join Date: Jun 2016
Location: India
Posts: 2
Rep Power: 0
asjamwal94 is on a distinguished road
Yes.

I copied all the data from these files to the chemkin files given in one of the the tutorial cases of ChemFoam. Can't think of any reason for this. Hope it works for you as well.

Regards!
asjamwal94 is offline   Reply With Quote

Old   December 29, 2016, 16:01
Default
  #5
DMM
New Member
 
mohammad mansourian
Join Date: Dec 2016
Location: Iran-Shiraz
Posts: 2
Rep Power: 0
DMM is on a distinguished road
hi guys
if you have this problem, you should change reaction file only. because in new format you should put all of third body reactions at the end of this file. in old format third body reactions are in middle of file.
I attach a new format file.
Attached Files
File Type: txt grimech30.txt (28.1 KB, 73 views)
DMM is offline   Reply With Quote

Reply

Tags
chemkin, chemkintofoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 11:29.