|
[Sponsors] |
November 23, 2011, 04:17 |
Problem with compiling the WAVE.C (UDF)
|
#1 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
I loaded the wave.c file (tutorial10--wave generation in tank) and pressed BUILD, the "libudf" created without any .dll and other files. The log file created shows this line
"NMAKE : U1073: don't know how to make '..\..\src\wave.c' Stop." The command window in FLUENT show these: Deleted old libudf\ntx86\2ddp\libudf.dll The system cannot find the file specified. (system "copy C:\Fluent.Inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. (chdir "libudf")() (chdir "ntx86\2ddp")() Done. And when I loaded 'libudf' these commands appeared: "c:/users/raghu mohan reddy/desktop/cfd/wave tank/wave" Opening library "libudf"... Error: open_udf_library: The system cannot find the file specified. Error Object: () Please help me in solving this problem |
|
November 23, 2011, 05:10 |
|
#2 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
you must have a compiler correctly installed on your machine.
Have a look to the UDF Manual // UDF Manual // 5. Compiling UDFs // 5.1. Introduction :: 0 // 5.1.2. Compilers : you will need to ensure that Microsoft Visual Studio is installed on your machine before you proceed |
|
November 24, 2011, 23:07 |
|
#3 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
I have been following the same steps as in UDF manual.
But I have a question: Manual says this "Note that if you are running serial or parallel FLUENT on a Windows system, then you must have Microsoft Visual Studio installed on your machine and have launched FLUENT from the Visual Studio console window to compile a UDF" Can you plz let me know how to launch fluent from Visual Studio. Actually I am a newbie to Visual Studio. Right now I am launching fluent from the Visual studio command prompt. Thanks, Raghu |
|
November 25, 2011, 04:54 |
|
#4 |
Member
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17 |
This is an example with Visual C++ 2008 Express and Fluent 6.3.26.
It works only for 32-bit. |
|
November 25, 2011, 15:09 |
|
#5 |
New Member
Join Date: Nov 2011
Posts: 13
Rep Power: 15 |
So, basically this example does not work on the 64-bit system?.
Actually I am working on a project which has moving domain. I am planning to get motion of the domain by using UDF. So, I am looking for an example(tutorial) which has such similar approach. Can you plz let me know if there are any such examples on web so that I can download and work with them to get an idea of how these UDF's work. Thank you very much |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About UDF compiling issues: 'nmake' | Haoyin Shan | Fluent UDF and Scheme Programming | 15 | November 4, 2019 19:05 |
A problem about 'printf' and 'Message' in UDF. | LICH | Fluent UDF and Scheme Programming | 2 | May 2, 2013 03:45 |
what's the problem with my udf | zzyan | FLUENT | 0 | November 4, 2010 04:56 |
HELP! Problem compiling UDF function | Syrakus | FLUENT | 6 | April 7, 2006 11:48 |
UDF compiling problem for 3D simulation | Marijo | FLUENT | 1 | March 28, 2006 04:21 |