|
[Sponsors] |
April 17, 2004, 11:18 |
UDF problem in 2 CPU machine
|
#1 |
Guest
Posts: n/a
|
This is a simple UDF used to define the inlet velocity profile. It is compliled and linked correctly both in single CPU Windows machine and SGI 8 CPU Irix workstation. But when it is used in 2 CPU Windows server, it could not linked properly after being passed the compilation. Fluent prompts could not find the path of the UDF library. Who can tell me how to solve this proplem? Thanks in andvace.
#include "udf.h" DEFINE_PROFILE(inlet_x_velocity,thread,index) { real x[ND_ND]; real z; face_t f; begin_f_loop(f,thread) { F_CENTROID(x,f,thread); z=x[2]; F_PROFILE(f,thread,index)=0.511*log((z+0.000225)/0.000225)/0.42; } end_f_loop(f,thread) } |
|
April 18, 2004, 08:34 |
Re: UDF problem in 2 CPU machine
|
#2 |
Guest
Posts: n/a
|
You have to build your library with your case already running in paralell. So launch your case in paralell, cmpiled and save and it will work. Thomas
|
|
April 18, 2004, 10:02 |
Re: UDF problem in 2 CPU machine
|
#3 |
Guest
Posts: n/a
|
I find where the prolblem occurs. In the process of compiling UDF, it should specify the full path of the UDF library,not just the default libray name. Thank you for your reply.
|
|
|
|
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 |
UDF Problem | ozgur | Fluent UDF and Scheme Programming | 18 | January 17, 2016 15:40 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
UDF PROBLEM | anant | FLUENT | 2 | January 17, 2007 01:15 |
parallel UDF problem | kerem | FLUENT | 2 | June 20, 2006 07:56 |