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 compiling the WAVE.C (UDF)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2011, 04:17
Default Problem with compiling the WAVE.C (UDF)
  #1
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 15
raghu mohan is on a distinguished road
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
raghu mohan is offline   Reply With Quote

Old   November 23, 2011, 05:10
Default
  #2
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17
laurentb is on a distinguished road
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
laurentb is offline   Reply With Quote

Old   November 24, 2011, 23:07
Default
  #3
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 15
raghu mohan is on a distinguished road
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
raghu mohan is offline   Reply With Quote

Old   November 25, 2011, 04:54
Default
  #4
Member
 
laurentb's Avatar
 
Laurent B
Join Date: Jun 2009
Location: Lille, FRANCE
Posts: 70
Rep Power: 17
laurentb is on a distinguished road
This is an example with Visual C++ 2008 Express and Fluent 6.3.26.
It works only for 32-bit.
Attached Files
File Type: pdf winfaq_print.pdf (47.9 KB, 58 views)
laurentb is offline   Reply With Quote

Old   November 25, 2011, 15:09
Default
  #5
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 15
raghu mohan is on a distinguished road
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
raghu mohan is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 00:14.