| 查看: 344 | 回复: 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后会线性上升,但是数值时错误的。请问是哪里没设置好。 谢谢大侠! |
» 猜你喜欢
梦想
已经有9人回复
为什么资助数各大高校都创新高,自己申请怎么就这么难
已经有15人回复
科研人应该花精力去思考如何解决问题,而不是去凝练问题
已经有14人回复
要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够
已经有17人回复
基金系统什么内容也没有
已经有10人回复
学科评审组评审是指会评吗?
已经有5人回复
面上合作单位盖章
已经有9人回复
面上函评意见出来了,像什么等级?
已经有17人回复
小白求助 投论文要求的highlights应该如何写
已经有4人回复
麻烦专家们看看评委们的意见(F口面上)
已经有12人回复










;
回复此楼
30