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

floating point exception error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2022, 01:03
Post floating point exception error
  #1
New Member
 
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4
hbilal1076 is on a distinguished road
Good time. I am getting the floating point exception error after I click to calculate the result. Without attaching UDS (.c), my model work well and get even converged but with UDS I am getting below error.
Please help.

pdf_initial_enthalpy: failed to converge for T = -nan(ind), fmean = 0.000413069, fvar = 2.76721e-09, error = -nan(ind) Stabilizing enthalpy to enhance linear solver robustness.
Stabilizing enthalpy using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: enthalpy Stabilizing uds-0 to enhance linear solver robustness.
Stabilizing uds-0 using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: uds-0 Stabilizing uds-1 to enhance linear solver robustness.
Stabilizing uds-1 using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: uds-1 Stabilizing uds-2 to enhance linear solver robustness.
Stabilizing uds-2 using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: uds-2 Stabilizing uds-3 to enhance linear solver robustness.
Stabilizing uds-3 using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: uds-3 Stabilizing uds-4 to enhance linear solver robustness.
Stabilizing uds-4 using GMRES to enhance linear solver robustness.

Divergence detected in AMG solver: uds-4
Minimum PDF table enthalpy exceeded in 579 cells on zone 2.

Error at host: floating point exception

===============Message from the Cortex Process================================

Compute processes interrupted. Processing can be resumed.

================================================== ============================

Error: floating point exception
Error Object: #f
hbilal1076 is offline   Reply With Quote

Old   December 7, 2022, 01:49
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
so problem in UDF
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 7, 2022, 02:38
Post UDF code
  #3
New Member
 
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4
hbilal1076 is on a distinguished road
Here is the code, can you please have a quick look into it.
hbilal1076 is offline   Reply With Quote

Old   December 7, 2022, 03:02
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
first of all, it's a part of code
compile code, read log and fix problems

if you don't have enough knowledge yet -> simplify code until it would work
later add functionality
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 7, 2022, 03:17
Post
  #5
New Member
 
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4
hbilal1076 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
first of all, it's a part of code
compile code, read log and fix problems

if you don't have enough knowledge yet -> simplify code until it would work
later add functionality
The Problem is, my code have no syntax error, I even checked all the my data with resources.
hbilal1076 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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 07:11
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27


All times are GMT -4. The time now is 08:55.