|
[Sponsors] |
June 19, 2005, 23:40 |
help!udf compile error
|
#1 |
Guest
Posts: n/a
|
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! |
|
June 20, 2005, 04:51 |
Re: help!udf compile error
|
#2 |
Guest
Posts: n/a
|
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 |
|
June 20, 2005, 07:49 |
Re: help!udf compile error
|
#3 |
Guest
Posts: n/a
|
Thanks,
i'll get a try! |
|
June 20, 2005, 20:38 |
Re: help!udf compile error
|
#4 |
Guest
Posts: n/a
|
thank you,Joey.
your suggestion is really helpful. |
|
June 21, 2005, 00:05 |
Re: help!udf compile error
|
#5 |
Guest
Posts: n/a
|
If your UDF is long engouh, you will have to trace your code line by line. That's really a painful procedure. Good luck!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
nonNewtonian viscosity model | mhassani | OpenFOAM Programming & Development | 5 | January 7, 2013 09:27 |
error while running paraFoam! | padmanathan | OpenFOAM | 9 | October 13, 2009 05:17 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |