找回密码
 注册
查看: 1339|回复: 5

遇到一个问题

[复制链接]
发表于 2004-3-10 20:57:59 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
我在进行流场计算的时候,遇到了一个问题
为什么流场计算的最后一个网格的速度U总是0
好多例子里也出现了这个问题
谁能帮我解释一下
如何改变这种设置?
大家帮忙亚
发表于 2004-3-12 11:19:00 | 显示全部楼层

遇到一个问题

不会吧?
发表于 2004-3-13 00:00:33 | 显示全部楼层

遇到一个问题

You are right . But you should know that is the result from staggered grid.
With the grid there is no velocity at the boundary, for example,for 1D problem(N grid):
   |     |     |   ......        |     |     |
IX   1     2                       N-1    N    <==cell(or grid)
U1      1     2                      N-1    N  <==U1 position
Here U1 at N(i.e boundary) is no meaning in staggred grid,so
the U1 is 0 at IX=N.

        
 楼主| 发表于 2004-3-25 10:17:23 | 显示全部楼层

遇到一个问题

谢谢
那是不是说第n-1各网格以前的数值都是可以用的正确的数值呢?
发表于 2004-3-25 22:07:01 | 显示全部楼层

遇到一个问题

Yes ,you are right.
Here,the velocity is located at the face of cell.
The value at cell-centre can be got with 0.5*(U1(I-1)+U1(I)) for I cell
if you hope.
 楼主| 发表于 2004-3-27 11:23:02 | 显示全部楼层

遇到一个问题

thank you very much
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表