Docsity

Analysis of Flux Losses and Euler-Poincaré Theorems in Finite Element Methods, Notas de estudo de Engenharia Elétrica

Toggle sidebar
bg1
CHAPTER 4
The Approximate
Scalar Potential:
Properties and Shortcomings
The question now on our agenda: Assuming we have solved the linear
system (20) in Chapter 3, and thus obtained the vector ϕϕ
ϕϕ of nodal potentials,
to what extent is the approximate solution ϕm = ∑ n ∈ N ϕϕ
ϕϕn λn satisfactory
as a representation of the field? On the side of h, all goes well: Setting
hm = grad ϕm , we have rot h m = 0 as well as n × h
m = 0 on Sh and
∫c τ · hm = I, all that by construction. Errors are on the side of b: We lose
solenoidality of bm = µhm , since not all test functions have been retained.
Some measure of flux conservation still holds, however, and we'll see in
which precise sense. When the mesh is refined, we expect to recover
div b = 0 “at the limit”; this is the issue of convergence. But how fast do
hm and bm converge toward h and b, and how far apart are they in
energy? These are related questions, but the latter is more difficult and
will not be resolved before Chapter 6. Last, there is a property of the true
solution, expressed by the so-called maximum principle, which may be
preserved to some extent, provided the mesh is carefully devised, and
Voronoi–Delaunay meshes seem to be adequate in this respect.
4.1 THE “mm
mm-WEAK” PROPERTIES
Last chapter, we defined “discrete” or “m-weak” solenoidality as the
property
(1) ∫D b . grad ϕ' = 0 ∀ ϕ' ∈ Φ0
m ,
that is, with nodal finite elements, ∫D b · grad λn = 0 for all n in the
95
subset N 0 = N – N(Sh). We shall dub active the nodes of this set, which
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e

Pré-visualização parcial do texto

Baixe Analysis of Flux Losses and Euler-Poincaré Theorems in Finite Element Methods e outras Notas de estudo em PDF para Engenharia Elétrica, somente na Docsity!

CHAPTER 4

The Approximate

Scalar Potential:

Properties and Shortcomings

The question now on our agenda: Assuming we have solved the linear system (20) in Chapter 3, and thus obtained the vector ϕϕϕϕ of nodal potentials, to what extent is the approximate solution ϕm = ∑ (^) n ∈ N ϕϕϕϕn λn^ satisfactory as a representation of the field? On the side of h, all goes well: Setting h (^) m = grad ϕm , we have rot hm = 0 as well as n × hm = 0 on S h^ and ∫c τ · hm = I, all that by construction. Errors are on the side of b: We lose solenoidality of bm = μh (^) m , since not all test functions have been retained. Some measure of flux conservation still holds, however, and we'll see in which precise sense. When the mesh is refined, we expect to recover div b = 0 “at the limit”; this is the issue of convergence. But how f a s t do h (^) m and bm converge toward h and b, and how f a r apart are they in energy? These are related questions, but the latter is more difficult and will not be resolved before Chapter 6. Last, there is a property of the true solution, expressed by the so-called maximum principle , which may be preserved to some extent, provided the mesh is carefully devised, and Voronoi–Delaunay meshes seem to be adequate in this respect.

4.1 THE “ mmmm -WEAK” PROPERTIES

Last chapter, we defined “discrete” or “m-weak” solenoidality as the property

(1) ∫D b. grad ϕ' = 0 ∀ ϕ' ∈ Φ^0 m ,

that is, with nodal finite elements, ∫D b · grad λn^ = 0 for all n in the

subset N 0 = N – N( Sh). We shall dub active the nodes of this set, which

96 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

includes inner nodes (i.e., not on S) and surface nodes interior to S b, but not those at the boundary common to S b^ and S h, where nodal values are imposed. Active nodes are those which bear an unknown degree of freedom, and each of them corresponds to a row of the submatrix 00 M of Eq. (3.20).

