image thumbnail

Lid driven cavity flow

version 1.0.0.0 (16.1 KB) by Shubham Maurya
Top lid moves horizontally with uniform velocity and the motion of flow in the cavity is studied.

936 Downloads

Updated 11 May 2016

View License

Motion of fluid in a square cavity with three edges fixed and top edge (lid) moving uniformly in horizontal direction is simulated. Stream function vorticity formulation is used to model the problem. Finite difference method is used to discretize the governing partial differential equations.
User can input Reynolds number, edge length, number of spatial grid points, time step size and end time. The velocity of lid is 1 m/s which can also be modified using the script file under the section boundary conditions on top wall.

Cite As

Shubham Maurya (2021). Lid driven cavity flow (https://www.mathworks.com/matlabcentral/fileexchange/57064-lid-driven-cavity-flow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
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!