24小时热门版块排行榜    

查看: 617  |  回复: 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的回帖
信息提示
请填处理意见