| 查看: 434 | 回复: 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; } } |
» 猜你喜欢
材料与化工371求调剂
已经有9人回复
085600调剂
已经有9人回复
346分的生物与医药08600求调剂
已经有6人回复
304求调剂(085602,过四级,一志愿985)
已经有13人回复
328分调剂
已经有6人回复
求调剂
已经有9人回复
358求调剂
已经有7人回复
生物与医药调剂
已经有3人回复
367求调剂
已经有3人回复
工科08专硕机械275求调剂
已经有3人回复
学道巅峰
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 92.1
- 散金: 5
- 帖子: 56
- 在线: 10.3小时
- 虫号: 4087146
- 注册: 2015-09-20
- 性别: GG
- 专业: 化工热力学和基础数据
2楼2017-04-11 16:07:41














回复此楼