|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
在用此宏的时候如果执行此宏就会出现问题: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: ()
不知道是怎么回事,就是输上的例子也出现同样的问题,请高手解决一下,谢谢
#include "udf.h"
DEFINE_ON_DEMAND(on_demand_calc)
{
int j;
cell_t c;
Thread *t;
Domain *d;
d = Get_Domain(1);
thread_loop_c(t,d)
{
begin_c_loop(c,t)
{
for(j = 0;j<6;j++)
C_UDMI(c,t,j)=0;
}
end_c_loop(c,t)
}
} |
|