|
[Sponsors] |
problem with converting chemkin file into OpenFoam format |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 9, 2022, 16:58 |
problem with converting chemkin file into OpenFoam format
|
#1 |
Member
Amirreza Niazmehr
Join Date: Nov 2018
Posts: 40
Rep Power: 7 |
hi guys, I hope that you are doing well
I stuck in converting my mechanisms from Chemkin format into OpenFoam format. You can find my 3 chemkin files in attachment. When I use chemkintofoam comand to convert the files to openFOAM format, I get the error: --> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'N2' on line 1 and ending at line 50" file: trans_chemkin.dat at line 50. From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 168. I tried different tricks but no one works till now Does any body any solution for that? Thanks in advance guys |
|
January 10, 2022, 07:54 |
|
#2 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 69
Rep Power: 17 |
Dear Amirreza,
I suspect that you will never be able to process the file trans_chemkin.dat of your chemical mechanism. It seems to contain parameters for transport properties related to the Lennard-Jones potentials (no headline is included that specifies the content), a method to compute transport properties that I think has been not implemented in the standard version of openFoam. If you have a look at the tutorials in the combustion directory, chemFoam application, you can find several examples of the use of chemToFoam (see the content of Allrun scripts). You will discover that the transportProperties files actually do not contain information. To process your chemkin file just substitute this file to your trans_chemkin.dat and be aware that a different procedure must be done for the computation of transport properties as done, for example, in the tutorial combustion/reactingFoam/RAS/DLR_A_LTS where only H2 and CO2 have specific transport properties. Hoping this will help you. Best regards, Franco |
|
January 10, 2022, 09:01 |
|
#3 |
Member
Amirreza Niazmehr
Join Date: Nov 2018
Posts: 40
Rep Power: 7 |
Thanks alot dear Franco for your reply.
You are completely right, that was also a question for me that why these transport files do not contain information I have just one question, how can I understand that which species have specific transport properties for my mechanism? I'm running SandiaD_LTS and when I check the transportProperties file in the directory, I see also only H2 and CO2 have specific transport properties. But how can I find it for my mechanism and change it accordingly? Do you have probably any idea? Thanks again Last edited by Amirreza_pro; January 11, 2022 at 02:50. |
|
January 10, 2022, 12:39 |
|
#4 | |
Member
Amirreza Niazmehr
Join Date: Nov 2018
Posts: 40
Rep Power: 7 |
Quote:
You are completely right, that was also a question for me that why these transport files do not contain information I have just one question, how can I understand that which species have specific transport properties for my mechanism? I'm running SandiaD_LTS and when I check the transportProperties file in the directory, I see also only H2 and CO2 have specific transport properties. But how can I find it for my mechanism and change it accordingly? Do you have probably any idea? Thanks again Last edited by Amirreza_pro; January 11, 2022 at 02:49. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |