Definitioncore
Mesh sizing function
Also called mesh size field, element size function.
A function giving the desired element size at each point, from curvature, local feature size and error, limited in gradient so sizes change gradually.
A mesh sizing function assigns to each point of the domain the edge length that the mesh should have near that point. Mesh generators read it to decide where to place vertices, and the user, the geometry and the solution error all contribute to it. It is usually limited in slope, as a Lipschitz function, so that neighboring elements have similar sizes. Size and shape are separate requirements: the sizing function says how big an element should be, and mesh quality measures say how well shaped it is.
Definition
Sizing function. Let be the domain. A sizing function is a function . A mesh conforms to with constants if every edge satisfies
Generators state this in different ways, for example by measuring each edge in the unit , as , and asking for values near 1. The constants are not part of the function.
Gradation. The function has gradation if it is -Lipschitz (Lipschitz condition):
A small forces sizes to change slowly. means a uniform mesh.
Sources of size. A sizing function is usually the minimum of several parts.
- User size. A maximum size , and point or line sources with small sizes near given places.
- Local feature size. For a planar input made of vertices and segments, is the radius of the smallest closed disk centered at that meets two disjoint input features. It is small where two features come close, for example in a thin slot, and Ruppert's algorithm builds meshes whose sizes are within constant factors of it.
- Curvature. A chord of length on a circle of radius deviates from the arc by the sagitta , by the theorem of Pythagoras on the half chord. To keep with , the chord must satisfy . With the local radius of curvature of the boundary, this gives .
- Error. For linear interpolation on an interval of length , the interpolation error theorem gives . To keep the error below , take . In several dimensions the Hessian gives a size that depends on direction, which is the metric of anisotropic mesh adaptation.
Theorem (local feature size is 1-Lipschitz). For all , .
Proof. The closed disk with center and radius meets two disjoint features. It is contained in the disk with center and radius , by the triangle inequality, so that disk also meets them.
Theorem (the Lipschitz envelope). Let with , and let . Define
Then (1) ; (2) is -Lipschitz; (3) every -Lipschitz function with satisfies . So is the largest -Lipschitz function below .
Proof. (1) Take to get . Every term in the infimum is at least . (2) For any , . Taking the infimum over gives , and the same with and exchanged. (3) If is -Lipschitz and , then for every , , so .
The envelope is the standard way to limit gradation: it lowers the size only where needed, never raises it, and is the least change that does the job. On a finite set of sample points, such as the vertices of a background grid, it is a shortest path problem with edge weights , solved by Dijkstra's algorithm started from all points at once, each with the initial label . On a non-convex domain the distance should be measured inside . Otherwise a small size on one side of a thin wall lowers the size on the other side.
Theorem (the grading bound). Let be -Lipschitz, and let a mesh conform to with constants .
- For all and all with : .
- If and are edges of the mesh joined by a path of edges, then .
Proof. (1) is the Lipschitz condition with . For (2), let be the path, with an end of and an end of . Each step has , so by (1) with , . Then .
So in a mesh that conforms to a Lipschitz size, edge lengths change at most geometrically with the number of edges between them. A mesh with a lower bound on its angles has a grading of its own: by the law of sines, two edges of one triangle have a length ratio .
Examples and non-examples
- A point source. Take at the origin and elsewhere, with . The envelope is . Along a ray, edges that follow grow by a factor of each, so about 25 edges go from size to size , over a distance of . A uniform size would need 495 edges over the same distance.
- A circle. For a circle of radius and a deviation tolerance , the curvature size is . A regular polygon with edges has sagitta , which is for and for , so 23 edges are needed.
- Local feature size of a square. For the unit square given by its 4 vertices and 4 sides, at each corner (the corner and the opposite side are disjoint features) and at the center (two opposite sides).
- A thin slot. Two parallel segments at distance give between them, so a mesh that conforms to lfs puts elements of size about across the slot, whatever the size elsewhere.
- Non-example. The step function on the left half of a square and on the right half is not Lipschitz. A mesh that follows it closely has tiny elements next to large ones at the jump, and these elements are badly shaped. Its envelope with is a valid sizing function.
Related definitions
- Mesh quality measures: shape, as opposed to size.
- Ruppert's algorithm and Delaunay refinement: they produce meshes graded to the local feature size, with the number of triangles within a constant factor of the least possible.
- Advancing front mesh generation: places each new point at a distance given by the sizing function, usually stored on a background grid.
- Quadtree mesh generation: a balanced quadtree is a discrete sizing function in which neighboring cells differ in size by a factor of at most 2.
- Anisotropic mesh adaptation: replaces the scalar size by a metric tensor.
- Medial axis: for a smooth curved boundary, the local feature size of a boundary point is usually defined as its distance to the medial axis.
References
- Houman Borouchaki, Frédéric Hecht and Pascal J. Frey, Mesh gradation control, International Journal for Numerical Methods in Engineering 43(6), 1998, 1143 to 1165, the reduction of a size field so that sizes vary within a prescribed gradation, by size and by metric (general locator)
- Jim Ruppert, A Delaunay refinement algorithm for quality 2-dimensional mesh generation, Journal of Algorithms 18(3), 548 to 585 (1995), the definition of local feature size, its Lipschitz property, and the size optimality of the output with respect to it
- Siu-Wing Cheng, Tamal K. Dey and Jonathan Richard Shewchuk, Delaunay Mesh Generation, CRC Press, 2013, Chapter 6, Delaunay refinement in the plane (local feature size and the proof of size optimality and optimal grading)
- Rainald Löhner and Paresh Parikh, Generation of three-dimensional unstructured grids by the advancing-front method, International Journal for Numerical Methods in Fluids 8(10), 1988, 1135 to 1149, the element size specified by a background grid and by point and line sources (general locator)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag NF3354 Edit this page History Report an error Markdown