CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   FOAM FATAL ERROR: Maximum number of iterations exceeded (https://www.cfd-online.com/Forums/openfoam/88105-foam-fatal-error-maximum-number-iterations-exceeded.html)

Tarak May 9, 2011 02:53

FOAM FATAL ERROR: Maximum number of iterations exceeded
 
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

wschosta July 14, 2011 17:10

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!

joel.lehikoinen July 15, 2011 02:03

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.

baila12 July 16, 2013 08:53

Quote:

Originally Posted by joel.lehikoinen (Post 316206)
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?

sihaqqi August 28, 2013 08:27

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

wouter August 28, 2013 17:50

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

gdum November 8, 2017 09:19

Hi,

Did you guys find a solution to this problem?

Thank you,

Gui


All times are GMT -4. The time now is 17:59.