senthilathiban
Subscriber
I also tried with the adjacent cell thread and it produced the same error.nnDEFINE_PROFILE(heat_gas_wall,t,i)n{n face_t f;n Message0(TEst 00000000000);n /*face thread*/nThread *ti = THREAD_SUB_THREAD(t,0);nThread *tj = THREAD_SUB_THREAD(t,1);n/*cell thread*/nThread *tci = THREAD_T0(ti);nThread *tcj = THREAD_T0(tj);ncell_t c = F_C0(f,ti);nnMessage0(TEst 0);nreal v_x=0., v_y=0., v_z=0.;nreal vel;nv_x = C_U(c,tcj) - C_U(c,tci);nv_y = C_V(c,tcj) - C_V(c,tci);nv_z = C_W(c,tcj) - C_W(c,tci);nvel = sqrt(v_x*v_x + v_y*v_y + v_z*v_z);n..n....n....n}n