fluent中interpreted UDF时,出现line1:parse error? 2个回答 #include "udf.h" DEFINE_PROFILE(inlet_x_velocity, thread, position) { face_t f; begin_f_loop(f,thread) { real t = RP_Get_Real("flow-time"); F_PROFILE(f, thread, position) = 2.0*cos(1.57*t); } end_f_lo