| 查看: 618 | 回复: 2 | |||
慕容凌馨铁杆木虫 (小有名气)
|
[求助]
多孔率的UDF设置出现错误
|
|
我在多孔介质中对多孔率设定成温度的函数,在并行计算中导入成功,可是计算的时候出现问题,请大家帮我看看 以下是我的UDF: #include "udf.h" DEFINE_PROFILE(porosity_profile,t,i) { face_t f; begin_f_loop(f,t) { int mid; mid=1.36e-11*pow(F_T(f,t),4)+4.52e-8*pow(F_T(f,t),3)+5.2e-5*pow(F_T(f,t),2)+0.024*F_T(f,t)-3.43958; if(mid<=0.1) F_PROFILE(f,t,i)=0.1; if(mid>0.1) F_PROFILE(f,t,i)=mid; } end_f_loop(f,t) } 错误信息为: unable to read the cmd header on the pmi context, Undefined dynamic error code. 999999 (..\src\mpsystem.c@1149): mpt_read: failed: errno = 10054 999999: mpt_read: error: read failed trying to read 4 bytes: Invalid argument unable to read the cmd header on the pmi context, Undefined dynamic error code. unable to read the cmd header on the pmi context, Undefined dynamic error code. unable to read the cmd header on the pmi context, Undefined dynamic error code. unable to read the cmd header on the pmi context, Undefined dynamic error code. unable to read the cmd header on the pmi context, Undefined dynamic error code. received suspend command for a pmi context that doesn't exist: unmatched id = 7 unable to read the cmd header on the pmi context, Undefined dynamic error code. unable to read the cmd header on the pmi context, Undefined dynamic error code. received suspend command for a pmi context that doesn't exist: unmatched id = 6 received suspend command for a pmi context that doesn't exist: unmatched id = 5 received suspend command for a pmi context that doesn't exist: unmatched id = 4 received suspend command for a pmi context that doesn't exist: unmatched id = 3 job aborted: rank: node: exit code[: error message] 0: PC: -1073741819: process 0 exited without calling finalize 1: PC: -1073741819: process 1 exited without calling finalize 2: PC: -1073741819: process 2 exited without calling finalize 3: PC: -1073741819: process 3 exited without calling finalize 4: PC: -1073741819: process 4 exited without calling finalize 5: PC: -1073741819: process 5 exited without calling finalize 6: PC: -1073741819: process 6 exited without calling finalize 7: PC: -1073741819: process 7 exited without calling finalize received suspend command for a pmi context that doesn't exist: unmatched id = 1 received suspend command for a pmi context that doesn't exist: unmatched id = 0 The Parallel FLUENT process could not be started. |
» 猜你喜欢
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有14人回复
表哥与省会女结婚,父母去帮带孩子被省会女气回家生重病了
已经有11人回复
江汉大学解明教授课题组招博士研究生/博士后
已经有3人回复
AI 太可怕了,写基金时,提出想法,直接生成的文字比自己想得深远,还有科学性
已经有11人回复
同年申请2项不同项目,第1个项目里不写第2个项目的信息,可以吗
已经有10人回复
依托企业入选了国家启明计划青年人才。有无高校可以引进的。
已经有11人回复
» 本主题相关价值贴推荐,对您同样有帮助:
怎么用udf读取在fluent中设置的surface-point?
已经有7人回复
导入UDF出错,fluent14.0与vs2010链接时的环境设置因该怎样的问题?
已经有8人回复
多孔介质的阻力系数如何设置
已经有6人回复
关于多孔介质区域内部边界条件设置
已经有16人回复
多孔介质燃烧编写UDF气固两相控制方程的问题
已经有5人回复
多孔介质孔隙率udf问题
已经有7人回复
FLUENT UDF 设置问题
已经有3人回复
udf 根据监测点的压力值设置入口的质量流量
已经有5人回复
用UDF定义了volumetric reaction rate 还怎么在fluent里设置阿累尼乌斯定律参数
已经有11人回复
【求助】fluent UDF设置边界条件
已经有13人回复
多孔介质udf,uds编写问题
已经有33人回复
进行单机多核udf的并行计算,需要怎么设置?
已经有9人回复
N2吸附测多孔材料,怎么做制样,仪器设置些什么参数
已经有9人回复
急求各位大侠啊~fluent里多孔介质模型参数设置的问题~
已经有5人回复
多孔介质在gambit中建模后边界条件设置问题
已经有15人回复
慕容凌馨
铁杆木虫 (小有名气)
- 应助: 4 (幼儿园)
- 金币: 9236.8
- 散金: 14
- 红花: 4
- 帖子: 278
- 在线: 257.4小时
- 虫号: 611131
- 注册: 2008-09-24
- 专业: 能源化工
2楼2011-08-19 10:27:54
【答案】应助回帖
★ ★
臭水沟(金币+2): 谢谢应助~~ 2011-08-23 14:50:31
慕容凌馨(金币+10): 谢谢回帖者真诚的话语,虽然没有告诉解决问题的直接方法,但是提供一个思路也是大大的有帮助的。这些天心里火燎火燎的,看了你的回帖,觉得很温暖,寂寞的模拟路上,感觉不再孤单。真诚地说一句,谢谢! 2011-08-24 09:28:16
臭水沟(金币+2): 谢谢应助~~ 2011-08-23 14:50:31
慕容凌馨(金币+10): 谢谢回帖者真诚的话语,虽然没有告诉解决问题的直接方法,但是提供一个思路也是大大的有帮助的。这些天心里火燎火燎的,看了你的回帖,觉得很温暖,寂寞的模拟路上,感觉不再孤单。真诚地说一句,谢谢! 2011-08-24 09:28:16
|
没有用UDF设置过这个多孔率,不过你可以尝试这样调试一下。 我看你似乎是用了并行计算,先不要并行,在单核下计算。 UDF里面先不要引入温度参数,看看会不会有问题。 如果没有问题,再反过来,先加入温度,还没问题就再开并行。 找到关键所在。 |
3楼2011-08-23 09:31:35













回复此楼
