|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
/**************************************************************/
/*pexit.c*/
/**************************************************************/
#include "udf.h"
DEFINE_PROFILE(unsteady_pressure,thread,position)
{
face_t f;
begin_f_loop(f,thread)
{
real t=RP_Get_Real("flow_time");
F_PROFILE(f,thread,position)==1013215*(0.843+0.008*sin(1256.6*t));
}
end_f_loop(f,thread);
}
fluent提示为:
cpp -IC:\FLUENT.INC\fluent6.0/src -IC:\FLUENT.INC\fluent6.0/cortex/src -IC:\FLUENT.INC\fluent6.0/client/src -IC:\FLUENT.INC\fluent6.0/multiport/src -I. -DUDFCONFIG_H="<udfconfig.h>" pexit.c
Error: pexit.c: line 1: parse error.
不知到底哪里出错了,请赐教! |
|