|
[Sponsors] |
March 22, 2009, 07:10 |
problem with udf loading(nmake.exe)
|
#1 |
Member
Join Date: Mar 2009
Posts: 43
Rep Power: 17 |
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 |
|
March 22, 2009, 11:56 |
|
#2 |
Member
Join Date: Mar 2009
Posts: 62
Rep Power: 17 |
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 |
|
March 23, 2009, 05:28 |
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
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. |
|
|
|
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 07:05 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 08:14 |
Problem related with UDF for dynamic mesh | Ryan | FLUENT | 6 | April 29, 2004 10:29 |
udf problem | shan | FLUENT | 6 | March 17, 2004 04:01 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 10:58 |