CFD Online Logo CFD Online URL
Home > Forums > FLUENT


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

LinkBack Thread Tools Display Modes
Old   July 24, 2005, 10:45
Posts: n/a
hi to all of you, iam facing a problem with UDF,

CAN ANY ONE HELP ME,iam tryig work the example of dynamic mesh, but iam not able to do it as when iam compiling the UDF iam getting th following error,

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.

thanks in advance
  Reply With Quote

Old   July 25, 2005, 09:39
Alec Eiffel
Posts: n/a
This error message is a result of not having the Microsoft Visual Studio C + + environment variables set up OR you do not have a Microsoft compiler installed.
  Reply With Quote

Old   July 25, 2005, 11:47
Posts: n/a
I got by following steps 1) set up the environmental variable This is done by going to the start menu > Programs>Fluent> Set_environment clicking this would set the path and variable. 2) set up a directory structure as follows create a dir libudf in that create "src" and "ntx86". In ntx86 create "2d".( MY simulation is 2d) 3) copy the udf (.C file) and the required header( u can get the header files from c:\FLUENT.INC\fluent6.*.*\ntx86\src) files into the "src" folder. 4) go to c:\FLUENT.INC\fluent6.*.*\ntx86\2d copy the contents into the 2d folder which you created. 5) go to c:\FLUENT.INC\fluent6.*.*\ntx86\src copy makefile_nt.udf and user_nt.udf to your 2d folder 6) rename makefile_nt.udf to makefile and open user_nt.udf and read the instructions and do accordingly. 7) close FLUENT . Open command prompt ( start > accessories > command prompt ) type the following C:\ CD program Files \ microsoft visual studio \vc98\bin 8) type :- vcvars32 9)go to the libudf\ntx86\2d which u have created 10) type nmake 11) This will compile ur code and build a lib if u dont have any errors , if errors are present it will say so u need to debug it then. 12) once this is done u can open fluent again and load the lib u have just created , in this case it would be libudf. -T.HARIHARANATH
  Reply With Quote


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
UDF compilation problem on Linux System Nitin Pathak Fluent UDF and Scheme Programming 2 December 16, 2015 10:22
UDF compilation error Szabolcs Varga Fluent UDF and Scheme Programming 4 September 14, 2015 05:27
UDF Compilation Error Karthik FLUENT 4 February 9, 2009 12:42
UDF compilation problem -- "undeclared variable" Henrik Ström FLUENT 1 September 21, 2005 05:25
Compiled UDF / Compilation problem mikhail FLUENT 1 October 13, 2000 06:12

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