4.1.1 Flux losses

Condition (1) is much less stringent than weak solenoidality, so what is left of div b = 0? In the worst case, nothing: hm is constant inside a tetrahedron, so if μ varies, then div(μ h (^) m) = ∇μ · hm , which has no reason to vanish. But this is easily cured: Replace μ, either before the computation of M by (3.19), or at the stage we consider now, by a mesh-wise constant function μ‰, equal to (∫T μ)/vol(T) on tetrahedron T. Then bm = μ‰h (^) m, being mesh-wise constant, is solenoidal inside each T. Can we expect its normal jumps [n · bm]f , which are a priori constant over each face of the mesh, to vanish, all of them? By no means, because that would make bm divergence-free and enforce n · bm = 0 on S b. Thereby, all the equations of the continuous model would be satisfied by the discrete model (in the case of a mesh-wise constant μ), which would then yield the right solution, and such miracles are not to be expected. Jumps of n · bm don't vanish, so there is a “loss of induction flux”, equal to the integral of this jump, at each inter-element boundary.

This prediction is confirmed by comparatively counting these lost fluxes and the equations. We have N nodes, E edges, F faces and T tetrahedra. By a famous result in topology to which we shall return, one has

N – E + F – T = χ,

where χ, the Euler–Poincaré constant, which a priori seems to depend on m, is actually determined by the global topological properties of D. It's a small integer, typically 1 for simple domains. ( Exercise 4.1: Compute χ for a single tetrahedron and for a meshed cube.) Assume a typical mesh, made by first generating hexahedra, then chopping them into six tetrahedra each (cf. Exer. 3.7). Then T ~ 6N, and F ~ 12N, since each tetrahedron has four faces that, most of them, belong to two tetrahedra, hence E ~ 7N. Having about N degrees of freedom, we can't satisfy F ~12N constraints—but wait, are there really F lost fluxes to cancel? No, because the fluxes through faces of a same tetrahedron add to zero, since div bm = 0 inside. So there are about F – T independent lost fluxes to consider. Still, this is about E – N, much larger than N.

98 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

because the jump is constant over f, and the average of λn^ over f is equal to 1/3 (Exer. 3.9). For further reference, let's give a name to ( M ϕϕϕϕ) (^) n, the component of M ϕϕϕϕ at node n, and call it the flux loss at , or about node n, as regards b. After (2), this loss is one-third of the sum of flux losses at faces that have n as common node (face set F(n)).

There is another interpretation of this flux loss, for which it will be convenient to distinguish inner nodes and surface nodes. If n is an interior node, the faces of F(n) are the “inner faces” of the cluster (the opaque ones in the inset drawing). Since b is mesh-wise constant, ∫ (^) ∂T n · b = 0 for all tetrahedra. The sum of these terms over all tetrahedra of the cluster is also the sum of the outward flux through the cluster's boundary and of the inner flux losses. Therefore, the flux loss at n is one third of the flux entering its cluster. The same argument works if n belongs to the surface: Then n lies on the polyhedral boundary of its own cluster (Fig. 4.1), and the flux loss at n is one-third of the flux entering the “polyhedral cap” of n, as sketched in Fig. 4.1, right.

Now, consider the case when ϕϕϕϕ is the solution of the discrete problem, Eq. (3.20). Row n of this linear system corresponds, equivalently, to

