CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   compiling UDFs (https://www.cfd-online.com/Forums/fluent/37186-compiling-udfs.html)

SB July 7, 2005 05:57

compiling UDFs
 
hallo,

I don't quite understand how UDF is being compiled by Fluent. For my case, it works at times and sometimes it doesn't. When it doesn't, the comment given is "Error: open_udf_library. The system cannot find the data."

Can anybody give me some quick explanation of this? Many thanks in advance!

david July 8, 2005 08:16

Re: compiling UDFs
 
Is the UDF library in same directory as case file? Also, has the library been loaded?

ch July 8, 2005 12:22

Re: compiling UDFs
 
Does the UDF library need to be in the same directory as case file? If I remember correctly, it works at times even if the UDF library is not. That's why I'm a bit confused.

I would definitely help if you are enlighted me on the process of how fluent compile the UDF. Sometimes comments like "fatal error LNK1104:cannot open file libudf.dll" What does it mean...

Sandra July 14, 2005 21:48

Re: compiling UDFs
 
The safest way is to keep all the files for the compiler that you are using in the same directory where fluent is. I've had similar errors and until i have gathered all the files in the same directory it wouldn't stop bothering me.


All times are GMT -4. The time now is 17:01.