Maximum number of iterations exceeded+ thermoI.H
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. |
could be a naive question, but: have you recompiled the items you have modified?
|
Thank you for your reply. Yes, absolutely. I compile the entire themophysicalModels folder.
|
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.
|
All times are GMT -4. The time now is 23:48. |