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

Species not found when using reduced H2 mechanism with reactingFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ivpa
  • 1 Post By tomi24

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 29, 2024, 10:07
Arrow Species not found when using reduced H2 mechanism with reactingFoam
  #1
New Member
 
ivpa's Avatar
 
Ivana P.
Join Date: Jan 2024
Location: Stockholm, SE
Posts: 2
Rep Power: 0
ivpa is on a distinguished road
I was trying to simulate the usual Sandia D's flame from tutorial but using H2 instead CH4. With GRI3.0 mech all worked out just fine. As solver I chose following the tutorial reactingFoam. Now I was aiming at simulating it with a reduced mechanism: https://chemistry.cerfacs.fr/en/chem...ins-mechanism/.

Unfortunately, this does not work anymore. I've been trying to converse the original mech from .cti to .yaml and then to Chemkin. Finally, a last conversion from ck to foam is carried out. After this last step, some minor changes (e.g. spacing, THERMO to THERMO ALL) have to be applied so OF does not complain.

In any case, I still get the following error log:

...
Selecting combustion model EDC
Selecting chemistry solver
{
solver ode;
method chemistryModel;
}


odeChemistryModel: Number of species = 10
Selecting chemistry reduction method DAC



--> FOAM FATAL ERROR:
CH4 not found in table. Valid entries:
10
(
OH
KOH
N2
K
O2
H2
HO2
O
H2O
H
)



From function const T& Foam::HashTable<T, Key, Hash>:perator[](const Key&) const [with T = int; Key = Foam::word; Hash = Foam::string::hash]
in file /home/ubuntu/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/HashTableI.H at line 126.


FOAM exiting ...



I've grepped through all the directories in order to spot and delete eventual places where the missing species is, but the error keeps on appearing.

Any help is more than appreciated


Ps. I am using OF 10 from OF foundation
tomi24 likes this.
ivpa is offline   Reply With Quote

 

Tags
combustion, hashtable, hydrogen, openfoam, reactingfoam


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
[OpenFOAM.com] Installing on Ubuntu 18.04 samiam1000 OpenFOAM Installation 11 April 27, 2020 00:01
[OpenFOAM.com] Issue configuring ./makeParaView - Ubuntu 16.04 bjdarrer OpenFOAM Installation 2 April 20, 2020 13:50
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 15:11
Question about reaction mechanism in ReactingFoam Dan1788 OpenFOAM Running, Solving & CFD 6 December 13, 2016 05:09
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41


All times are GMT -4. The time now is 17:49.