number of iterations exceeded From function specieThermo
Hi,
I am trying to solve a case with sonicFoam with time dependent BC (INLET ={p =45Mpa-->101325 Pa, U=1000-->0 and T 2000k-->300K} and outlet = zerogradient for all fields). After some iterations i got this error message: Maximum number of iterations exceeded#0 Foam::error::printStack(Foam::Ostream&) in "/home/moumen/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/moumen/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::ePsiThermo<Foam::pureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::calculate() in "/home/moumen/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" #3 Foam::ePsiThermo<Foam::pureMixture<Foam::constTran sport<Foam::specieThermo<Foam::hConstThermo<Foam:: perfectGas> > > > >::correct() in "/home/moumen/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libbasicThermophysicalModels.so" #4 main in "/home/moumen/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/sonicFoam" #5 __libc_start_main in "/lib/libc.so.6" #6 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116 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/dm2/henry/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 68. FOAM aborting Aborted Has anyone experienced an error like the above? Any suggestions on what it might be? Any help will be appreciated Best regards. |
Hi,
this problem is quite common. Have a look through the forum. The problem is most probably related to pressure field. Have a look at it at a time step before the error occurs. I guess you have negative pressures, so the thermophysical library crashes. Regards, Christian |
thanks for your response,
If so how can i fix that! |
Hi have solved the problem by changing the controlDict file:
Quote:
Quote:
|
All
I have the same issue and I have been referring the forum but cannot find a solution that can get rid of this error for me. I have tried Alessandro's method but to no avail. Alex, kindly advise what you did to resolve max number of iterations exceeded. I shall be very obliged. Regards |
All times are GMT -4. The time now is 18:00. |