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

FOAM FATAL ERROR: Maximum number of iterations exceeded

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 105
Rep Power: 6
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: 6
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: 6
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: 4
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: 109
Rep Power: 6
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: 130
Rep Power: 8
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Min/max rho tH3f0rC3 OpenFOAM 7 February 23, 2013 06:37
Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Mesh Utilities 41 January 17, 2013 03:43
icoLagrangianFoam OF1.6 myNewParticleSolver heavy_user OpenFOAM 16 February 11, 2012 06:15
Forces in OF15 richard OpenFOAM Running, Solving & CFD 166 September 17, 2011 03:24
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24


All times are GMT -4. The time now is 06:12.