Updated 12 Apr 2018
## :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)
Yang Yang (2020). yangyang14641/CavityFlowInLBMInMATLAB (https://github.com/yangyang14641/CavityFlowInLBMInMATLAB), GitHub. Retrieved .
Dear Abdulaziz Arefaie,
These codes have no problem when running in MATLAB 9.3 (R2017b), and the HTML file shows these running results in MATLAB 9.3 (R2017b), it works pretty well. Maybe your Matlab version is lower than 9.3, and errors occur in the vectorization code, please check data form in the time evolution loop, and adjust it into a proper version, according to your Matlab version.
there is some error in the code.
the would not run!
Update the description.