|
[Sponsors] |
October 11, 2022, 23:43 |
Openfoam : ch4-air combustion
|
#1 |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4 |
hi,I am a new openfoam user, I use openfoam10 and run tutorial SandiaD_LTS, it's Ok。then, I changed the mechanism from gri30 to a 2-step mehcanism:
CH4 + 2O2 => CO2 + 2H2O 3e13 0.0 47e3 FORD / CH4 0.7 / FORD / O2 0.8 / . when run reactingFoam, the error happens: --> FOAM FATAL ERROR: HO2 not found in table. Valid entries: 5 ( N2 CO2 O2 CH4 H2O ) 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. do you know the reason? |
|
October 12, 2022, 02:13 |
|
#2 |
Member
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4 |
This error means, that somewhere in the code the HO2 species is needed, but only 5 species are initialized
I would guess you either have a HO2 file in your 0/ directory or you forgot to delete HO2 entry somewhere in the initialization files in the constant directory. Grep your Case folders for "HO2" and check if there are valid entries left. |
|
October 12, 2022, 09:38 |
|
#3 | |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4 |
Quote:
|
||
October 12, 2022, 09:41 |
|
#4 | |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4 |
Quote:
chemistryType { solver ode; method standard; } chemistry on; initialChemicalTimeStep 1e-7; //maxChemicalTimeStep 1e-3; odeCoeffs { solver Rosenbrock34; absTol 1e-8; relTol 1e-1; } when I use Rosenbrock34, the calculation is very slow when I use seulex, the calcualtion is fast, but it's easy to divergence |
||
October 12, 2022, 14:36 |
|
#5 |
Senior Member
|
Possibly you find information by looking into modern implementation such as https://github.com/blttkgl/DLBFoam-1.0
|
|
October 12, 2022, 21:35 |
|
#6 | |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 4 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
OpenFOAM 5.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 11 | June 6, 2018 00:48 |
Create a solver for biomass bale combustion in Openfoam | mankaran90 | OpenFOAM Programming & Development | 0 | December 29, 2017 11:13 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
mechanism for non-premixed methane air combustion | a.Asadi | OpenFOAM Running, Solving & CFD | 7 | October 14, 2016 17:02 |