| 查看: 3474 | 回复: 0 | ||
chentaomagic银虫 (小有名气)
|
[求助]
udf 解释时出现structure reference not implemented是为什么呢
|
|
ansys18,我定义体积反应,结果总是出现反应这个数据结构有问题(structure reference not implemented)。然后我照搬帮助里面体积反应udf 的例子,结果也显示r这个数据结构有问题,这是为什么,这不是内部定义好了的吗? 请教知情人指点。 (不知道为什么代码出现好多表情 )#include "udf.h" DEFINE_VR_RATE(myrate,c,t,r,mw,yi,rr,rr_t) { /*If more than one reaction is defined, it is necessary to distinguish between these using the names of the reactions. */ if (!strcmp(r->name, "reaction-1" ){ /* Reaction 1 */ } else if (!strcmp(r->name, "reaction-2" ){ /* Reaction 2 */ } else { /* Message("Unknown Reaction " ; */} /* Message("Actual Reaction: %s ",r->name); */ }@wuming524 |
» 猜你喜欢
现代”学阀”该如何界定
已经有12人回复
国社科系统bug了,是不是要放榜了?
已经有10人回复
课题组招2027级博士 上海工程技术大学 激光智能制造方向
已经有4人回复
上海工程技术大学 激光智能制造课题组 2027级博士研究生招生
已经有3人回复
上海工程技术大学激光智能制造课题组|2027级博士研究生招生公告
已经有11人回复
我的奶奶
已经有3人回复










)
)
回复此楼