TCELL_FLOW_MOVIE
Animation of Flow Solutions in a T-Cell
TCELL_FLOW_MOVIE
is a MATLAB program which
animates the pressure or velocity data in solutions of the
incompressible parameterized flow problem in a 2D T-cell.
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:
FILE_NAME_SEQUENCE,
is a MATLAB program which
demonstrates four ways to generate a sequence of filenames.
MP4,
a data directory which
contains examples of MP4 files,
the MPEG-4 movie file format for 2D animation;
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.
TCELL,
a FORTRAN77 program which
solves the Navier Stokes fluid flow equations in a 2D T-shaped region.
TCELL_FLOW,
a dataset directory which
contains 500 time steps of Navier-Stokes flow in a 2D T-shaped region.
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:
-
tcell_flow_jpeg.m,
is a MATLAB M script file which reads EACH velocity file,
displaying the normalized or unnormalized field, and
making a JPEG
file of each image for assembly into an animation.
-
tcell_flow_movie.m,
is a MATLAB M script file which can read the XY coordinate file and
all the time dependent velocity files, and create an animation.
It displays either the velocity or direction field, depending on
the internal value of the logical parameter normalized.
To keep this script happy, the "#" comment lines were removed
from the XY file.
-
tcell_flow_png.m,
is a MATLAB M script file which reads EACH velocity file,
displaying the normalized or unnormalized field, and
making a PNG
file of each image for assembly into an animation.
-
tcell_flow_snapshot.m,
is a MATLAB M script file which reads ONE velocity file,
displaying the normalized or unnormalized field.
Examples and Tests:
-
xy.txt, the XY coordinates associated
with the nodes.
-
elements.txt, a grouping of the
nodes into 6 node quadratic finite elements.
-
steady.txt,
the steady state velocity field.
You can go up one level to
the MATLAB source codes.
Last revised on 02 November 2005.