CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

compile the UDF

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2003, 03:27
Default compile the UDF
Li Jingping
Posts: n/a

I want to compile the udf under VC++6.0 and then link it to the Fluent.

I copied the files in the /Fluent6.0/src from a unix system to the folder "VC98/Include" in a W2K system.

When I try to compile the UDF in VC++ GUI, compiler told me

"c:\program files\microsoft visual studio\vc98\include\config.h(119) : error C2143: syntax error : missing '{' before ':' c:\program files\microsoft visual studio\vc98\include\config.h(119) : error C2059: syntax error : ':' c:\program files\microsoft visual studio\vc98\include\global.h(18) : fatal error C1083: Cannot open include file: 'dll.h': No such file or directory"

Confused! How do you compile the UDF with VC++?

Best, Li Jingping
  Reply With Quote

Old   April 14, 2003, 08:01
Default Re: compile the UDF
Posts: n/a

Are you sure you can compile Fluent UDF with VC?

What I am doing is I write UDF in VC but do not compile it. When finished, I will move it to Fluent working directory, then I will compile and debug it with Fluent UDF compiler.

  Reply With Quote

Old   April 14, 2003, 21:18
Default Re: compile the UDF
Li Jingping
Posts: n/a
Hi, Thanks for your reply. I found I made a mistake when I refered to the manual again. It is required to compile the UDF under the working directory in the system where the Fluent is installed. UDF can't be compiled with VC.

  Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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
Help to Compile UDF chiph FLUENT 2 November 2, 2003 09:14

All times are GMT -4. The time now is 06:07.