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, 05: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, 10:51
Default Implementing Brent solver instead of Newton method in thermoI.H
  #42
Member
 
Foad
Join Date: Aug 2017
Posts: 58
Rep Power: 9
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 4, 2019, 00:13
Default
  #43
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8
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 4, 2019, 00:17
Default
  #44
Senior Member
 
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8
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, 13:10
Default Boundary Conditions
  #45
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 12
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, 13:14
Default Boundary Conditions
  #46
Member
 
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 12
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, 06:39
Default
  #47
New Member
 
Joao Coelho
Join Date: Jun 2021
Posts: 23
Rep Power: 5
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, 07:17
Default
  #48
Member
 
Foad
Join Date: Aug 2017
Posts: 58
Rep Power: 9
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, 22:42
Default
  #49
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
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 April 25, 2024 03:27
Maximum number of iterations exceeded liugx212 OpenFOAM Running, Solving & CFD 3 August 28, 2013 09:09
FOAM FATAL IO ERROR msrinath80 OpenFOAM Running, Solving & CFD 4 July 30, 2008 11:06
Internal Error: Number of tree levels exceeded ahlo CFX 0 March 4, 2008 14:45
FOAM FATAL ERROR derath OpenFOAM Pre-Processing 1 June 10, 2006 15:20


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