Algorithm Search⌘K

Theoremadvanced

Babuska-Aziz maximum angle condition

Also called maximum angle condition.

Linear finite element interpolation on triangles converges in H^1 if all angles stay bounded away from 180 degrees, so small angles alone are harmless.

The maximum angle condition says that piecewise linear interpolation on triangles approximates gradients well as long as no angle of any triangle comes close to 180°180°. The error bound depends on the largest angle, not on the smallest, so long thin triangles with a small angle and no large angle are allowed. Babuška and Aziz proved it in 1976 for the H1H^1 norm that governs the finite element method, and it replaced the older minimum angle condition. It explains why a mesh needs no large angles for accuracy, while small angles hurt only the conditioning of the linear system.

Statement

Let TT be a closed triangle with diameter hTh_T (its longest edge). For a continuous uu on TT, let ΠTu\Pi_T u be the linear function that agrees with uu at the three vertices, the Lagrange interpolant of degree 1. Write ∣v∣1,T2=∫T∣∇v∣2|v|_{1,T}^2 = \int_T |\nabla v|^2 and ∣u∣2,T2=∫T(uxx2+2uxy2+uyy2)|u|_{2,T}^2 = \int_T (u_{xx}^2 + 2 u_{xy}^2 + u_{yy}^2) for the Sobolev seminorms, and H2(T)H^2(T) for the functions with square integrable derivatives up to order 2. In two dimensions every u∈H2(T)u \in H^2(T) is continuous, so ΠTu\Pi_T u is defined.

Theorem (Babuška and Aziz). For every angle γ<π\gamma < \pi there is a constant C(γ)C(\gamma) such that, for every triangle TT whose angles are all at most γ\gamma and every u∈H2(T)u \in H^2(T),

∣u−ΠTu∣1,T≤C(γ) hT ∣u∣2,T.|u - \Pi_T u|_{1,T} \le C(\gamma) \, h_T \, |u|_{2,T}.

The constant depends only on γ\gamma. It does not depend on the smallest angle of TT, on its shape otherwise, or on its size.

Theorem (pointwise form). Let TT have largest angle θmax⁡≤γ<π\theta_{\max} \le \gamma < \pi, and let uu be twice continuously differentiable on TT with ∥D2u(x)∥≤M\|D^2 u(x)\| \le M for all x∈Tx \in T, where ∥⋅∥\| \cdot \| is the operator norm of the Hessian matrix. Then

max⁡x∈T∣∇(u−ΠTu)(x)∣≤2MhTsin⁡θmax⁡≤2MhTmin⁡(sin⁡γ,3/2).\max_{x \in T} |\nabla (u - \Pi_T u)(x)| \le \frac{2 M h_T}{\sin \theta_{\max}} \le \frac{2 M h_T}{\min(\sin \gamma, \sqrt{3}/2)}.

In plain words

To approximate a curved surface by flat triangles, you match the surface at the corners of each triangle. The heights then come out close, but the slopes can be badly wrong. The slopes go wrong when a triangle has one corner that is almost a straight line, because then the triangle cannot see the surface bend across its short side. A triangle that is only very thin, with one sharp corner but no wide corner, is fine for slopes. So for accurate slopes the rule is to avoid wide corners, not sharp ones. Sharp corners cause a different problem: they make the equations of the simulation harder to solve accurately.

Proof

The H1H^1 form is the theorem of Babuška and Aziz. Its proof is long, and we cite it. The pointwise form shows the same mechanism with an elementary proof, which follows.

Let w=u−ΠTuw = u - \Pi_T u. Then ww is zero at the three vertices of TT, and, since ΠTu\Pi_T u is linear, D2w=D2uD^2 w = D^2 u. For any two points x,yx, y of TT, apply the mean value inequality to ∇w\nabla w along the segment from yy to xx, which lies in TT because TT is convex:

∣∇w(x)−∇w(y)∣≤M∣x−y∣≤MhT.|\nabla w(x) - \nabla w(y)| \le M |x - y| \le M h_T.

Let pp be the vertex with the largest angle θ=θmax⁡\theta = \theta_{\max}, and let q1q_1, q2q_2 be the other two vertices. Let ti=(qi−p)/∣qi−p∣t_i = (q_i - p)/|q_i - p| be the unit vectors along the two edges at pp, so the angle between t1t_1 and t2t_2 is θ\theta. The function s↦w(p+st1)s \mapsto w(p + s t_1) is zero at s=0s = 0 and at s=∣q1−p∣s = |q_1 - p|. By Rolle's theorem its derivative is zero at some point between, so there is a point ξ1\xi_1 on the edge pq1p q_1 with ∇w(ξ1)⋅t1=0\nabla w(\xi_1) \cdot t_1 = 0. In the same way there is ξ2\xi_2 on pq2p q_2 with ∇w(ξ2)⋅t2=0\nabla w(\xi_2) \cdot t_2 = 0. For every x∈Tx \in T and i=1,2i = 1, 2,

∣∇w(x)⋅ti∣=∣(∇w(x)−∇w(ξi))⋅ti∣≤MhT.|\nabla w(x) \cdot t_i| = |(\nabla w(x) - \nabla w(\xi_i)) \cdot t_i| \le M h_T.

Now let g=∇w(x)g = \nabla w(x). The vectors t1t_1, t2t_2 form a basis of the plane, because 0<θ<π0 < \theta < \pi. Let d1d_1, d2d_2 be the dual basis, with di⋅tj=1d_i \cdot t_j = 1 if i=ji = j and 00 otherwise. Then d1d_1 is perpendicular to t2t_2 and d1⋅t1=1d_1 \cdot t_1 = 1, so ∣d1∣sin⁡θ=1|d_1| \sin \theta = 1, and the same holds for d2d_2. Since g=(g⋅t1)d1+(g⋅t2)d2g = (g \cdot t_1) d_1 + (g \cdot t_2) d_2,

∣g∣≤∣g⋅t1∣+∣g⋅t2∣sin⁡θ≤2MhTsin⁡θ.|g| \le \frac{|g \cdot t_1| + |g \cdot t_2|}{\sin \theta} \le \frac{2 M h_T}{\sin \theta}.

Finally, the largest angle of a triangle is at least π/3\pi/3, so θ∈[π/3,γ]\theta \in [\pi/3, \gamma]. The sine is concave on [0,π][0, \pi], so on this interval it is at least its smaller endpoint value, min⁡(sin⁡(π/3),sin⁡γ)\min(\sin(\pi/3), \sin \gamma). ■\blacksquare

The proof uses only the two edges at the largest angle, and the only place where the shape enters is 1/sin⁡θmax⁡1/\sin \theta_{\max}. A small angle elsewhere in the triangle changes nothing. Integration of the pointwise bound over TT gives ∣w∣1,T≤2MhT∣T∣1/2/sin⁡θmax⁡|w|_{1,T} \le 2 M h_T |T|^{1/2} / \sin \theta_{\max} for u∈C2(T)u \in C^2(T), which is the H1H^1 estimate with M∣T∣1/2M |T|^{1/2} in place of ∣u∣2,T|u|_{2,T}.

Consequences

Convergence of linear elements. For an elliptic problem with a coercive bilinear form, Céa's lemma for the Galerkin method bounds the energy error of the finite element solution uhu_h by a constant times the best approximation error from the finite element space. The global interpolant of uu is in that space. So if every triangle of every mesh in a family has all its angles at most γ<π\gamma < \pi, then ∣u−uh∣1≤Ch∣u∣2|u - u_h|_1 \le C h |u|_2 with hh the largest diameter, and the method converges at first order as h→0h \to 0 for u∈H2u \in H^2.

The minimum angle condition is stronger than needed. Zlámal's condition asks that every angle be at least some θ0>0\theta_0 > 0. That implies the maximum angle condition with γ=π−2θ0\gamma = \pi - 2\theta_0. The converse fails: right triangles with legs 11 and ε\varepsilon satisfy the maximum angle condition with γ=π/2\gamma = \pi/2 for every ε\varepsilon, and have a smallest angle that tends to 0.

Anisotropic meshes. Long thin triangles with no large angle are allowed. This is the basis of anisotropic mesh adaptation and of boundary layer meshes, where elements are much longer along the flow than across it. Such meshes need the stretched triangles to be close to right triangles, not obtuse.

Small angles still cost something. The stiffness matrix of the Laplacian for linear triangles has off-diagonal entries −12(cot⁡α+cot⁡β)-\frac{1}{2}(\cot \alpha + \cot \beta), the cotangent Laplacian. A small angle α\alpha makes cot⁡α\cot \alpha large, which raises the condition number of the matrix. So a small angle is harmless for the interpolation error but not for the solver. This is why mesh quality measures track both.

Meshers. Delaunay refinement bounds the smallest angle by θ0\theta_0, and so the largest angle by π−2θ0\pi - 2\theta_0; it meets the condition with room to spare. In three dimensions, Křížek proved the analogous condition for tetrahedra: all dihedral angles and all face angles at most γ<π\gamma < \pi. A sliver tetrahedron has dihedral angles near π\pi and violates it.

Tightness

