| 查看: 423 | 回复: 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; } } |
» 猜你喜欢
求助一下有机合成大神
已经有4人回复
拟解决的关键科学问题还要不要写
已经有8人回复
请教限项目规定
已经有5人回复
最失望的一年
已经有16人回复
存款400万可以在学校里躺平吗
已经有33人回复
求推荐英文EI期刊
已经有5人回复
26申博
已经有3人回复
基金委咋了?2026年的指南还没有出来?
已经有10人回复
疑惑?
已经有5人回复
学道巅峰
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 92.1
- 散金: 5
- 帖子: 56
- 在线: 10.3小时
- 虫号: 4087146
- 注册: 2015-09-20
- 性别: GG
- 专业: 化工热力学和基础数据
2楼2017-04-11 16:07:41













回复此楼