CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

help!udf compile error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2005, 23:40
Default help!udf compile error
  #1
Fred
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!
  Reply With Quote

Old   June 20, 2005, 04:51
Default Re: help!udf compile error
  #2
Joey
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
  Reply With Quote

Old   June 20, 2005, 07:49
Default Re: help!udf compile error
  #3
Fred
Guest
 
Posts: n/a
Thanks,

i'll get a try!
  Reply With Quote

Old   June 20, 2005, 20:38
Default Re: help!udf compile error
  #4
Fred
Guest
 
Posts: n/a
thank you,Joey.

your suggestion is really helpful.
  Reply With Quote

Old   June 21, 2005, 00:05
Default Re: help!udf compile error
  #5
Joey
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!
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:37.