cavity_flow_display


cavity_flow_display, a MATLAB code 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.

Licensing:

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

Languages:

cavity_flow_display is available in a MATLAB version.

Related Data and Programs:

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

cavity_flow_display_test

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

Source Code:


Last revised on 08 December 2018.