A Simple Mesh Generator in Matlab

Creating a mesh is the first step in a wide range of applications, including scientific computing and computer graphics. An unstructured simplex mesh requires a choice of meshpoints (vertex nodes) and a triangulation. We want to offer a short and simple Matlab code, described in more detail than usu...

Full description

Saved in:
Bibliographic Details
Published inSIAM review Vol. 46; no. 2; pp. 329 - 345
Main Authors Persson, Per-Olof, Strang, Gilbert
Format Journal Article
LanguageEnglish
Published Philadelphia, PA Society for Industrial and Applied Mathematics 01.06.2004
Subjects
Online AccessGet full text
ISSN0036-1445
1095-7200
DOI10.1137/S0036144503429121

Cover

More Information
Summary:Creating a mesh is the first step in a wide range of applications, including scientific computing and computer graphics. An unstructured simplex mesh requires a choice of meshpoints (vertex nodes) and a triangulation. We want to offer a short and simple Matlab code, described in more detail than usual, so the reader can experiment (and add to the code) knowing the underlying principles. We find the node locations by solving for equilibrium in a truss structure (using piecewise linear force-displacement relations) and reset the topology by the Delaunay algorithm. The geometry is described implicitly by its distance function. In addition to being much shorter and simpler than other meshing techniques, our algorithm typically produces meshes of very high quality. We discuss ways to improve the robustness and the performance, but our aim here is simplicity. Readers can download (and edit) the codes from http://math.mit.edu/~persson/mesh.
Bibliography:SourceType-Scholarly Journals-1
ObjectType-Feature-1
content type line 14
ISSN:0036-1445
1095-7200
DOI:10.1137/S0036144503429121