A large angle makes the gradient error unbounded. Let TεT_\varepsilon have vertices (−1,0)(-1, 0), (1,0)(1, 0), (0,ε)(0, \varepsilon) and let u=x2u = x^2. Then Πu=1−y/ε\Pi u = 1 - y/\varepsilon, since this is 1 at the first two vertices and 0 at the third. So ∇(u−Πu)=(2x,1/ε)\nabla(u - \Pi u) = (2x, 1/\varepsilon), and its size is at least 1/ε1/\varepsilon everywhere on TεT_\varepsilon, while h=2h = 2 and M=2M = 2 stay fixed. The largest angle is at (0,ε)(0, \varepsilon), with sin⁡θmax⁡=2ε/(1+ε2)\sin \theta_{\max} = 2\varepsilon / (1 + \varepsilon^2), so the pointwise bound is 4(1+ε2)/ε4(1 + \varepsilon^2)/\varepsilon. The true maximum, 4+1/ε2\sqrt{4 + 1/\varepsilon^2}, is within a factor of 4 of it as ε→0\varepsilon \to 0, so the dependence on θmax⁡\theta_{\max} cannot be removed. In the H1H^1 form, ∫Tεx2=ε/6\int_{T_\varepsilon} x^2 = \varepsilon/6, so ∣u−Πu∣12=2ε/3+1/ε|u - \Pi u|_{1}^2 = 2\varepsilon/3 + 1/\varepsilon, and ∣u∣22=4ε|u|_{2}^2 = 4\varepsilon. The ratio ∣u−Πu∣1/(h∣u∣2)=121/6+1/(4ε2)|u - \Pi u|_1 / (h |u|_2) = \frac{1}{2}\sqrt{1/6 + 1/(4\varepsilon^2)} tends to infinity, so no constant CC works for all triangles once γ\gamma may approach π\pi.

A small angle alone is harmless. Let SεS_\varepsilon have vertices (0,0)(0, 0), (1,0)(1, 0), (0,ε)(0, \varepsilon), with angles 90°90°, arctan⁡ε\arctan \varepsilon and 90°−arctan⁡ε90° - \arctan \varepsilon. Linear functions are reproduced exactly, so it is enough to check the three quadratic monomials.

uu Πu\Pi u ∇(u−Πu)\nabla (u - \Pi u) largest size on SεS_\varepsilon
x2x^2 xx (2x−1,0)(2x - 1, 0) 11
y2y^2 εy\varepsilon y (0,2y−ε)(0, 2y - \varepsilon) ε\varepsilon
xyx y 00 (y,x)(y, x) 11

All three errors stay bounded as ε→0\varepsilon \to 0, although the smallest angle tends to 0. The pointwise theorem gives the bound 2M1+ε22 M \sqrt{1 + \varepsilon^2} with sin⁡θmax⁡=1\sin \theta_{\max} = 1.

The condition is sufficient, not necessary. Hannukainen, Korotov and Křížek built families of meshes in which some triangles have angles that tend to π\pi, and for which the finite element solutions still converge. The bad triangles there are few enough that the global error does not see them. The condition is about each triangle's interpolation error, not about the convergence of every mesh family.

History

Synge stated a bound on the largest angle for linear interpolation on triangles in his 1957 book on the hypercircle method. Zlámal in 1968 proved convergence of linear finite elements under a lower bound on all angles, and Ženíšek found the same condition independently in the same year. In 1976 Babuška and Aziz proved the H1H^1 interpolation estimate under a bound on the largest angle only, and showed by the example of u=x2u = x^2 on flat triangles that the condition cannot be dropped from the estimate. Other authors proved related results independently in the same year. Křížek extended the condition to tetrahedra in 1992. Hannukainen, Korotov and Křížek showed in 2012 that the condition is not necessary for the convergence of the finite element method.

References

  1. Ivo Babuška and A. K. Aziz, On the angle condition in the finite element method, SIAM Journal on Numerical Analysis 13(2), 1976, 214 to 226, the H1 interpolation estimate for triangles whose angles are at most a fixed gamma below pi, and the example that shows the bound fails as the largest angle tends to pi (general locator)
  2. J. L. Synge, The Hypercircle in Mathematical Physics, Cambridge University Press, 1957, Section 3.8, linear interpolation on triangles under a bound on the largest angle (section number as cited by later authors)
  3. Miloš Zlámal, On the finite element method, Numerische Mathematik 12, 1968, 394 to 409, the minimum angle condition for triangular elements
  4. Michal Křížek, On the maximum angle condition for linear tetrahedral elements, SIAM Journal on Numerical Analysis 29(2), 1992, 513 to 520, the condition for tetrahedra, with the dihedral angles and the face angles bounded away from pi
  5. Antti Hannukainen, Sergey Korotov and Michal Křížek, The maximum angle condition is not necessary for convergence of the finite element method, Numerische Mathematik 120, 2012, 79 to 88, a family of meshes that violates the condition while the finite element solutions still converge
  6. Jonathan Richard Shewchuk, What is a good linear element? Interpolation, conditioning, and quality measures, Proceedings of the 11th International Meshing Roundtable, Sandia National Laboratories, 2002, 115 to 126, large angles and interpolation error against small angles and conditioning (general locator)

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.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/WD40CR/text.yaml