Write MESH2D Information to Files

**MESH2D_WRITE**
is a MATLAB program which
demonstrates how to call MESH2D to create a mesh, and then to
write the node and element information to files for use by other programs.

The code assumes that the MESH2D software is in the MATLAB path.

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

**MESH2D_WRITE** is available in
a MATLAB version.

DISTMESH, a MATLAB library which carries out triangular or tetrahedral mesh generation, by Per-Olof Persson and Gilbert Strang.

MESH2D, a MATLAB library which can automatically create a triangular mesh for a given polygonal region, by Darren Engwirda.

MESH2D_HAND, a MATLAB program which reads in a set of 59 points which outline a human hand, and calls MESH2D, which is able to create a fine triangular mesh of the region outlined by the points.

TEST_TRIANGULATION, a MATLAB library which defines some test regions for triangulation.

TRIANGLE, a C program which computes a triangulation of a geometric region, by Jonathan Shewchuk.

TRIANGULATION, a MATLAB library which performs various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.

- mesh2d_write.m the program which calls MESH2D for 6 different meshes, each time writing the node and element data to files.
- mesh2d_write_output.txt the output file.

- mesh1_nodes.txt nodes for mesh 1.
- mesh1_nodes.png an image of the nodes.
- mesh1_elements.txt elements for mesh 1.
- mesh1_elements.png an image of the elements.

- mesh2_nodes.txt nodes for mesh 2.
- mesh2_nodes.png an image of the nodes.
- mesh2_elements.txt elements for mesh 2.
- mesh2_elements.png an image of the elements.

- mesh3_nodes.txt nodes for mesh 3.
- mesh3_nodes.png an image of the nodes.
- mesh3_elements.txt elements for mesh 3.
- mesh3_elements.png an image of the elements.

- mesh4_nodes.txt nodes for mesh 4.
- mesh4_nodes.png an image of the nodes.
- mesh4_elements.txt elements for mesh 4.
- mesh4_elements.png an image of the elements.

- mesh5_nodes.txt nodes for mesh 5.
- mesh5_nodes.png an image of the nodes.
- mesh5_elements.txt elements for mesh 5.
- mesh5_elements.png an image of the elements.

- mesh6_nodes.txt nodes for mesh 6.
- mesh6_nodes.png an image of the nodes.
- mesh6_elements.txt elements for mesh 6.
- mesh6_elements.png an image of the elements.

**MESH7** is a channel with 13 hexagonal baffles.
The mesh uses 512 nodes and 874 elements.

- mesh7_nodes.txt nodes for mesh 7.
- mesh7_nodes.png an image of the nodes.
- mesh7_elements.txt elements for mesh 7.
- mesh7_elements.png an image of the elements.

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