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

problem with udf loading(nmake.exe)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2009, 06:10
Default problem with udf loading(nmake.exe)
  #1
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 17
gholamghar is on a distinguished road
hello
I have visual studio 2008 and Fluent 6.328 installed on my computer,
every time i want to load LIBUDF library from
Define:>User-defined:>Functions:>Compiled it gives me this error:

> #f

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

Error Object: ()

i searched in the forum and someones suggested that it is a problem with nmake.exe.
anybody knows how i can fix this problem with nmake.exe?
thanks
gholamghar is offline   Reply With Quote

Old   March 22, 2009, 10:56
Default
  #2
Member
 
Join Date: Mar 2009
Posts: 62
Rep Power: 17
RenardP is on a distinguished road
The problem is that your Fluent doesn't know where to find your Visual C++ compiler, I hope you have the Pro edition (I don't thinck it will work with Express).

Try to start Fluent using the Visual Studio Command Prompt window, write these in the command prompt:

fluent 2ddp

or

fluent 3ddp
RenardP is offline   Reply With Quote

Old   March 23, 2009, 04:28
Default
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
keep in mind your already compiled (in Visual Studio Command Prompt window) routine the best should be in libudf/ folder within you case folder. It means if your case.cas file is in folder C:\test\ then libudf/ path should be like this: C:\test\libudf\ .

As soon as your function is compiled you do not need to call compiler from within Fluent. Your compiled function is a stand alone program, which to run just need Fluent call to it the way you do it.
paka is offline   Reply With Quote

Old   March 23, 2009, 14:41
Default
  #4
Member
 
Join Date: Mar 2009
Posts: 43
Rep Power: 17
gholamghar is on a distinguished road
thank you PAKA and RenardP,with your advices i solved my problem.
gholamghar 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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29
udf problem shan FLUENT 6 March 17, 2004 03:01
UDF problem chiseung FLUENT 4 January 10, 2002 09:58


All times are GMT -4. The time now is 11:31.