UDF导入FLUENT读入程序出错
#include "udf.h"DEFINE_PROFILE(wall_z_velocity,thread,time)
{
face_tf;
real break_time=RP_Get_Real("break-time");
if(break_time<1.5)
{
begin_f_loop(f,thread)
{
F_PROFILE(f,thread,time)=14.7-9.8*break_time;
}
end_f_loop(f,thread)
}
else
{
begin _f_loop(f,thread)
{
F_PROFILE(f,thread,time)=0;
}
end_f_loop(f,thread)
}
}
提示error: line 4: face_tf: undeclared variable
请大神指点
页:
[1]