|
[Sponsors] |
October 26, 2005, 12:02 |
help on UDF compile and load
|
#1 |
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: () |
|
October 26, 2005, 13:26 |
Re: help on UDF compile and load
|
#2 |
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. |
|
October 26, 2005, 13:53 |
Re: help on UDF compile and load
|
#3 |
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. |
|
October 26, 2005, 16:52 |
Re: help on UDF compile and load
|
#4 |
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.
|
|
October 27, 2005, 01:02 |
Re: help on UDF compile and load
|
#5 |
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 |
|
October 29, 2005, 12:37 |
Re: help on UDF compile and load
|
#6 |
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 |
|
|
|
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 |
Error:fatal signal error in load udf | mamyjooooon | FLUENT | 0 | April 6, 2011 14:53 |
udf compile in parallel system | tahereh | FLUENT | 1 | December 9, 2008 10:48 |
interpret or compile an UDF (emergency) | Lotfi | FLUENT | 1 | August 26, 2007 13:58 |
UDF COMPILE OR INTERPRETATE | JAVIER | FLUENT | 1 | July 14, 2004 11:05 |