CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Foam::error::printStack(Foam::Ostream&)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2012, 15:35
Default Foam::error::printStack(Foam::Ostream&)
  #1
New Member
 
Warren Lamont
Join Date: Nov 2012
Posts: 5
Rep Power: 4
wlamont is on a distinguished road
I am trying to run OF but I am getting an error after iteration 49. I created a mesh in Ansys mesher and exported to fluent (ascii mesh). I then used fluent3DMeshToFoam to create an OF mesh. I setup the case with appropriate BCs and calculated appropriate k and epsilon. After iteration 49 I get the following error:

Code:
 #0  Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
I have attached the full log file and the checkMesh report. The checkMesh report seems good to me. I understand the error is a floating point error. Likely a divide by zero but I can't seem to get rid of it. Any ideas or thoughts would be very helpful.

Thanks,
Attached Files
File Type: txt log .txt (11.9 KB, 13 views)
File Type: txt checkmesh.txt (4.0 KB, 7 views)

Last edited by wlamont; December 11, 2012 at 18:05. Reason: More details
wlamont is offline   Reply With Quote

Old   December 11, 2012, 15:39
Default removed
  #2
New Member
 
Warren Lamont
Join Date: Nov 2012
Posts: 5
Rep Power: 4
wlamont is on a distinguished road
removed.... thanks

Last edited by wlamont; December 11, 2012 at 16:35.
wlamont is offline   Reply With Quote

Old   December 12, 2012, 07:40
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,173
Rep Power: 16
immortality is on a distinguished road
I have the same problem.how did you fix it?
immortality is offline   Reply With Quote

Old   December 14, 2012, 10:18
Default
  #4
New Member
 
Warren Lamont
Join Date: Nov 2012
Posts: 5
Rep Power: 4
wlamont is on a distinguished road
I still haven't figured out what is wrong. I am still troubleshooting. Any thoughts?
wlamont is offline   Reply With Quote

Old   December 14, 2012, 10:29
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,553
Rep Power: 23
ngj will become famous soon enoughngj will become famous soon enough
Hi Warren,

Well, in the very first time step you have 1001 iterations on the pressure, which is typically the maximum value of iterations unless otherwise stated by the user.

This results in a very large local mass conservation error (I never use steady state solvers, so have no idea if that is typically allowed) and secondly the values for epsilon, still in t = 41, is by far too large.

I conclusion: I would suspect that your boundary conditions are not sane or you are using an initial internal field, which is incorrect. Another advice typically given on this forum is to use "upwind" for all numerical schemes. This should stabilise the simulation if the divergence is related to the choice of scheme.

Kind regards,

Niels
ngj is online now   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



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