|
[Sponsors] |
December 7, 2022, 01:03 |
floating point exception error
|
#1 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4 |
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 |
|
December 7, 2022, 01:49 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
so problem in UDF
__________________
best regards ****************************** press LIKE if this message was helpful |
|
December 7, 2022, 02:38 |
UDF code
|
#3 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4 |
Here is the code, can you please have a quick look into it.
|
|
December 7, 2022, 03:02 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
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 |
|
December 7, 2022, 03:17 |
|
#5 |
New Member
bilal
Join Date: Oct 2021
Location: pakistan
Posts: 27
Rep Power: 4 |
The Problem is, my code have no syntax error, I even checked all the my data with resources.
|
|
|
|
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 |