| 查看: 720 | 回复: 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) } 大神帮忙啊!! |
» 猜你喜欢
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有6人回复
售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急
已经有5人回复
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有5人回复
售SCI文章,我:8O.5.5.1O.54,科目全,可十急
已经有4人回复
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有7人回复
售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急
已经有5人回复
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有6人回复
售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急
已经有7人回复
售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急
已经有6人回复
各位大神,目前国内有哪些比较好用的逆合成软件?
已经有8人回复

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










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