CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   2D-lid-driven cavity flow in matlab (https://www.cfd-online.com/Forums/main/100033-2d-lid-driven-cavity-flow-matlab.html)

scramj April 18, 2012 21:23

2D-lid-driven cavity flow in matlab
 
Hi everyone,
I am a student, new to CFD, and want to write a MATLAB program to calculate the velocity vector field in a 2D lid-driven cavity using the Lattice Boltzmann Method with bounce back condition for the walls. The flow is incompressible with Re = 100. I am using a D2Q9 lattice model. I was wondering if someone can point me in the right direction to writing this program...

thank you

MickeyOD October 29, 2014 08:29

need for help
 
hello
I'm new to LBM too,I'm trying to using C code to write this case,but I also meet some obstacles, I try to change the Fortran code which came from the book "Lattice Boltzmann Method" by A.A. Mohamad into a C code, but the result is quite different, can you give me some help?


All times are GMT -4. The time now is 05:11.