image thumbnail

yangyang14641/Cavit​yFlowInLBMInMATLAB

version 1.4.0.0 (5.99 MB) by Yang Yang
Simple Cavity Lid-driven flow D2Q9 LBM Solver

256 Downloads

Updated 12 Apr 2018

From GitHub

View license on GitHub

# CavityFlowInLBMInMATLAB
## :floppy_disk:Cavity Lid-driven flow in Lattice Boltzmann Method, MATLAB implementation.
> This repository is part of my undergraduate B.Eng. Thesis.
> I had written several codes for my B.Eng. Thesis, Including MATLAB codes for Lid-driven Flow and parallel Fortran codes to compute co-laminar flow with mass transfer.
> For the MATLAB codes, I designed three version of codes, one was implemented by for-loop while vectorization implemented others. My purpose is to show
> the running speed and the better way for MATLAB programming.
# MATLAB Program Instruction
## 1. LidDrivedFlowMain.m (the Main function, run this file and adjust computing parameters through this M-file)
## 2. initialfield.m (Subroutine to initial computing area)
## 3. f_eq.m (Subroutine to compute equilibrium​ distribution)
## 4. plotfunction.m (Plot computing result in the run-time)
## 5. RelativeErro.m (Computing Residuals)
## 6. FieldOutputs.m (Output the computing result in the runtime in the Tecplot format)

Cite As

Yang Yang (2021). yangyang14641/CavityFlowInLBMInMATLAB (https://github.com/yangyang14641/CavityFlowInLBMInMATLAB), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/Loop

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/UnitConversion

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/Vectorization

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/Loop

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/UnitConversion

LatticeBoltzmannMethod/LidDrivenFlow/FluidFlow/Vectorization

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.