CFD Online Logo CFD Online URL
Home > Forums > FLUENT

a compiled error fo UDF

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

LinkBack Thread Tools Display Modes
Old   September 15, 2004, 05:46
Default a compiled error fo UDF
Posts: n/a
Sponsored Links
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) {






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);


if (c1==NULL) printf("Boundray cell\n",x[0],x[1],x[2]);



end_c_loop(c,c_thread) } }

  Reply With Quote
Sponsored Links


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
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21: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 12:55
Why udf can not be compiled in my pc? Xinqiang FLUENT 0 June 10, 2009 14:32
difference between udf compiled and udf interprete chandra sekhar FLUENT 2 April 11, 2006 00:04
how to quit compiled or interprited UDF tian FLUENT 0 April 8, 2003 23:53

Sponsored Links

All times are GMT -4. The time now is 08:44.