|
[Sponsors] |
March 22, 2012, 01:32 |
problem in loading a udf
|
#1 |
New Member
S Roopesh Kumar
Join Date: Aug 2011
Posts: 8
Rep Power: 14 |
Error Object: #f
1 file(s) copied. (system "copy "C:\PROGRA~1\ANSYSI~1\v120\fluent"\fluent12.0.16\s rc\makefile_nt.udf libudf\win64\3ddp\makefile") 1 file(s) copied. (chdir "libudf")() (chdir "win64\3ddp")() '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. Please help me out with this problem... i am trying to load a UDF for giving a transient velocity and when i load it in compiled format this error comes.. what should i do.. should i use iterpreted/compiled??? Thanks in advance... |
|
March 22, 2012, 04:32 |
|
#2 |
Member
Byron Smith R J
Join Date: Mar 2009
Location: India
Posts: 46
Rep Power: 17 |
hai,
Check whether the environment variables are set properly for the VC++ installation. moreover ensure that the udf and case files are in the same location. with regards byronsmith |
|
March 22, 2012, 05:56 |
|
#3 |
New Member
S Roopesh Kumar
Join Date: Aug 2011
Posts: 8
Rep Power: 14 |
thank u byronsmith.. i will try it out...
#include "udf.h" DEFINE_PROFILE(unsteady_velocity, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop(f, thread) { F_PROFILE(f, thread, position) = 20. + 5.0*sin(10.*t); } end_f_loop(f, thread) } this is the program given in the tutorials... i saved it as .c format using notepad and opened it using fluent thats when i got the error.. if this works out i have alter this program for other cases... can u give me any instructions bcos i am new to udf's.... |
|
March 22, 2012, 08:26 |
|
#4 |
New Member
Marco
Join Date: Apr 2011
Posts: 9
Rep Power: 14 |
Check http://www.cfd-online.com/Wiki/Fluen...UDF.29_Related to find the answer to your problem. It helped me too not only solving that issue.
Regards |
|
|
|
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 |
UDF compiling problem in Flient 6.3 | jeevan kumar | FLUENT | 2 | February 25, 2009 00:43 |
Compiling / Loading UDF | Martijn | FLUENT | 1 | December 16, 2008 19:06 |
I have problem of UDF with turbulent premx source. | Z | FLUENT | 0 | February 16, 2005 03:34 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |