|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
#include "udf.h"
#include "mem.h"
#define diam 2.0e-4
DEFINE_PROFILE(x_inertial,t,i)
{
real Re,mu;
cell_t c;
real vx=C_U(c,t);
real r=C_R(c,t);
mu=C_MU_L(c,t);
Re=vx*r*diam/mu;
begin_f_loop(c,t)
{
if (Re<5)
F_PROFILE(c,t,i)=0;
else
F_PROFILE(c,t,i)=5.84e4;
}
end_f_loop(c,t)
}
点击init就报错
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: () |
|