We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/A Simple Mesh Generator in MATLAB
PeriodicalsMathematics

A Simple Mesh Generator in MATLAB

Checking your access to this record.

Abstract & Overview

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.

Cite this record

Per‐Olof Persson, Gilbert Strang (2004). A Simple Mesh Generator in MATLAB. SIAM Review, 46(2), 329–345. https://doi.org/10.1137/s0036144503429121

Copy in another style

Persson, P., & Strang, G. (2004). A Simple Mesh Generator in MATLAB. SIAM Review, 46(2), 329–345. https://doi.org/10.1137/s0036144503429121
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.