CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF with fluent 6.3 and Visual S. 2008

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2008, 18:23
Default UDF with fluent 6.3 and Visual S. 2008
  #1
allen
Guest
 
Posts: n/a
I used the Fluent 6.3.26 and Visual Studio to compile user defined functions. but I always have error massages as below. These UDF works fine with Fluent 6.2 and Visual studio2005.

c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2143: syntax error : missing '{' before ':'

c:\fluent.inc\fluent6.3.26\src\config.h(119) : error C2059: syntax error : ':'

C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2061: syntax error : identifier 'CX_DLL_GetProc'

C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : ';'

C:\Fluent.Inc\fluent6.3.26\cortex\src\dll.h(58) : error C2059: syntax error : 'type'

does anyone have suggestion on how to fix it? many thanks

  Reply With Quote

Old   April 14, 2008, 00:29
Default Re: UDF with fluent 6.3 and Visual S. 2008
  #2
PARXANG
Guest
 
Posts: n/a
I had the same problem once I switched to 64 bit machine. Maybe you want to run Fluent from Microsoft.net Framework SDK V2.0 (64bit) command prompt instead of the conventional VC command prompt from the start menu. I worked for me.

Good Luck
  Reply With Quote

Old   April 18, 2008, 08:35
Default Re: UDF with fluent 6.3 and Visual S. 2008
  #3
allen
Guest
 
Posts: n/a
Your suggestions works. thanks a lot!
  Reply With Quote

Old   October 23, 2012, 04:53
Default
  #4
New Member
 
dengjiajia
Join Date: Sep 2011
Posts: 14
Rep Power: 5
dunga82 is on a distinguished road
Quote:
Originally Posted by PARXANG
;149968
I had the same problem once I switched to 64 bit machine. Maybe you want to run Fluent from Microsoft.net Framework SDK V2.0 (64bit) command prompt instead of the conventional VC command prompt from the start menu. I worked for me.

Good Luck
sorry, Do you mean that we need to modify the VC command prompt of my computer?

Last edited by dunga82; October 23, 2012 at 07:20. Reason: There are vc++6.0 and .net framework sdk v2.0 in my computer, but I am not sure how to start fluent from sdk v2.0, not anothe
dunga82 is offline   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
install FLUENT on mandriva 2008 santosh Main CFD Forum 3 January 14, 2009 13:45
Call Fluent from Visual Basic 6 interface AbuKhawlah FLUENT 0 June 5, 2005 14:53
DO I NEED VISUAL C? stk FLUENT 5 February 11, 2004 16:05
export Fluent to Visual Nastran António Nery FLUENT 1 January 27, 2004 17:28


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