FEM1D_DISPLAY
Display 1D Finite Element Data


FEM1D_DISPLAY is a MATLAB program which reads a prefix defining a trio of files containing the nodes, nodal values, and elements for finite element data, and displays a plot.

The finite element function is assumed to be defined by as a piecewise polynomial, which is continuous at the breakpoints, and which has the same degree within each breakpoint interval.

Usage:

fem1d_display ( 'prefix' )
where 'prefix' is the common file prefix:

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:

FD1D_DISPLAY, a MATLAB program which reads a pair of files defining a 1D finite difference model, and plots the data.

FEM1D, a data directory of examples of 1D FEM files, a set of three text files that can be used to describe many 1D finite element models;

FEM1D, is a MATLAB program which applies the finite element method to a linear two point boundary value problem in a 1D region.

FEM1D_ADAPTIVE, a MATLAB program which applies the finite element method to a linear two point boundary value problem in a 1D region, using adaptive refinement to improve the solution.

FEM1D_FUNCTION_10_DISPLAY is a MATLAB program which reads a prefix defining three finite element data files, reads the data, samples the finite element function, and displays a plot.

FEM1D_NONLINEAR is a MATLAB program which applies the finite element method to a nonlinear two point boundary value problem in a 1D region.

FEM1D_PMETHOD is a MATLAB program which applies the p-method version of the finite element method to a linear two point boundary value problem in a 1D region.

FEM1D_SAMPLE, a MATLAB program which samples a scalar or vector finite element function of one variable, defined by FEM files, returning interpolated values at the sample points.

Source Code:

Examples and Tests:

SIN0 is a degree 0 finite element model for SIN(PI*X) on [0,3].

SIN1 is a degree 1 finite element model for SIN(PI*X) on [0,3].

SIN2 is a degree 2 finite element model for SIN(PI*X) on [0,3].

SIN4 is a degree 4 finite element model for SIN(PI*X) on [0,3].

SIN8 is a degree 8 finite element model for SIN(PI*X) on [0,3].

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


Last revised on 01 March 2011.