|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
我是按照fluent自己带的tutorial的例子做的,
需要 定义出口的速度,用的是fluent带的pexit.c,
这个是人家写好的。
我导入就错了,提示如下:
cpp -I"F:\Fluent.Inc\fluent6.3.26/src" -I"F:\Fluent.Inc\fluent6.3.26/cortex/src" -I"F:\Fluent.Inc\fluent6.3.26/client/src" -I"F:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "pexit.c"
error: udf compiler: cannot execute cpp -I"F:\Fluent.Inc\fluent6.3.26/src" -I"F:\Fluent.Inc\fluent6.3.26/cortex/src" -I"F:\Fluent.Inc\fluent6.3.26/client/src" -I"F:\Fluent.Inc\fluent6.3.26/multiport/src" -I. -DUDFCONFIG_H="<udfconfig.h>" "pexit.c"
说明:pexit.c是人家公司写好的,我按照tutorial的说明导入可是错了。
还有一个问题,我发现那些例子都是以.cas.gz结尾的,这好像是ansys的保存结果吧?我现在是单独的fluent6.3,会不会是版本的问题?
我是第一次做UDF,希望大家给点意见,谢谢!
[ 本帖最后由 dengbitao 于 2012-4-20 13:38 编辑 ] |
|