| 查看: 331 | 回复: 0 | |||
tmw1987铁杆木虫 (正式写手)
|
[交流]
【求助】入口速度intlet设置?
|
|
诸位: 我拟模拟管道内流体入口速度随时间变化时,内部管道的压力变化趋势。 用udf编写入口速度如下: #include "udf.h" DEFINE_PROFILE(velocity, thread, position) { face_t f; begin_f_loop(f, thread) { real t = RP_Get_Real("flow-time" ;if (t <= 3) F_PROFILE(f, thread, position) = 3; else if (t > 3 && t <=6) F_PROFILE(f, thread, position) = t; else if (t > 6 && t <=9) F_PROFILE(f, thread, position) = 6; else if (t > 9 && t <=15) F_PROFILE(f, thread, position) = -t/2+10.5; else F_PROFILE(f, thread, position) = 3; } end_f_loop(f, thread) } 意思是0~3s时,入口速度为3m/s 3~6s时,速度是线性上升的,v0=t; …… 但是用fluent模拟时,观察到入口速度总是为0,而且3s后会线性上升,但是数值时错误的。请问是哪里没设置好。 谢谢大侠! |
» 猜你喜欢
filecode与中标关系的预测
已经有3人回复
filecode变化情况
已经有22人回复
十年后又回来了,论文投稿求助
已经有4人回复
听说今天filecode变了
已经有45人回复
大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑
已经有7人回复
关于豆爷回答的JTJC与%2F数量
已经有6人回复
面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇!
已经有31人回复
filecode
已经有19人回复
基金中了
已经有11人回复
固定端突然变了,今天
已经有8人回复










;
回复此楼
100