|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
fluent初始化出现错误 入口为速度入口,速度按照正弦函数波动,采用UDF文件,如下;出口为压力出口,本模型没有采用动网格
#include "udf.h"
DEFINE_CG_MOTION(vel_comp, dt, vel, omega, time, dtime)
{
real freq=40.0;
real w=2.0*M_PI*freq;
real Xcomp=0.0065;
/* reset velocities */
NV_S (vel, =, 0.0);
NV_S (omega, =, 0.0);
vel[0] = w*Xcomp*cos(w*time);
}
读入DUF文件时没有出错,但在初始化时出现错误:
Error:
FLUENT received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.
Error Object: ()
不知道哪里出错了
[ 本帖最后由 qfzydtk 于 2012-9-18 16:11 编辑 ] |
|