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

Simple UDF problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2003, 06:21
Default Simple UDF problem
  #1
phil
Guest
 
Posts: n/a
I am trying to do one of the fluent 6.1 tutorials, no11 dynamic meshing, this requires a compiled UDF to be input where the c file is provided. I am getting the following error"

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\2d")0 (system "copy C:\FLUENT.INC\fluent6.1\src\makefile_nt.udf libudf\ntx86\2d\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2d")() '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.

Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified.

I am using Fluent on Windows, in the user guide it says that it may be necessary to input the full path name but i only seem to be able to use the browse function.

Any clues?
  Reply With Quote

Old   May 7, 2003, 13:17
Default Re: Simple UDF problem
  #2
emma chen
Guest
 
Posts: n/a
Hi,

I had the alike problem last week as you have. But now I solved it. I think perhaps you created your "libudf" directory in the wrong directory. It must be putted in your working directory. Besides,you need also have c/c++ 6.0 compiler,with which you can work for dynamic mesh. Then you can build and load your udf library correctly. Good luck!
  Reply With Quote

Old   May 8, 2003, 06:30
Default Re: Simple UDF problem
  #3
phil
Guest
 
Posts: n/a
is the C/C++ compiler seperate to fluent?
  Reply With Quote

Old   May 8, 2003, 10:59
Default Re: Simple UDF problem
  #4
paal
Guest
 
Posts: n/a
Yes the compiler is separate,

Visual Studio C++ 6.0 is needed, or VS C++ 7.0 which ships with Visual Studio .NET btw then the prosess is slightly different for including the compiled UDF, look at the installation help section on http://www.fluentusers.com

Cheers,

-Paal
  Reply With Quote

Old   July 18, 2010, 17:28
Default
  #5
New Member
 
Dave Smith
Join Date: Jul 2010
Posts: 27
Rep Power: 15
davesmith_01 is on a distinguished road
Hi

I am trying to work through the fluent tutorial 10 about simulation of wave generation in a tank. When I put the UDF in I get an error messgae on the main screen.

This is the message I get
Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

What am I doing wrong, I followed every step in the tutorial properly, the same error happens in tutorial 12 using dynamic meshes with a valve.

The UDF files are written properly as they are written by fluent themselves.

So what am I doing wrong? I have MS visual studio as well, and the udf doesnt even work after sorting out the enviroment setting and opening fluent by command prompt.

Could someone please help

Thanks in advance
davesmith_01 is offline   Reply With Quote

Old   May 30, 2011, 02:45
Default
  #6
Member
 
ThanhToan
Join Date: Sep 2010
Posts: 49
Rep Power: 15
trantoan2008 is on a distinguished road
Send a message via Yahoo to trantoan2008 Send a message via Skype™ to trantoan2008
Hi all,
I am looking for "Wave generation in a tank" tutorial file (wave.msh and libudf) Can you send me these file? I appriciate you help.
my email: trantoan2008@gmail.com
Thanks for your help.

Quote:
Originally Posted by davesmith_01 View Post
Hi

I am trying to work through the fluent tutorial 10 about simulation of wave generation in a tank. When I put the UDF in I get an error messgae on the main screen.

This is the message I get
Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

What am I doing wrong, I followed every step in the tutorial properly, the same error happens in tutorial 12 using dynamic meshes with a valve.

The UDF files are written properly as they are written by fluent themselves.

So what am I doing wrong? I have MS visual studio as well, and the udf doesnt even work after sorting out the enviroment setting and opening fluent by command prompt.

Could someone please help

Thanks in advance
trantoan2008 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Help! Compiled UDF problem 4 Wave tank tutorial Shane FLUENT 1 September 3, 2010 03:32
Pressure profile UDF for unsteady-state problem? Mohsen Keshavarzian FLUENT 2 August 20, 2008 05:22
problem in compoile UDF h.daniyel FLUENT 5 June 12, 2008 06:06
fluent UDF external library lapack problem Rick FLUENT 0 May 7, 2008 11:16


All times are GMT -4. The time now is 01:40.