help!udf compile error
hello,every cfder.i've got a question to ask.
when i compile the udf,there is no error messages,but when i initial the fluid domain and iterate to compute.there exist the error messages: Error: Floating point error: invalid number what does it mean?who can give me some suggestion? thank u very much! |
Re: help!udf compile error
Hi, I had the same experience with you. Maybe there is a number divided by "0". For exmaple: there is something like this :C_R(c,t)/C_U(c,t) in your UDF; when you initialized C_U(c,t)with zero,the programm will stop.You need to rewrite your UDF, maybe like this C_R(c,t)/(C_U(c,t)+0.0000000001). Hope it helps.
Joey |
Re: help!udf compile error
Thanks,
i'll get a try! |
Re: help!udf compile error
thank you,Joey.
your suggestion is really helpful. |
Re: help!udf compile error
If your UDF is long engouh, you will have to trace your code line by line. That's really a painful procedure. Good luck!
|
All times are GMT -4. The time now is 18:16. |