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

The famous floating point exception

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 27, 2013, 15:38
Unhappy The famous floating point exception
  #1
New Member
 
Cris
Join Date: Feb 2013
Posts: 4
Rep Power: 4
Schroedinger.Cat.AintHere is on a distinguished road
Hi all,

I have been working with OpenFoam for a while and now I have encountered for the 1st time the famous floating point exception error.

Currently I am working with the DSMC solver with a mesh imported from Ansys. I convert the mesh via the fluentMeshToFoam and then as routine I have done the checkMesh, which did not report any error.

So, I run my dsmcFoam solver without any problems until it is reached the write interval. As soon it is reached this write interval, the simulation crashes.

I really do not know what is the cause of this error , any clue ???

I attached a *.txt file with the output error.

Regards,
Chris
Attached Files
File Type: txt Famous_floating_point_error.txt (18.4 KB, 7 views)
Schroedinger.Cat.AintHere is offline   Reply With Quote

Old   June 27, 2013, 19:45
Default
  #2
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
check velocity vectors in paraview.it can help a lot to see whats wrong with BC,also check internalFields
After those,go to change schemes to first order
If not be corrected fine the mesh more.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 28, 2013, 07:24
Default not looking good ...
  #3
New Member
 
Cris
Join Date: Feb 2013
Posts: 4
Rep Power: 4
Schroedinger.Cat.AintHere is on a distinguished road
Dear Ehsan,

I tried to figured out what you have told me. And I will like to go a bit further on what you pointed out.

I look in the log.dsmcFoam file and it seems that at least the UMean field has been evaluated during the writing interval. However it is actually not writing anything inside the 1st writing time folder: it contains just boundaryT ,dsmcRhoN ,fD, internalE, momentum, rhoM, boundaryU, dsmcSigmaTcRMax ,iDof, linearKE ,q , rhoN und uniform. Any idea why is that ?

About the paraview, the only thing that I can check in paraView are the rhoN, and the rhoM and they are correct. This means that although the simulation is running properly the dsmcFoam solver crashes when it tries to evaluate the fields.

Regarding the mesh, I have already tried 3 different meshes, with different refinements and the problem (dsmcFoam crashed) occurs in the same fashion.

Finally, about changing of the schemes to first order, I did not understand the suggestion. Do you actually mean the fvScheme that is located in the system folder? If so, what do I need to exactly modify and what does this modification implies for the dsmcFoam solver?

Was a bit lengthy the reply, but I am really confused at this point and I do not know what else I can do

Thank again for the help!
Schroedinger.Cat.AintHere is offline   Reply With Quote

Old   June 28, 2013, 07:38
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
in fact I'm not familiar with this solver.send me your system folder to modify.
run in single processor way to see if the same error occurs.
may it be a bug.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point exception with pimpleDyMFoam ebah6 OpenFOAM Running, Solving & CFD 8 May 13, 2013 09:01
Inlet Velocity Profile BC - Floating Point exception during solution initialization Janshi STAR-CCM+ 4 March 14, 2012 11:21
simpleFoam Floating point exception error -help sudhasran OpenFOAM Running, Solving & CFD 3 March 12, 2012 17:23
Pipe flow in settlingFoam floating point exception jochemvandenbosch OpenFOAM Running, Solving & CFD 4 February 16, 2012 04:24
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59


All times are GMT -4. The time now is 11:40.