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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2012, 14:35
Default Foam::error::printStack(Foam::Ostream&)
  #1
New Member
 
Warren Lamont
Join Date: Nov 2012
Posts: 5
Rep Power: 13
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 17:05. Reason: More details
wlamont is offline   Reply With Quote

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

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

Old   December 12, 2012, 06:40
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
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, 09:18
Default
  #4
New Member
 
Warren Lamont
Join Date: Nov 2012
Posts: 5
Rep Power: 13
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, 09:29
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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 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



All times are GMT -4. The time now is 00:07.