Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Advection in LBM_Taichi and Diffusion in D2Q9 #5

Open
wyq977 opened this issue Nov 11, 2020 · 0 comments
Open

Question: Advection in LBM_Taichi and Diffusion in D2Q9 #5

wyq977 opened this issue Nov 11, 2020 · 0 comments

Comments

@wyq977
Copy link
Contributor

wyq977 commented Nov 11, 2020

  1. 想问一下advection在LBM是怎么实现的, 有点看不懂, 是这两行嘛

ip = i - self.e[k, 0]

ip = i - self.e[k, 0]

  1. 想问下为什么我试着diffusion 结果不是很理想,感觉边界的rho(density) 很奇怪

代码:https://github.com/wyq977/LBM_Taichi/tree/test-diffusion

中间圆圈

中间正方形

谢谢🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant