fem_to_xml_test


fem_to_xml_test, a MATLAB program which calls fem_to_xml() to read FEM files of node coordinates and element connectivity, which define a mesh of a 1D, 2D, or 3D region and create a corresponding DOLFIN XML file.

Licensing:

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

Related Data and Programs:

fem_to_xml, a MATLAB program 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.

Source Code:

BATTERY is a rectangular region which was subdivided into 7 faces which were meshed together by MESHFACES.

CHANNEL is a 3D region, [0,3]x[0,1]x[0,1] [-1,+1], containing 63 nodes and 144 elements.

CHEBY9 is a 1D interval, [-1,+1], containing 9 nodes and 8 elements.

CIRCLE is a 2D circular region which was meshed by MESH2D.

RECTANGLE is a 2D rectangular region which has been divided into 3 rows and 4 columns of squares, each then split into two 3-node triangles.


Last revised on 21 January 2019.