DISPLAY5 - 2D Flow Graphics
DISPLAY5
is a FORTRAN90 program which
can create graphics
files from the output of one of the various FLOW programs.
Specifically, the FLOW programs are the family of
FLOW5 and
FLOW6.
Each of these programs solves a 2D steady state incompressible
flow problem, and writes out an element and a node file,
describing the flow velocity and pressure in the region.
DISPLAY5 can read in the element and node file, and then
create images of the flow region, nodes or elements, or
contour lines of the pressure, or vector plots of the velocity.
Other plots are also available.
The program requires the
DRAWCGM graphics library.
Output can be PostScript, CGM, or X Windows.
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:
DIRECTION_ARROWS
is a MATLAB program which
can be used to plot the vector direction field.
DIRECTION_ARROWS_GRID
is a MATLAB program which
reads files of
node and velocity data, and, using interpolation, creates a
velocity direction plot with arrows
place on a uniform grid of the user's specification.
DISPLAY3,
a FORTRAN90 program which
displays graphics from the
flow data computed by FLOW3. This program
used to work, but it is very out of date;
DISPLAY4,
a FORTRAN90 program which
displays graphics from the
flow data computed by FLOW3,
FLOW5 or
FLOW7. This program
used to work, but it is very out of date;
FEM
is a data directory which
contains a description of the data files
that can be used to describe a finite element model.
FEM_BASIS_T3_DISPLAY
is a MATLAB program which
displays a
basis function associated with a linear triangle ("T3") mesh.
FLOW3
is a FORTRAN90 program which
solves certain problems in 2D
steady state incompressible Navier Stokes fluid flow.
FLOW5
is a FORTRAN90 program which
is a later version of the FLOW3 program.
FLOW7
is a FORTRAN90 program which
is a later version of the FLOW3 program.
SLAB,
a FORTRAN90 program which
analyzes the optimization of a scalar function of multidimensional data
by examining contour lines in a selected plane.
SLICE,
a FORTRAN90 program which
analyzes the optimization of a scalar function of multidimensional data
by examining contour lines in a selected plane.
TRIANGULATION_ORDER3_CONTOUR
is a MATLAB program which
can display a contour plot
of scalar data defined on a triangulation of order 3.
TRIANGULATION_ORDER6_CONTOUR
is a MATLAB program which
can display a contour plot
of scalar data defined on a triangulation of order 6.
TRIANGULATION_PLOT
is a FORTRAN90 program which
can be used to plot the elements that triangulate the region.
VECTOR_MAGNITUDE_GRID
is a MATLAB program which
reads node and vector data from a file, computes an interpolatory function,
evaluates on a uniform grid of points specified by the user,
and displays a contour plot of the vector magnitude.
VECTOR_PLOT
is a FORTRAN90 program which
can be used to create vector plots
of the velocity and velocity direction fields.
VECTOR_STREAM_GRID
is a MATLAB program which
reads
node and vector data from a file, computes an interpolatory function,
evaluates on a uniform grid of points specified by the user,
and displays a streamline plot of the vector field.
VELOCITY_ARROWS
is a MATLAB program which
plots a velocity vector field.
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:
List of Routines:
-
DISPLAY displays graphics for finite element data.
-
ADJEFF reads and checks the node data.
-
ARROW_LINE makes a line drawing of an arrow at any point on a graph.
-
ARROW_POLY makes a polygonal drawing of an arrow at any point on a graph.
-
BOUND_PRINT prints the edges which are boundaries of the region.
-
BOUND_SET finds edges which are boundaries of the region.
-
BOUND_SHOW displays the boundary.
-
BOX draws a rectangle whose corners are specified by the user.
-
BUZZ is just "busy work" to force XWS to draw the whole picture.
-
CAPCHR replaces any lowercase letters by uppercase ones.
-
CBAR draws a color bar in a given rectangle.
-
CBOX draws a 16 by 16 box of colors in the current color table.
-
CHRCTI2 finds and reads an integer from a string.
-
CHRDB1 removes blanks from a string, left justifying the remainder.
-
CHRDB2 replaces consecutive blanks by one.
-
CHRPLT plots a character string onto a graphics image.
-
CHRREL represents a real using 14 right justified characters.
-
CONTOUR_COLOR_L3 does color contours in a 3 node linear element.
-
CONTOUR_COLOR_L4 does color contours for linear quadrilateral elements.
-
CONTOUR_COLOR_Q6 uses color to indicate points with a value greater than a given value.
-
CONTOUR_LINE_L3 draws a single contour line in a single 3 node element.
-
CONTOUR_LINE_L4 draws a contour line in a 4 node rectangular element.
-
CONTOUR_LINE_Q6 draws a contour line in a 6 node quadratic triangular element.
-
CROSS finds the two places where the value S = SCON occurs on a triangle.
-
CROSS_L2 seeks contour crossings along a line.
-
CROSS_L3 seeks contour crossings in a 3 node linear element.
-
CROSS_Q4 seeks contour crossings in a 4 node linear element.
-
DIGTEN returns the integer value of a base 10 digit.
-
DOAXES places the title, the axes, and the axis labels.
-
DASH_LINE draws a dashed line connecting a series of points.
-
ELEMENT_CHECK checks elements for correct orientation.
-
EXAMPLE sets up the data that defines a simple example problem.
-
FEGRAD approximates dUdX and dUdY at mesh nodes.
-
FILLIN sets array entries to rise linearly from X1 to X2.
-
FILLIN2 "expands" a vector of data by linear interpolation.
-
FLUSHL flushes a string left.
-
FSIZE computes the maximum and minimum entries of a node array.
-
GETTAB gets the color table choice from the user.
-
GETWIN reports the current window and gets new values from the user.
-
GQUAD returns the weights and abscissas for a 3 point Gauss rule.
-
GRAPH draws the graph.
-
HELLO prints out the program name, date, and purpose.
-
HELP prints out a list of commands.
-
I_RANDOM returns a random integer in a given range.
-
INIT initializes the values of data.
-
INTNEXRD finds and reads the next integer in a string.
-
ISO_POLY_Q6 draws a filled contour polygon in a quadratic triangle.
-
ISO_LINE_L3 draws a line between two points in a linear isoparametric element.
-
ISO_LINE_Q6 draws a line between two points in a quadratic isoparametric element.
-
LEQI is a case insensitive comparison of two strings for equality.
-
LINE_SEG_CONTAINS_POINT_1D reports if a line segment contains a point in 1D.
-
LIST prints out the values of the variables of interest to the user.
-
LNEI compares two strings for non-equality, ignoring case.
-
NODET3 returns the basis nodes for the 3 node triangle.
-
NODET6 returns the basis nodes for a 6 node triangle.
-
NODET10 returns the basis nodes for a 10 node triangle.
-
NODEQ4 returns the basis nodes for a 4 node quadrilateral.
-
NODEQ8 returns the basis nodes for an 8 node quadrilateral.
-
NODEQ9 returns the basis nodes for a 9 node quadrilateral.
-
NODEQ16 returns the basis nodes for a 16 node quadrilateral.
-
PLTBOX computes a square box containing the data.
-
PREPLT should be called before doing each plot.
-
QUIT shuts down the program.
-
RDELJ reads an element file.
-
RDNOD reads a JEFF file containing information about data at nodes.
-
RDTEC reads a TECPLOT data file.
-
REFBF_L3 evaluates a reference element linear basis function.
-
REFBF_L4 evaluates a linear basis function in the reference quadrilateral.
-
REFBF_Q6 evaluates shape functions for a 6 node triangle.
-
REFMAP_L3 sets reference-to-physical map for a linear triangle.
-
REFMAP_L4 sets the reference-to-physical map for a linear quadrilateral.
-
REFMAP_Q6 returns the interpolation map for data on a 6 node triangle.
-
REFNODE returns the basis nodes for any available element.
-
RRANGE returns the maximum and minimum values in an array.
-
RSIZE computes the size of the region.
-
SETSIZ offers the user a chance to adjust the range of a contour plot.
-
SETTAB sets up the color table.
-
SETVIZ determines what nodes and elements should be visible.
-
SHOELC colors in the elements.
-
SHOELM draws the elements of the grid.
-
STREAM assigns the value of the stream function to each node.
-
STREAM_INC computes SINC, the stream function increment.
-
TRANSFORM maps reference elements to image elements.
-
TRIC_Q6 colors contour regions in an isoparametric quadratic triangle.
-
TRIC_L3 colors contour regions in a linear triangle.
-
UEVAL evaluates velocity and density in any element.
-
UNIFORM_01_SAMPLE is a portable random number generator.
-
VECPLT draws a vector field.
-
VIZELM allows the user to specify which elements are visible.
-
VIZND sets the visibility of nodes by minimum distance.
-
VIZNOD sets the visibility of nodes by index.
-
VSIZE computes the maximum magnitude of visible velocities.
-
WRTEC writes solution data out to a TECPLOT data file.
You can go up one level to
the FORTRAN90 source codes.
Last revised on 16 January 2007.