cavity_flow_movie


cavity_flow_movie, a MATLAB code 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 MIT license

Languages:

cavity_flow_movie is available in a MATLAB version.

Related Data and Programs:

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

cavity_flow_display, a MATLAB code which displays a single solution of the cavity flow problem.

cavity_flow_movie_test

cvt_1_movie, a MATLAB code which creates an animation of the evolution of a Centroidal Voronoi Tessellation (CVT) in the unit square.

cvt_2_movie, a MATLAB code which animates the generation of a Centroidal Voronoi Tessellation (CVT) in the unit square, which includes a random "rebirth" at every iteration.

cvt_3_movie, a MATLAB code which animates the generation of a Centroidal Voronoi Tessellation (CVT) for the "holey pie" region.

cvt_4_movie, a MATLAB code which creates a Centroidal Voronoi Tessellation (CVT) movie in a square, with a density function that drives points to the corners;

cvt_corn_movie, a MATLAB code which makes a movie in which the growth of a corn kernel is simulated using a Centroidal Voronoi Tessellation (CVT).

gray_scott_movie, a MATLAB code which solves versions of the partial differential equation (PDE) known as the Gray-Scott reaction diffusion equation, converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

peak_movie, a MATLAB code which creates a sequence of frames, and then an animation or movie from the data displayed by the peaks() function.

shallow_water_1d_movie, a MATLAB code which solves the partial differential equation (PDE) known as the shallow water equations (SWE), converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

spiral_pde_movie, a MATLAB code which solves a pair of reaction-diffusion partial differential equations (PDE) over a rectangular domain with periodic boundary condition, whose solution is known to evolve into a pair of spirals. The sequence of solutions is bundled into a movie.

tetrahedron_slice_movie, a MATLAB code which is given a tetrahedron and a vector, displays an evenly spaced sequence of planes that intersect the tetrahedron and are normal to the vector, and creates a movie of the process.

Source Code:


Last revised on 12 December 2020.