CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Load UDF's (

Albert Franco July 18, 2006 06:03

Load UDF's
Hello, I've tryed to load the udf files of the oficial tutorials, and I couldn't achieve it. I can build the udf but when I try to load it an error message appears. Can anyone help me? (I'm a begginer))

saghir July 18, 2006 07:36

Re: Load UDF's
hello, write me the error message or log file

Albert Franco July 18, 2006 07:49

Re: Load UDF's
The error message says that the system can't find the file (see below) but I don't understant why because both files are in the same folder. I can buil but I can't load. Thank you for your time, I'm a beginer, I'm doing the tutfiles in order to learn basics skills of CDF.

Opening library "lib_drag"... Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

Fabrice July 18, 2006 08:45

Re: Load UDF's

What sort of UDF is it (which macro is in the file: DEFINE_PROFILE(),CG_MOTION(),.... ??

Do you try to interprete or compile the function?? To compile the function you need a C compiler installed on your computer such as Visual C++.


greg July 18, 2006 10:06

Re: Load UDF's
Fabrice is right. I had the same problem (or similiar). You need to check what kind (or which) compiler is good for your operating system. A list of all compilers is on Make sure to install well a compiler. U can find a instalation steps on fluentusers website.

Albert Franco July 18, 2006 10:48

Re: Load UDF's
I don't know if this is what are you asking for... I've opened de .c file and the sentence with DEFINE that appears is

DEFINE_EXCHANGE_PROPERTY(custom_drag_syam, cell, mix_thread, s_col, f_col)

Actually it isn't a particular problem with this UDF's, my real problem is that I don't know How to open/compile any UDF file.

I was trying to compile the function, not to interpret. If it can help you I was doing the tutorial called "Modeling Uniform Fluidization in 2D Fluidized Bed" that is in the following link:

As I've said before I think that it isn't a particular problem with this udf. I've read the manual and now I'm "playing" with dev C++ in case I got the solution.

THANK YOU for helping me!!!


Le July 19, 2006 15:42

Re: Load UDF's
Hi Man, You should remember that there is only MICROSOFT VISUAL C++ that is compatible with compiling in Fluent. I think that DEV C++ is not compatible with Fluent. For this reason, you could not compiled the file and get the error. So if you are using Dev C++, you should install Mic visual C++ and do it again.

Albert Franco July 20, 2006 02:44

Re: Load UDF's
Okas thank you!!! I'll try it.

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