DEFINE_ON_DEMAND(current_density)
{
Domain *d;
Thread *t;
cell_t c;
d=Get_Domain(1);
thread_loop_c(t,d)
{
begin_c_loop(c,t)
{
C_UDMI(c,t,3)=-C_UDSI_DIFF(c,t,0)*C_UDSI_G(c,t,0)[0];
C_UDMI(c,t,4)=-C_UDSI_DIFF(c,t,0)*C_UDSI_G(c,t,0)[1];
C_UDMI(c,t,5)=-C_UDSI_DIFF(c,t,0)*C_UDSI_G(c,t,0)[2];
}
end_c_loop(c,t)
}
}
问题描述:每当我把调用这个宏时,就会出现如下错误:
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: ()
求交流,求指导!木虫里面也有类似错误帖子,但没有给胡解决方法。 |