|
[Sponsors] |
February 8, 2007, 23:23 |
Fluent doesn´t compile UDF on Windows
|
#1 |
Guest
Posts: n/a
|
Hi all, I´m having problems with Windows. Basically, I can´t compile UDFs. I have Microsoft Visual Studio 6 installed.
I know that the UDF is ok because I can compile it without problems in Suse. |
|
February 9, 2007, 01:10 |
Re: Fluent doesn´t compile UDF on Windows
|
#2 |
Guest
Posts: n/a
|
HELLO!!! hseldon in order to run your udf you to create a directory named libudf in C DRIVE and save your ".c" in that directory it will work.
|
|
February 9, 2007, 01:44 |
Re: Fluent doesn´t compile UDF on Windows
|
#3 |
Guest
Posts: n/a
|
Thank you for the input! Tried it but it still doesn´t work...
|
|
February 10, 2007, 15:42 |
Re: Fluent doesn´t compile UDF on Windows
|
#4 |
Guest
Posts: n/a
|
If you want to compile your udf with Fluent using the Microsoft Visual Studio 6, you have to set the environment variables in Windows. So add the four variables as below (where for each variable the first line is the variable and the other lines constitue the value):
include C:\Program Files\Microsoft Visual Studio\VC98\ATL\Include;C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include;C:\Program Files\Microsoft Visual Studio\VC98\Include lib C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib;C:\Program Files\Microsoft Visual Studio\VC98\Lib MSDevDir C:\Program Files\Microsoft Visual Studio\Common\MSDev98 path C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\Bin |
|
February 15, 2007, 00:01 |
Re: Fluent doesn´t compile UDF on Windows
|
#5 |
Guest
Posts: n/a
|
I have some problem with compiling a udf which is exactly the example of fluent itself for surface reaction.
I use DEFINE_SR_RATE( ..... ) I tried to interprete it but it has problem with wherever I have r->name or structure type data. with compiling I cant compile at all the error is like this : Deleted old libudf1\ntx86\2ddp\libudf.dll The system cannot find the file specified. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. (system "copy C:\CFD\Fluent621.Inc\fluent6.2.16\src\makefile_nt. udf libudf1\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf1")() (chdir "ntx86\2ddp")() 'nmake' is not recognized as an internal or external command, operable program or batch file. 'nmake' is not recognized as an internal or external command, operable program or batch file. Done. Interrupting... Done. > Would you please help me, I really need help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent does not always compile UDF properly | davesmith_01 | Fluent UDF and Scheme Programming | 3 | February 10, 2011 15:09 |
UDF in Fluent | subha_meter | Main CFD Forum | 0 | October 18, 2009 00:54 |
Compiling UDF in Fluent 12 | jsm | FLUENT | 1 | July 22, 2009 08:40 |
Any Luck with 64-bit FLUENT on 64-bit Windows? | Dylan | FLUENT | 4 | October 17, 2007 12:14 |
UDF of Zimont model in fluent | Z | Main CFD Forum | 0 | February 17, 2005 04:07 |