| 查看: 429 | 回复: 1 | ||
[求助]
Why i can't change injection through DEFINE_DPM_INJECTION_INIT
|
|
Hi, i hope anyone could help me or give me some advices. The problem is: I create a surface injection in GUI, and the flow is unsteady and particle tracking is also unsteady. Then i want to change the particle temperature through UDF. the UDF can be built, loaded and hooked, but it does no change to the particle temperature at all. I also tried a DEFINE_ADJUST, and the problem is same. the UDF is: #include "udf.h" DEFINE_DPM_INJECTION_INIT(particle, I) { Particle *p; Message("Initializing Injection qwj: %s\n",I->name); loop(p,I->p_init) { P_INIT_TEMP(p)=1500; P_T(p)=1400; } } |
» 猜你喜欢
博士自荐
已经有6人回复
博士推荐
已经有4人回复
求环氧树脂研发1名
已经有10人回复
280求调剂
已经有5人回复
什么是人一生最重要的?
已经有10人回复
面上可以超过30页吧?
已经有13人回复
为什么中国大学工科教授们水了那么多所谓的顶会顶刊,但还是做不出宇树机器人?
已经有13人回复
版面费该交吗
已经有17人回复
【博士招生】太原理工大学2026化工博士
已经有8人回复
学道巅峰
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 92.1
- 散金: 5
- 帖子: 56
- 在线: 10.3小时
- 虫号: 4087146
- 注册: 2015-09-20
- 性别: GG
- 专业: 化工热力学和基础数据
2楼2017-04-11 16:07:41













回复此楼