|
[Sponsors] |
October 5, 2003, 13:40 |
Help to Compile UDF
|
#1 |
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 |
|
October 5, 2003, 14:12 |
Re: Help to Compile UDF
|
#2 |
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 |
|
November 2, 2003, 10:14 |
Re: Help to Compile UDF
|
#3 |
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 |
|
|
|
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 07:05 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |
udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
compile the UDF | Li Jingping | FLUENT | 2 | April 14, 2003 22:18 |