CAVITY_FLOW_DISPLAY
Display a Driven Cavity Flow Solution


CAVITY_FLOW_DISPLAY is a MATLAB script that can display a 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.

Related Data and Programs:

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

CAVITY_FLOW_MOVIE makes an animation from a set of multiple solutions of the cavity flow problem.

FREE_FEM_NAVIER_STOKES is a MATLAB program for solving the steady incompressible Navier Stokes equations on an arbitrary triangulated region, using the finite element method.

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

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

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

VELOCITY_ARROWS_GRID is 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:

Examples and Tests:

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


Last revised on 13 May 2007.