UDF von neumann
#include udf.h
DEFINE_PROFILE(von_neumann,thread,index) { face_t f; Thread *t; cell_t c0; Thread *t0; begin_f_loop(f,t) { F_PROFILE(f,t,i)=C_U(c0,t0); } end_f_loop(f,t) } This is the udf i framed for the gradient boundary condition du/dy=0. But i want this udf to be executed at the end. But if i use execute_at_end macro, will i be able to declare the index i for the F_PROFILE(f,t,i). Please help. Thank you Rgds Nadesan |
All times are GMT -4. The time now is 05:24. |