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

FOAM FATAL ERROR: Maximum number of iterations exceeded

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2011, 02:53
Default FOAM FATAL ERROR: Maximum number of iterations exceeded
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
Tarak is on a distinguished road
Hii,

I am running rhoPisoFoam for a duct using oneeqeddy LES model. After a few iterations I get the following error:


--> FOAM FATAL ERROR:
Maximum number of iterations exceeded

From function specieThermo<thermo>::T(scalar f, scalar T0, scalar (specieThermo<thermo>::*F)(const scalar) const, scalar (specieThermo<thermo>::*dFdT)(const scalar) const) const
in file /home/44792/OpenFOAM/OpenFOAM-1.7.1/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 67.

FOAM aborting

Can someone please let me know how to tackle this?

Thanks,
Tarak
Tarak is offline   Reply With Quote

Old   July 14, 2011, 17:10
Default
  #2
Member
 
Walter Schostak
Join Date: May 2011
Posts: 35
Rep Power: 14
wschosta is on a distinguished road
Hi Tarak,

I hope that you're not still stuck on this but if you are, my guess would be to go to
Quote:
/home/44792/OpenFOAM/OpenFOAM-1.7.1/src/thermophysicalModels/specie/lnInclude/specieThermoI.H
and see what's on line 67.

Past that I don't know. I'm guessing you built your own test case, you may have accidentally done something that's causing the iteration counter to go out of control (but I have no concept of how you would do that).

Hopefully you've already solved it!
wschosta is offline   Reply With Quote

Old   July 15, 2011, 02:03
Default
  #3
New Member
 
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 14
joel.lehikoinen is on a distinguished road
I've always been able to solve this issue by checking my boundary and initial conditions, twiddling around with the underrelaxation coefficients etc. I'm not sure, but I think this is a convergence problem when you're solving for enthalpy. Also if you're running a compressible case, make sure you have the correct coefficients in correct units in the correct order for all the T-dependent quantities! A bogus density can crash your simulation very easily.
joel.lehikoinen is offline   Reply With Quote

Old   July 16, 2013, 08:53
Default
  #4
New Member
 
Cay Myers
Join Date: Jun 2013
Posts: 14
Rep Power: 12
baila12 is on a distinguished road
Quote:
Originally Posted by joel.lehikoinen View Post
I've always been able to solve this issue by checking my boundary and initial conditions, twiddling around with the underrelaxation coefficients etc. I'm not sure, but I think this is a convergence problem when you're solving for enthalpy. Also if you're running a compressible case, make sure you have the correct coefficients in correct units in the correct order for all the T-dependent quantities! A bogus density can crash your simulation very easily.
How do you go about making sure to have the correct coefficients in correct units in the correct order for all T-dependent quantities?
baila12 is offline   Reply With Quote

Old   August 28, 2013, 08:27
Default
  #5
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 15
sihaqqi is on a distinguished road
Hello Joel

How did you resolve it..I have the same issue with rhoPimpleFoam and have been trying to get rid of this error for the last week. Kindly respond. I shall be very grateful.

Regards
sihaqqi is offline   Reply With Quote

Old   August 28, 2013, 17:50
Default
  #6
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 17
wouter is on a distinguished road
Hello All,

The same problem occured with me using compressibleTwoPhaseEulerFoam. I found that the iteration over the temperature tested for negative absolute temperatures. I will check the temperature dependencies, but my problem was not solved yet.
Thanks for the advice though.

Best
wouter
wouter is offline   Reply With Quote

Old   November 8, 2017, 09:19
Default
  #7
New Member
 
Guillaume
Join Date: Oct 2017
Posts: 8
Rep Power: 8
gdum is on a distinguished road
Hi,

Did you guys find a solution to this problem?

Thank you,

Gui
gdum is offline   Reply With Quote

Reply


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
icoLagrangianFoam OF1.6 myNewParticleSolver heavy_user OpenFOAM 23 June 2, 2020 02:18
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 09:48
Forces in OF15 richard OpenFOAM Running, Solving & CFD 180 July 9, 2018 10:54
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08


All times are GMT -4. The time now is 15:43.