|
楼主 |
发表于 2011-3-15 22:13:34
|
显示全部楼层
回复 2# luo@odu.edu 的帖子
I think this is a privilege I am lucky to have, thank you very much Prof. Luo.
At the beginning of the implementation, I do not think mass and momentum should be in conservation, because it is the pressure boundary condition. I initialize the density in square duct with the inlet density , after streaming, the mass cannot be conservated in duct,I think.
If I initialize the density in duct with (inlet density+outlet density)/2.0, can mass and momentum be in conservation?
Moreover,in my code, I have checked every distribution and if it appeare negative density ,the implementation will stop.
My English is poor,sorry...
[ 本帖最后由 血色蔷薇 于 2011-3-16 08:10 编辑 ] |
|