|
[Sponsors] |
Species not found when using reduced H2 mechanism with reactingFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2024, 11:07 |
Species not found when using reduced H2 mechanism with reactingFoam
|
#1 |
New Member
Ivana P.
Join Date: Jan 2024
Location: Stockholm, SE
Posts: 2
Rep Power: 0 |
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 |
|
January 30, 2024, 03:03 |
|
#2 |
New Member
Thomas B.
Join Date: Sep 2023
Location: Stuttgart, DE
Posts: 2
Rep Power: 0 |
Any updates on this topic? I'm having the same exact problem. There are other threads discussing this issue and none have gotten resolved.
If someone has already encountered this problem, could you give an hint on how you came up with a solution? Any help would be much appreciated. Best Regards, Thomas. |
|
February 1, 2024, 03:29 |
|
#3 |
New Member
Thomas B.
Join Date: Sep 2023
Location: Stuttgart, DE
Posts: 2
Rep Power: 0 |
Hi There!
Found the solution for this problem. I had to edit the "chemistryPropertiesFlame.cfg" file to exclude CH4 from the initiating species. Using "$ grep -r CH4 *" wasn't getting any apearences inside the case folder, as this file is in "$FOAM_ETC/caseDicts/solvers/chemistry/TDAC/" directory. I don't know about the .com version, but with the foundation version i had to copy the "chemistryPropertiesFlame.cfg" file to the constant folder and "#include chemistryPropertiesFlame.cfg" in the chemistryProperties file. I'm using OpenFOAM v10 form the foundation version. Greetings, Thomas. |
|
February 1, 2024, 04:29 |
|
#4 |
New Member
Ivana P.
Join Date: Jan 2024
Location: Stockholm, SE
Posts: 2
Rep Power: 0 |
Thank you very much Thomas!! That solved also my issue.
Cheers! |
|
Tags |
combustion, hashtable, hydrogen, openfoam, reactingfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Installing on Ubuntu 18.04 | samiam1000 | OpenFOAM Installation | 11 | April 27, 2020 01:01 |
[OpenFOAM.com] Issue configuring ./makeParaView - Ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 2 | April 20, 2020 14:50 |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 16:11 |
Question about reaction mechanism in ReactingFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 6 | December 13, 2016 06:09 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |