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

problem in loading a udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 22, 2012, 02:32
Default problem in loading a udf
  #1
New Member
 
S Roopesh Kumar
Join Date: Aug 2011
Posts: 8
Rep Power: 5
roop_windscar is on a distinguished road
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...
roop_windscar is offline   Reply With Quote

Old   March 22, 2012, 05:32
Default
  #2
Member
 
Byron Smith R J
Join Date: Mar 2009
Location: India
Posts: 46
Rep Power: 8
byronsmith is on a distinguished road
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
byronsmith is offline   Reply With Quote

Old   March 22, 2012, 06:56
Default
  #3
New Member
 
S Roopesh Kumar
Join Date: Aug 2011
Posts: 8
Rep Power: 5
roop_windscar is on a distinguished road
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....
roop_windscar is offline   Reply With Quote

Old   March 22, 2012, 09:26
Default
  #4
New Member
 
Marco
Join Date: Apr 2011
Posts: 9
Rep Power: 6
ReeKo is on a distinguished road
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
ReeKo is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 32 May 8, 2015 06:05
UDF compiling problem in Flient 6.3 jeevan kumar FLUENT 2 February 25, 2009 01:43
Compiling / Loading UDF Martijn FLUENT 1 December 16, 2008 20:06
I have problem of UDF with turbulent premx source. Z FLUENT 0 February 16, 2005 04:34
UDF problem chiseung FLUENT 4 January 10, 2002 10:58


All times are GMT -4. The time now is 19:57.