fem_io


fem_io a MATLAB code which reads or writes FEM files, which describe the nodes, elements, and function values associated with a finite element method (FEM) model;

The finite element model is assumed to include three items:

Licensing:

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

Languages:

fem_io is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

fem_io_test

fem_to_gmsh, a MATLAB code which reads fem files definining a 1d, 2d or 3d mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a gmsh mesh file.

fem_to_triangle, a MATLAB code which reads fem files defining a 2d mesh of triangles, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding pair of node and element files for use by jonathan shewchuk's triangle program.

fem_to_xml, a MATLAB code which reads fem files defining a 1d, 2d or 3d mesh, namely a file of node coordinates and a file of elements defined by node indices, and creates a corresponding xml file for input to dolfin or fenics.

fem1d, a data directory which contains examples of 1d fem files, three text files that describe a 1d finite element model;

fem2d, a data directory which contains examples of 2d fem files, three text files that describe a 2d finite element geometry;

fem2d_pack, a MATLAB code which is useful for 2d finite element calculations.

fem3d, a data directory which contains examples of 3d fem files, three text files that describe a 3d finite element geometry;

gmsh_to_fem, a MATLAB code which reads a mesh data file created by the gmsh program and writes a pair of node and element files that correspond to the fem format.

table_io, a MATLAB code which can read and write table files.

triangle_to_fem, a MATLAB code which reads the node and ele files created by triangle() to describe a triangular mesh, and writes two simple "mesh" format files, listing node coordinates and element connectivity.

Reference:

  1. Hans Rudolf Schwarz,
    Finite Element Methods,
    Academic Press, 1988,
    ISBN: 0126330107,
    LC: TA347.F5.S3313..
  2. Gilbert Strang, George Fix,
    An Analysis of the Finite Element Method,
    Cambridge, 1973,
    ISBN: 096140888X,
    LC: TA335.S77.
  3. Olgierd Zienkiewicz,
    The Finite Element Method,
    Sixth Edition,
    Butterworth-Heinemann, 2005,
    ISBN: 0750663200,
    LC: TA640.2.Z54
  4. Daniel Zwillinger, editor,
    CRC Standard Mathematical Tables and Formulae,
    30th Edition,
    CRC Press, 1996,
    ISBN: 0-8493-2479-3.

Source Code:


Last revised on 16 January 2019.