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

Foam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2011, 03:53
Default Foam error
  #1
Member
 
Join Date: Jul 2011
Posts: 42
Rep Power: 14
A.D.E is on a distinguished road
Dear all,


I am running a Subsonic case using sonicFoam in 4 processors and I get this error message:




--> FOAM FATAL ERROR:
[0] Maximum number of iterations exceeded
[0]
[0] From function specieThermo<Thermo>::T(scalar f, scalar T0, scalar (specieThermo<Thermo>::*F)(const scalar) const, scalar (specieThermo<Thermo>::*dFdT)(const scalar) const) const
[0] in file /home/opencfd/OpenFOAM/OpenFOAM-2.0.1/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 67.
[0]
FOAM parallel run aborting
[0]
[0] #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1 Foam::error::abort() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2 Foam::ePsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::eConstThermo<Foam:: perfectGas> > > > >::calculate() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
[0] #3 Foam::ePsiThermo<Foam:ureMixture<Foam::constTran sport<Foam::specieThermo<Foam::eConstThermo<Foam:: perfectGas> > > > >::correct() in "/opt/openfoam201/platforms/linux64GccDPOpt/lib/libbasicThermophysicalModels.so"
[0] #4
[0] in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/sonicFoam"
[0] #5 __libc_start_main in "/lib/libc.so.6"
[0] #6
[0] in "/opt/openfoam201/platforms/linux64GccDPOpt/bin/sonicFoam"


Does anyone know the reason why p { margin-bottom: 0.21cm;and how can I fix it ?


Thank you,


Ade
A.D.E is offline   Reply With Quote

Old   November 28, 2011, 15:02
Default
  #2
Senior Member
 
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 15
adhiraj is on a distinguished road
The question is not clear to me. Do you want to know why the code crashed, or is it something about the p field?
OpenFOAM solves the energy equation for Enthalpy (h/hs) or internal energy(e). Then it needs to invert a relation like

Quote:
e=e(T)
or
Quote:
h=h(T)
or
Quote:
hs=hs(T)
This is done by a Newton iteration method. If the method does not converge after a reasonable number of iterations, you get the error you mentioned.
As to why you are getting this error, it can be a lot of things, so I can't tell right away why the number of iterations is exceeded.
Hope that helps.
adhiraj 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
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
POSDAT problem piotka STAR-CD 4 June 12, 2009 08:43
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 02:36.