fluent动网格中,center of gravity location的这个位置是随时间变化的,我用什么宏或者命令把这个坐标取到我的udf中?
F_CENTROID(x,f,t)real x, face_t f, Thread *t例如:begin_f_loop(f, thread) { F_CENTROID(FC,f,thread); printf("x-coord = %f y-coord = %f", FC, FC); }end_f_loop(f,thread)
页:
[1]