|
[Sponsors] |
Maximum number of iterations exceeded+ thermoI.H |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2021, 09: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. |
|
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 07:56 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 18:17 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 01:47 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 13:12 |