CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

import chemkin mechanism into fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Weiqiang Liu
  • 1 Post By Weiqiang Liu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2018, 12:20
Default import chemkin mechanism into fluent
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Hi all ,

I am trying to import a n-dodecane mechanism into fluent. However, the error occurs like 'error while trying to read species at line no. 15'

I opened the mechanism file in txt format and found line no. 15 has the species below:

CH2* CH3 CH4 HCO CH2O

I guess it's CH2* that causes this error. So I changed this species into CH2(S) and error still happens.

I wonder how can this species be changed so error won't happen?

thanks a lot
Attached Files
File Type: txt n-dodecane .txt (25.4 KB, 61 views)

Last edited by Weiqiang Liu; September 4, 2018 at 15:42. Reason: mechanism file should be attached
Weiqiang Liu is offline   Reply With Quote

Old   September 4, 2018, 14:00
Default
  #2
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
may be just remove asterisk and add a letter, like aCH2 (in order to still distinguish from CH2 if such species is already included). Obviously you got to change it everywhere in the mechanism reactions as well as in thermo and transport file.
Micael is offline   Reply With Quote

Old   September 4, 2018, 14:38
Default
  #3
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by Micael View Post
may be just remove asterisk and add a letter, like aCH2 (in order to still distinguish from CH2 if such species is already included). Obviously you got to change it everywhere in the mechanism reactions as well as in thermo and transport file.
thanks very much. I'll try this
Weiqiang Liu is offline   Reply With Quote

Old   September 4, 2018, 15:17
Default
  #4
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by Micael View Post
may be just remove asterisk and add a letter, like aCH2 (in order to still distinguish from CH2 if such species is already included). Obviously you got to change it everywhere in the mechanism reactions as well as in thermo and transport file.
hello,

I changed CH2* into aCH2 and the corresponding species in reactions, thermo and transport file. Still same error occurs. The version of Fluent I am using is Ansys Fluent 18.2.

have you ever met this error before?

thanks
Weiqiang Liu is offline   Reply With Quote

Old   September 4, 2018, 15:38
Default
  #5
Senior Member
 
Micael
Join Date: Mar 2009
Location: Canada
Posts: 157
Rep Power: 18
Micael is on a distinguished road
can you attach mechanism file
Micael is offline   Reply With Quote

Old   September 4, 2018, 15:42
Default
  #6
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by Micael View Post
can you attach mechanism file
hello,

mechanism has been attached .thanks
Weiqiang Liu is offline   Reply With Quote

Old   September 5, 2018, 12:38
Default
  #7
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by Micael View Post
can you attach mechanism file
hello,

I changed the CH2* into CH2star in all mechanism , thermo and transport file. the error about mechanism does not occur. however, it says invalid thermo data about CH2star.

it's very strange.
Weiqiang Liu is offline   Reply With Quote

Old   September 18, 2019, 04:57
Default
  #8
New Member
 
Shyamal Bhunia
Join Date: May 2014
Posts: 9
Rep Power: 12
shyamal is on a distinguished road
Hello Weiqiang Liu,

Could you able figure out the error? I am facing this error "Unexpected word, , in CHEMKIN file, at line. no. 1". Wish you can give some input.
shyamal is offline   Reply With Quote

Old   September 18, 2019, 15:58
Default
  #9
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by shyamal View Post
Hello Weiqiang Liu,

Could you able figure out the error? I am facing this error "Unexpected word, , in CHEMKIN file, at line. no. 1". Wish you can give some input.
it means you used wrong word at line no.1 . Just check the rules in CHEMKIN user manual. You will find the error
Weiqiang Liu is offline   Reply With Quote

Old   September 19, 2019, 03:20
Default
  #10
New Member
 
Shyamal Bhunia
Join Date: May 2014
Posts: 9
Rep Power: 12
shyamal is on a distinguished road
The line is commented and it has nothing in it. This may be due to hidden new line command (\n) in the chemkin.inp which is not explicitly showing. I have also tried with reducing the chemkin to only two number of reactions, where it shows the same error.
shyamal is offline   Reply With Quote

