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

Compiling UDFs under Windows XP

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2005, 04:26
Default Compiling UDFs under Windows XP
  #1
Hannah
Guest
 
Posts: n/a
We are trying to compile a UDF under Windows XP.

1) Does FLUENT have by default a compiler along with the installation package for Windows? (because I found it in Fluent6.22/ntbin/nt86/cpp.exe and cc.exe) If so what are the detailed steps to compile the udf? I've tried and got the error, nmake: command unknown If not, I've got compiler, MinGW but how do I make it compile the FLUENT UDFs

2) What are the environment variables to set for a compiler to be used with fluent?

Thank you for your help, Hannah
  Reply With Quote

Old   February 9, 2005, 06:05
Default Re: Compiling UDFs under Windows XP
  #2
Shuto
Guest
 
Posts: n/a
Hi Hannah,

UDF's are written in C++, so you need to have a separate compiler such as MS Visual C++ 6.0 installed.

There might be another way but that's what Fluent recommended to me. If you ask the support desk they will clarify exactly what you need.

Hope this helps, Shuto.
  Reply With Quote

Old   February 10, 2005, 11:12
Default Re: Compiling UDFs under Windows XP
  #3
Swarup
Guest
 
Posts: n/a
i have been using interpreted UDFs. i just put them in "src" folder where all UDFs are kept. next step is to access them from within GUI using UDFs---> Interpreted/Compiled path. Swarup.
  Reply With Quote

Old   February 13, 2005, 08:16
Default Re: Compiling UDFs under Windows XP
  #4
ap
Guest
 
Posts: n/a
1) FLUENT can manage two kinds of UDF: interpreted and compiled.

The cpp.exe you found is the internal compiler of FLUENT used with interpreted UDF.

If you need or want to use a compiled UDF under Windows, you need Microsoft Visual C++, because you need to compile the C source code of your UDF.

2) You just have to set the environment variables of the compiler (it will ask you during the setup) and the usual FLUENT environment variables (There is a tool in the FLUENT.INC group in the start menu).

Regards, 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
Problem with Compiling UDFs in Ansys Fluent 13 (lnx64) Ali.beh Fluent UDF and Scheme Programming 2 April 8, 2013 18:12
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Compiling UDF's Under Linux OS Yasser Nabavi FLUENT 2 April 24, 2006 19:59
Need Makefile for GCC in windows to compile UDFs Filipe Madureira FLUENT 2 December 28, 2005 16:08
compiling UDFs in NT Fabio FLUENT 1 June 26, 2000 11:17


All times are GMT -4. The time now is 08:26.