|
[Sponsors] |
June 4, 2004, 20:35 |
the problem of udf
|
#1 |
Guest
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:\fluent.inc\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; begin_c_loop(c,thread) { C_CENTROID(x,c,thread); y=x[1]; F_PROFILE(c,thread,index)=1/(exp(pow(y/16,1.2))); } end_c_loop(c,thread) anyone can tell me the reason? |
|
|
|
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 |
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 00:31 |
udf compiling problem | akr | FLUENT | 3 | August 22, 2007 07:14 |
UDF problem | chiseung | FLUENT | 4 | January 10, 2002 09:58 |