CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Maximum number of iterations exceeded+ thermoI.H

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2021, 09:51
Default Maximum number of iterations exceeded+ thermoI.H
  #1
ami
New Member
 
ami
Join Date: Feb 2010
Posts: 4
Rep Power: 16
ami is on a distinguished road
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.
ami is offline   Reply With Quote

Old   June 25, 2021, 19:24
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
could be a naive question, but: have you recompiled the items you have modified?
HPE is offline   Reply With Quote

Old   June 28, 2021, 09:54
Default
  #3
ami
New Member
 
ami
Join Date: Feb 2010
Posts: 4
Rep Power: 16
ami is on a distinguished road
Thank you for your reply. Yes, absolutely. I compile the entire themophysicalModels folder.
ami is offline   Reply With Quote

Old   July 1, 2021, 16:01
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
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.
HPE is offline   Reply With Quote

Reply

Tags
iterations exceeded, thermoi.h


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
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


All times are GMT -4. The time now is 13:45.