| 查看: 2430 | 回复: 16 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
stormsprit木虫 (小有名气)
|
[求助]
fluent udf请教
|
|
|
谁能帮我看下下面的udf中哪里有问题吗? #include "udf.h" DEFINE_SOURCE(heat_source, cell, thread, dS, eqn) { real x[3]; // 3-Dimantional float r,time; real source=0; C_CENTROID(x,cell,thread); // Get the position of each node, which will get x[0] = x position, x[1] = y position, x[2] = z position r=(x[0])*(x[0])+x[1]*x[1]; time=CURRENT_TIME; if( r<=0.0004&&time<=2) { source = 165308926; // source expantion dS[eqn] = 0.0; // this is dS / d(phi), phi stands for your variables which will be added source } return source; } 我是想在一个固体中加一个这样的热源让其熔融的,采用udf编写以上热源,我通过选用物质的物性参数(热容,熔融热等)以及所采用的物质的质量计算得到热源的放热率为165308926w/m3,但是fluent运算后发现最终温度远小于预想温度,能帮我看看问题出在哪里了吗? |
» 猜你喜欢
论文终于录用啦!满足毕业条件了
已经有12人回复
2025年遐想
已经有4人回复
投稿Elsevier的杂志(返修),总是在选择OA和subscription界面被踢皮球
已经有8人回复
求个博导看看
已经有18人回复
linchen0519
新虫 (初入文坛)
- 应助: 0 (幼儿园)
- 金币: 98.8
- 帖子: 19
- 在线: 22.5小时
- 虫号: 3517927
- 注册: 2014-11-04
- 性别: GG
- 专业: 电机与电器
17楼2017-06-28 15:10:27
2楼2013-04-08 21:13:22
stormsprit
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 4147.8
- 帖子: 58
- 在线: 42.4小时
- 虫号: 1840414
- 注册: 2012-05-30
- 专业: 工程热物理相关交叉领域
3楼2013-04-08 21:24:40
★ ★
xiegangmai: 金币+2, 谢谢参与! 2013-04-09 00:04:12
xiegangmai: 金币+2, 谢谢参与! 2013-04-09 00:04:12
|
本帖内容被屏蔽 |
4楼2013-04-08 22:09:27







回复此楼

stormsprit