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

Some questions about the MRT-LBM code #34

Open
HPL001 opened this issue Oct 12, 2024 · 5 comments
Open

Some questions about the MRT-LBM code #34

HPL001 opened this issue Oct 12, 2024 · 5 comments

Comments

@HPL001
Copy link

HPL001 commented Oct 12, 2024

Dear Dr. Yang:

I have read the LBM related code written by taichi. Thank you very much for providing such a good code. I would like to express my thanks and respect to you. However, I have some unclear questions about the code, so I would like to consult you by email. I am looking forward to your reply very much.

  1. In line 236 of LBM_3D_SinglePhase_Solver.py, I noticed that you adopted the external force format proposed by Guo et al. However, in this line, according to the literature, the division sign before 3.0 and 9.0 seems to be the multiplication sign, I wonder if my understanding is correct.

  2. I replaced just the meq_vec function in LBM_3D_SinglePhase_Solver.py with one of the parameters mentioned in other blog, but the calculation is not correct.

  3. Some parameters you used in MRT-LBM, such as M matrix and meq_vec function calculation, are specifically from which literature? I hope you can give me some advice.

Just learning LBM, a little confused, looking forward to getting teacher's advice, thank you.

@yjhp1016
Copy link
Owner

yjhp1016 commented Oct 13, 2024 via email

@HPL001
Copy link
Author

HPL001 commented Oct 13, 2024

Thank you for your reply. I will continue my research based on your help. Thank you very much.

@HPL001
Copy link
Author

HPL001 commented Oct 18, 2024

杨博士您好,思考了一段时间,仍有些问题难以解决,很抱歉再次打扰您。我注意在Guo格式的力计算中,您采用了如图形式。我疑惑地是原文中需要除Cs2和Cs4是如何处理的呢?此外,松弛时间的选择,您给了两种形式,这个该依据什么来选择呢?这导致我在采用您单相流中泊肃叶流动的相关case时并不能与解析解验证上。盼望得到您的回复。
微信图片_20241018172954

@yjhp1016
Copy link
Owner

yjhp1016 commented Oct 18, 2024 via email

@HPL001
Copy link
Author

HPL001 commented Oct 20, 2024

非常感谢您的回复,我调整了一些参数,已经可以运行了。

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

2 participants