fem2d_scalar_display


fem2d_scalar_display, an Octave code which reads datafiles describing a set of nodes, their triangulation, and the value of a scalar quantity at each node, and creates a graphics file of the corresponding surface plot.

The program reads three data files:

Usage:

fem2d_scalar_display ( 'prefix' )
where 'prefix' is the common prefix for the node, element and value files:

Licensing:

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

Languages:

fem2d_scalar_display is available in a MATLAB version and an Octave version. .

Related Data and Programs:

fem2d_scalar_display_test

dist_plot, an Octave code which makes contour plots of the distance function, as defined and used in Persson and Strang's distmesh code;

fem2d_mesh_display, an Octave code which reads the FEM model of a 2D mesh, consisting of polygonal elements of any uniform order, and displays an image of the elements and nodes, with optional numbering.

fem2d_scalar_display_brief, an Octave code 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), in 5 lines of code.

fem2d_scalar_display_gpl, an Octave code 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.

triangulation_order3_contour, an Octave code which can display a contour plot of scalar data defined on a triangulation of order 3.

Source Code:


Last revised on 15 July 2023.