Docsity

Complementarity of Curl-Free and Solenoidal Fields in Vector Calculus, Notas de estudo de Engenharia Elétrica

Toggle sidebar
bg1
CHAPTER 6
The “curl side”:
Complementarity
We return to the model problem of Chapter 2, the magnetostatics version
of the “Bath cube” setup. This time, the two mirror symmetries with
respect to vertical planes are taken into account (Fig. 6.1): The field b is
obviously invariant with respect to both reflections, hence n · b = 0 on
these planes.1
Sh
1x
z
Sh
0
y
Sb
∂C
c
n
C
τ
b
S
FIGURE 6.1. Notations for solving the Bath-cube magnetostatics problem in a quarter
of the cavity. Symmetry planes bear the boundary condition n · b = 0, hence
contributing to the Sb boundary. The “link” c must go from the upper pole (here,
part Sh0 of the boundary Sh) to the lower pole (part Sh1 of Sh), whereas the “cut”
C should separate the two poles, while having its own boundary ∂C inside Sb.
(In the jargon of Fig. 4.6, c and C are “closed mod Sh [resp. mod Sb] and
non-bounding”.)
Denoting by D the domain thus defined, and by S its boundary, with
Sh the “magnetic boundary” and Sb the part of S at the top of the cavity
163
1We could reduce further to an eighth, by taking into account the invariance with
respect to a 90° rotation around the z-axis. But the symmetry group thus obtained is not
Abelian, a feature which considerably complicates the exploitation of symmetry. Cf. Refs. [B1,
B2] of A
pp
endix A.
(cf. Fig. 2.6) and in symmetry planes, we must have:
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 Complementarity of Curl-Free and Solenoidal Fields in Vector Calculus e outras Notas de estudo em PDF para Engenharia Elétrica, somente na Docsity!

CHAPTER 6

The “curl side”:

Complementarity

We return to the model problem of Chapter 2, the magnetostatics version of the “Bath cube” setup. This time, the two mirror symmetries with respect to vertical planes are taken into account (Fig. 6.1): The field b is obviously invariant with respect to both reflections, hence n · b = 0 on these planes. 1

S h 1 x

z

S

h 0

y

S b

∂C

c

n

C

τ

S^ b

FIGURE 6.1. Notations for solving the Bath-cube magnetostatics problem in a quarter of the cavity. Symmetry planes bear the boundary condition n · b = 0, hence contributing to the S b^ boundary. The “link” c must go from the upper pole (here, part Sh 0 of the boundary Sh) to the lower pole (part S h 1 of Sh), whereas the “cut” C should separate the two poles, while having its own boundary ∂C inside Sb. (In the jargon of Fig. 4.6, c and C are “closed mod Sh^ [resp. mod S b] and non-bounding”.) Denoting by D the domain thus defined, and by S its boundary, with S h^ the “magnetic boundary” and S b^ the part of S at the top of the cavity

(^1) We could reduce further to an eighth, by taking into account the invariance with

respect to a 90° rotation around the z-axis. But the symmetry group thus obtained is not Abelian, a feature which considerably complicates the exploitation of symmetry. Cf. Refs. [B1, B2] of Appendix A.

(cf. Fig. 2.6) and in symmetry planes, we must have:

164 CHAPTER 6 The “Curl Side”: Complementarity

