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

compile the UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2003, 04:27
Default compile the UDF
  #1
Li Jingping
Guest
 
Posts: n/a
Hi,

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, 09:01
Default Re: compile the UDF
  #2
Steven
Guest
 
Posts: n/a
Hello,

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.

Steven
  Reply With Quote

Old   April 14, 2003, 22:18
Default Re: compile the UDF
  #3
Li Jingping
Guest
 
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

Reply

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


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