UDF怎么编写?
#include"udf.h"
DEFINE_PROFILE(inlet_x_temp,thread,time)
{
realflow_time;
face_tf;
begin_f_loop(f,thread)
{
flow_time=CURRENT_TIME;
if(flow_time
elseF_PROFILE(inlet_x_temp,thread,time)=273+0.1*(flow_time-5184*E3)/86400;
}
end_f_loop(f,thread)
}