CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF compilation error

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

LinkBack Thread Tools Display Modes
Old   April 13, 2004, 09:21
Default UDF compilation error
Szabolcs Varga
Posts: n/a
Dear All, Some days ago I had a problem of interpreting an UDF. I got help immediatelly, giving me the hint to compile the source code instead of interpreting it. So I did, but now, I got a new error message regarding to nmake:

Make sure that UDF source files are in the directory

that contains your case and data files. If you have an

existing libudf directory, please remove this directory

to ensure that the latest files are used. 1 file(s) copied.

1 file(s) copied.

1 file(s) copied.

1 file(s) copied. (system "move user_nt.udf libudf\ntx86\2ddp")0 (system "copy H:\FLUENT6.1.18\fluent6.1\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (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.

Could you please comment on this? Thank you, Szabolcs
  Reply With Quote

Old   April 13, 2004, 10:27
Default Re: UDF compilation error
Posts: n/a
First of all, put your UDF source code in the same directory where you saved the cas and dat file of your simulation.

Also, the message

nmake is not recognized as an internal or external command

means that FLUENT can't find Microsoft Visual Studio command line compiler. You have to install it and to set PATH in order to use compiled UDF on a Windows platform.


  Reply With Quote

Old   April 14, 2004, 10:12
Default Re: UDF compilation error
Posts: n/a

I also faced the same error some time back. But after that instead of compiling, I try to interpret it. Now it is ok. Let u first try interpret and after that compile it.

I think we can do any of the things, interpret or compile.

Regards Karthick
  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
Native ParaView Reader Bugs tj22 OpenFOAM Paraview & paraFoam 270 January 4, 2016 12:39
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! alban Fluent UDF and Scheme Programming 2 June 8, 2010 18:54
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 10:30
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 21:11
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 05:07

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