CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Chemkin TO Foam Link Issue.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2020, 00:58
Default Chemkin TO Foam Link Issue.
  #1
New Member
 
Sriz
Join Date: May 2020
Posts: 7
Rep Power: 6
Sadik is on a distinguished road
Hello All,
I am running a case (In OF-2.3.1) using a user defined solver which works similar to reactingFoam with some added feature, I am trying to link Chemkin file by converting chemkinToFoam command but I keep getting an Error as Attached in the picture below.
I have used Thermo all as specified in some older discussion but that does not help.
Can someone please look into the chemkin file and help me on how I can convert it. I have attached the link to Chemkin file and error photo for reference.

https://drive.google.com/drive/folde...c6?usp=sharing



https://drive.google.com/drive/folde...uB?usp=sharing

Also I tried using the Chemkin file available in OpenFOam Chemfoam Gri mech 3, I was successful in converting that file to OpenFoam Format but when I run the simulation I get an error as shown in image link below.


https://drive.google.com/drive/folde...Zl?usp=sharing


Can some please look into this and let me know what is going wrong in this.


Thanks in advance.
Sadik is offline   Reply With Quote

Old   June 15, 2020, 01:40
Default
  #2
Senior Member
 
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16
adhiraj is on a distinguished road
Hello,

You need to run dos2unix on these files before using them.

And upon looking at the files you shared, it seems you are using the code and test problems that I published last year. So I am curious: what is your target configuration?
adhiraj is offline   Reply With Quote

Old   June 15, 2020, 14:49
Default
  #3
New Member
 
Sriz
Join Date: May 2020
Posts: 7
Rep Power: 6
Sadik is on a distinguished road
Hello,
Thank you very much, It works once I convert it to unix format,I should have checked.
Yes these are your cases and code developed by you. I was trying to check if the source code and lib complied properly and works as it should with the test case. I have sent you a private message about the work.
Thank you so much for your help!
Sadik is offline   Reply With Quote

Old   June 15, 2020, 17:10
Default
  #4
Senior Member
 
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16
adhiraj is on a distinguished road
Yes, I thought I recognized the files.
The latest version of the code is located here:
https://github.com/adhiraj-dasgupta/...edContribOF23x

I recommend that you start with the low-Mach number solver.

If you have questions, I will be happy to answer them in a new thread.
adhiraj is offline   Reply With Quote

Old   June 17, 2020, 00:36
Default
  #5
New Member
 
Sriz
Join Date: May 2020
Posts: 7
Rep Power: 6
Sadik is on a distinguished road
I am using the LM number model, Also I did compile and ran a case with the setup you had to make sure that everything was compiled properly and for premixed 1 D simulation of phi 0.7, I got SL = 0.185 m/s which matches to your publication, so I can use the model for my work.

I will stay in touch with you, Thanks once again.
Sadik is offline   Reply With Quote

Reply

Tags
chemkintofoam


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 08:49
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 08:53
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 09:42.