|
[Sponsors] |
September 15, 2004, 06:46 |
a compiled error fo UDF
|
#1 |
Guest
Posts: n/a
|
Hi, everyone I am compiled a udf program. Namke comamnd showed a error message: "makefile<66>: fatal error U1023: syntax error in expression". But I cannot find the reason of error. Please someone help me.
****************************** #include "udf.h" DEFINE_ON_DEMAND(viscosity_calc) { cell_t c,c0,c1; face_t f; Thread *t; Thread *f_thread; Thread *c_thread; Domain *d; real x[ND_ND]; int i; thread_loop_c(c_thread,d) { begin_c_loop(c,c_thread) { i=0; c_face_loop(c,c_thread,i) { f = C_FACE(c,c_thread,i); f_thread = C_FACE_THREAD(c,c_thread,i); c0 = F_C0(f,f_thread); c1 = F_C1(f,f_thread); C_CENTROID(x,c,c_thread); if (c1==NULL) printf("Boundray cell\n",x[0],x[1],x[2]); } } end_c_loop(c,c_thread) } } ***************************** |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
I want to use pressure of 1 face in udf that compiled on other face | iman_1844 | Fluent UDF and Scheme Programming | 3 | June 10, 2010 13:55 |
Why udf can not be compiled in my pc? | Xinqiang | FLUENT | 0 | June 10, 2009 15:32 |
difference between udf compiled and udf interprete | chandra sekhar | FLUENT | 2 | April 11, 2006 01:04 |
how to quit compiled or interprited UDF | tian | FLUENT | 0 | April 9, 2003 00:53 |