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

FOAM FATAL ERROR Maximum number of iterations exceeded

Register Blogs Community New Posts Updated Threads Search

Like Tree17Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2017, 04:34
Default Solution:
  #41
New Member
 
Omur Icke
Join Date: Apr 2016
Posts: 6
Rep Power: 10
eromir is on a distinguished road
The solution is exactly depends on your mesh quality and BC.

For Mesh quality:
I think you know what it the proper mesh scheme to you problem. CheckMesh and fix it. So i skip this step,

For BC:
If I mention that this restriction, the main composer of this problem pressure value;
It should not be enter as 0. You can use 0.001 instead of 0
And also please look at the K and epsillon value for BC.

If you solve rhoPimpleFoam
you shoul also deep dive to you deltaT, sometime it requires less than 1e-8.
eromir is offline   Reply With Quote

Old   August 24, 2018, 09:51
Default Implementing Brent solver instead of Newton method in thermoI.H
  #42
Member
 
Foad
Join Date: Aug 2017
Posts: 58
Rep Power: 8
foadsf is on a distinguished road
Guys,

I posted a question here in Stackexchange to see if we can get the Brent solver implemented after all! Please take a look . maybe you can help.
foadsf is offline   Reply With Quote

Old   January 3, 2019, 23:13
Default
  #43
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
I have encountered the same error after several iterations of pimple. I tried to decrease the deltaT and modify the BC of k,epsilon. But the error still happen during solving EEqn.

I guess maybe it caused by the calculation of h and T. Can someone give me some hints? Thank you.
calf.Z is offline   Reply With Quote

Old   January 3, 2019, 23:17
Default
  #44
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 7
calf.Z is on a distinguished road
I have encountered the same error after several iterations of pimple. I tried to decrease the deltaT and modify the BC of k,epsilon. But the error still happen during solving EEqn.

I guess maybe it caused by the calculation of h and T. Can someone give me some hints? Thank you.
calf.Z is offline   Reply With Quote

Old   September 26, 2019, 12:10
Default Boundary Conditions
  #45
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
In my case it was boundary conditions.
I solved the problem (no transitory) starting with lower difference of temperature between BCs and increasing it sofetly once the previous solution converged!
Artur.Ant is offline   Reply With Quote

Old   September 26, 2019, 12:14
Default Boundary Conditions
  #46
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11
Artur.Ant is on a distinguished road
In my case it was boundary conditions.
I solved the problem (no transitory) starting with lower difference of temperature between BCs and increasing it sofetly once the previous solution converged!
Artur.Ant is offline   Reply With Quote

Old   February 15, 2022, 05:39
Default
  #47
New Member
 
Joao Coelho
Join Date: Jun 2021
Posts: 23
Rep Power: 4
jcoelho5 is on a distinguished road
Quote:
Originally Posted by foadsf View Post
Guys,

I posted a question here in Stackexchange to see if we can get the Brent solver implemented after all! Please take a look . maybe you can help.
Was there any update on this issue? The link does not work.


I also had the same problem with max iterations. With constant properties, it works, but I need to have tabulated properties for rho (and the only way to have it for rho, is to have it for every other property). Did anyone solve had this problem?

Thanks.
jcoelho5 is offline   Reply With Quote

Old   February 15, 2022, 06:17
Default
  #48
Member
 
Foad
Join Date: Aug 2017
Posts: 58
Rep Power: 8
foadsf is on a distinguished road
Sadly my post was deleted over there �� I copy-pasted the content of my post here in this Gist
foadsf is offline   Reply With Quote

Old   February 13, 2024, 21:42
Default
  #49
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 400
Rep Power: 19
quarkz is on a distinguished road
Hi all,

I'm solving a problem involving flow past heated plate. The iteration problem arises when I add gravity to buoyantSimpleFoam (initial g 0).

When I add gravity = -2 m/s2, it didn't work. However, changing the relaxationFactors of h from 0.99 to 0.3 helped ... to a certain extent.

When I increase g to -3 m/s2, it failed again but the error is:

Negative initial temperature T0

Reducing further to 0.1 helped again.

So this is something that one can try.
quarkz 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
maximum number of iterations solomon FLUENT 7 Today 02:27
Maximum number of iterations exceeded liugx212 OpenFOAM Running, Solving & CFD 3 August 28, 2013 08:09
FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 4 July 30, 2008 10:06
Internal Error: Number of tree levels exceeded ahlo CFX 0 March 4, 2008 13:45
FOAM FATAL ERROR derath OpenFOAM Pre-Processing 1 June 10, 2006 14:20


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