24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1623  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

慕容凌馨

铁杆木虫 (小有名气)

[求助] FLUENT并行运算初始时就报错

我将解释型UDF导入FLUENT中,编译成功,可是在初始化的时候,一点initialize就出现以下错误:

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 = 6
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

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.

job aborted:
rank: node: exit code[: error message]
0: PC:123
1: PC: -1073741819: process 1 exited without calling finalize
2: PC: 123
3: PC: -1073741819: process 3 exited without calling finalize
4: PC: -1073741819: process 4 exited without calling finalize
5: PC: 123
6: PC: -1073741819: process 6 exited without calling finalize
7: PC: 123
The Parallel FLUENT process could not be started.
请各位XDJM帮帮我啊
回复此楼

» 猜你喜欢

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

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

47425804

木虫 (正式写手)



xiegangmai(金币+1): 谢谢参与! 2011-08-16 22:37:52
引用回帖:
4楼: Originally posted by 慕容凌馨 at 2011-08-16 15:52:59:
哎呀,我知道自己错在哪里了。在FLUENT中对于specific heat的编写不能用DEFINE_PROPERTY,而是应当用DEFINE_SPECIFIC_HEAT

以后最好用引用回复的方式回帖,我都不知道你把UDF贴上来了~~~
找到问题在哪就好,呵呵~~~
5楼2011-08-16 16:17:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

47425804

木虫 (正式写手)


【答案】应助回帖


臭水沟(金币+1): 谢谢应助~~ 2011-08-12 11:26:45
慕容凌馨(金币+1): 谢谢提醒,确实是UDF出了问题 2011-08-13 22:08:05
或许和UDF有关系,不知可不可以吧UDF贴上来看看~~~
2楼2011-08-12 08:44:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

慕容凌馨

铁杆木虫 (小有名气)

#include "udf.h"

DEFINE_PROPERTY(brick_specific_heat,c,t)
{
real brick_heat;

brick_heat=4184*(14.41+1.94e-3*C_T(c,t))/60;

return brick_heat;
}

这个是我编写的udf,将硅砖的热容定义成温度的函数
3楼2011-08-16 14:54:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

慕容凌馨

铁杆木虫 (小有名气)


臭水沟(金币+1): 鼓励自己解决问题~~ 2011-08-16 19:13:12
哎呀,我知道自己错在哪里了。在FLUENT中对于specific heat的编写不能用DEFINE_PROPERTY,而是应当用DEFINE_SPECIFIC_HEAT
4楼2011-08-16 15:52:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见