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

UDF problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2002, 08:37
Default UDF problem
  #1
chiseung
Guest
 
Posts: n/a
I have a problem in using below c-source file. When I typed <make "FLUENT_ARCH=alpha">, warning message comes up like this.

---------------------

Warning: Unresolved:

RP_Get_Float

---------------------

Is it a severe problem to solve a problem? Source code is below.(sample problem in Fluent manual) Additionally, I'm using a "compiled-type" udf and Tru64 UNIX system.

#include "udf.h"

DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f;

begin_f_loop(f,thread) {

real t=RP_Get_Real("flow-time");

F_PROFILE(f,thread,position)=20.+5.0*sin(10.*t);

}

end_f_loop(f,thread); }
  Reply With Quote

Old   January 8, 2002, 08:41
Default Re: UDF problem - correction
  #2
chiseung
Guest
 
Posts: n/a
correct the first line.

When I typed, warning message comes up like this.

->When I typed, make "FLUENT_ARCH=alpha", warning message comes up like this.
  Reply With Quote

Old   January 9, 2002, 12:55
Default Re: UDF problem
  #3
Lanre
Guest
 
Posts: n/a
You can ignore the compiler warning unless you are unable to load the compiled udf into FLUENT. If this happens, your best bet would be to contact Fluent Inc.
  Reply With Quote

Old   January 9, 2002, 20:30
Default Re: UDF problem
  #4
chiseung
Guest
 
Posts: n/a
Thanks. Lanre.

Have you ever experienced that warning message before? Especially, when you compiled that sample problem that I've written, did you get a warning message like that? For this problem, I could load the compiled udf into FLUENT and had no problem to solve it.

However, in some cases, I couldn't solve those problems because of "Floating Point exception" error. I'm not sure that is caused by the compling problem.

Would you let me know?
  Reply With Quote

Old   January 10, 2002, 10:58
Default Re: UDF problem
  #5
Lanre
Guest
 
Posts: n/a
The FPE error is likely not a consequence of the compiler warning and is probably due to the UDF itself or the state of the solution when your UDF is read into the solver.

Did you get an FPE when running FLUENT with the UDF you posted ?
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
what's the problem with my udf zzyan FLUENT 0 November 4, 2010 04:56
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 07:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 08:14


All times are GMT -4. The time now is 07:21.