|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我在使用下面的UDF时候出现了parse error 的问题,大家看看怎么回事??
DEFINE_PROFILE(inlet_y_velocity, thread, index)
{
float t;
face_t f;
begin_f_loop(f, thread)
{
t = RP_Get_Real("flow-time");
F_PROFILE(f, thread, index)=0.9251+0.027*[|sin(92.3982*t+12.1602)|]+0.4450*[|-sin(92.3998*t+130.3760)|]+0.7773*[|cos(92.3998*t-39.1737)|];
}
end_f_loop(f, thread)
} |
|