CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   HELP!! UDF (https://www.cfd-online.com/Forums/fluent/34501-help-udf.html)

Doris August 28, 2004 05:12

HELP!! UDF
 
Hi all,

My udf interpreted wrong.I have no idea.Please help me. thanks!

That is the error message: Error: E:\airfoil\euler\udfshishi\40miu222\rw.c: line 317: non-integer subscript expression: unsigned char.

And following is my udf: #include "udf.h" DEFINE_ADJUST(shishi,mix_domain) {

cell_t c;

int i = 0;

Thread *thread = Lookup_Thread(mix_domain,4);

begin_c_loop(c,thread)

{

c_face_loop(c,thread,i)

printf("i=%d ",i);

}

end_c_loop(c,thread)

printf("\n\n"); }



All times are GMT -4. The time now is 18:40.