|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
#include"udf.h"
define_profile(velocity_inlet,thread,position)
{
real x[nd_nd];
real y;
face_t f;
begin_f_loop(f,thread)
{
f_centroid(x,f,thread);
y=x[1];
f_profile(f,thread,position)=8*pow((y/500),0.36);
}
end_f_loop(f,thread)
}
导入fluent出错:错误:cpp -IE:\Fluent.Inc\fluent6.2.16/src -IE:\Fluent.Inc\fluent6.2.16/cortex/src -IE:\Fluent.Inc\fluent6.2.16/client/src -IE:\Fluent.Inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>"F:\c\vel.c
Error: F:\c\vel.c: line 5: parse error |
|