Display a Driven Cavity Flow Solution

**CAVITY_FLOW_DISPLAY**
is a MATLAB program which
displays the velocity field at a single timestep, presumably from a series
of solutions of a time-dependent incompressible flow in a
2D driven cavity.

The "CAVITY" region is the unit square, [0,1]x[0,1], open on the top, along which a tangential flow is specified, with walls along the sides and bottom.

--> --> --> --> --> ++ ++ || || || || || || || || || || || || || || || || || || |+--------------------+| +----------------------+An evenly spaced grid of 41x41 = 1,681 nodes, is used. These nodes are organized into 800 6-node triangular elements which are quadratic in velocity and linear in pressure.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

**CAVITY_FLOW_DISPLAY** is available in
a MATLAB version.

CAVITY_FLOW, a dataset directory which contains 500 flow solutions in the driven cavity region.

CAVITY_FLOW_MOVIE, a MATLAB program which makes an animation from a set of multiple solutions of the cavity flow problem.

HCELL_FLOW_DISPLAY,
a MATLAB program which
can plot the data
produced by the **HCELL** fluid flow program.

INOUT_FLOW_DISPLAY,
a MATLAB program which
can plot the data
produced by the **INOUT** fluid flow program.

TCELL_FLOW_DISPLAY, a MATLAB program which can plot the data produced by the TCELL fluid flow program.

VELOCITY_ARROWS_GRID, a MATLAB program which reads files of node and velocity data, and, using interpolation, creates a vector plot with arrows place on a uniform grid of the user's specification.

- cavity_flow_display.m, the program.

- xy.txt, the XY coordinates associated with the nodes of the grid.
- cavity_grid.png, a PNG image of the grid.
- up100.txt, the data for the solution at time step 100.
- up100_direction.png, a PNG image of the normalized velocity or direction field at time step 100.
- up100_flow.png, a PNG image of the unnormalized velocity field at time step 100.

You can go up one level to the MATLAB source code directory.