| 查看: 473 | 回复: 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; } } |
» 猜你喜欢
国社科又开始会评了,不知道这次命运如何
已经有13人回复
麻烦专家们看看评委们的意见(F口面上)
已经有13人回复
售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急
已经有4人回复
售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急
已经有6人回复
为什么资助数各大高校都创新高,自己申请怎么就这么难
已经有15人回复
科研人应该花精力去思考如何解决问题,而不是去凝练问题
已经有14人回复
要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够
已经有17人回复
基金系统什么内容也没有
已经有10人回复
学科评审组评审是指会评吗?
已经有5人回复
面上函评意见出来了,像什么等级?
已经有17人回复
学道巅峰
新虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 92.1
- 散金: 5
- 帖子: 56
- 在线: 10.3小时
- 虫号: 4087146
- 注册: 2015-09-20
- 性别: GG
- 专业: 化工热力学和基础数据
2楼2017-04-11 16:07:41










回复此楼
30