|
[Sponsors] |
January 8, 2002, 08:37 |
UDF problem
|
#1 |
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); } |
|
January 8, 2002, 08:41 |
Re: UDF problem - correction
|
#2 |
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. |
|
January 9, 2002, 12:55 |
Re: UDF problem
|
#3 |
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.
|
|
January 9, 2002, 20:30 |
Re: UDF problem
|
#4 |
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? |
|
January 10, 2002, 10:58 |
Re: UDF problem
|
#5 |
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 ? |
|
|
|
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 |