Two Files Describing a 1D Finite Difference Model

**FD1D**
is a data directory which
contains examples of 1D FD files, which define a finite difference model.

The FD format is a simple dataset of two files that can be used to describe a finite difference model.

The finite difference model is assumed to include just two kinds of information:

- Node coordinates in 1D;
- Node values (scalars, vectors, or any set of data);

- ASCII
- Each line is one "record"
- Each record is either a comment record or a data record;
- Comment records begin with the "#" character;
- A data record records node coordinates for one node, or the set of node data for one node;
- For a given file, each data record contains the same number of items, separated by blanks.

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

FD_TO_TEC, a MATLAB program which converts FD (finite difference) models into TECPLOT ASCII files.

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

FD2D, a data directory which contains examples of 2D FD files, two text files that can be used to describe many finite difference models;

FD3D, a data directory which contains examples of 3D FD files, two text files that can be used to describe many finite difference models;

**ARCTAN** contains sample data from the arctangent function
at 29 non-uniformly spaced nodes.

- arctan_nodes.txt
- arctan_values.txt
- arctan.png, a PNG snapshot of the plot.

**FD1D_BVP_TEST01** contains the computed and exact solutions for
a boundary value problem.

- fd1d_bvp_test01_nodes.txt, the nodes for test 1.
- fd1d_bvp_test01_values.txt, the computed and exact values for test 1.
- fd1d_bvp_test01.png, a PNG image of a plot of the computed and exact values.

**PAIR** shows how a plot is made when there are two columns of
data in the "values" file. The first column is a copy of the
original ARCTAN data, and the second column is some perturbed values.

- pair_nodes.txt
- pair_values.txt
- pair.png, a PNG snapshot of the plot.

You can go up one level to the DATA directory.