CFD Online Logo CFD Online URL
Home > Forums > FLUENT

the problem of udf

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

LinkBack Thread Tools Display Modes
Old   June 4, 2004, 20:35
Default the problem of udf
Posts: n/a
hi: i meet a problem when i compile my udf in fluent, my udf can be compiled in other peoples computer ,but there is following error in my computer: (system "move user_nt.udf libudf\ntx86\3d")0 (system "copy C:\\fluent6.1\src\makefile_nt.udf libudf\ntx86\3d\makefile")已复制 1 个文件。 0 (chdir "libudf")() (chdir "ntx86\3d")() particle.c # Generating udf_names.c because of makefile particle.obj udf_names.c udf_names.c(7) : error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof returns 0

Done. my udf is:

#include "udf.h"

DEFINE_PROFILE(particel_distribution,thread,index) {

real x[ND_ND];

real y;

cell_t c;







end_c_loop(c,thread) anyone can tell me the reason?
  Reply With Quote

Old   June 5, 2004, 05:10
Default Re: the problem of udf
Posts: n/a

Make sure that your source file and the head files such as udf.h are in the same directory that contains your case and date files accordin to my experience. Good luck!
  Reply With Quote


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 40 October 18, 2017 07:17
Problem with my udf july Fluent UDF and Scheme Programming 3 June 20, 2010 06:56
UDF problem mansha goraya FLUENT 0 October 29, 2007 01:31
udf compiling problem akr FLUENT 3 August 22, 2007 07:14
UDF problem chiseung FLUENT 4 January 10, 2002 10:58

All times are GMT -4. The time now is 20:49.