






Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!







For reference, let us state again the basic problem of Chapter 6: In domain D, the surface S of which is partitioned as S h^ ∪ Sb, find among pairs {h, b} which satisfy
(1) rot h = 0 in D, (3) div b = 0 in D,
(2) n × h = 0 on Sh^ (4) n · b = 0 on S b,
(6) ∫c τ · h = I, (7) ∫C n · b = F,
a minimizer for the error in constitutive law
E(b, h) = ∫D μ–1^ |b – μ h|^2.
(Cf. Fig. 6.1 for the definition of the “link” c and the “cut” C.) As we saw, there is a minimizer whatever I and F, with h and b weakly solenoidal and irrotational, respectively, and a unique value of the ratio R = I/F (the reluctance) for which the constitutive law
(5) b = μ h in D,
is satisfied, i.e., E(b, h) = 0.
Complementarity consists in simultaneously solving for h = grad ϕ by nodal elements for ϕ and for b = rot a by edge elements for a, hence (assuming one uses the same mesh m for both, which is not mandatory), a rot-conformal hm satisfying (1–2)(6) and a div-conformal bm satisfying (3–4)(7), “m-weakly” solenoidal and irrotational respectively, but not linked by (5). This gave us bilateral bounds for R and (by computing E(bm, hm) ) upper bounds for both approximation errors ∫D μ |h – hm|^2 and
∫D μ–1^ |b – bm|^2.
330 APPENDIX C A Cheaper Way to Complementarity
Alas, this nice approach has a serious drawback: As we saw in Section 6.3, the part of the computation that yields a is much more expensive 1 than the determination of ϕ.
Therefore, it would be interesting to be able to save on this effort, in the case of the a-method, by making good use of the information one has, once hm has been determined. In quite fuzzy terms for the moment—but this will become more and more precise—can the solution in terms of ϕ somewhat be corrected to yield a truly solenoidal (not only m-solenoidal) approximation of b?
So let’s suppose we have computed hm, satisfying Eqs. (1), (2), and (6), and such that
(8) ∫D μ hm · grad λn^ = 0 ∀ n ∈ Nh ,
where λn^ (preferred in this Appendix to wn, for notational uniformity) is the barycentric function of node n, and Nh = N – N( Sh) the set of nodes not included in S h. We want some b ∈ W (^2) m, divergence-free, and—in order to make use of the knowledge of the solution we have already acquired—close to hm.
What we have done in Chapter 6 seems to give an obvious solution: Look for a minimizer of the error in constitutive law,
(9) b = arginf{∫D μ−^1 |b' – μh (^) m|^2 : b' ∈ IBF m} ,
where IBF m = {b ∈ W (^2) m(D) : div b = 0, n · b = 0 on S b, ∫C n · b = F}. Vector fields in this space are linear combinations of face elements,
(10) b = ∑ (^) f ∈ Fb b f wf ,
where Fb abbreviates F(S – S b), the set of faces not included in S b. (This way, (10) implicitly takes the no-flux condition (4) into account.) But the remaining nonzero face-DoFs b f are not independent for b ∈ IBF m. They are
(^1) Just for practice, let’s do it again, this time with the ratio T/N equal to 6. Thanks to
the Euler–Poincaré formula, one has E ~ 7N and F ~ 12 N. The average number of faces that contain a given edge is 3F/E, so each edge has 9F/E “neighbors”, if one defines as neighbors two edges that belong to a common tetrahedron. The number of off-diagonal entries of the edge-element matrix is thus 9F, that is, 108 N, against 14 N for the matrix created by the ϕ-method.
constrained by linear relations:
332 APPENDIX C A Cheaper Way to Complementarity
μ χi^ h (^) m = 0 outside D i^ , so we may search b i^ among the restricted set of fields that vanish outside D i^ , which means (since by normal continuity of bi^ , its normal component on ∂D i^ must be null) those of the form ∑ (^) f ∈ F i b f wf. Let us therefore introduce the notation
W (^2) m(Di^ ) = {b ∈ W (^2) m(D) : b = ∑ (^) f ∈ F i b f wf } ,
and redefine IBi^ ( hm) as
IBi^ ( hm) = {b ∈ IBF m ∩ W (^2) m(Di^ ) : ∫T div b i^ = ∫T μh (^) m · grad χi^ ∀ T ∈ T i^ }.
The b i^ s are given by
(14) bi^ = arginf{∫Di μ−^1 |b' – μχi^ h (^) m|^2 : b' ∈ IBi^ ( hm)},
which differs from (13) only by the integration domain being D i^ instead of D.
D
S b
S b
S h
S h
(^0 ) 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
(^000)
FIGURE C.1. Two examples showing the relation between supp( χi^ ) (shaded) and T i^. Faces of Fi^ (appearing as edges in this 2D drawing) are those not marked with a 0.
Before going further, let us point to an easily overlooked difficulty: If D i^ does not encounter S h^ (we call Jh the subset of J for which this happens), then ∫Di div bi^ = 0. So unless
(15) ∫Di μh (^) m · grad χi^ = 0 ∀ i ∈ Jh ,
some of the affine sets IBi^ ( hm) may well be empty! Fortunately, there are easy ways to enforce condition (15). One is to use the barycentric functions as partition of unity, and then Jh coincides with N (^) h, so (15) is equivalent to (8), which is indeed satisfied if hm was computed by the ϕ-method. More generally, if all the χi^ s are linear combinations of the λns, which we shall assume from now on, (15) holds, and we are clear.
The previous remark sheds some light on the algebraic structure of Problem (14), which determines bi^. The number of unknowns is the number of faces in F i^ , say Fi^. There are Ti^ tetrahedra in T i^ , hence T i^ constraints, but only T i^ – 1 of those are independent, owing to (15), in the general case where i ∈ Jh. This leaves F i^ – Ti^ + 1 face DoFs with respect to which to minimize the energy error in (14). In the case of connected simply connected regions Di^ , one has
N i^ – Ei^ + F i^ – Ti^ = – 1,
where N i^ and E i^ are the numbers of inner nodes and edges in D i^ (those not on ∂Di^ ), so the number of independent DoFs is E i^ – Ni^.
To go further in the identification of these DoFs, let bi^ ( hm) be some member of IBi^ ( hm), constructed by a procedure, the description of which we defer for an instant. Then div b i^ = div b i^ ( hm) in D i^ , hence bi^ = b i^ ( hm) + rot a i^ , with
(16) a i^ = ∑ (^) e ∈ Ei a ie we ,
a linear combination of edge elements, indexed over the E i^ inner edges of D i^. The ai^ s which are gradients yield rot ai^ = 0, and the dimension of the subspace they span is N i^ , so we have indeed Ei^ – N i^ independent degrees of freedom, as far as bi^ is concerned. (One might use the N i^ loose ones to “gauge” a i^. But this is not necessary, as stressed in Chapter 6.)
Let us now rewrite problem (14) in terms of a i^. We have
(17) a i^ ∈ arginf{∫Di μ−^1 |rot a' + bi^ ( hm) – μχi^ h (^) m|^2 : a' ∈ Ai^ } ,
where Ai^ is the set of fields of the form (16). When χi^ = λi^ , the barycentric function of node number i, this simplifies a little, for
∫Di μ−^1 |rot a' + b i^ ( hm) – μλi^ h (^) m|^2 = ∫Di μ−^1 |rot a' + bi^ ( hm)|^2
and the latter term is 12 ∫Di rot a'. hm ≡ 0, because both rot a' and hm are piecewise constant, and the average value of λi^ is 1/4 over all tetrahedra.
(^2) This is actually true in all cases when the χi (^) s are linear combinations of the λns.
The term to be minimized is then^2 ∫Di μ−^1 |rot a' + bi^ ( hm)|^2.
of the graph. I suppose a drawing could help: cf. Fig. C.3. Co-edges of the spanning tree point to the faces for which the computation (18) will be done (those which cut the surface along the thick lines of Fig. C.3).
FIGURE C.3. Complementary spanning trees on the surface of an icosahedron, as seen in perspective view (left) and in stereographic projection from the center of the back face (right). The latter view shows only 19 faces, three of them with some distortion, as if one was peering inside the icosahedron from a point near the center of face 20 (the rear one on the left view), which thus corresponds to the outer region of the plane in the stereographic projection. The spanning tree of the face-to-edges graph of the text is in thin lines. Co-edges of this tree are in dotted lines; they intersect the thick-drawn edges of the polyhedron. Note that these edges themselves constitute a spanning tree for the node-to-edges tree on the surface. (This “complementarity” of the trees of both kinds is a general fact on closed simply connected surfaces; cf. Remark C.3.)
After this, Problem (17) amounts to solving a linear system of order Ei^ , with twice as many off-diagonal terms as there are edges on the surface of the cluster, that is, 2F i^ = 2(3E i^ – 6), typically 72. There are about N such problems (more precisely, Nh, the number of nodes in N h) , so if we regroup them in a single large matrix, the latter will be block-diagonal (about N blocks), and contain about 60 N off-diagonal terms. This compares favorably with the 90 N we found in Chapter 6 for this typical
(^4) With T/N ~ 6, as in Note 1, typical figures are Ei (^) = 12, F i (^) = 36, Ti (^) = 24. One has then
72 N off-diagonal terms vs the 108 N computed in Note 1—the same ratio.
mesh,^4 to say nothing of the intrinsic parallelism of the method.
336 APPENDIX C A Cheaper Way to Complementarity
Remark C.2. All this cries out for some symmetrization: Suppose bm has been obtained by the a-method. Could a local correction to μ–1h (^) m be built, quite similarly, which would yield a curl-free companion to bm? Indeed, this is straightforward, and the reader will easily do it by imitating all we have been doing up to now, systematically transposing h for b, rot for grad, etc. Economy is no more a factor there, since the global ϕ-method is likely to be cheaper than all alternatives, but the need for local corrections may arise in mesh-refinement procedures the same way. And in this respect, even though the a-method is not the preferred one in magnetostatics, due to its intrinsically high cost, we may hope a method elaborated in this context will transpose to the more general one of eddy-current problems, in which edge-elements and the curl-curl equation are natural ingredients, and the scalar potential method is not an option. A mesh-refinement procedure based on the present ideas would then take all its value. ◊
Remark C.3. Let’s explain the intriguing “tree-complementarity” of Fig. C.3. (This will illustrate what was said in 5.3.3 about the relevance of graph-theoretical concepts.) Start from a spanning tree of the so-called “primal” graph, nodes to edges. Across each co-edge, there is a line joining the two nearby triangles. These lines form a subgraph of the “dual” graph (the faces-to-edges one). This “co-edge subgraph” visits all triangles, because no triangle can have all its edges in the spanning tree, since that would make a loop. It’s connected, because the complement of the spanning tree is. It has no loops, because a loop would disconnect the primal spanning tree. (On other surfaces than spheres, the situation is completely different, as we observed in Section 5.3, Fig. 5.9.) ◊
We achieved our objective, which was to find some b, divergence-free, and close to μh, with moderate computational effort. In practice, one will thus solve for the scalar magnetic potential ϕ, hence h = grad ϕ, and compute b by the above procedure. Then everything one may wish to know about the error relative to this mesh is told by the estimator
(19) E(b, h) = ∑ (^) T ∈ T ∫T μ–1^ |b – μ h|^2 ,
which can be used to get bilateral bounds on the reluctance, or to map the local error in constitutive law. The approximation error with t h i s mesh is therefore well documented. If it is found too large, a mesh refinement,
338 APPENDIX C A Cheaper Way to Complementarity
where the constant C 1 (like all similar ones to come) depends on D and the data, but not on the mesh. If one can prove that
(21) ∫Di μ−^1 | b i^ – μχi^ h (^) m|^2 ≤ C 2 vol(Di^ ) γ (m)^2 ,
it will follow from this and the lemmas that
E(b L m , hm) ≤ C 3 γ (m)^2 ,
a quite nice prospect, since the convergence speed would be the same, with less computation, than with the global complementarity method, only of course with a larger multiplicative factor in the error estimate.
So all depends on (21) being true, which seems likely, but I have no proof.
Another legitimate question is, could the local correction be obtained in a more straightforward way? After all, we know μh in Di^ , so we have a fair estimate of the fluxes of b through faces of ∂D i^. Why not just look for the b in W 2 (Di^ ), with these fluxes as Dirichlet data, that is closest to μh in energy? What we get this way is a local b directly, not something like the earlier b i^ , which was only the local contribution to b = ∑i b i^. It’s much better, in a way, since if we are interested in b around specified isolated nodes, one computation, instead of about 13 to 15, will be required for each of these.
But while this may be all right if all we want is some local divergence- free correction of μh, in order to make good-looking, flux-preserving displays, for instance, such a procedure is not able to yield a g l o b a l l y valid b: Even if we implement it on a family of D is which pave D, and try patching the results together, the b thus obtained will not be div- conformal (and hence, not divergence-free over D), because the boundary fluxes taken as data on any given face differ for the two computations in the domains D i^ and Dj^ adjacent to that face. (The variant in which the fluxes are used as Neumann data instead has the same drawback, and more degrees of freedom.) This procedure, therefore, is of no value as regards error bounds.