Old   September 19, 2019, 13:02
Default
  #11
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by shyamal View Post
The line is commented and it has nothing in it. This may be due to hidden new line command (\n) in the chemkin.inp which is not explicitly showing. I have also tried with reducing the chemkin to only two number of reactions, where it shows the same error.
well, where did you get that mechanism file? you should try to download those files from official web of those authors or from chemkin installation folder
Weiqiang Liu is offline   Reply With Quote

Old   September 19, 2019, 14:01
Default
  #12
New Member
 
Shyamal Bhunia
Join Date: May 2014
Posts: 9
Rep Power: 12
shyamal is on a distinguished road
Dear sir,

There is another research flow in our group, they work on this kind of detail gas-phase chemistry and their reduction. I get the chemkin.inp and thermo.dat files from there. This is for ethylene flame. These files work very well with their Chemkin simulations. Thank you.
shyamal is offline   Reply With Quote

Old   September 19, 2019, 14:56
Default
  #13
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by shyamal View Post
Dear sir,

There is another research flow in our group, they work on this kind of detail gas-phase chemistry and their reduction. I get the chemkin.inp and thermo.dat files from there. This is for ethylene flame. These files work very well with their Chemkin simulations. Thank you.
yes, it happens sometimes. For my case, I replaced my mechanism form the author's website. Then everything is right and error never happens again. I don't know why.

However, there might be some difference between chemkin files and fluent files.
shyamal likes this.
Weiqiang Liu is offline   Reply With Quote

Old   September 28, 2019, 08:23
Default
  #14
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Quote:
Originally Posted by Weiqiang Liu View Post
hello,

I changed the CH2* into CH2star in all mechanism , thermo and transport file. the error about mechanism does not occur. however, it says invalid thermo data about CH2star.

it's very strange.
Dear Liu,
Have you figured out what exactly the problem? I also met this type of erro,also I change the name of the "wrong " species in all the species block,thermo block and reaction block , it still doesn't work.
dli is offline   Reply With Quote

Old   September 28, 2019, 10:35
Default
  #15
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by dli View Post
Dear Liu,

Have you figured out what exactly the problem? I also met this type of erro,also I change the name of the "wrong " species in all the species block,thermo block and reaction block , it still doesn't work.


hi,

If I remember right, I changed all CH2* into CH2(s). Than I copied thermo data of CH2(s) from GRI 3.0 database. Finally everything worked.

You can try that

Best
Jovin likes this.
Weiqiang Liu is offline   Reply With Quote

Old   April 1, 2020, 08:02
Default
  #16
New Member
 
Mohammed
Join Date: Mar 2020
Posts: 4
Rep Power: 6
Mohammed Alsaffar is on a distinguished road
what is the name of this group plz.?
Mohammed Alsaffar is offline   Reply With Quote

Old   April 1, 2020, 08:04
Default
  #17
New Member
 
Mohammed
Join Date: Mar 2020
Posts: 4
Rep Power: 6
Mohammed Alsaffar is on a distinguished road
Quote:
Originally Posted by shyamal View Post
Dear sir,

There is another research flow in our group, they work on this kind of detail gas-phase chemistry and their reduction. I get the chemkin.inp and thermo.dat files from there. This is for ethylene flame. These files work very well with their Chemkin simulations. Thank you.
what is the name of this group plz.?
Mohammed Alsaffar is offline   Reply With Quote

Old   April 18, 2020, 07:23
Default
  #18
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by Mohammed Alsaffar View Post
what is the name of this group plz.?
hi
Bro, I don't know the group
Weiqiang Liu is offline   Reply With Quote

Reply

Tags
chemkin mechanism, species reading error


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
Exporting Chemkin Mechanism into fluent skumar112 ANSYS 4 February 9, 2021 11:57
unit conversion of pre-exponential factor A of chemkin mechanism in Fluent newbie FLUENT 5 November 14, 2010 06:44
mesh missing after import in fluent morteza08 FLUENT 0 July 23, 2010 03:22
import fluent cas.gz files bramv101 STAR-CCM+ 0 September 23, 2009 09:28
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08


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