FEM2D_MESH_DISPLAY
Display a Finite Element Mesh


FEM2D_MESH_DISPLAY, a MATLAB program which plots the nodes and elements of a finite element mesh.

FEM2D_MESH_DISPLAY reads the FEM model of a mesh, that is, a file listing the node coordinates and a file listing the indices of the nodes that form each polygonal element. It displays the mesh, with optional number of nodes or elements.

Usage:

fem2d_mesh_display ( 'prefix', node_vis, element_vis )
where 'prefix' is the common prefix for the node and element files: and node_vis is an integer defining the node visibility: and element_vis is an integer defining the element visibility:

Licensing:

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

Languages:

FEM2D_MESH_DISPLAY is available in a C++ version and a MATLAB version.

Related Data and Programs:

BEZIER_SURFACE_DISPLAY, a MATLAB program which displays a Bezier surface;

FEM_BASIS_T3_DISPLAY, a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.

FEM_BASIS_T6_DISPLAY, a MATLAB program which reads a quadratic triangle mesh and displays any associated basis function.

fem2d_mesh_display_test

FEM2D_SCALAR_DISPLAY, a MATLAB program which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a surface plot of U(X,Y), using the MATLAB graphics system.

FEM2D_SCALAR_DISPLAY_GPL, a MATLAB program which reads information about nodes, elements and nodal values for a 2D finite element method (FEM) and creates a GPL file describing a surface plot of U(X,Y), which can be displayed by gnuplot.

FENICS_TO_FEM, examples which illustrate how a mesh or scalar function computed by the FENICS program can be written to FEM files, which can then be used to create images, or as input to meshing programs or other analysis tools.

GRID_DISPLAY, a MATLAB library which can display a 2D or 3D grid or sparse grid.

GRIDLINES, a MATLAB library which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

POLYGONAL_SURFACE_DISPLAY, a MATLAB program which displays a surface in 3D described as a set of polygons;

QUAD_SURFACE_DISPLAY, a MATLAB program which plots piecewise bilinear data associated with a QUAD_SURFACE, that is, a 3D surface defined by a quadrilateral mesh;

TET_MESH_DISPLAY, ia MATLAB program which reads in the node and tetra files defining a tet mesh and displays a wireframe image.

TRI_SURFACE_DISPLAY, a MATLAB program which reads data defining a triangular mesh of a 3D surface and displays it.

TRIANGULATION_DISPLAY, a MATLAB program which displays the nodes and elements of a triangulation on the MATLAB graphics screen;

TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using Open GL.

TRIANGULATION_PLOT, a MATLAB program which plots a triangulation as a PostScript file.

Source Code:


Last revised on 03 May 2019.