| 查看: 638 | 回复: 0 | ||
西方明金虫 (小有名气)
金虫
|
[求助]
fluent 出现假死的现象
|
|
在网上下载了一个DEFINE_ON_DEMAND 函数,在case中运行时出现问题,fluent编译很顺利,没有报错,不过在点了execute之后,fluent就不运行了,也不报错,好像是死机了一样。。。。 函数如下: #include "udf.h" DEFINE_ON_DEMAND(Test) { Domain *d; /* Get the domain using Fluent utility */ face_t f; cell_t c, c0; Thread *t, *t0, *ct; int Zone_ID = 6; /* Zone Id can be seen in the Boundary Conditions Panel, for me 5 = Wall */ d = Get_Domain(1); /* Initialise Cells */ /* this loops over all cells and lets the UDM = 0 */ thread_loop_c(ct, d) { begin_c_loop(c,ct) { C_UDMI(c,ct,0) = 0.0; } end_c_loop(c,ct) } /* Loop over all faces on wall */ t = Lookup_Thread(d, Zone_ID); begin_f_loop(f,t) { /* c0 and t0 identify the adjacent cell */ c0 = F_C0(f, t); t0 = THREAD_T0(t); /* this loops over all cells adjacent to wall and lets the UDM = 2.0 */ C_UDMI(c0, t0, 0) = 2.0; } end_f_loop(f,t) } 大神帮忙啊!! |
» 猜你喜欢
333求调剂
已经有9人回复
070300化学学硕311分求调剂
已经有3人回复
321求调剂
已经有13人回复
348求调剂
已经有4人回复
0703化学
已经有8人回复
材料调剂
已经有11人回复
081700学硕,323分,一志愿中国海洋大学求调剂学校
已经有10人回复
0703求调剂383分
已经有7人回复
0703化学调剂325分
已经有4人回复
329求调剂
已经有15人回复

找到一些相关的精华帖子,希望有用哦~
fluent使用之奇怪现象
已经有12人回复
endnote x2与word2007出现“假死”现象,如何解决
已经有7人回复
【求助】fluent结果tecplot中画流线为什么会出现中断的现象,如何避免
已经有7人回复
科研从小木虫开始,人人为我,我为人人














回复此楼
点击这里搜索更多相关资源