|
[Sponsors] |
July 18, 2006, 07:03 |
Load UDF's
|
#1 |
Guest
Posts: n/a
|
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))
|
|
July 18, 2006, 08:36 |
Re: Load UDF's
|
#2 |
Guest
Posts: n/a
|
hello, write me the error message or log file
|
|
July 18, 2006, 08:49 |
Re: Load UDF's
|
#3 |
Guest
Posts: n/a
|
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: () |
|
July 18, 2006, 09:45 |
Re: Load UDF's
|
#4 |
Guest
Posts: n/a
|
Hi,
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++. Fab. |
|
July 18, 2006, 11:06 |
Re: Load UDF's
|
#5 |
Guest
Posts: n/a
|
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
www.fluentusers.com Make sure to install well a compiler. U can find a instalation steps on fluentusers website. |
|
July 18, 2006, 11:48 |
Re: Load UDF's
|
#6 |
Guest
Posts: n/a
|
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: http://www.learningcfd.com/login/flu...ials/index.htm 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!!! Albert |
|
July 19, 2006, 16:42 |
Re: Load UDF's
|
#7 |
Guest
Posts: n/a
|
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.
|
|
July 20, 2006, 03:44 |
Re: Load UDF's
|
#8 |
Guest
Posts: n/a
|
Okas thank you!!! I'll try it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem using property udfs in parallel mode | EllenW | Fluent UDF and Scheme Programming | 5 | July 10, 2009 05:31 |
problem using property udfs in parallel mode | EllenW | FLUENT | 0 | June 23, 2009 18:18 |
Unsteady and Flux UDFs for UDSs | tom | FLUENT | 0 | February 13, 2009 11:27 |
Using load vector for parallel partitioning | Kevala | FLUENT | 0 | May 1, 2001 13:11 |
Experimental Repository for UDFs, Journal Files and Scheme Scripts | Jonas Larsson | FLUENT | 0 | March 5, 2000 16:36 |