CAVITY_FLOW_MOVIE
Driven Cavity Flow Animation


CAVITY_FLOW_MOVIE is a MATLAB program which produces an animation of the velocity solutions to a time-dependent incompressible parameterized flow problem 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.

Licensing:

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

Related Data and Programs:

CAVITY_FLOW, a dataset directory which contains 500 solutions of the driven cavity flow problem.

CAVITY_FLOW_DISPLAY, a MATLAB program which displays a single solution of the cavity flow problem.

FILE_NAME_SEQUENCE, a MATLAB program which demonstrates four ways to generate a sequence of filenames.

MP4, a data directory which contains the animation of the driven cavity data created by this routine.

PEAK_MOVIE, a MATLAB program which creates the pieces of an animation, one frame at a time. Each frame is independently created and saved as a JPEG file.

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.

Source Code:

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


Last revised on 05 January 2006.