|
[Sponsors] |
February 9, 2005, 05:26 |
Compiling UDFs under Windows XP
|
#1 |
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 |
|
February 9, 2005, 07:05 |
Re: Compiling UDFs under Windows XP
|
#2 |
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. |
|
February 10, 2005, 12:12 |
Re: Compiling UDFs under Windows XP
|
#3 |
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.
|
|
February 13, 2005, 09:16 |
Re: Compiling UDFs under Windows XP
|
#4 |
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 |
|
|
|
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 | 3 | August 27, 2018 05:22 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Compiling UDF's Under Linux OS | Yasser Nabavi | FLUENT | 2 | April 24, 2006 20:59 |
Need Makefile for GCC in windows to compile UDFs | Filipe Madureira | FLUENT | 2 | December 28, 2005 17:08 |
compiling UDFs in NT | Fabio | FLUENT | 1 | June 26, 2000 12:17 |