Matlab实现格子玻尔兹曼方法(Lattice Boltzmann Method,LBM)模拟
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% cylinder.m: Flow around a cyliner, using LBM
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation; either version 2
% of the License, or (at your option) any later version.
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% You should have received a copy of the GNU General Public
% License along with this program; if not, write to the Free
% Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
% Bost

该博客介绍了如何使用Matlab实现格子玻尔兹曼方法(LBM)来模拟流体流动。通过定义流动常数、设置边界条件和进行碰撞及流步迭代,模拟了围绕圆柱体的流动。代码中包含了一个用于显示流场速度的可视化部分。

58

被折叠的 条评论
为什么被折叠?



