Contour Plots for 2D Finite Elements

**TWOD_PLOTC**
is a MATLAB function which
produces a contour plot of scalar data defined on a 2D finite element grid,
by Jeff Borggaard.

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

**TWOD_PLOTC** is available in
a MATLAB version.

FEM2D, a data directory which contains a description of the data files that can be used to describe a 2D finite element model.

TRIANGULATION_ORDER3_CONTOUR, a MATLAB program which makes contour plot of scattered data, or of data defined on an order 3 triangulation.

TRIANGULATION_ORDER6_CONTOUR, a MATLAB program which can make contours of the solution.

TWOD, a MATLAB library which contains functions useful for 2D finite element calculations.

TWOD_TO_VTK, a MATLAB program which accepts computational data from a 2D finite element fluid flow program and writes it to a VTK "legacy" file for postprocessing by PARAVIEW.

TWOD_TO_VTU, (archived), a MATLAB program which accepts computational data from a 2D finite element fluid flow program and writes it to a VTK unstructured grid file for postprocessing by PARAVIEW.

Jeff Borggaard, Virginia Tech.

- twod_plotc.m produces a filled contour plot of triangular finite element data.

**ELL** is an L-shaped region meshed by 3-node triangles, with the
data U=X^2+Y^2 to be contoured.

- ell_nodes.txt the nodes.
- ell_elements.txt the elements.
- ell_values.txt the values to be contoured.
- ell.png the contour plot.

**LAKE** is an irregularly region meshed by 3-node triangles

- lake_nodes.txt the nodes.
- lake_elements.txt the elements.
- lake_values.txt the values to be contoured.
- lake.png the contour plot.

**SQUARE** is a square region meshed by 6-node triangles

- square_nodes.txt the nodes.
- square_elements.txt the elements.
- square_values.txt the values to be contoured.
- square.png the contour plot.

You can go up one level to the MATLAB source codes.