|
[Sponsors] |
February 6, 2007, 11:39 |
UDF - Debugging techniques
|
#1 |
Guest
Posts: n/a
|
Hi,
I would like to know which techniques to use to do a proper dubugging of my UDF (with unix or Windows) ; In my code I have several variables and during the execution of the case I got this kind of msg : "Error > (greater than ) : Invalid argument [2] : wrong type [not a number]" ; How to know which variable makes this prob in my UDF ?. Thanks for any kind of help PK |
|
February 6, 2007, 13:49 |
Re: UDF - Debugging techniques
|
#2 |
Guest
Posts: n/a
|
this is due to divide by 0. try to put information on console window with the Message macro
|
|
February 6, 2007, 17:44 |
Re: UDF - Debugging techniques
|
#3 |
Guest
Posts: n/a
|
Yes. Message macro is a powerful tool to debug UDF when unexpected results pop up.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
On debugging a Womersley Profile UDF | david | FLUENT | 4 | May 21, 2024 12:29 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
help debugging Beam deflection UDF | josik_1982 | Fluent UDF and Scheme Programming | 0 | December 19, 2010 18:36 |
UDF debugging | david | FLUENT | 1 | August 11, 2005 13:43 |
Debugging 3d parabolic udf | david | FLUENT | 4 | June 13, 2005 15:20 |