Matlab实现格子玻尔兹曼方法(Lattice-Boltzmann-Method-LBM)模拟(共3页).docx
《Matlab实现格子玻尔兹曼方法(Lattice-Boltzmann-Method-LBM)模拟(共3页).docx》由会员分享,可在线阅读,更多相关《Matlab实现格子玻尔兹曼方法(Lattice-Boltzmann-Method-LBM)模拟(共3页).docx(3页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、精选优质文档-倾情为你奉上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
2、 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 shoul
3、d 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,% Boston, MA 02110-1301, USA.%clear% GENERAL FLOW CONSTANTSlx = 250;ly = 51;obst_x = lx/5+1; % position of the cylinder; (exactob
4、st_y = ly/2+1; % y-symmetry is avoided)obst_r = ly/10+1; % radius of the cylinderuMax = 0.02; % maximum velocity of Poiseuille inflowRe = 100; % Reynolds numbernu = uMax * 2.*obst_r / Re; % kinematic viscosityomega = 1. / (3*nu+1./2.); % relaxation parametermaxT = ; % total number of iterationstPlot
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Matlab 实现 格子 玻尔兹曼 方法 Lattice Boltzmann Method LBM 模拟
链接地址:https://www.taowenge.com/p-14520317.html
限制150内