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

help on UDF compile and load

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2005, 11:02
Default help on UDF compile and load
  #1
Sherry
Guest
 
Posts: n/a
I am a new learner. When I tried the case given by the tutorial, it always has the following problem when I use the UDF (compile and load). Could anybody tell me what is the problem? Thanks.

(system "copy E:\PROGRA~1\CFD_FL~1\Fluent.Inc\fluent6.2.16\src\m akefile_nt.udf libudf\ntx86\2ddp\makefile") 1 file(s) copied. 0 (chdir "libudf")() (chdir "ntx86\2ddp")() '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.

Done. "f:/hu/example/ozone-decomposition-files"

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

Error Object: ()
  Reply With Quote

Old   October 26, 2005, 12:26
Default Re: help on UDF compile and load
  #2
edi
Guest
 
Posts: n/a
At first sight: the directory "libudf" must be located in the same folder where the case is. If you unpack some tutorial examples from a .zip file, extract all the files in the same folder.

Hope it helps

Edi.
  Reply With Quote

Old   October 26, 2005, 12:53
Default Re: help on UDF compile and load
  #3
Sherry
Guest
 
Posts: n/a
Thanks.

I tried it. If I copy all of the files including the libudf folder Fluent gives for this case into my folder. I can load it. But when I delete the libudf and want to build it by myself, it still has the same problems. I compared the two libudf folders. The libudf folder I produced lacks the lnx86 folder compared the libudf folders given by Fluent for this case. So what's the problem?

thanks again.

  Reply With Quote

Old   October 26, 2005, 15:52
Default Re: help on UDF compile and load
  #4
Allan Walsh
Guest
 
Posts: n/a
Search this forum for nmake, as many beginners have had the same problem. nmake is not part of Fluent. If you have C++, there should be a version of nmake in that directory - you need to set the evironment variables so it can be found.
  Reply With Quote

Old   October 27, 2005, 00:02
Default Re: help on UDF compile and load
  #5
Manoj Kumar
Guest
 
Posts: n/a
HI Sherry

I too faced the same problem once. Your c++ environment variables are not set correctly. You can set the environment variables on your window's system properties panel/Advanced.

I would advice you to reinstall visual c++, it you are using it. You will asked if you want the installer to set the environment variables.

Regards

Manoj
  Reply With Quote

Old   October 29, 2005, 11:37
Default Re: help on UDF compile and load
  #6
sai shiva muppur
Guest
 
Posts: n/a
hi,

thought of demystifying once for all.

1. make sure u START fluent from your working directory 2. way to do it is by going to the command prompt and switching to your directory and typing fluent there. 3. if you cannot do it, go to program files---> fluent--->set environment and just click it. select yes. it will allow you to start from command prompt then. 4. try to use .Net for compiling as it eliminates some tedious steps of setting environment variables. 5. lemme know if u run into any problems
  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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 06:05
Error:fatal signal error in load udf mamyjooooon FLUENT 0 April 6, 2011 13:53
udf compile in parallel system tahereh FLUENT 1 December 9, 2008 09:48
interpret or compile an UDF (emergency) Lotfi FLUENT 1 August 26, 2007 12:58
UDF COMPILE OR INTERPRETATE JAVIER FLUENT 1 July 14, 2004 10:05


All times are GMT -4. The time now is 10:54.