Video: https://youtu.be/NlZlM59YK3w
Details: http://dx.doi.org/10.13140/2.1.1606.1120
The following code is provided "as is" as a learning tool for those interested in LBM, and is to be used at your own risk.Can be used and distributed freely. Please cite the paper below should you enjoy it!Please read the following paper for further details:http://dx.doi.org/10.13140/2.1.1606.1120
This Matlab code aims at solving Lattice Botlzmann Method (LBM) in a 2D channel flow.The goal is to observe how well different LBM methods for capturing a curved wall bounadry condition behave.The benchmark is chosen to be the drag coefficient obtained from flow over a cylinder, while different methods are applied to capture the curved boundary.
这是我学习LBM时接触到的第一个代码,是一个“祖传”的代码,在很多博客上都能找到,我按照自己初学时的理解加了注释。这个代码是关于D2Q9圆柱绕流模拟的。b站有个up主讲解过这个代码,这是网站链接:https://www.bilibili.com/video/BV1nZ4y1h7DF/?spm_id_from=333.999.0.0&vd_source=9ab5ddb7b0de0c8f2730f37