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

Floating point exception error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2022, 18:16
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
In Ansys fluent 2021 R2, I calculate my flow equation without UDF successfully but when I compile and load a UDF file, initialize it and when I click on calculate then at the beginning of 0% calculation I am getting the following error,

Divergence detected in AMG solver: uds-0
Divergence detected in AMG solver: uds-0
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
Please tell me the possible solution to solve this error, its been a week but I am stuck in solving this issue, I am really in need of someone who can give guidance. Please Help. TIA
hbilal1076 is offline   Reply With Quote

Old   April 28, 2022, 03:12
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 33
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
most likely somewhere in your code you are dividing by 0 or infinite, or doing any other unacceptable math

show your code
__________________
best regards


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

Old   April 29, 2022, 09:02
Post Floating point exception error solved
  #3
New Member
 
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4
hbilal1076 is on a distinguished road
Dear AlexanderZ,
You are right, I input a wrong value that lead this problem, thank you very much for your help.
hbilal1076 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] ParaView command in Foam-extend-4.1 mitu_94 ParaView 0 March 4, 2021 14:46
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27


All times are GMT -4. The time now is 18:59.