24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 628  |  回复: 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.
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

47425804

木虫 (正式写手)


【答案】应助回帖

★ ★
臭水沟(金币+2): 谢谢应助~~ 2011-08-23 14:50:31
慕容凌馨(金币+10): 谢谢回帖者真诚的话语,虽然没有告诉解决问题的直接方法,但是提供一个思路也是大大的有帮助的。这些天心里火燎火燎的,看了你的回帖,觉得很温暖,寂寞的模拟路上,感觉不再孤单。真诚地说一句,谢谢! 2011-08-24 09:28:16
引用回帖:
2楼: Originally posted by 慕容凌馨 at 2011-08-19 10:27:54:
怎么还没有人回答啊,我心里那个着急啊

没有用UDF设置过这个多孔率,不过你可以尝试这样调试一下。
我看你似乎是用了并行计算,先不要并行,在单核下计算。
UDF里面先不要引入温度参数,看看会不会有问题。
如果没有问题,再反过来,先加入温度,还没问题就再开并行。
找到关键所在。
3楼2011-08-23 09:31:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

慕容凌馨

铁杆木虫 (小有名气)

怎么还没有人回答啊,我心里那个着急啊
2楼2011-08-19 10:27:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 304求调剂(085602,过四级,一志愿985) +7 化工人999 2026-04-04 7/350 2026-04-05 05:15 by houyaoxu
[考研] 266分,一志愿电气工程,本科材料,求材料专业调剂 +11 哇呼哼呼哼 2026-04-01 12/600 2026-04-04 23:17 by 永字号
[考研] 材料调剂 +11 一样YWY 2026-04-02 13/650 2026-04-04 23:10 by 无际的草原
[考研] 材料工程085601数二英一335求调剂 +6 双马尾痞老板2 2026-03-31 6/300 2026-04-04 22:29 by hemengdong
[考研] 278求调剂 +14 范婷娜 2026-04-04 15/750 2026-04-04 22:15 by lqwchd
[考研] 278求调剂 +3 依旧! 2026-04-02 4/200 2026-04-04 20:27 by 蓝云思雨
[考研] 一志愿安徽某211 0703化学总分339求调剂 +6 晚风不晚 2026-04-04 6/300 2026-04-04 20:11 by dongzh2009
[考研] 342求调剂 +3 Liang7111 2026-04-04 5/250 2026-04-04 19:47 by dongzh2009
[论文投稿] 求文献 5+3 ys879651$ 2026-04-02 3/150 2026-04-04 17:22 by bobvan
[考研] 材料295 +13 小英11 2026-04-03 14/700 2026-04-04 09:02 by 来看流星雨10
[考研] 求材料调剂,一志愿郑州大学289分 +15 硕星赴 2026-04-03 15/750 2026-04-04 01:01 by userper
[考研] 313求调剂 +3 ~微微凉~ 2026-04-03 3/150 2026-04-03 11:25 by 啵啵啵0119
[考研] 复试调剂 +3 bvzz 2026-04-01 3/150 2026-04-03 09:47 by 蓝云思雨
[考研] 293求调剂 +4 珂珂乐 2026-04-02 4/200 2026-04-02 20:10 by 6781022
[考研] 初试301,代码085701环境工程,本硕一致,四六级已过,有二区一作,共发表5篇论文 +6 axibli 2026-04-01 6/300 2026-04-02 13:42 by Ecowxq666!
[考研] 286分调剂 +20 Faune 2026-03-30 22/1100 2026-04-02 13:24 by clyblh
[考研] 考研调剂 +12 Amber00 2026-03-31 12/600 2026-04-02 09:04 by sanrepian
[考研] 285求调剂 +7 AZMK 2026-03-30 13/650 2026-04-01 17:00 by 七度不信任
[考研] 环境工程 085701,267求调剂 +15 minht 2026-03-29 16/800 2026-04-01 10:13 by li_sujuan99
[考研] 0855机械初试280求调剂 +3 kazenotori 2026-03-31 3/150 2026-04-01 10:08 by JourneyLucky
信息提示
请填处理意见