FEM1D_FUNCTION_10_DISPLAY
Display Piecewise Linear 1D Finite Element Function
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.
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:
FEM,
a data directory of examples of FEM files,
a set of three text files that can be used to describe
many finite element models;
FEM1D
is a MATLAB program which
applies the finite element method to a 1D linear two point boundary value problem.
FEM1D_ADAPTIVE
is a MATLAB program which
applies the finite element method to a 1D linear two point boundary value problem
using adaptive refinement to improve the solution.
FEM1D_NONLINEAR
is a MATLAB program which
applies the finite element method to a 1D nonlinear two point boundary value problem.
FEM1D_PMETHOD
is a MATLAB program which
applies the p-method version of the finite element method to a 1D linear
two point boundary value problem.
Reference:
-
Hans Rudolf Schwarz,
Methode der Finiten Elemente,
Teubner Studienbuecher, 1980,
ISBN: 3-519-02349-0.
-
Gilbert Strang, George Fix,
An Analysis of the Finite Element Method,
Cambridge, 1973,
ISBN: 096140888X,
LC: TA335.S77.
-
Olgierd Zienkiewicz,
The Finite Element Method,
Sixth Edition,
Butterworth-Heinemann, 2005,
ISBN: 0750663200.
Source Code:
-
dtable_data_read.m,
reads a table from a double precision TABLE file.
-
dtable_header_read.m,
reads a table header from a double precision TABLE file.
-
fem1d_function_10_display.m,
the main program, which gets the file prefix from the user, reads
the files, samples the finite element function, and plots it.
-
fem1d_function_10_sample.m,
samples the finite element function.
-
file_column_count.m,
counts the number of columns in the first line of a file.
-
file_row_count.m,
counts the number of row records in a file.
-
itable_data_read.m,
reads a table from an integer TABLE file.
-
itable_header_read.m,
reads a table header from an integer TABLE file.
-
s_escape_tex.m,
de-escapes TeX escape sequences.
-
s_len_trim.m,
returns the length of a character string to the last nonblank.
-
s_word_count.m,
counts the number of words in a string.
-
timestamp.m
prints the current YMDHMS date as a time stamp.
Examples and Tests:
ARCTAN is an example of a 1D finite element model, using
29 nodes, and piecewise linear elements, in which a scalar value is stored.
The exact solution of the problem is the arctangent function.
This data was computed by the
FEM1D_ADAPTIVE program.
You can go up one level to
the MATLAB source codes.
Last revised on 28 March 2009