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

Need help in Compiled UDF.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 7, 2004, 12:39
Default Need help in Compiled UDF.
  #1
Hp
Guest
 
Posts: n/a
Hello,

I have some problem in using compiled UDF in FLUENT 6.1.22. I am using Mircosoft visual studio 6.0 as compiler. I try a simple UDF "Profile.c" from user manual. The information is as following.

-------------------------- 1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2ddp")0 (system "copy C:\FLUENT.INC\fluent6.1.22\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2ddp")() Profile1.c C:\FLUENT.INC\fluent6.1.22\cortex\src\dll.h(53) : fatal error C1083: Cannot open include file: 'stdarg.h': No such file or directory

Done. ------------------------

I find the file 'stdarg.h' in the directory of "C:"\Program files\Microsoft Visual studio\VC98\Include" and browse it into the header file. Then I get the following information:

-------------------------------------------- The system cannot find the file specified.

1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2ddp")0 (system "copy C:\FLUENT.INC\fluent6.1.22\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2ddp")()

Done. ------------------------------------------

When I load the library "libudf", I get the following information

----------------------------------------------------------- Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified.

Error Object: () ------------------------------------

So What is wrong with this?

Early reply will be appreciated. Thank you very much!

Hp

  Reply With Quote

Old   July 18, 2004, 07:34
Default Re: Need help in Compiled UDF.
  #2
ap
Guest
 
Posts: n/a
Your compiler is not able to find the file 'stdarg.h'.

Probably it is not in a directory included in the Include path of the compiler. Check your compiler environment variables.

P.S. I think you could find some more discussion and help on this topic in the forum. It seems an already discussed problem.

Hi

ap
  Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
I want to use pressure of 1 face in udf that compiled on other face iman_1844 Fluent UDF and Scheme Programming 3 June 10, 2010 12:55
Why udf can not be compiled in my pc? Xinqiang FLUENT 0 June 10, 2009 14:32
difference between udf compiled and udf interprete chandra sekhar FLUENT 2 April 11, 2006 00:04
how to quit compiled or interprited UDF tian FLUENT 0 April 8, 2003 23:53


All times are GMT -4. The time now is 05:25.