TCELL_FLOW_MOVIE
Animation of Flow Solutions in a T-Cell
TCELL_FLOW_MOVIE is a set of MATLAB routines for
animating the pressure or velocity data in solutions of the
incompressible parameterized flow problem in a 2D T-cell.
Related Data and Programs:
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.
A set of solutions was generated by the
TCELL program
for solving a time dependent Navier Stokes problem.
The set of solutions is stored in the
TCELL dataset directory.
The movie created by this script is available in
the MP4 directory.
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:
-
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_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.
-
thin_index.m,
is a MATLAB M file used by TCELL_FLOW_MOVIE, which "thins out"
the data. Otherwise, there are too many little arrows to see
anything.
-
ch_is_digit.m,
is TRUE if a character represents a digit.
-
digit_inc.m,
increments a character that represents a digit.
-
file_name_inc.m,
is used to generate unique names for the succession of PNG files.
-
s_len_trim.m,
returns the length of a string to the last nonblank.
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.