(3) ∫Dn bm · grad λn^ = 0, (3') ( M ϕϕϕϕ) (^) n ≡ ∑ (^) m ∈ N (n) M (^) n m ϕϕϕϕm = 0.

So discrete solenoidality entails the cancellation of all flux losses of bm at active nodes. Therefore, by what precedes, the fluxes of bm through the surface of the cluster of each inner node and through the cap of each active boundary node must vanish.

n (^) S n S

D

FIGURE 4.1. Left: Cluster of tetrahedra around a boundary node (D here is above the triangulated plane). Inner faces of the cluster are opaque; others are transparent. Right: Dissecting the cluster's boundary into a “patch” of boundary triangles around n, and a “cap” of inside faces.

f. n

4.1 THE " m -WEAK" PROPERTIES 99

Note that we don't find n · bm = 0 on faces of S b. Actually, we had no reason to entertain such hopes, since there are about twice 3 as many faces as nodes on Sb, thus not enough equations to cancel all these fluxes.

It's very tempting to try and combine these results by merging clusters of different nodes into larger clusters, and to say, “Well, just as the flux of the true solution b is null for all closed surfaces inside D (remember, this is the integral interpretation of weak solenoidality), the flux of bm through polyhedral surfaces made of mesh-faces will vanish.” Fine guesswork... but wrong, as the following exercise will show.

Exercise 4.2. In dimension 2, suppose bm satisfies (3) over a domain that contains the two “extended clusters” of Fig. 4.2. Show that the flux through Σ 1 or Σ 2 does not vanish.

T

Σ 2

Σ 1

e

k

m

i j

l

FIGURE 4.2. Part of a 2D mesh m by which a discretely solenoidal induction bm has been computed. Although the flux of bm through cluster boundaries vanishes, it does not on the boundaries Σ 1 or Σ 2 of extended clusters, that is, unions of clusters of node subsets such as {i, j} or {k, l, m}.

And yet there is something correct in this intuition. But we need relatively sophisticated new concepts to develop this point.

4.1.2 The dual mesh, and which fluxes are conserved

First, the barycentric refinement of a simplicial mesh m. This is a new simplicial mesh, which we shall denote by m/2, obtained as suggested by Fig. 4.3: Add one node at each mid-edge and at the center of gravity of

(^3) It’s Euler–Poincaré again, for surfaces this time: N – E + F = χ, and 2E ~ 3F. Things

may seem different in dimension 2, where there are almost as many boundary nodes as boundary edges (the difference is the number of connected components of Sh). Still, even when these numbers coincide, there is no reason to expect fluxes at boundary edges to be exactly zero.

each face and each tetrahedron, subdivide, and add edges and faces as

4.1 THE " m -WEAK" PROPERTIES 101

e f n (^) T

f *

e* n*

FIGURE 4.4. Cells of the dual mesh m: All dual p-cells are unions of p-simplices of the barycentric refinement of m. From left to right, a part of the box n, a 2-cell e* around edge e, and a 1-cell f * through face f. Finally, for further use, let us define something we shall call, for shortness, m* - surfaces: Surfaces, with or without boundary, made of dual 2-cells. Box surfaces are m-surfaces (after removing the part that may lie in S), and the surface of a union of boxes is one, too. Similarly, of course, we have m - points (nodes of the dual mesh, i.e., centers of tetrahedra), m* - lines (made of dual 1-cells), and m* - volumes (unions of boxes).

n

Σ

S (^) n

n

n (^) S (^) n

Σn

S FIGURE 4.5. Comparing the fluxes through Σn and S (^) n. (Beware, this is a 2D representation, in which surfaces Σn, Sn, S appear as lines.)

With this, we can refine our interpretation of M ϕϕϕϕ. Again, given some DoF vector ϕϕϕϕ, form ϕ = pm(ϕϕϕϕ) and b = μ‰ grad ϕ. Then,

Proposition 4.1. The term ( M ϕϕϕϕ) (^) n = ∫D b · grad λn, or flux loss of b about n, is the inward flux of b across the surface of the box around n, if n is an inner node , and across the “m* - cap” of Fig. 4.5, if n is a surface node.

Proof. Since b is divergence-free inside tetrahedra, the difference between its fluxes through the cluster surface S (^) n and through the box surface Σn is due to flux leaks at the parts of inner faces of the cluster which are in the shell between Σn and Sn (thick lines in the 2D drawing). But for each such face, exactly two-thirds of its area are there (in dimension 2, and on the drawing, one-half of the edge length). And since jumps of n · b are constant over each face, the total of these flux leaks in the shell is thus

102 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

two-thirds of the total of flux leaks in the cluster. The remaining third is thus the flux through Σn. Same reasoning if n belongs to the boundary, Σn now being the “m*-cap” over n (smaller than the cap of Fig. 4.1) made of dual 2-cells. ◊

Remark 4.2. One cannot overstress the importance of having a barycentric subdivision to get this result; the uniformity of the ratio 2/3 between areas was essential. ◊

In other words, ( M ϕϕϕϕ) (^) n is the part of the flux of b entering box B (^) n that comes from other boxes, and the entries of M govern fluxes between boxes in a very simple way: B (^) m gives M n m (ϕϕϕϕm – ϕϕϕϕn) to B (^) n. The finite element method thus appears as simple bookkeeping of induction flux exchanges between boxes, or “finite volumes”, in which the computational domain has been partitioned. Exercise 4.4 at the end is an invitation to follow up on this idea.

With this, we can return to the characterization of bm : Its flux through the box surface of an inner node, or through the small cap of an active surface node, vanishes. Since inter-box boundaries are always inside tetrahedra, where bm is solenoidal, there are no flux leaks at such interfaces, so we may aggregate boxes, and the flux entering such an aggregate is the sum of flux losses at all nodes inside it. Therefore, the flux of bm will vanish across polyhedral surfaces of two kinds: m-surfaces that enclose one or several boxes around inner nodes, and “extended m - caps”, covering one or several S b-nodes.

To make sense out of this, let's compare the present “discrete” situation to the “continuous” one. In the latter, the flux of the true solution b is null for all closed surfaces inside D which enclose a volume (this is the integral interpretation of weak solenoidality), and also, since n · b = 0 on S b, for all surfaces with boundary which, with the help of S b, enclose a volume. So it goes exactly the same in the discrete situation, except that surfaces must be made of dual 2-cells. All this cries out for the introduction of new definitions, if only for ease of expression:

Definition 4.2. Let C be a part of D. A surface in D‹ is closed modulo C if its boundary is in C. A surface Σ bounds modulo C if there is a volume Ω contained in D‹ such that ∂Ω – Σ is in C.

Same concepts 4 for a line σ, which is closed mod C if its end-points are

(^4) Lines and surfaces can be in several pieces, but trying to formalize that, via the concept

of singular chain , would lead us too early and too far into homology [GH, HW]. (Don't confuse the present notion of closedness with the topological one; cf. A.2.3.)

in C, and bounds mod C if there is a surface Γ such that ∂Γ – σ is in C.

104 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

Fm = I–1^ ∑ (^) n ∈ N ( M ϕϕϕϕ) (^) n ϕϕϕϕn = ∑ { ( M ϕϕϕϕ) (^) n : n ∈ N( Sh 1 )},

since ( M ϕϕϕϕ) (^) n = 0 for all nodes n ∈ N 0 and ϕϕϕϕn = 0 or I for n in N( Sh 0 ) or N ( Sh 1 ). The flux is therefore approximated by the sum of flux losses at points of S h 1 , which is equal, after Prop. 4.1 (aggregate the boxes of all points of S h 1 ), to the flux at the surface Σ of Fig. 4.7 (seen as a broken line in this 2D sketch), obtained by merging the small caps (m*-caps) of all nodes of Sh 1. h

S S

b b

S (^0)

S h 1

Σ

D

Σ'

F FIGURE 4.7. Where to compute the flux of bm.

Exercise 4.6. What about m*-surfaces like Σ' in Fig. 4.7? Show that the flux of bm is the same through all of those which are homologous to Σ, in the sense of Exer. 2.6.

As one sees, the “variationally correct” approximation of the flux is not what a naive approach would suggest, that is, ∫Sh 1 μ ∂n(pm(ϕϕϕϕ)), but the same integral taken over Σ (or any m*-surface homologous to it) instead of Sh 1. One should not, in consequence, use μ ∂n(pm(ϕϕϕϕ)) as approximation for the normal induction, but treat the latter, for all purposes, as a surface distribution ϕ' → ∫S μ ∂nϕ ϕ', and use the scalar product (M ϕϕϕϕ, ϕϕϕϕ ' ) as approximation of this integral, with ϕϕϕϕ ' n = ϕ'(x (^) n). (Cf. Exer. 4.8.)

Exercise 4.7. In which sense is M a discrete analogue of the differential operator – div(μ grad )?

Exercise 4.8. Suppose one solves a problem similar to our model problem, but with ϕ, for some reason, equal to a given boundary data ϕh^ on Sh. Write down the best estimate of the functional ∫D μ |grad ϕ|^2 in terms of the DoFs on Sh. (This way of expressing the energy inside a region in terms of boundary values of the field is a very useful procedure, known as “static condensation” in mechanics. Can you find a better denomination, more germane to electromagnetism?)

4.2 THE MAXIMUM PRINCIPLE 105

4.2 THE MAXIMUM PRINCIPLE

If ∆ϕ = 0 in some domain, ϕ cannot reach its maximum or minimum elsewhere than on the boundary of the domain. This is the maximum principle for harmonic functions. A similar property holds for the magnetic potential, and some of it may be retained at the discrete level.

4.2.1 Discrete maximum principle

Let’s recall the proof. First (an easy assignment):

Exercise 4.9. Show that the function y → (4π |x – y|) –1^ is harmonic in E 3 – {x}.

Next, suppose div(grad ϕ) = 0 in some domain D. Consider two spheres S(x, r) and S(x, R) contained in D, both centered at x, with radiuses r < R, and call v (^) x the function y → (4π) –1(1/|x – y| – 1/R). Integrate by parts in the domain O between the two spheres, which can be done in two ways. First, lifting the grad off v (^) x,

∫O grad ϕ · grad v (^) x = ∫ (^) ∂O n. grad ϕ vx

= (^41) π (r –1^ – R –1)∫ (^) S(x, r) n · grad ϕ =

= – (^41) π (r –1^ – R –1)∫B(x, r) div(grad ϕ) = 0,

and then, the other way around,

∫O grad ϕ · grad v (^) x = 1 4 π [R

S(x, R) ϕ^ – r^

S(x, r) ϕ].

Letting r tend to 0, one finds, finally,

(4) ϕ(x) = [∫S(x, R) ϕ]/(4πR 2 ) ,

a useful representation formula, which says that ϕ(x) is equal to the average of ϕ over the sphere S(x, R). Of course, ϕ cannot be extremal at x without contradicting this. Hence the maximum principle.

In the case of a non-unifom, but positive permeability, the magnetic

(^5) This is the basis of Earnshaw’s famous result [Ea]: “A charged particle in empty space

cannot remain in stable equilibrium under electrostatic forces alone, or alternatively there can be no maximum or minimum of the potential at points free of charge density.” (Quoted from [Sc].)

potential enjoys a similar property, 5 but the proof ([GT], Chapter 3) is no

O R

n. r

n.

S(x, r).

S(x, R).

4.2 THE MAXIMUM PRINCIPLE 107

4.2.2 Voronoi–Delaunay tessellations and meshes

In the plane or space (d = 2 or 3 is the dimension), consider a finite set N of points, and let domain D, to be meshed, be the interior of their convex 7 hull. The Voronoi cell V (^) n of n is the closed convex set

V (^) n = {x ∈ D‹ : |x – x (^) n| ≤ |x – x (^) m| ∀ m ∈ N – {n}}

made of points not farther to node n than to any other node. Fig. 4.8 gives an example, with 11 nodes and as many Voronoi cells (the polygons with irregular shapes).

e e

A

1

2

3

4

5

6

7

8

10

11

~

n

m

{m, n}

n

m

{l, m, n}

l ~

~

FIGURE 4.8. Voronoi-Delaunay mesh in dimension 2. Note the ambiguity about point A and how it is resolved by arbitrarily preferring {3, 8} to {2, 4}. A dual q-cell and the associated (d – q) -simplex are supported by orthogonal and complementary affine subspaces, but do not necessarily encounter each other (like here the edge e and its dual e˜).

These are “d-cells”, if one refers to their dimension. One can also define “q-cells” by taking all non-empty intersections of d-cells, two by two (q = d – 1), three by three (q = d – 2), etc. Points of these q-cells are closer to d – q + 1 of the original nodes. For instance, the (d – 1)-cell associated with nodes n and m is

V (^) n, m = {x ∈ D‹ : |x – x (^) n| = |x – xm| ≤ |x (^) n – x (^) k| ∀ k ∈ N – {n, m}},

and x (^) n and xm are its nearest neighbors among nodes. Generically, p Voronoi cells intersect, if they do, as a convex set of dimension d + 1 – p.

(^7) Convexity is important, and special precautions must be taken when generating VD

meshes for nonconvex regions (cf. [Ge], [We]).

There are exceptions: cf. nodes 3 and 8 in Fig. 4.8, where a small segment

108 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

near point A would be made of points closer to 3 and 8, if only 4 and 7 were a little farther away. For simplicity in this description, we shall assume that such degenerate cases are absent (although they can be a nuisance in practice). Voronoi d-cells and their intersections form a cellular tessellation of the domain.

Now let us associate to each of these q-cells the p nodes that define it, p = d + 1 – q, that is, nodes which are nearest neighbors to all points of the q-cell. They form a p-simplex, which we shall call a Dirichlet simplex. The Voronoi–Delaunay (VD) mesh is the simplicial mesh thus obtained. In spite of its being derived from the Voronoi paving, we shall consider the simplicial VD mesh as p r i m a l , and the system of Voronoi cells as its d u a l cellular mesh, and denote by s˜ the Voronoi cell that corresponds to the primal simplex s. As an example, Fig. 4.8 displays the Voronoi cell e˜ of edge e.

Analogies between this dual and the barycentric one are obvious. From the combinatorial point of view, they are even the same: the dual cells s* and s˜ are defined by the same set of primal nodes. But the shapes of the cells differ widely. Contrary to m*-cells, Voronoi cells are all convex and lie in a definite affine subspace (of dimension q for q-cells). Compare Figs. 4.4 and 4.9. On the other hand, barycentric duals always intersect their primal associates, whereas Voronoi cells may lie some distance away from their mates (case of e and e˜, Fig. 4.8).

n (^) f T (^) e

e~

f~

n~

FIGURE 4.9. Cells of the Voronoi dual mesh m˜. Compare with Fig. 4.4.

Such VD meshes have remarkable properties. For instance, this, which is an almost immediate consequence of the construction principle:

Proposition 4.4. For each Dirichlet simplex, there is a sphere that contains it and its lower dimensional faces, but no other simplex.

Proof. Take a sphere centered at one of the points of the dual Voronoi cell, of radius equal to the distance to one of the nodes of the simplex

110 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

Proposition 4.5. Assume μ constant in D. For all inner nodes n, M m n ≤ 0 for all m ≠ n.

Proof. Edge mn is flanked by two triangles T and T' (Fig. 4.10), and the opposite angles add up to less than 180°, thanks to the circle property. By the cotangent formula (3.23), – M m n is proportional to cot θ + cot θ' , which is ≥ 0 if θ + θ' ≤ π. ◊

Alas, this leaves many loose strands. First, obtuse angles at boundary triangles (there is one in Fig. 4.8, triangle {8, 10, 11}). But if the objective is to enforce the discrete maximum principle, only inner nodes are involved, and anyway, one may add nodes at the boundary and, if necessary, remesh (which is a local, inexpensive process). Second, and more serious, the condition of uniformity of μ is overly restrictive, and although the cure is of the same kind (add nodes at discontinuity interfaces to force acute angles), further research is needed in this direction.

C

C'

T'

m

n

h

h'

T T (^) C C'

T (^) '

θ

θ' θ θ'

m

n

h h'

M

M'

FIGURE 4.10. Proof of (5). M and M' are the mid-edges.

Proposition 4.5 can be proven in a different and instructive way (Fig. 4.10). By the cotangent formula, and the obvious angular relation of Fig. 4.10 (where C and C' are the circumcenters), one has

(^9) Conventionally, the conditions reported by a meteorological station (temperature,

hygrometry, etc.) are supposed to hold in the whole “Thiessen polygon” around that station. As explained in [CH], “Stations are always being added, deleted, moved, or temporarily dropped from the network when they fail to report for short periods of time (missing data)”, hence the necessity to frequently solve the typical problem: having a Voronoi–Delaunay mesh, add or delete a node, and recalculate the boundaries. Recursive application of this procedure is the standard Watson–Bowyer algorithm for VD mesh generation [Wa], much improved recently [SI] by making it resistant to roundoff errors. Fine displays of VD meshes can be found in [We].

(5) – M m n = 12 (μ( T) cot θ + μ( T') cot θ') = (h μ( T) + h' μ( T'))/|mn|,

4.3 CONVERGENCE AND ERROR ANALYSIS 111

where |mn| is the length of edge {m, n}, and h, h' are to be counted algebraically, in the direction of the outward normal (thus, h ≤ 0 if the circumcenter C is outside T, as on Fig. 4.10, right part). This way, in the case where μ is uniform, M m n = – μ (h + h')/|mn|, negative indeed if the circle condition is satisfied.

This quantity happens to be the flux of μ grad λn^ out of the Voronoi cell of node m ( Exercise 4.12: Prove this, under some precise assumption). This coincidence is explained in inset: Although the Voronoi cell and the barycentric box don't coincide, the flux through their boundaries is the same, because μ ∇λn^ is divergence-free in the region in between. But beware: Not only does this argument break down when there is an obtuse angle (cf. Exer. 4.12), but it doesn't extend to dimension 3, where circumcenter and gravity center of a face do not coincide.

Still, there is some seduction in a formula such as (5), and it h a s a three-dimensional analogue. Look again at Fig. 4.9, middle. The formulas

M Ÿ m n = – [∑F (area(F ) μ( F )]/|mn|, M Ÿ n n = – ∑ (^) m ∈ N M Ÿ m n ,

where F is an ad-hoc index for the small triangles of the dual cell {m, n} Ÿ, do provide negative exchange coefficients between n and m, and hence a matrix with Stieltjes principal submatrices. This is a quite interesting discretization method, but not the finite element one, and M Ÿ ≠ M.

Exercise 4.13. Interpret this “finite volume” method in terms of fluxes through Voronoi cells.

4.3 CONVERGENCE AND ERROR ANALYSIS

We now consider a family M of tetrahedral meshes of a bounded spatial domain D. Does ϕm converge toward ϕ, in the sense that ||ϕm – ϕ||μ tends to zero, when m... when m does w h a t , exactly? The difficulty is mathematical, not semantic: We need some structure^10 on the set M to

(^10) The right concept is that of filter [Ca]. But it would be pure folly to smuggle that into

an elementary course.

validly talk about convergence and limit.

m.

n.

4.3 CONVERGENCE AND ERROR ANALYSIS 113

4.3.1 Interpolation error and approximation error

Let's develop an idea that was only suggested in Section 3.3.

First, a definition: Given a family M of meshes, an interpolation procedure is a similarly indexed family of linear mappings rm : U → Φm , where U is dense in Φ ∗. Let's give an example immediately: U is made of all continuous functions over D‹ that vanish on S h 0 , and its m-interpolate is

rmu = ∑ (^) n ∈ N u(x (^) n) λn.

In other words, u is sampled at nodes, and linearly interpolated in between. This explains why U cannot coincide with Φ ∗^ (the complete space), which contains non-continuous functions, for which nodal values may not make sense. In fact, for technical reasons that soon will be obvious, we further restrict U to piecewise 2-smooth functions that vanish on S h 0. The energy distance ||u – rmu||μ = [∫D μ |grad(u – rmu)|^2 ]1/2^ between a function and its interpolate is called the interpolation error.

Next, let's suppose we know something of the same form as (6) about the interpolation error,

(7) || u – rmu ||μ ≤ C(u) γ (m)α.

Then, two things may happen. If the true solution ϕ is a member of the class U, the remark of Section 3.3 (cf. Fig. 3.4) about the approximation error ||ϕm – ϕ||μ being lower 12 than the interpolation error ||rm ϕ – ϕ||μ immediately yields (6), with C = C(ϕ). So we may conclude that for meshes of the family for which (7) holds, rm ϕ converges in energy toward ϕ when the grain tends to 0. Moreover, the speed of the convergence is what the interpolation procedure provides.

This situation does not present itself all the time, however, because the solution may not be smooth enough to belong to U (cf. the example of Exer. 3.6). But the density of U still allows us to conclude: Given ε, there exists some u ∈ U such that ||u – ϕ||μ ≤ ε/2, and since

||ϕm – ϕ||μ ≤ ||rmu – ϕ||μ ≤ ||rmu – u||μ + ||u – ϕ||μ,

(^12) Note that r mu^ ∈^ Φ

I (^) if u ∈ ΦI (^) with the present interpolation procedure, if one turns a

blind eye to possible variational crimes at the boundary. This is important in asserting that ||ϕm – ϕ ||μ ≤ ||rmϕ – ϕ ||μ.

S b^

S h 0

D

S h 1

114 CHAPTER 4 The Approximate Scalar Potential: Properties and Shortcomings

||rmu – u||μ will be smaller that the still unspent half-epsilon for γ (m) small enough, hence the convergence. The convergence s p e e d , however, is no longer under control. This is not a practical difficulty, because singularities of ϕ are usually located at predictable places (corners, spikes), and special precautions about the mesh (pre-emptive refinement, or special shape functions) can be taken there.

4.3.2 Taming the interpolation error: Zlamal's condition

We may therefore concentrate on the interpolation error. By the very definition of hat functions, one has

(8) ∑ (^) n ∈ N λn(x) (x (^) n – x) = 0 ∀ x ∈ D,

which makes sense as a weighted sum of vectors x (^) n – x.

Let u be an element of U. We'll make use of its second-order Taylor expansion about x, in integral form, as follows:

(9) u(y) = u(x) + ∇u(x) · (y – x) + 12 Au (x, y)(y – x) · (y – x)

where, denoting ∂^2 u the matrix of second derivatives of u,

A (^) u (x, y) = ∫ 01 (1 – t^2 ) ∂^2 u(x + t(y – x)) dt,

a symmetric matrix that smoothly depends on x and y. Note that ∇u(x) is treated as a vector in (9), and that A (^) u acts on vector y – x.

Remark 4.3. The validity of formula (9) is restricted to pairs of points {x, y} which are linked by a segment entirely contained in D. Not to be bothered by this, we assume u has a smooth extension to the convex hull of D. Anyway, only values of A (^) u (x, y) for points x and y close to each other will matter. ◊

It is intuitive that the distance between u and its interpolate rmu should depend on the grain in some way. Our purpose is to show that if the mesh is “well behaved”, in a precise sense to be discovered, the quadratic semi-norm, which differs only in an inessential way from the energy one,

||u – rmu|| = [∫D |∇(u – rmu)|^2 ]1/2^ ,

is bounded by γ (m), up to a multiplicative constant that depends on u (via its derivatives of order 2).

By Taylor's formula (9), we have, for all node locations xn,