LinearFiniteElements Presentation
LinearFiniteElements Presentation
Numerical analysts:
Tend to derive asymptotic error bounds &
estimators (functional analysis, embedding theorems)−
not very useful to meshing people!
Meshing people can’t read functional
analysis anyway.
Error Bounds & Quality Measures
The connections are still fuzzy.
interpolation error
element shape
element size
? discretization error
matrix conditioning
(Especially in anisotropic cases.)
My goals:
(Nearly) tight bounds on worst−case errors,
element stiffness matrix eigenvalues.
Quality measures that can choose the better
of two elements of intermediate quality.
(Suitable for numerical optimization.)
Guide mesh generators to make good elements.
Three Criteria for Linear Elements
Let f be a function. f
Let g be a piecewise linear interpolant of
f over some triangulation. g
Criterion
Interpolation error Size very important.
|| f − g|| Shape only marginally
8
important.
Gradient interpolation error Size important.
|| f − g || Large angles bad;
8
small okay.
Element stiffness matrix Small angles bad;
maximum eigenvalue large okay.
max
Main Assumption
Curvature of f is bounded:
f
| f d’’( p) | < c
(second directional derivative along any direction d)
4A
y
1.4 Area of t
1.2
1
Bound tight within factor of 2.
0.8
0.6
0.4
0.2
x
0 0.2 0.4 0.6 0.8 1 1.2
Error Bound: Gradients on Triangles
(Same assumption: bounded curvature.) f
Over a triangle t,
edge lengths inradius of t
l max l med(l min + 4 rin )
|| f − g || < c < 3 c rcirc
8
4A
1.4
y
Area of t Circumradius of t
1.2
Bound tight within factor of 2.
1 o
0.8
Angle near 180
0.6 large circumradius large
0.4
t error.
0.2
x
0 0.2 0.4 0.6 0.8 1 1.2
Error Bound: Gradients on Tetrahedra
Over a tetrahedron t,
Edge lengths of t
1
6V 1 <i < j < 4 Ai Aj l ij + max i j=i Aj l ij
|| f − g || < c 4
8
m =1 Am
1.2 y
1
0.8
0.6
0.4
0.2
x
x
0 0.2 0.4 0.6 0.8 1 1.2
Good and Bad Tetrahedra for Interpolation
Good
Bad
Deriving the New Gradient Error Bounds
Start with standard approximation theory:
Choose a point p .
Take Taylor expansion of f−g about p .
Set it to zero at element vertices (d+1 equations).
Eliminate f(p)−g(p) term from equations.
Curvature bounds yield naive bound on
|| f(p) − g(p) || .
8
8
parabolic. Worst point Curvature of f is
p’ gives standard bounded, so gradient of
l max / rin bound. || f − g || is bounded.
8
p’ p’
Error Bound: Triangle Normals on Surfaces
n
m Assumption: spheres tangent to
surface with radius c do not
enclose any portion of surface.
1.2
Maximum eigenvalue
1
is a quality measure that
0.8
prefers equilateral triangles.
0.6
Small angles are deleterious.
0.4
0.2
x
0 0.2 0.4 0.6 0.8 1 1.2
Maximum Eigenvalue in 3D
(for Poisson’s Equation)
1.2
Dihedral angles, not planar
1
angles, are related to quality.
0.8 It’s a ‘‘well−known fact’’ that
0.6 both small and large dihedral
0.4 angles hurt conditioning...
0.2
x
0 0.2 0.4 0.6 0.8 1 1.2
WRONG!!!
Surprise #1
Good
Bad
Quality Measures
Used to evaluate & choose elements.
Reciprocal of interpolation error or max eigenvalue.
Behave well as objective functions for mesh smoothing
by numerical optimization.
y z
1.4 1.4
1.2 1.2
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
x x
0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2
triangles || f − g || tetrahedra
8
Scale−Invariant Quality Measures
...measure how effective an element’s shape is for
a fixed amount of area.
|| f − g || max
8
y y
1.4 1.4
1.2 1.2
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
x x
0 0.2 0.4 0.6 0.8 1 1.2 0 0.2 0.4 0.6 0.8 1 1.2
8
Delaunay refinement if conditioning/shape bad.
Mesh smoothing: Quality measures are designed
for numerical optimization of vertex positions.
Smoother, slightly weaker measures available.
Topological mesh improvement: Use quality
measures plus refinement bound to judge elements.
Vertex placement in advancing front meshing.
Anisotropy and Interpolation Error
2
H = Hessian of f. Let E = H with E symmetric pos−def.
You can judge the error || f − g|| of an element t
8
by judging Et by isotropic error bounds/measures.
E
Anisotropy and Gradient Interpolation
8
is one for which Et has no large angle.
But...
Surprise #2: Superaccurate Gradients
f−g
Anisotropy and Conditioning
Ideal element for stiffness matrix depends on anisotropy
of the PDE, not the solution.
− ·B f =0
2 −1 F
F =B