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

Please help!!!COMPILED UDFs PROBLEM!!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2004, 10:06
Default Please help!!!COMPILED UDFs PROBLEM!!!
  #1
Melih
Guest
 
Posts: n/a
Hi,

I have a UDF running perfect in Interpreted mode, but when I try to run it in Compiled mode it gives an error after building the "libudf" library as follows:

///////*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.The system cannot find the file specified. The system cannot find the file specified.

1 file(s) copied. The system cannot find the file specified.

1 file(s) copied. (system "move user_nt.udf libudf\ntx86\3d")0 (system "copy C:\Fluent.Inc\fluent6.1\src\makefile_nt.udf libudf\ntx86\3d\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\3d")() '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.*////////

I followed every step in Tutorial. If I ignore this error and continue by clicking "load", i have another error like this:

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

Error Object: ()*///////

My Udf is very simple and it needs only "udf.h" head file and it is also in the same directory where my case and data file take place.Can anyone help my about this problem? Thanks in advance...

  Reply With Quote

Old   April 28, 2004, 12:03
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #2
HVN
Guest
 
Posts: n/a
Normally this problem occurs if you haven't already installed microsoft visual c++.
  Reply With Quote

Old   April 28, 2004, 12:54
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #3
Melih GULEREN
Guest
 
Posts: n/a
Hi HVN,

I have visual C++ in my computer. But, should I tell FLUENT that C++ is installed to overcome this problem? Do you have another advise?

  Reply With Quote

Old   April 28, 2004, 14:21
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #4
Allan Walsh
Guest
 
Posts: n/a
Is "nmake" in the path.
  Reply With Quote

Old   April 28, 2004, 17:29
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #5
Melih
Guest
 
Posts: n/a
Hi,

You are right Allan,the file "nmake" is not in the path. I think that's why Fluent gives this error:"'nmake' is not recognized as an internal or external command, operable program or batch file", because it does not find the file and execute it. So please, could anyone explain me what should I do, after this step. I strongly need to use compiled Udf, and there must a way to use it. Any help will be highly appreciated.

  Reply With Quote

Old   April 28, 2004, 19:28
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #6
co2
Guest
 
Posts: n/a
are you using dot net ? There are different instructions to compile udfs if you are using dot net.

i am positive that your problem will be solved once you carefully read the instructions at

http://www.fluentusers.com/support/i...udf_serial.htm
  Reply With Quote

Old   April 29, 2004, 04:40
Default Re: Please help!!!COMPILED UDFs PROBLEM!!!
  #7
emma
Guest
 
Posts: n/a
Hi,Melih,

Firstly make sure that you have already installed Visual c/c++ 5.0 or later version correctly. Did you check the environmental variables box before the installation? Do some important variables and values exist and are they in the correct directories,e.g.,include, lib, MSDevDir and Path?

Secondly, please check your case, data and c source file, are they in the right place where they should be as described in the tutorials?

Then I think should be no problem any more.

I hope it helps a bit.

Regards

Emma

  Reply With Quote

Old   April 29, 2004, 09:28
Default Re: THANK YOU for ALL!!!
  #8
Melih
Guest
 
Posts: n/a
By following your recommendations I finally solved this problem. Thank you so much, HVN,Allan,co2 and emma!!!
  Reply With Quote

Old   June 12, 2012, 02:45
Default
  #9
New Member
 
Join Date: Aug 2009
Posts: 6
Rep Power: 17
amindavari is on a distinguished road
Quote:
Originally Posted by Melih
;112232
By following your recommendations I finally solved this problem. Thank you so much, HVN,Allan,co2 and emma!!!


Hi Melih
I have the same problem, could u tell me how did u solve this problem.
thank you in advance.
amindavari is offline   Reply With Quote

Old   August 2, 2013, 02:56
Default
  #10
New Member
 
shashank jagtap
Join Date: Mar 2013
Posts: 4
Rep Power: 13
shank is on a distinguished road
links not working
shank 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
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
problem in UDF's sangamnath FLUENT 3 December 7, 2005 10:17
URGENT UDF's erosion_macro problem alex FLUENT 7 October 18, 2005 19:18
UDFs' problem Benny FLUENT 14 June 13, 2005 12:05


All times are GMT -4. The time now is 03:51.