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

error during UDF compilation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2007, 09:48
Default error during UDF compilation
  #1
mvee
Guest
 
Posts: n/a
when i compile the UDF, that donot get connected. and during that i receive error: unable to open udf file. my question is khow to rectify this?

this is also with the tutorial that is given in fluent help. i am using fluent 6.2.16 version. does this a version problem?

thanks in advance

regards, mvee
  Reply With Quote

Old   May 2, 2007, 09:35
Default Re: error during UDF compilation
  #2
Thomas
Guest
 
Posts: n/a
If u're using the XP version, install visual c++ 2005; and I recommend u to compile from a ms-dos prompt, not directly in fluent.

thomas
  Reply With Quote

Old   May 2, 2007, 23:31
Default Re: error during UDF compilation
  #3
mvee
Guest
 
Posts: n/a
i have turbo c and borland c compiler. does these compilers are not sufficient?

mvee
  Reply With Quote

Old   May 3, 2007, 05:03
Default Re: error during UDF compilation
  #4
Thomas
Guest
 
Posts: n/a
Actually they're not... You're not just compiling a stand alone c program! In your UDF u've utilized Fluent's macros contained in udf.h or in others *.h Fluent's files; so your compiler must contain utilities to link them. I think there are also some others functionalities of the visual c++ compiloer that are strictly needed to compile UDFs...

thomas
  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
UDF compilation problem on Linux System Nitin Pathak Fluent UDF and Scheme Programming 6 September 29, 2018 20:26
UDF compilation error Szabolcs Varga Fluent UDF and Scheme Programming 4 September 14, 2015 05:27
UDF Compilation error pstreufert Fluent UDF and Scheme Programming 0 September 12, 2011 14:25
UDF compilation problem -- "undeclared variable" Henrik Ström FLUENT 1 September 21, 2005 05:25
Compiled UDF / Compilation problem mikhail FLUENT 1 October 13, 2000 06:12


All times are GMT -4. The time now is 22:02.