|
[Sponsors] |
April 27, 2022, 18:16 |
Floating point exception error
|
#1 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4 |
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 |
|
April 28, 2022, 03:12 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 33 |
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 |
|
April 29, 2022, 09:02 |
Floating point exception error solved
|
#3 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4 |
Dear AlexanderZ,
You are right, I input a wrong value that lead this problem, thank you very much for your help. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |