CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Load UDF's

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2006, 06:03
Default Load UDF's
  #1
Albert Franco
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))
  Reply With Quote

Old   July 18, 2006, 07:36
Default Re: Load UDF's
  #2
saghir
Guest
 
Posts: n/a
hello, write me the error message or log file
  Reply With Quote

Old   July 18, 2006, 07:49
Default Re: Load UDF's
  #3
Albert Franco
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: ()
  Reply With Quote

Old   July 18, 2006, 08:45
Default Re: Load UDF's
  #4
Fabrice
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.
  Reply With Quote

Old   July 18, 2006, 10:06
Default Re: Load UDF's
  #5
greg
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.

  Reply With Quote

Old   July 18, 2006, 10:48
Default Re: Load UDF's
  #6
Albert Franco
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

  Reply With Quote

Old   July 19, 2006, 15:42
Default Re: Load UDF's
  #7
Le
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.

  Reply With Quote

Old   July 20, 2006, 02:44
Default Re: Load UDF's
  #8
Albert Franco
Guest
 
Posts: n/a
Okas thank you!!! I'll try it.
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 04:31
problem using property udfs in parallel mode EllenW FLUENT 0 June 23, 2009 17:18
Unsteady and Flux UDFs for UDSs tom FLUENT 0 February 13, 2009 10:27
Using load vector for parallel partitioning Kevala FLUENT 0 May 1, 2001 12:11
Experimental Repository for UDFs, Journal Files and Scheme Scripts Jonas Larsson FLUENT 0 March 5, 2000 15:36


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