A simple mesh generator in MATLAB

被引:1132
作者
Persson, PO [1 ]
Strang, G [1 ]
机构
[1] MIT, Dept Math, Cambridge, MA 02139 USA
关键词
mesh generation; distance functions; Delaunay triangulation;
D O I
10.1137/S0036144503429121
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
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/(similar to)-persson/mesh.
引用
收藏
页码:329 / 345
页数:17
相关论文
共 15 条
[1]  
Bossen F. J., 1996, P 5 INT MESH ROUNDT, P63
[2]  
CHENG SW, 1999, P 15 ACM S COMP GEOM, P1
[3]  
Edelsbrunner H., 2001, C MO AP C M, V5
[4]  
Field DA, 2000, INT J NUMER METH ENG, V47, P887, DOI 10.1002/(SICI)1097-0207(20000210)47:4<887::AID-NME804>3.3.CO
[5]  
2-8
[6]   LAPLACIAN SMOOTHING AND DELAUNAY TRIANGULATIONS [J].
FIELD, DA .
COMMUNICATIONS IN APPLIED NUMERICAL METHODS, 1988, 4 (06) :709-712
[7]  
Freitag LA, 1997, INT J NUMER METH ENG, V40, P3979, DOI 10.1002/(SICI)1097-0207(19971115)40:21<3979::AID-NME251>3.0.CO
[8]  
2-9
[9]   On the radius-edge condition in the control volume method [J].
Miller, GL ;
Talmor, D ;
Teng, SH ;
Walkington, N .
SIAM JOURNAL ON NUMERICAL ANALYSIS, 1999, 36 (06) :1690-1708
[10]   FRONTS PROPAGATING WITH CURVATURE-DEPENDENT SPEED - ALGORITHMS BASED ON HAMILTON-JACOBI FORMULATIONS [J].
OSHER, S ;
SETHIAN, JA .
JOURNAL OF COMPUTATIONAL PHYSICS, 1988, 79 (01) :12-49