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

Help to Compile UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2003, 12:40
Default Help to Compile UDF
  #1
chiph
Guest
 
Posts: n/a
Hi,everybody:

some problems about compile UDF procedure; 1.creat a directory <mywork>, and put both the case and data file of Fluent (test.cas,test.dat) and UDF file of C(example.c) into the directory. 2.Define->User-Defined->Functions->Compiled... select UDF sourcefile: <mywork>example.c select Head file: <FLUENT.INC\fluent6.1\src\udf.h> then, 1).creat a directory <FLUENT.INC\fluent6.1\src\libudf> 2).error message; Opening library "libudf"... Error: open_udf_library: No such file or directory Error Object: () Can anybody help?

by chiph p.s. Fluent version 6.1.18
  Reply With Quote

Old   October 5, 2003, 13:12
Default Re: Help to Compile UDF
  #2
chiph
Guest
 
Posts: n/a
update the information; 1.creat d:\mywork\test.cas,test.dat,example.c 2.start Fluent on d:\mywork 3.read d:\mywork\test.cas 4.Define->User-defined->Functions->Compiled... 5.setect UDF source file to compile d:\mywork\example.c 6.don't select any Header file 7.Built, then [[C:\FLUENT.INC\fluent6.1\cortex\src\dll.h(53) : fatal error C1083: Cannot open include file: 'stdarg.h': No such file or directory example.c]]

chiph
  Reply With Quote

Old   November 2, 2003, 09:14
Default Re: Help to Compile UDF
  #3
mahesh
Guest
 
Posts: n/a
you require VC++ with service pack 5 for compiled UDF. Do you have it? If yes, right click on My Comp. Icon,click Proeprties & then Advanced Tab. Then Environment Variables. There check whether all the variables u got or not? For the nales of variables, check on Fluent site.

BFN
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 13:24
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 09:48
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
compile the UDF Li Jingping FLUENT 2 April 14, 2003 21:18


All times are GMT -4. The time now is 20:44.