|
[Sponsors] |
Maximum number of iterations exceeded+ thermoI.H |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2021, 10:51 |
Maximum number of iterations exceeded+ thermoI.H
|
#1 |
New Member
ami
Join Date: Feb 2010
Posts: 4
Rep Power: 16 |
Hello everybody,
I would appreciate your help with this question. I am getting a "Maximum number of iterations exceeded" error. I figured out it is mainly due to the quality of my mesh. However, when I was trying to find more details, I started applying slight modifications to src/themophysicalModels/specie/lnInclude/thermoI.H file. The part I cannot wrap my head around it is that when I add any line, for example, Info << "This is the value of T0" << T0 << endl; to the if (iter++ > maxIter_) { FatalErrorInFunction ... } OpenFoam completely ignores it and does not print the line [Info << "This is the value of T0" << T0 << endl; ]; however it still gives me the fatal error. Moreover, the value of T0 printed out within the FatalErrorInFunction .. abort(FatalError); is different from the T0 passed to the function from src/themophysicalModels/basic/psiThermo/hePsiThermo.C Thank you for your help. |
|
June 25, 2021, 20:24 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
could be a naive question, but: have you recompiled the items you have modified?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
June 28, 2021, 10:54 |
|
#3 |
New Member
ami
Join Date: Feb 2010
Posts: 4
Rep Power: 16 |
Thank you for your reply. Yes, absolutely. I compile the entire themophysicalModels folder.
|
|
July 1, 2021, 17:01 |
|
#4 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
sorry - I don't know the answer, then. But please double check the compilation or the utility using the right modified file by adding few extra Infos around.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
Tags |
iterations exceeded, thermoi.h |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |