CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF problem in 2 CPU machine (

David April 17, 2004 10:18

UDF problem in 2 CPU machine
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"



real x[ND_ND];

real z;

face_t f;









thomas April 18, 2004 07:34

Re: UDF problem in 2 CPU machine
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

David April 18, 2004 09:02

Re: UDF problem in 2 CPU machine
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.

All times are GMT -4. The time now is 12:49.