(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,

(5) b = μ h in D.

The problem is made well-posed by imposing one of the two conditions

(6) ∫c τ · h = I, (7) ∫C n · b = F,

as we saw^2 in 2.4.1. These equations are the same as (2.20)–(2.26), and little changed in the former model due to geometrical symmetry, except for one thing: The flux F in (7) is now the flux through one-quarter of the device, and the computed reluctance will be relative to a quarter as well.

The layout of Eqs. (1–7) underlines a symmetry of another kind, which will be our main concern in this chapter: the symmetry of the magnetostatic equations w i t h respect to the b–h interchange. This can be made even more patent by setting the problem as follows: We look for pairs {F, I} for which problem (1–7) has a solution. By linearity, they all lie on the characteristic line I = RF in the F–I plane, and the problem thus consists in finding R. (This remark, though of moderate interest in the present linear case, is the key to nonlinear generalization [B3].)

6.1 A SYMMETRICAL VARIATIONAL FORMULATION

We shall strive to preserve this symmetry in the search for a variational formulation. The functional point of view continues to prevail: We look for the solution as (first step) an element of some predefined functional space that (second step) can be characterized as the minimizer of some easily interpretable, energy-related quantity.

6.1.1 Spaces of admissible fields

By “the” solution, now, we mean the p a i r {h, b}. What are the eligible fields, a priori? Both h and b will certainly belong to IL^2 (D), since magnetic energy is finite. Moreover, rot h = 0 and div b = 0, and if we

(^2) The relative arbitrariness in the choice of c and C is reminded (cf. Exers. 2.5, 2.6 and

Fig. 4.6). In precise language, integrals (6) and (7) depend on the homology classes of c and C, mod Sh^ and mod Sb, respectively.

had to generalize what we do to cases where a given current density j

166 CHAPTER 6 The “Curl Side”: Complementarity

Then, let us prove the following:

Proposition 6.1. J and F have extensions, continuous with respect to the metric of IL^2 (D), t o IH and IB.

Proof. Let ϕ^1 be a smooth function assuming the values 0 on Sh 0 and 1 on S h 1. For b ∈ IB, then, ∫D b · grad ϕ^1 = ∫S n · b ϕ^1 = ∫Sh 1 n · b = F(b), as we saw with Exer. 2.6, and the map b → ∫D b · grad ϕ^1 , which is IL^2 -continuous, is thus the announced extension. The proof for J is a bit more involved. (Doing now Exercise 6.6 on p. 187, as preparation, may help.) Pick a smooth vector field a^1 such that n · rot a 1 = 0 on S b^ and ∫C n · rot a 1 = 1. For h ≡ grad ϕ ∈ IH, then, ∫D h · rot a 1 = – ∫S n × h · a 1 = – ∫S n × grad ϕ · a 1 = ∫S n × a 1 · grad ϕ = – ∫S div(n × a^1 ) ϕ = – ∫S n · rot a 1 ϕ = – ∫Sh n · rot a 1 ϕ = J (h) ∫C n · rot a 1 = J (h). Again, the continuity of h → ∫D h · rot a 1 proves the point. From now on, we let J and F denote the extended continuous functionals. ◊

Remark 6.1. Integrals such as J and F stand no chance of being IL^2 (D)- continuous if one tries to enlarge their domains beyond IH and IB. The conditions rot h = 0 and div b = 0 are necessary. ◊

As a corollary, subspaces

IHI^ = {h ∈ IH : ∫ (^) c τ · h = I}, IBF^ = {b ∈ IB : ∫ (^) C n · b = F},

are closed. By (8), we have IHI^ = grad Φ I^ and IBF^ = rot A F, where ΦI^ = {ϕ ∈ Φ : ∫ (^) c τ · grad ϕ = I} and AF^ = {a ∈ A : ∫ (^) C n · rot a = F}, the pre-images of IHI^ and IBF.

Note these are not vector subspaces, but a f f i n e subspaces of IH, IB, etc., unless I = 0 or F = 0. We consistently denote by IH^0 , IB^0 , Φ^0 , A^0 the subspaces that would be obtained in the latter case. IHI^ is p a r a l l e l , the usual way, to IH^0 , and so forth. The following lemma will be important:

Lemma 6.1. Spaces IH^0 and IB a r e orthogonal in IL^2 (D), i.e., ∫ (^) D h · b = 0 i f h ∈ IH^0 and b ∈ IB. S i m i l a r l y , IH and IB^0 are orthogonal.

Proof. Let h ∈ IH and b ∈ IB. Then h = ∇ϕ. Let ϕ 0 and ϕ 1 be the values of ϕ on both parts of S h. One has ∫ (^) D h · b = ∫ (^) D b · ∇ϕ = – ∫ (^) D ϕ div b + ∫ (^) S ϕ n · b = ∫ (^) S h ϕ n · b after (4), and this is equal to (ϕ 1 – ϕ 0 ) ∫ (^) S h n · b, that is, to the product (∫c τ · h)(∫C n · b). Now if h ∈ IH^0 , or b ∈ IB^0 , one of the factors vanishes. ◊

Remark 6.2. There is more, actually: With the simple topology we have here, both pairs are ortho- complements in IL^2 (D), which amounts to saying that any square-integrable field u can be written as u = h + b, with h ∈ IH^0 and b ∈ IB, or with h ∈ IH and b ∈ IB^0 , i.e., as the sum of a curl-free field and a solenoidal field. These are Helmholtz decompositions. We

6.1 A SYMMETRICAL VARIATIONAL FORMULATION 167

won’t need a thorough treatment of them, but the paradigm is important, and will recur. ◊

The present state of affairs is summarized by Fig. 6.2, in which one may recognize a part of the front of Maxwell’s building of Fig. 5.1. Note how all "vertical” relations have been taken care of, in advance, by the very choice of functional spaces. Only the “horizontal” condition (5), which expresses the constitutive laws of materials inside D, remains to be dealt with.

h (^) b

ϕ

0

0

b = μh

grad

rot

div

rot

I F IH ∋ ∈

Φ

I

A

F

I B

a

∈ FIGURE 6.2. Structure of the magnetostatics problem. (This is a “Tonti diagram” [To]. Similar graphic conventions have been independently proposed by many researchers, Roth in particular [Rt]. See [Bw] for some history.)

6.1.2 Variational characterization of the solution

The following result will make the horizontal connection.

Proposition 6.2. The problem which consists in finding h ∈ IHI^ and b ∈ IBF such that

(9) ∫ (^) D μ−^1 |b − μ h|^2 ≤ ∫ (^) D μ−^1 |b' − μ h'|^2 ∀ h' ∈ IHI, ∀ b' ∈ IBF,

has a unique solution, which is the solution of (1–7) when the latter exists.

Proof. The proof of Lemma 6.1 shows that ∫ (^) D h' · b' = I F. Therefore,

(10) ∫ (^) D μ−^1 |b' − μ h'|^2 = ∫ (^) D μ−^1 |b'| 2 + ∫ (^) D μ |h'|^2 − 2 I F

for all pairs {h', b'} ∈ IHI^ × IBF. This means that problem (9) splits in two independent minimization problems:

(11) find h ∈ IHI^ such that ∫ (^) D μ |h| 2 is minimum

6.1 A SYMMETRICAL VARIATIONAL FORMULATION 169

Now, of course, neither ϕ nor a need be unique. Equivalent weak formulations are

(17) find ϕ ∈ Φ I^ such that ∫D μ grad ϕ · grad ϕ ' = 0 ∀ ϕ ' ∈ Φ 0 ,

(18) find a ∈ AF^ such that ∫D μ−^1 rot a · rot a' = 0 ∀ a' ∈ A 0.

Dualizing the constraints (6) and (7), as in Exer. 2.9, is also an option, which leads to

(11') find h ∈ IH such that ∫D μ |h| 2 – 2 F J(h) is minimum,

(12') find b ∈ IB such that ∫D μ−^1 |b| 2 – 2 I F(b) is minimum ,

with again associated Euler equations and equivalent formulations with potentials ϕ ∈ Φ and a ∈ A, similar to (15)–(18).

6.1.3 Complementarity, hypercircle

At this stage, we have recovered the variational formulation in ϕ, Eq. (15), and derived the other one, on the “curl side”, in a strictly symmetrical way. This is an encouragement to proceed in a similarly parallel fashion at the discrete level.

So let Φm be the subspace of mesh-wise affine functions in Φ (recall they are constant over both parts of S h). Likewise, let’s have ΦI m and Φ^0 m as Galerkin subspaces for Φ I^ and Φ^0 (with, again, the now-standard caveat about variational crimes and polyhedral domains). As in Chapter 3, we replace Problem (15) by the approximation

(19) find ϕm ∈ Φ I m minimizing ∫D μ |grad ϕ |^2 ,

which is equivalent to

(20) find ϕm ∈ Φ I m such that ∫D μ grad ϕm · grad ϕ ' = 0 ∀ ϕ' ∈ Φ^0.

There is a tiny difference in the present treatment, however: Observe that the solution is not unique! An additive constant has yet to be chosen, which can be achieved by, for instance, imposing ϕϕϕϕ (^) n = 0 for those nodes n that lie in Sh 0 , and this is most often done, without even thinking about it. So did we in Chapter 3. But this time, I do want to call attention on this “gauge-fixing” procedure, trivial as it is in this case.

Since the minimization in (19) is performed on a smaller space than in (17), the minimum achieved is an upper estimate of the true one: I^2 /Rm

170 CHAPTER 6 The “Curl Side”: Complementarity

instead of I 2 /R, with I 2 /Rm ≥ I^2 /R, hence Rm ≤ R. Solving (19) or (20) thus yields a lower bound for the reluctance.

Now, it would be nice to have an upper bound as well! If we could perform the same kind of Galerkin approximation on the “vector potential” version of the problem, (16) or (18), we would indeed have one: For if A F m is some finite dimensional subspace of AF^ , solving either the quadratic optimization problem,

(21) find am ∈ AF m minimizing ∫ (^) D μ−^1 |rot a| 2 ,

in terms of still to be defined degrees of freedom, or the associated linear system,

(22) find am ∈ AF m such that ∫ (^) D μ−^1 rot am · rot a' = 0 ∀ a' ∈ A^0 m ,

will yield an upper bound Rm F 2 to RF^2. Hence the bilateral estimate

(23) Rm ≤ R ≤ Rm ,

obviously a very desirable outcome. This is complementarity , as usually referred to in the literature [Fr, HP, PF].

There is more to it. Suppose one has solved both problems (19) and (21), and let us set

E(bm, hm) = ∫ (^) D μ−^1 |bm − μ hm|^2 ≡ ∫ (^) D μ−^1 |rot am − μ grad ϕm|^2.

Be well aware that I and F are unrelated, a priori (we’ll return to this later), so even for the exact solutions h and b of (11) and (12), the error in constitutive law E(b, h) does not vanish. Thus E(bm, hm), obtained by minimizing on finite dimensional subspaces, will be even larger. Now,

Proposition 6.3. One has

E(bm, hm) = ∫ (^) D μ−^1 |bm − b + b – μ h + μ(h – hm)|^2

(24) = ∫ (^) D μ−^1 |bm − b| 2 + ∫ (^) D μ−^1 |b – μ h|^2 + ∫ (^) D μ|h – hm|^2 ,

Proof. Develop the first line and observe that all rectangle terms vanish, because of a priori orthogonality relations which Fig. 6.3 should help visualize. Indeed, bm − b and hm − h belong to rot A^0 ≡ IB^0 and grad Φ^0 ≡ IH^0 , which are orthogonal by Lemma 6.1. This disposes of the term ∫ (^) D μ−^1 (bm − b) · (μ (h – hm)). As for ∫ (^) D μ−^1 (b – μ h) · (μ (h – hm), this is equal to ∫ (^) D (b – μ h) · grad ψ for some ψ ∈ Φ^0 , which vanishes because both b and μh are solenoidal. Same kind of argument for the third term ∫ (^) D (bm − b) · (μ−^1 b – h ), because rot h = 0 and rot(μ–1^ b) = 0. ◊

172 CHAPTER 6 The “Curl Side”: Complementarity

Remark 6.3. As Fig. 6.3 suggests, the radius rm of the hypercircle is given by [E(bm, hm)]1/2^ /2. This information allows one to get bilateral bounds on other quantities than the reluctance. Suppose some quantity of interest is a linear continuous functional of (say) h, L(h). There is a Riesz vector h L^ for this functional (cf. A.4.3), such that L(h) = ∫D μ h L^ · h. What is output is L(hm). But one has |L(h) – L(hm)| = |∫D μ hL^ · (h – hm)| ≤ ||h L||μ ||h – hm||μ ≤ rm ||h L||μ, hence the bounds. There is a way to express the value of the potential at a point x as such a functional [Gr]. Hence the possibility of pointwise bilateral estimates for the magnetic potentials. This was known long ago (see bibliographical comments at the end), but seems rarely applied nowadays, and some revival of the subject would perhaps lead to interesting applications. ◊

6.1.4 Constrained linear systems

With such incentives, it becomes almost mandatory to implement the vector potential method. All it takes is some Galerkin space A F m , and since the unknown a is vector -valued, whereas ϕ was scalar -valued, let’s pretend we don’t know about edge elements and try this: Assign a vector-valued DoF a n to each node, and look for the vector field a as a linear combination

a = ∑ (^) n ∈ N a n wn.

(We shall have to refer to the space spanned by such fields later, so let us name it IP^1 m , on the model of the P 1 of Chapter 3, the “blackboard” style reminding us that each DoF is a vector.) Now (21) is a quadratic optimization problem in terms of the Cartesian components of the vector DoFs. The difficulty is, these degrees of freedom are not independent, because a must belong to AF m. As such, it should first satisfy n · rot a = 0 on S b, that is, on each face f of the mesh that belongs to S b. Assume again flat faces, for simplicity, and let nf be the normal to f. Remembering that N(f) denotes the subset of nodes that belong to f, we have, on face f,

n · rot a = ∑ (^) ν ∈ N(f) n (^) f · rot( a ν wν) = ∑ (^) ν ∈ N(f) nf · (∇ wν × a ν)

≡ ∑ (^) ν ∈ N(f) (nf × ∇wν) · a ν ,

since n × ∇wν vanishes for all other nodes ν (Fig. 6.4), hence the linear constraints to be verified by the DoFs:

∑ (^) ν ∈ N(f) (nf × ∇wν) · a ν = 0

6.1 A SYMMETRICAL VARIATIONAL FORMULATION 173

for each face f in S b. The condition on the flux, ∫C n · rot a = F, will also yield such a constraint. Taken all together, these constraints can be expressed as L a = F k , where L is some rectangular matrix and k a fixed vector. (We shall be more explicit later about L and k. Just note that entries of L are not especially simple, not integers at any rate, and frame- dependent.)

ν

∇ wν

n S

FIGURE 6.4. All surface fields n × ∇wν vanish, except when node ν belongs to the boundary. To sum up: The quadratic optimization problem (21) is more complex than it would appear. Sure, the quantity to be minimized is a quadratic form in terms of the vector a of DoFs (beware, this is a vector of dimension 3N, if there are N nodes):

∫ (^) D μ−^1 |rot a| 2 = (M a , a ) ,

if we denote by M the associated symmetric matrix. But (M a , a ) should be minimized under the constraint L a = F k , so the components of a are not independent unknowns.

Problems of this kind, that we may dub constrained linear systems , happen all the time in numerical modelling, and there are essentially two methods to deal with them. Both succeed in removing the constraints, but one does so by increasing the number of unknowns, the other one by decreasing it.

The first method^5 consists in introducing Lagrange multipliers: minimize the Lagrangian (M a , a ) + 2 ( λλλλ, L a ) with respect to a , without constraints, and adjust the vector of multipliers λλλλ in order to enforce L a = F k. This amounts to solving the following augmented linear system, in

(^5) Often referred to as the “dualization of constraints”, a systematic application of the

trick we encountered earlier in Exer. 2.9.

block form:

6.2. SOLVING THE MAGNETOSTATICS PROBLEM 175

6.2.1 Embedding the problem in Maxwell–Whitney’s house

In fact, after Chapter 5, it’s hard not to think of edge elements in the present context. We know, by Fig. 6.2, how the present problem fits within Maxwell’s “continuous” building, so all we have to do is embed it in the relevant part of the Maxwell–Whitney “discrete” building. To make this formal, let us introduce a few definitions: Just as ΦI m above is the intersection W (^0) m ∩ ΦI, let us set IHI m = W (^1) m ∩ IHI, as well as IBF m = W (^2) m ∩ IBF^ and—now committing ourselves to a definite approximation space— AF m = W (^1) m ∩ AF. This is a sensible move, since elements of IHI m and IBF m have the kind of continuity required from h and b respectively, and the representations by potentials work nicely: indeed, grad ΦI m = IHI m and rot A F m = IBF m.

Any pair {h, b} taken in IHI m × IBF m will thus satisfy all equations (1–7) except b = μ h, the constitutive law. The latter cannot hold, since W (^1) m and W (^2) m are different spaces (and by the no-free-lunch principle we had to apply once already: all equations cannot exactly be satisfied when we discretize). Hence the question mark in the center of Fig. 6.5.

h

ϕ

0

grad

rot

?

W

0

1

W 2

∩

Φ

I ∩

H W

I I b

0

a

div

rot

W

3

W 1 ∩ A

F

W

2 ∩ (^) IBF

FIGURE 6.5. Two copies of the top sequence of (5.13), put vertically, one downwards, one upwards, and appropriately clipped, form a framework in which Fig. 6.2 can be embedded, except for the horizontal relation, which must be relaxed. So we settle for the next best thing, which is to minimize the error in constitutive law: find hm ∈ IHI m and bm ∈ IBF m such that

∫ (^) D μ−^1 |bm − μ hm|^2 ≤ ∫ (^) D μ−^1 |b' − μ h'|^2 ∀ h' ∈ IHI m, ∀ b' ∈ IBF,

and for exactly the same reasons as in Prop. 6.2, this splits into a pair of independent problems:

176 CHAPTER 6 The “Curl Side”: Complementarity

(26) find hm ∈ IHI m minimizing ∫ (^) D μ |h| 2 ,

(27) find bm ∈ IBF m minimizing ∫ (^) D μ−^1 |b| 2.

To investigate the algebraic nature of these problems, let us express them in terms of degrees of freedom. (Recall the generic notation E(... ) or F(... ) for the sets of edges or faces that belong to some region of space or to some geometric element (surface, line.. .) whose name stands inside the parentheses.) We assume the link c and the cut C of Fig. 6.1 are unions of edges and faces of the mesh. By analogy with the incidence numbers R f e , let us have R c e = ± 1 if edge e belongs to c, the sign being plus if their orientations match, and R c e = 0 otherwise. Similarly, let D C f = ± 1 if face f belongs to C, with the same sign convention, and 0 otherwise. We may now define

H I^ = { h ∈ W^1 : h e = 0 ∀ e ∈ E( Sh), ∑ (^) e ∈ (^) E (c) R c e h e = I},

B F^ = { b ∈ W^2 : b f = 0 ∀ f ∈ F( Sb), ∑ (^) f ∈ (^) F (C) D C f b f = F},

and using the mass matrices of Chapter 5, problems (26) and (27) are equivalent to

(28) find h ∈ H I^ such that (M 1 (μ) h , h ) is minimum,

(29) find b ∈ B F^ such that (M 2 (μ –1) b , b) is minimum,

two “constrained linear systems”, according to the foregoing terminology. Solving both will give the bilateral estimate (23) of the reluctance.

As constrained linear systems, problems (28) and (29) can be attacked by both general strategies: (1) introduce Lagrange multipliers, hence the so-called “mixed” formulations (and though not very popular, some of them have been tried; see, e.g., [PT]), or (2) select independent variables. For this second strategy, there are again two variants. Independent variables can just be picked among the original ones, and this is what spanning tree extraction techniques permit (cf. Fig. 6.6), hence numerical methods in terms of h and b directly. Both have been considered [Ke]. (The one in b seems less robust [Ke], and it would be worthwhile to understand why.) The second variant corresponds to the introduction of potentials: node or edge variables that help represent the above h and b, while automatically taking constraints into account.

Thus treated, (26) and (27) become

(30) find ϕm ∈ ΦI m such that ∫ (^) D μ |grad ϕ|^2 is minimum ,

178 CHAPTER 6 The “Curl Side”: Complementarity

6.2.2 Dealing with the constraints

Indeed, the constraints can be removed by the following method. First construct a special DoF vector a F, such that the associated field a F^ = ∑ (^) e ∈ E a Fe we belong to AF. This will be done in the next paragraph. Then, instead of minimizing over all A F m , we shall do it over fields of the form a F^ + ∑ a e we , where the index e spans E – E ( Sb), i.e., without any restriction on the a e s, but excluding edges of Sb. Edge DoFs in this summation are now independent. The final version of the problem will thus be: find a ∈ à F such that (M 2 (μ –1^ ) Ra , Ra) be minimum, where à F^ is the subset { a ∈ W^1 : a e = a Fe ∀ e ∈ E( Sb)}, which amounts to solving a linear system with respect to the DoFs of the “inner edges” (those not in S b).

S b

c

n

0

0

0

0

1 1

1 1 1

e m

FIGURE 6.7. One step in the construction of a F^ : assigning scalar values to nodes on the boundary Sb, after having doubled the nodes on the “cut” c. The construction of a F^ proceeds as follows (Fig. 6.7). Consider the mesh of surface Sb, as induced by m. Make a (one-dimensional) “cut” c by following a path of edges from top to bottom. Double the nodes along c. Assign scalar values v n to nodes, arbitrary values, except for the pairs of nodes along c, that should receive zeroes and ones, on the pattern suggested by Fig. 6.7. Then, assign to all edges e = {m, n} the value a Fe = ( v n – v m) F if e ∈ E (Sb) , a Fe = 0 otherwise. The recipe works because, whatever a = ∑{e ∈ E : a e we } in A F m , there is a modified field ã = ∑ (^) e ∈ E ã e we , with ã e = a Fe if e ∈ E( Sb) (hence ã ∈ à ), that has the same curl as a (this is the point of the above construction). Thus, one minimizes in (31) over a space à F m strictly smaller than A F m , but with rot A F m = rot à F m (≡ IBF m ), so the same b is reached.

Remark 6.4. As the kernel ker( R ; Ã ) = { a ∈ Ã : Ra = 0} does not reduce to 0, this final version of the vector potential approach does not give a unique

6.2. SOLVING THE MAGNETOSTATICS PROBLEM 179

a, although a unique b is obtained. The associated linear system is therefore singular. We shall return to this apparent difficulty. ◊

6.2.3 “ mmmm -weak” properties

We should now proceed as in Section 4.1, and answer questions about the quality of the approximation provided by am : We are satisfied that bm = rot am is solenoidal and that n · bm = 0 on the S b^ boundary, but what is left of the “weak irrotationality” of hm = μ–1^ bm? And so forth.

n

m

γ

h

S

b

S b

S (^0)

S h 1

σ D

σ' I

γ e

FIGURE 6.8. “ m-weak” properties of the vector potential solution. Left: The circulation of h (^) m = μ–´1^ rot a (^) m is zero along the circuit γ that joins barycenters around any inner edge e = {m, n}. Middle: If e belongs to S h, the circulation is null along the open path γ. Right: The “variationally correct” mmf is obtained by taking the circulation of the computed h (^) m along the “m-line” σ joining Sh 0 and Sh 1 , or along any homologous m-line σ’. It would be tedious to go through all this again, however, and there is more fun in guessing the results, thanks to the analogies that Tonti’s diagrams so strongly suggest. So we can expect with confidence the following statements to be true:

  • For any DoF vector a , the term ( R t M 2 (μ –1) Ra ) (^) e ≡ ∫D h · rot w (^) e , where h = μ–1^ rot(∑ (^) e ∈ E a e we ) , is the circulation of h along the smallest closed m*-line (closed mod S, in the case of surface edges) that surrounds edge e (cf. Fig. 6.8).
  • The circulation of the computed field, hm, vanishes along all m*-lines which bound modulo Sh^ (cf. Fig. 4.6, right).
  • The circulation of hm is equal to I along all m*-paths similar to σ (or its homologue σ') on Fig. 6.8.

Exercise 6.3. Prove all this.

6.3 WHY NOT STANDARD ELEMENTS? 181

mesh m a nd continuous (in all its three scalar components), ϕ is piecewise quadratic and differentiable, two hardly compatible conditions. The space P^2 of piecewise quadratic functions on m is generated by the products wn w (^) m , where n and m span the nodal set N. Therefore, grad ψ = ∑ (^) m, n ∈ N αm n grad(wm w (^) n) , and since the products wn wm are not differentiable, the normal component of this field has a nonzero jump across all faces. (This jump is affine with respect to coordinates over a face.) Demanding that all these jumps be 0 is a condition that considerably constrains the α’s (in practice, only globally quadratic ψ, as opposed to mesh-wise quadratic, will comply). Consequently, the kernel of rot in à F m(IP^1 ) will be of very low dimension, and as a rule reduced to 0, because of additional constraints imposed by the boundary conditions. So unless the mesh is very special, one may expect a regular M (^) P , whereas the matrix M (^) W is singular, since W 1 contains gradients (cf. Prop. 5.4, asserting that W 1 ⊃ grad W^0 ).

Good news? We’ll see. Let us now look at the weak points of the nodal vectorial method.

6.3.2 Accuracy is downgraded

When working with the same mesh, accuracy is downgraded with nodal elements, because rot(ÃF m(IP^1 )) ⊂ rot(Ã F m( W^1 )), with as a rule a strict inclusion. Minimizing over a smaller space will thus yield a less accurate upper bound in the case of nodal elements, for a given mesh m. (Let’s omit the subscript m for what follows, as far as possible. Recall that N, E, F, T refer to the number of nodes, etc., in the mesh.)

The inclusion results from this:

Proposition 6.4. For a given mesh m , any field u ∈ IP^1 is sum of some field in W 1 and of the gradient of some piecewise quadratic function, i.e.,

IP^1 ⊂ W 1 + grad P^2.

Proof. Given u ∈ IP^1 , set u e = ∫e τ · u, for all e ∈ E , and let v = ∑ (^) e ∈ E u e we be the field in W 1 which has these circulations as edge DoFs. Then, both u and v being linear with respect to coordinates, rot(u − v) is piecewise constant. But its fluxes through faces are 0, by construction (again, see Fig. 5.5), so it vanishes. Hence u = v + ∇ϕ, where ϕ is such that ∇ϕ be piecewise linear, that is, ϕ ∈ P^2. ◊

As a corollary, rot IP^1 ⊂ rot W 1 , hence the inclusion, as far as (but this is what we assumed for fairness) ÃF m(IP^1 ) ⊂ AF. As a rule, this is strict inclusion, because the dimension of rot IP^1 cannot exceed that of IP^1 , which

182 CHAPTER 6 The “Curl Side”: Complementarity

is 3N (three scalar DoFs per node), whereas the dimension of rot W 1 is (approximately the same as) that of the quotient W^1 /grad(W^0 ), which is E − N + 1, that is, 5 to 6 N, depending on the mesh, as we know (cf. 4.1.1).

Exercise 6.4. Check that IP^1 is not contained in W 1.

Exercise 6.5. Show that W 1 ⊂ IP^1 + grad P^2 does not hold.

6.3.3 The “effective” conditioning of the final matrix is worsened

The importance of the condition number of a matrix, that is, the ratio of its extreme eigenvalues, is well known. This number determines to a large extent the speed of convergence of iterative methods of solution, and the numerical accuracy of direct methods.

This is true, that is, in the case of regular matrices. But if a symmetric nonnegative definite matrix M is singular, this does not preclude the use of iterative methods to solve Ma = f. All that is required is that f be in the range of M , so that (Ma , a ) – 2 (f , a ) have a finite lower bound. Then any “descent” method (i.e., one that tries to minimize this function by decreasing its value at each iteration) will yield a minimizing sequence u k that may not converge, but does converge modulo ker( M ), and this may be just enough. To be definite, suppose the matrix M is a principal submatrix of R t M (μ–1) R , as was shown to be the case with edge elements. The quadratic form to be minimized is indeed bounded from below, and the desired convergence is that of Ra k, not a k. By working out the simple example of the iterative method u n + 1 = u n − ρ ( Ma n − f ) , which is easy in the basis of eigenvectors of M , one will see that what counts, as far as convergence modulo ker( M ) is concerned, is the ratio of extreme strictly positive eigenvalues. Let us call this e f f e c t i v e conditioning, denoted by κ( M ).

We now show that κ( M (^) P) >> κ( M (^) W ), thus scoring an important point for edge elements. This will be quite technical, unfortunately.

Both matrices can be construed as approximations of the “curl–curl” operator, rot(μ−^1 rot ), or rather, of the associated boundary-value problem. Their higher eigenvalues have similar asymptotic behavior, when the mesh is refined. (I shall not attempt to prove this, which is difficult,^6 but it can easily be checked for meshes with a regular, repetitive layout.) So we should compare the first positive eigenvalue λ 1 ( M W) with its homologue λ 1 ( M P ). As we noticed, M P is regular, in general. But zero is an eigenvalue of the curl–curl operator, and as a rule, spectral elements of

(^6) The difficulty lies in stating the claim with both precision and generality.

an operator are approximated (when the mesh is repeatedly refined while