The Boundary Element Method: Errors and Gridding For Problems With Hot Spots
The Boundary Element Method: Errors and Gridding For Problems With Hot Spots
DOI:
10.6100/IR696955
Document Version:
Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)
General rights
Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners
and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights.
• Users may download and print one copy of any publication from the public portal for the purpose of private study or research.
• You may not further distribute the material or use it for any profit-making activity or commercial gain
• You may freely distribute the URL identifying the publication in the public portal.
If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please
follow below link for the End User Agreement:
www.tue.nl/taverne
Kakuba, Godwin
NUR 919
Subject headings: boundary element methods / integral equations; numerical
methods /
boundary value problems /
boundary elements; numerical methods
2000 Mathematics Subject Classification: 65N38, 65N50, 65N55, 65N06, 74S15,
65R20, 35Q30, 80A25
The Boundary Element Method:
Errors and gridding for problems with
hot spots
PROEFSCHRIFT
door
Godwin Kakuba
Copromotor:
dr.ir. M.J.H. Anthonissen
Acknowledgements
In the first place, I would like to express my sincere gratitude to prof.dr. R.M.M.
Mattheij my promotor. He has given me tremendous support without which
this thesis would not have been a reality. This includes the support to attend
the many international conferences which were a delight. Then I would like
to thank dr.ir. M. J. H Anthonissen for the great support he has offered me
in working on this thesis. I benefited a lot from his expertise in local defect
correction techniques plus his comments as he read through my thesis.
I would like to thank the staff at the CASA group who never got tired of my
questions. In particular am very grateful to dr.ir. ter Morche, prof Jan de Graaf
and dr. M.E. Hochstenbach for the several fruitful discussions we had together.
To dr.ir. B.J. van der Linden, thank you for attending to my several IT issues.
I thank the CASA secretary mw. Enna van Dijk for the great all round support
she has extended to me since the time I got interested in studying at TU/e.
I have generally enjoyed working in the CASA group over the years, and I would
like to thank my colleagues for the pleasant working environment. I would like
to thank Hans Groot, Zoran Ilievski, Darcy Hou, Maria Ugryumova, Agnieszka
Lutowska, Mirela Darau and Roxana Ionotu for being great officemates over
the years. I also thank Zoran and dr. Christina Giannopapa for being excellent
housemates. I will be haunted if I do not mention having greatly enjoyed the
many outings, dinners and poker and sportscentrum games with my fellow PhD
students who included: Erwin Vondehoff, Peter in ’t pan Huijs, Jan Willem,
Hans Groot, Agnieszka Lutowska, Mirela Darau, Zoran Ilievski, Patricio Rosen,
vi Acknowledgements
Yves van Genip, Mark van Krij, John Businge, Yeneneh Yimer Yalew, Temesgen
Markos, Valeriu Savcenco, Ali Etaati, Maxim Pisarenco, Miguel Patricio, Fan
Yabin, Maria Rudnaya, Maria Ugryumova, Kundan Kumar, Tasnim Fatima,
Kho Changhi, Sudhir Srivastava, the list goes on and on. I also thank Willem
Dijkstra for the several helpful BEM discussions we had. Special thanks to
Mirela and Hans for helping me with the printing process.
List of notations ix
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Outline of this thesis . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5 Global errors 73
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
5.2 Spectral decomposition . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.3 Dirichlet problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.4 Neumann problems . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
5.5 Mixed problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Bibliography 136
Index 137
Summary 139
Ω: a problem domain 7
∂Ω : the boundary of Ω 7
r: coordinates in R2 9
N
∂Ωj : a partitioning of ∂Ω into N elements such that ∪ ∂Ωj = ∂Ω 21
j=1
L, l : a grid of size L or l 22
l
l
Γlocal : a uniform grid discretisation of Γlocal into elements Γlocal,j each of
size l 90
l l
Γactive : part of the uniform grid Γlocal that belongs to Γinside 90
Introduction
1.1 Background
The real breakthrough came in the nineteen sixties when the integral equa-
tions for two dimensional potential problems were discretised using rectilinear
elements [27, 75] by Jawson and Symm. At each line element the functions are
approximated by constants. Their method cannot be classified as exactly a di-
rect formulation because the functions needed to be differentiated or integrated
to obtain physical quantities [16]. A direct formulation was introduced by
Rizzo [63], who also used discretised integral equations to relate displacements
and tractions in two-dimensional elasticity theory. The extension to three di-
mensions was given by Cruse [14], using triangular elements to describe the
domain boundary. In 1963 Jawson and Symm [27, 75] demonstrated that the
associated integral equation can be solved accurately and reliably using the
numerical methods. In 1978, CA Brebbia formally introduced the terminol-
ogy boundary-element method (BEM) for the first time in contrast to what had
already been established terminology, finite element method.
In this thesis direct error estimates for collocation BEM are derived and more-
over in the maximum norm. Starting from its basic formulation, error esti-
mates for collocation BEM are derived by tracking down the interpolation error
committed at the elements.
The issue of error analysis becomes even more crucial when considering prob-
lems with hot spots where specialised gridding is necessary. Hot spots refers
to small regions of high activity. Hot spots appear in a variety of problems. For
1.2 Outline of this thesis 3
The basis for the boundary element method is a boundary integral equation.
In Chapter 2, boundary integral equations for boundary value problems using
the direct formulation are discussed. As is elaborated there, the BEM operator
has different properties depending on the kind of boundary conditions, that
is either Dirichlet, Neumann or mixed boundary conditions. In this chapter
properties of these operators that are helpful for the work covered in this thesis
are introduced and discussed. A boundary element discretisation uses either
constant elements, linear elements, quadratic elements or even higher order
elements depending on the assumptions followed on the given functions during
the formulation. In Chapter 3, constant and linear elements formulations are
introduced and discussused. These are the formulations we analyse and use
throughout this thesis. They also turn out to be the most used formulations in
4 Introduction
literature for the direct approach. Also in this chapter a set of examples that
will be used to verify our findings in this thesis are discussed.
Chapter 4 is dedicated to discussing local errors in BEM for both the constant
and linear elements formulations. The question of local errors in BEM is an in-
teresting one because by its nature, the boundary integral is a global method.
However, we show that we are able to define and use the error committed on
each element to define the local error in a point at the boundary. For the first
time we derive direct error estimates, that is, we start from the exact assump-
tions made in the formulation of BEM for a local error analysis in this chapter.
Local error behaviour for the constant and linear element formulations is pre-
dicted and verified. A sublocal error is introduced and it is shown that it is
third order in grid size. Using this sublocal error it is shown that the local error
is second order in grid size for constant elements as well as linear elements.
Then this can be exploited to obtain an error equidistributing grid.
In any numerical solution, the error that the user is interested in is the global
error. Having understood the local error in Chapter 4, good information is now
available to go on and analyse the global error. This is the subject of Chapter 5.
The problem on a circle is considered since in this case, all the analytical eigen-
functions and eigenvectors of the integral operators are available. Therefore a
spectral analysis and the information on local errors is used to derive bounds
for the global error.
Now that information on both the local and global errors is available, we present
in Chapter 6 a local defect correction (LDC) formulation for the boundary el-
ement method. It is shown here that LDC for BEM is a reliable strategy for
obtaining solutions on a composite grid but with less complexity. This is en-
tertaining news since BEM matrices are usually full matrices that would rather
require more memory and computation time as compared to when LDC is used.
The local Local defect correction formulation discussed here can be applied to
several problems with hot spots where BEM is used such as in electromagnet-
ics, fluid mechanics and structural mechanics. Chapter 7 discusses such an
application to a potential problem for an impressed current cathodic protection
(ICCP) system. ICCP is a system used to protect steel structures from corro-
sion. Such structures include submarines such as ships, underground pipes,
over ground storage tanks. Chapter 7 discusses an LDC model for ICCP for a
storage tank.
“But those who hope in the Lord will renew their strength. They will
soar on wings like eagles; they will run and not grow weary, they will
walk and not be faint.”–Isaiah 40:31
6 Introduction
Chapter 2
2.1 Introduction
n
Ωc n
Ωc
Ω Ω
∂Ω1
2
∂Ω
∂Ω
(b) Domain illustration for a mixed
(a) Domain illustration for a Dirichlet problem
or Neumann problem
Throughout this thesis we consider the Laplace equation for which f(r) = 0,
that is,
∇2 u(r) = 0, r ∈ Ω, (2.1.2)
where r is the variable field point, s is the fixed location of the source point or
pole and Ω∞ denotes the infinite domain which is the whole plane in 2D. The
subscript r on the operator ∇ means differentiation is with respect to r.
The Dirac delta distribution δ(s; r) satisfies the following properties [60, p 12], [35,
p 21]:
Z 1, if s ∈ Ω,
δ(s; r) dΩ = (2.1.5)
Ω
0, if s ∈ / Ω.
The Dirac delta is not truly a function but rather a generalised function. For
example, any function that is zero everywhere except in a single point has total
2.1 Introduction 9
integral zero but the Dirac delta has integral one [39, p 271]. It is used to model
phenomena with sufficiently concentrated properties such as a point charge or
point force.
For a two-dimensional case, introducing polar coordinates and using the prop-
erties of the Dirac delta distribution, the solution of (2.1.4) is found to be
1 1
v(s; r) = log (2.1.6)
2π r
p
where r = (x, y), s = (xs , ys ) and r := (x − xs )2 + (y − ys )2 is the Euclidean
distance from s to r. Let us also introduce a boundary arclength coordinate
defined along ∂Ω is shown in Figure 2.2.
∂Ω
χ0 χ
r(χ)
In this chapter we derive integral relations for the potential u(s) for s at differ-
ent locations of the domain Ω. These relations have been abundantly derived
in literature and are readily available in various books on boundary element
methods such as [57, p. 38], [35, p. 28], [59]. They are presented here for
completeness. The relations are derived starting from the following Green’s
identity:
Starting from Green’s second identity (2.1.7), an integral relation for a point
s ∈ Ω is derived, see Figure 2.3. Since the fundamental solution v is singular at
the point s, the domain of integration where Green’s second identity is applied
must be defined isolating the point s. We construct a ball Ωǫ of radius ǫ around
it. Then the new domain of integration is now Ω − Ωǫ with boundary ∂Ω + ∂Ωǫ ,
see Figure 2.3.
r(χ) n
z
n ∂Ω
s
Ωǫ ǫ
Ω − Ωǫ
∂Ωǫ
Since the point s is outside Ω − Ωǫ , use (2.1.5) to conclude that integrating the
first term on the left hand side yields 0. For the integral of the second term on
2.3 Integral equation for boundary points 11
v(s; z) = v(z; s)
∇2 u(z) = f(z) = 0
so that
Z Z Z
lim v(s; z)∇2 u(z)dΩ(z) = lim v(z; s)f(z)dΩ(z) = v(z; s)f(z)dΩ(z) = 0.
ǫ→ 0 ǫ→ 0
Ω−Ωǫ Ω−Ωǫ Ω
(2.2.2)
Now consider the second integral on the right hand side of (2.2.1). The bound-
ary ∂Ωǫ is a circumference of radius ǫ, the normal n is along the radius of Ωǫ
and towards the point s. So
∂v ∂v 1
dχ = ǫdθ, =− = .
∂n ∂r r=ǫ 2πǫ
Then
Z
∂v ∂u
lim u(r(χ)) (s; r(χ)) − v(s; r(χ)) (r(χ))
dχ
ǫ→ 0 ∂n ∂n
∂Ωǫ
2π
Z
1 1
= lim u(r(χ))
ǫ+ dθ = u(s). (2.2.3)
ǫ log ǫ
ǫ→ 0 2πǫ 2π
0
The integral relation (2.2.4) expresses the value of u at any point s in the domain
Ω in terms of its values and normal derivatives at the boundary. Thus if u and
∂u/∂n are known at the boundary, u can be computed at any point in the
domain.
Consider the case s ∈ ∂Ω. In a similar fashion as above, draw a ball of radius
ǫ around the point s in ∂Ω, see Figure 2.4. Note that only part of the ball lies
within Ω; denote this intersection by Ωǫ . For generality, consider a point s
located at a corner. Let ∂Ω1ǫ be the part of ∂Ω from point A to s and s to B. Let
12 The boundary integral equations
Ω − Ωǫ
∂Ω2ǫ
B
A Ωǫ n
ǫ θ2 θ1
s x
∂Ω2ǫ be the arc AB. Applying Green’s identity (2.1.7) in Ω − Ωǫ , the left hand
side is zero since the Laplace equation is considered and the singular point for
the fundamental solution is outside Ω − Ωǫ . Then
Z
∂v ∂u
0 = lim u(r(χ)) (s; r(χ)) − v(s; r(χ)) (r(χ)) dχ
ǫ→ 0 ∂Ω−∂Ω1
ǫ
∂n ∂n
Z
∂v ∂u
+ lim u(r(χ)) (s; r(χ)) − v(s; r(χ)) (r(χ)) dχ. (2.3.1)
ǫ→ 0 ∂Ω2
ǫ
∂n ∂n
The limit of the first integral of (2.3.1) is the integral over the whole of ∂Ω.
Consider the first term of the second integral, we have
∂v 1 ∂r 1
(s; r(χ)) = − = . (2.3.2)
∂n 2πr ∂n 2πr
In this case r = ǫ and dχ = −ǫdθ. So
Z θ
Z2
∂v 1 θ1 − θ2
lim u(r(χ)) dχ = lim u(r(θ)) (−ǫdθ) = u(s) (2.3.3)
ǫ→ 0 ∂n ǫ→ 0 2πǫ 2π
∂Ωǫ θ1
If the point s is outside Ω, again due to the properties of v(s; r) and since the
singularity point is now outside Ω then the left hand side of (2.1.7) is zero. So
we have
Z
∂u ∂v
0= v(s; r(χ)) (r(χ)) − u(r(χ)) (s; r(χ)) dχ, s ∈ Ωc . (2.4.1)
∂n ∂n
∂Ω
Z
d ∂v
K u(s) := (s; r(χ))u(r(χ))dχ. (2.4.5b)
∂Ω ∂n
14 The boundary integral equations
These integrals are called single and double layer potentials respectively by
making an analogy with the corresponding boundary distributions of electric
charges and charge dipoles in electrostatics, see [5, p 319], [31, p 42], [38, p
67], [60, p 21], [66]. Using (2.4.5), the integral equation (2.4.2) can be written
as
The operators Ks and Kd are called the single and double layer operator re-
spectively and I is the identity operator. When s is located at the boundary
the integral equation is referred to as a boundary integral equation (BIE). The
functions
∂v
kd (s; r) := (s; r), (2.4.7b)
∂n
are called the kernel of the integral operators Ks and Kd respectively.
The operators Ks and Kd together with their kernels are popular and have been
extensively studied. In Section 2.5, some of their properties that will be helpful
for the topics studied in this thesis are presented.
In this section, some properties of the operators Ks and Kd that will be needed
in later chapters are presented. Most important, we discuss their spectral prop-
erties and present proven theorems on their compactness and continuity. As
discussed below, properties of Ks are important in the solution for a Dirichlet
as those of Kd are for a Neumann problem. We show that the operator Kd has
a zero eigenvalue, which results in a singular system and hence a non unique
solution. Here we discuss how to circumvent this problem to obtain a unique
solution. These properties will be helpful in the investigation of local and global
errors in Chapters 4 and 5. The continuity and boundedness properties will
also be helpful in the investigation of the local defect correction algorithm in-
troduced in Chapter 6.
Consider the integral equation (2.4.6). If the function q(r) at the boundary is
known, then the right hand side is known. Define
f(s) := Ks q(s),
On the other hand, if the function u(r) is known at the boundary, then define
g(s) := (cI + Kd )u(s) and equation (2.4.6) becomes
Ks q(s) = g(s). (2.5.2)
Equation (2.5.2) is a Fredholm integral equation of the first kind which is some-
times simply called a first kind integral equation.
A considerable amount of theory for both the first and second kind integral
equations has already been established. Also, several numerical methods for
determining the unknowns approximately have been discussed, an increasingly
popular one being BEM. In contrast to the properties possessed by the second
kind integral equation, many of the properties of the first kind integral equation
are “very unpleasant and often surprising to even mathematicians,” [81, pp
1,2]. These properties are determined by the corresponding operators and in
this section a few of them are highlighted.
Introduce Hr (Ω) which denotes the Sobolev space V r,2 (Ω) which is given by
V r,2 = {f : Ω → R ||f||k,2 < ∞}
where
1/2
X Z
||f||k,2 = |Dα f|2 dx
|α|≤k Ω
For vectors, we use the median 2-norm which for a vector u ∈ RM is defined
as, [48, p. 98],
M 1/2
1 X
2
||u||2,M := √ ui (2.5.5)
M i=1
and the infinity norm ||d||∞ = max |di | where d = (d1 , d2 , . . . , dM )T . These
i=1,...,M
norms are used in Chapters 4 and 5 to estimate and compare local and global
errors in BEM solutions.
From the spectral theory of compact operators, it follows that the eigenvalues
of Ks have an accumulation point at zero. In fact, on a smooth boundary,
both the double layer and the single layer are compact operators, see [5, p.
439], [38, Theorem 2.22]. Thus, the possibility of a zero eigenvalue implies the
need for regularisation in the solution of the integral equations. Section 2.5.1
uses the particular case of a circle to demonstrate the eigenvalues of the single
and double layer operators. In Section 2.5.2 it is shown that the operator
associated with the second kind integral equation of the Neumann problem
has a zero eigenvalue and thus is singular. A regularisation strategy used to
obtain a unique solution is discussed.
First the following theorem implies that an integral operators can be expanded
in terms of its eigenvalues and eigenfunctions. This will be helpful in the
regularisation strategy discussed here and in the analysis of global errors in
Chapter5.
Ks q(θs ) =
Z " ∞
#
R 2π X 2
− 2 log R − (cos(nθs ) cos(nθ) + sin(nθs ) sin(nθ)) q(θ) dθ.
4π 0 n
n=1
(2.5.10)
So
Z 2π
R
Ks 1 = − 2 log R dθ = −R log R, (2.5.11)
4π 0
Z 2π Z 2π
R R
Ks cos kθs = − log R cos(kθ) dθ + cos(kθs ) cos2 (kθ) dθ
2π 0 2πk 0
Z 2π
R
+ sin(kθs ) sin(kθ) cos(kθ) dθ. (2.5.12)
2πk 0
Carrying out the integrals in (2.5.12) yields zero for the first and third integrals
and the second one yields Rπ cos(kθs )/(2πk). So
R
Ks cos kθs = cos(kθs ). (2.5.13)
2k
Z 2π Z 2π
s R R
K sin kθs = − log R sin(kθ) dθ + cos(kθs ) cos(kθ) sin(kθ) dθ
2π 0 2πk 0
Z 2π
R
+ sin(kθs ) sin2 (kθ) dθ (2.5.14)
2πk 0
18 The boundary integral equations
The first and second integrals in (2.5.14) yield zero where as the third integral
yields Rπ sin(kθs )/(2πk). Then
R
Ks sin kθs = sin(kθs ). (2.5.15)
2k
Result (2.4.4) implies that −1/2 is an eigenvalue of the double layer operator Kd
with eigenfunction 1. From (2.4.6), the Neumann problem can be represented
as the second kind integral equation
1
( I + Kd )u(s) = Ks q(s) =: f(s), (2.5.17)
2
where f(r) is a known function at ∂Ω. Since −1/2 is an eigenvalue of Kd with
1
eigenfunction 1, it implies that 0 is an eigenvalue of the operator ( I + Kd )
2
with eigenfunction 1. Thus the space of functions spanned by 1, that is the
1
constant functions, form the eigenspace of the operator ( I+Kd ) corresponding
2
to eigenvalue 0. Let us denote this space by W0 , that is,
W0 := span{1}. (2.5.18)
Let
W1 := W0⊥ (2.5.19)
2.5 Operator theory 19
1
K := I + Kd ,
2
which is also compact and Hermitian with a zero eigenvalue.
Consider the result of Theorem 2.5.3. Let {φj } be an orthonormal basis for
the eigenspace of K corresponding to the eigenvalues λj . Then expanding u in
terms of the basis {φj } and substituting into (2.5.17) gives,
X X
λj (u, φj )φj = λj αj φj = f,
j j
where
αj := (u, φj ).
(f, φj )
αj = , λj 6= 0.
λj
Now,
∞
X
λ0 α0 φ0 + λj αj φj = f. (2.5.20)
j=1
Since λ0 is chosen to be zero, we have the freedom to choose u0 = (u, φ0 )φ0 , the
component of u in the direction of φ0 . This is responsible for the nonuniqueness
of the solution. Fixing α0 would imply fixing u and thus we obtain a unique
solution. The easiest option is to choose α0 = 0. What is more general and used
in practice is to choose u(s) = us for some s a point at the boundary, see for
instance [9, p 13]. Suppose it is given that u(s) = us for some point s at the
boundary. Then
∞
X
α0 φ0 (s) + αs φj (s) = us . (2.5.21)
j=1
So we have
X ∞
1
α0 = (us − αj φj (s)). (2.5.22)
φ0
j=1
3.1 Introduction
The integral equation (2.4.2) expresses the value of the potential u at any point s
in terms of its values and normal derivative at the boundary. A discretisation of
this equation leads to the Boundary Element Method (BEM) system of algebraic
equations. To this end, the physical boundary ∂Ω is partitioned into N parts
∂Ωj , j = 1, 2, . . . , N, see Figure 3.1. Each physical partition ∂Ωj is represented
∂Ω3 ∂Ω2
∂Ω4 Γ3 Γ2
∂Ω1
Γ4 Γ1
∂Ω5 Γ5
Γ9
∂Ω9
Γ6
Γ8
∂Ω6 Γ7
∂Ω8
∂Ω7
N
by a numerical partition Γj . The union Γ := ∪ Γj is what is called a numerical
j=1
boundary. For Γj we use rectilinear elements in which the ends of each partition
22 The boundary element method
The elements are numbered according to the standard BEM convention: in-
creasing in the anticlockwise sense. On each of the elements Γj an assumption
is made on the functions u and q. Basically these functions are assumed to
vary as polynomials which are called shape functions. Depending on the order
of the shape functions on each element, the type of elements used is said to
be either constant, linear or even higher order. In this thesis examples in both
constant elements and linear elements are considered. In constant elements,
constant shape functions are used, that is, the functions on each element are
assumed constant. In linear elements linear shape functions are used, that is,
the functions on each element are assumed to vary linearly. In other cases,
quadratic or even higher order shape functions may be used.
fu or fq
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
u2 or q2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
r3 r2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
r4
r1
r5
r9
r6 r8
r7
Here the nodes ri , i = 1, 2, . . . , N, are the midpoints of the elements, see Fig-
ure 3.2. Next is the discretisation of the functions u and q. These functions are
assumed to be constant on each element and equal to their nodal values where
the nodes are the midpoints of the elements. So let us introduce the definitions
These are called influence coefficients because their values express the contri-
bution of the nodal values uj and qj to the formation of ci ui , [35, p. 49]. With
this notation equation (3.2.4) becomes
N
X N
X
ci ui + ^ ij uj =
H Gij qj . (3.2.6)
j=1 j=1
Setting
^ ij ,
Hij := ci δij + H (3.2.7)
N
X N
X
Hij uj = Gij qj . (3.2.8)
j=1 j=1
Let H and G be N × N matrices whose elements are given by (3.2.7) and (3.2.5).
Also introduce the following vectors of length N :
Hu = Gq. (3.2.10)
For generality, let us assume a part ∂Ω1 of the boundary on which u(r) is given
and a part ∂Ω2 on which q(r) is given. Let these two parts be discretised into
N1 and N2 constant elements respectively such that N1 + N2 = N. Thus, there
are still N unknowns, N − N1 values of u(r) on ∂Ω2 and N − N2 values of q(r)
on ∂Ω1 which are to be determined from the system (3.2.10). Before solving the
system, the unknown need to be separated from the known quantities. To this
end, partition the matrices H and G and write (3.2.10) as
ũ1 q1
H1 H2
= G1
G2
,
(3.2.11)
u2 q̃2
where ũ1 and q̃2 denote the known quantities on Γ 1 (representing ∂Ω1 ) and Γ 2
(representing ∂Ω2 ) respectively. Then carry out the multiplications and move
all the unknowns to the left hand side of the equation to obtain
Ax = b (3.2.12)
where
q1
A := −G1 H2 , x := , b := −H1 ũ1 + G2 q̃2 . (3.2.13)
u2
The solution of the system (3.2.12) gives a BEM approximation of the unknowns
in x in the grid nodes rj . We denote by xL a BEM approximation on a grid of
size L. Thus uLj (or qLj ) is a BEM approximation of uj (or qj ) using a grid of size
L.
If the N1 points and the N2 points where the values of u and respectively q are
prescribed are not consecutive then the partitioning of the matrices in (3.2.11)
is preceded by an appropriate rearrangement of columns in H and G. Solving
(3.2.12) gives the unknown boundary quantities of u and q. Therefore we now
have all the boundary quantities. The solution u(r) can then be computet at
any point r ∈ Ω using (3.2.4) with c(r) = 1.
3.3 Linear elements 25
fu or fq
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
u3 or q3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
u2 or q2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
xxxxx
xxxxx
xxxxx
4 2
5
1
6 9
7 8
In the case of linear elements the potential and its derivative are assumed to
vary linearly over each element. This thesis discusses continuous linear ele-
ments in which the nodes are placed at the extremes of the element, see Fig-
ure 3.3. So fu and fq are linear interpolation functions expressed in terms of
the values of u and q respectively at the extremes of the element. That is
instance [13], [54], [70]. Of course the potential at any point, be it a corner
or otherwise, can only have one value. However, there are two distinct normal
gradients at every corner, and several combinations of boundary conditions at
a corner are now possible, see [78].
The spatial derivative of the potential field governed by the Laplace and Pois-
son equations can become infinite at corners and edges rendering the standard
BEM as discussed in this thesis to give inaccurate results [24, p 282], [28, p
164], [56]. In [65] the authors have suggested a formulation of mixed elements
to overcome this problem. Due to this corner problem, in the course of measur-
ing error order in the subsequent chapters of this thesis we avoid boundaries
with corners. This is because any results obtained with such boundaries will
also reflect how well this corner problem is being circumvented.
Forming the system (3.2.12) requires the formation of the matrices H^ and G for
which we need to evaluate the integrals in (3.2.5). In two dimensions we have
Z Z
1
Gij = v(ri ; r(χ)) dχ = − log ||ri − r(χ)|| dχ (3.5.1a)
Γj 2π Γj
and
Z Z
^ ij = 1 ∂v 1 (ri − r(χ), n(χ))
H (ri ; r(χ)) dχ = dχ. (3.5.1b)
2π Γj ∂n 2π Γj ||ri − r(χ)||2
We note that the integrals are singular when r → ri and therefore need special
treatment when i = j. For i 6= j, the integrals are nonsingular and are evaluated
numerically using Gaussian quadrature. To this end suppose we use rectilinear
elements and rj− 1 and rj+ 1 are the extremes of element j of length lj as shown
2 2
in Figure 3.4. We denote the grid size of element Γj by
lj := ||rj+1/2 − rj−1/2 ||. (3.5.2)
We do a parameterization of the element j in terms of a local coordinate ξ on Γj ,
that is
1 (rj+ 1 − rj− 1 )
r(ξ) := (rj− 1 + rj+ 1 ) + 2 2
ξ, (3.5.3)
2 2 2 lj
where
−lj /2 ≤ ξ ≤ lj /2. (3.5.4)
The Jacobian of this transformation is
s
2 2
dx dy
J(ξ) = + = 1,
dξ dξ
3.5 Matrix elements 27
lj /2
rj+ 1
2
lj /2
rj
rj− 1
2
ri
Z lj /2
^ ij = 1 (ri − r(ξ), n)
H dξ. (3.5.5b)
2π −lj /2 ||ri − r(ξ)||2
Since Gaussian quadrature points are given for the interval [−1, 1] introduce a
new coordinate η defined as η := ξ/(lj /2). Then the integrals (3.5.5) become
Z
lj 1
Gij = − log ||ri − r(η)|| dη (3.5.6a)
4π −1
Z1
^ ij = lj (ri − r(η), n)
H dη, (3.5.6b)
4π −1 ||ri − r(η)||2
28 The boundary element method
where
1 1
r(η) := (rj− 1 + rj+ 1 ) + (rj+ 1 − rj− 1 )η (3.5.7)
2 2 2 2 2 2
When i 6= j the integrands in (3.5.6) are nonsingular and the integrals can be
evaluated using standard Gaussian quadrature. However for i = j the inte-
grands are singular and the integrals are evaluated analytically. We have
Z lj /2 Z lj /2
log ||ri − r(ξ)|| dξ = 2 lim log ξ dξ = lj (log(lj /2) − 1).
−lj /2 ǫ→ 0 ǫ
So (3.5.5a) becomes
li
Gii = − (log(li /2) − 1). (3.5.8)
2π
The integrand of H ^ ij has the inner product (ri − r, n) in the numerator. When
i = j the vector ri − r is in the same element as the normal n and the two are
perpendicular. Consequently (ri − r, n) = 0 and hence
Z
^ 1 (ri − r(χ), n)
Hii = dχ = 0. (3.5.9)
2π Γi ||ri − r(χ)||2
where ηi are the knots and ωi the weights, see [73] for tables of knots and their
corresponding weights.
where η̃i are the knots and ω̃i the weights for the quadrature rule with a log-
arithmic singularity. In addition to [15, 73], the weights can also be found
in [43, p. 513]. More on numerical computation of integrals with a logarithmic
singularity can be found in [67].
3.7 Examples
In this thesis we like to use some reference cases. They are given by Exam-
ples 3.7.1 to 3.7.4. For the problem domain, either a disc or a square is used.
1 2
0.5 R=1.2 1
q(x(θ),y(θ))
0 0
Ω
−0.5 −1
−1 −2
−1 −0.5 0 0.5 1 0 2 4 6
0≤ θ ≤ 2π
1
0
0.5 R=1.2
q(x(θ),y(θ))
−0.5
0
Ω
−0.5 −1
−1 −1.5
−1 −0.5 0 0.5 1 0 2 4 6
0≤ θ ≤ 2π
Take again as domain the disc of radius R = 1.2 shown in Figure 3.7a. The
solution to this problem can be computed analytically. For our circular domain
the solution is easily expressed in polar coordinates centred at the origin and
is given by u(R, θ) = R2 cos 2θ. Figure 3.7b is a plot of this solution against θ.
1 1
u(x(θ),y(θ))
0 0
Ω
−0.5
−0.5
−1
−1
−1 −0.5 0 0.5 1 0 2 4 6
0≤ θ ≤ 2π
where r0 is a fixed point outside Ω and n(r) is the outward normal at r. The
solution to this problem can be computed analytically. Again for the disc shown
in Figure 3.8a as domain and r0 = (0.36, 1.8), Example 3.7.4 has the continuous
solution shown in Figure 3.8 where θ is the angle around the circle. Note again
the relatively high local activity near θ = 1.4.
For these examples, the analytic expressions for the solutions are known. This
will help us compare exact analytic and numerical solutions and thus compute
global and local errors as we will see in Chapters 4 and 5. Observe in these
examples that the solution to Dirichlet problem 1 is the boundary condition in
Neumann problem 1 and vice-versa. Also the solution to Dirichlet problem 2 is
the boundary condition in Neumann problem 2 and vice-versa.
1 1
0.5 R=1.2
u(x(θ),y(θ))
0.5
0
Ω
−0.5 0
−1
−0.5
−1 −0.5 0 0.5 1 0 2 4 6
0≤ θ ≤ 2π
4.1 Introduction
The BEM results from a numerical discretisation of a BIE. The subject of errors
in BEM is still a very interesting one and some aspects have not yet been as
explored as they are in other numerical methods like finite element methods
(FEM) and finite difference methods (FDM). Errors in BEM solutions may be
due to discretisation or to inaccuracies in the solver that involves the use of
BEM matrices with high condition numbers. Although a BIE is an exact repre-
sentation for the solution of a BVP, errors will occur in BEM because the BIE
is applied at only a selected set of collocation points.
For a given discretisation, there are several ways to implement BEM because of
the choice in collocation and nodal points and the shape functions. These will
all influence the resulting error in the solution. Amongst the error sources also
is the fact that the choice of shape functions at the boundary elements may
not satisfy the smoothness requirements of the original BIE. In most cases
where error measurement has been performed, like in adaptive refinement,
the main focus has been a guiding measure of the error. In this chapter we
present recent results on an analysis of actual local errors in BEM solutions.
The results presented will not only be helpful in choosing an implementation
strategy but also in guiding adaptive refinement techniques. We focus our
attention to obtaining infinity norm estimates of the error.
Several techniques have been used to measure BEM errors in the area of adap-
tive refinement. In [45] and [37] a review of error estimation and adaptive
36 Local errors in BEM for potential problems
e := x − xL . (4.1.1)
For instance for a Dirichlet problem the BEM solution is a vector of values of
the normal derivative qL and the global error is given by
e := q − qL . (4.1.2)
To assess this we first have to investigate the local discretisation error. Local
discretisation errors are usually defined as the residual that remains if the
exact solution is substituted into the discretised equation. In operator notation,
suppose we have an operator A and a discretisation of A, say AL , both defined
on the same space. Let the continuous solution u satisfy
Au = b. (4.1.3)
AL uL = bL , (4.1.4)
AL u = bL + dL , (4.1.5)
4.2 A survey of error sources 37
where u is the projection of the full exact solution on the grid. As a conse-
quence, the global error satisfies
AL e = dL . (4.1.6)
AuL = b + d, (4.1.7)
that is, by substituting the approximation into the exact problem. This gives
Ae = d. (4.1.8)
Both (4.1.6) and (4.1.8) can be useful to estimate global error. However, inver-
sion in order to get the global error in (4.1.8) is hampered by the fact that we
need information of the solutions everywhere. Nevertheless (4.1.7) is appealing
as it is based on the original operator.
In this chapter local errors are discussed. Global errors will be discussed in
Chapter 5. Section 4.2 presents a brief survey of error sources in BEM and
Section 4.2.1 presents a discussion on local errors due to interpolation in BEM
and a theory for the expected convergence rates of the local error for both con-
stant and linear elements. It is shown here that the local errors for both formu-
lations are of second order. Numerical results for both Dirichlet and Neumann
examples are presented to verify the theory presented on local errors.
For the theories on local errors we assume a uniform grid. However it might
not always be necessary to have uniform grids. For problems with localised
regions of high activity, a composite coarse-fine grid is useful. In Section 4.7
the process of equidistribution in BEM for problems whose solutions have small
regions of high activity is discussed.
In a BEM implementation, the first step is to discretise the boundary of the do-
main. Then in the application of the integral equation we have the freedom to
choose collocation points and the nodal points. This suggests that for a given
discretisation there is more than one way one can choose to implement the
BEM, each of which will have its own advantages and disadvantages. Through-
out this thesis we consider discretisations using rectilinear elements. This re-
sults into the numerical boundary being a polygon, see for instance Figure 4.1
in the case of a circular boundary.
Besides choosing the position of collocation and nodal points on the numerical
boundary, the way boundary conditions are treated is also important. In the
traditional constant elements for example, the nodes are the midpoints of the
38 Local errors in BEM for potential problems
∂Ωj Γj
elements and are also the collocation points. For the discretisation shown in
Figure 4.1, the numerical boundary does not coincide with the physical bound-
ary and so we may talk of exact points ri on ∂Ω and their numerical represen-
tations r̄i on Γ as shown in Figure 4.2. One may thus choose collocation points
r̄i on Γi
ri on ∂Ωi
The different cases arise from the location of collocation points on either the nu-
merical boundary or the physical boundary, treatment of boundary conditions
and the choice between the numerical and physical boundary for the integrals
involved in the formation of the matrix A and vector b in (3.2.12).
Consider for instance, cases (1) and (5) in Table 4.1. In case (1) the collocation
points are on the numerical boundary Γj , the boundary function u is assumed
constant on Γj taking on the midpoint value u(rj ), the right hand side b and the
matrix A are formed by integrating on Γj . This is the traditional implementation
4.2 A survey of error sources 39
In case (5) the collocation points are on the numerical boundary, the boundary
function u(r) is not assumed constant on Γj but used directly as given in the
formation of b, the right hand side b and the matrix A are formed by integrating
on Γj . That is
XN Z
1 ∂v
bi := − u(r̄i ) − u(r(χ)) (r̄i ; r(χ)) dχ, (4.2.3)
2 ∂n
j=1 Γj
Z
Aij := − v(r̄i ; r(χ)) dχ. (4.2.4)
Γj
The other cases can also be explained by following their respective trends in
the table. Cases (9) to (16) are obtained by choosing collocation on the physical
boundary. The dashes in the table are for cases that are not feasible in the
sense that once we have chosen to collocate on the physical boundary then we
should implement the integral equation on the physical boundary by carrying
out the integrations in the formation of b and A on the same boundary.
In Table 4.2 results for some of the cases in Table 4.1 are presented. In par-
ticular, in Table 4.2a is a comparison of cases (1) and (5) and in Table 4.2b a
40 Local errors in BEM for potential problems
||d||∞ ||d||∞
N case (1) case (5) N case (12) case (16)
5 1.20 1.02E-01 5 1.76E-02 1.81E-01
15 1.66E-01 3.87E-02 15 3.53E-02 2.86E-02
45 1.90E-02 5.12E-03 45 4.99E-03 4.74E-03
135 2.13E-03 5.98E-04 135 5.93E-04 5.84E-04
405 2.38E-04 6.75E-05 405 6.73E-05 6.70E-05
1215 2.65E-05 7.57E-06 1215 7.54E-06 7.52E-06
(a) (b)
Table 4.2: Local errors in cases (1) and (5) in (a) and cases (12) and (16) in (b)
when the problem in Example 3.7.1, which is a Dirichlet problem, is solved on
a disc domain. The local error d is defined in (4.1.5).
||d||∞ ||d||∞
N case (1) case (5) N case (12) case (16)
5 3.11E-01 2.63E-02 5 5.34E-03 5.49E-02
15 4.81E-02 1.12E-02 15 1.04E-02 8.40E-03
45 5.67E-03 1.52E-03 45 1.49E-03 1.42E-03
135 6.39E-04 1.79E-04 135 1.78E-04 1.75E-04
405 7.13E-05 2.02E-05 405 2.02E-05 2.01E-05
1215 7.93E-06 2.26E-06 1215 2.26E-06 2.26E-06
(a) (b)
Table 4.3: Local errors in cases (1) and (5) in (a) and cases (12) and (16) in (b)
when we the problem in Example 3.7.1, which is a Dirichlet problem, is solved
on a disc domain. The local error d is defined in (4.1.5).
It is expected that the results of case (5) are better than those of case (1), since
case (5) should capture the variation of the boundary function better. For the
same reasons, the results of case (16) are expected to be better than those
of case (12). Since in cases (12) and (16) the numerical boundary coincides
with the physical boundary, the corresponding results should be better than
those of cases (1) and (5). The results in Table 4.2 agree with this observation.
Although the difference in results might seem not that much, we note that
the problems in real life will usually involve more complicated geometries for
the physical boundary and more wild boundary conditions. This will make the
difference between the choices in Table 4.1 more important than it looks in the
above example.
Although some work has already been done in estimating errors in BEM, there
is not yet an error analysis that traces down all the error sources above. In [28,
4.2 A survey of error sources 41
p. 141] the authors have remarked that: ‘‘any error analysis which seeks
to trace the accumulation of error as it arises from the approximation of the
physical boundary by a numerical boundary, approximation of the boundary
quantities by interpolation and approximation of the integrals by quadrature
rules is likely to be very complicated, if indeed it is possible at all.” In the next
sections we concentrate on analysing the error that is due to the approximation
of the boundary quantities by interpolation in constant and linear elements.
Section 4.2 above introduced different ways in which BEM can be implemented.
These induce sources of error in BEM for potential problems: approximation of
the physical boundary by a numerical boundary, approximation of the bound-
ary quantities by interpolation, and approximation of the integrals by quadra-
ture rules. Thus, the local error in BEM will be an accumulation of the following
errors from each of the above sources respectively:
(i) Boundary discretisation error: This error is not there if Γj and ∂Ωj coincide.
(ii) Interpolation error: This is the most important one. The unknown func-
tions are assumed to vary as certain interpolation polynomials, the so
called shape functions fu (r) and fq (r) for u(r) and q(r) respectively. For
instance for constant elements, assuming the functions u(r) and q(r) are
assumed piecewise constant on each Γj .
(iii) Quadrature error: This error is also very important since all the integrals
in (3.2.5) are usually evaluated using numerical quadrature. However, it
can be minimised by choosing suitable high order quadrature rules.
Let us again consider a general point s at the boundary where the integral
equation is applied. Then constant elements assumes:
Z Z
∂v . ∂v
u(r(χ)) (s; r(χ)) dχ = u(r(χ)) (s; r(χ)) dχ, (4.2.5a)
∂Ωj ∂n Γj ∂n
Z Z Z
∂v . ∂v ∂v
u(r(χ)) (s; r(χ)) dχ = fu (r(χ)) (s; r(χ)) dχ = uj (s; r(χ)) dχ,
Γj ∂n Γj ∂n Γj ∂n
(4.2.5b)
Z
∂v ∂v
.
uj (s; r(χ)) dχ = uj Qj
(s; r(χ))
. (4.2.5c)
Γj ∂n ∂n
42 Local errors in BEM for potential problems
∂v
Here Qj ∂n (s; r(χ)) denotes a quadrature approximation of the integral. Like-
wise for the single layer integrals we have
Z Z
.
q(r(χ))v(s; r(χ)) dχ = q(r(χ))v(s; r(χ)) dχ, (4.2.6a)
∂Ωj Γj
Z Z Z
.
q(r(χ))v(s; r(χ)) dχ = fq (r(χ))v(s; r(χ)) dχ = qj v(s; r(χ)) dχ, (4.2.6b)
Γj Γj Γj
Z
.
qj v(s; r(χ)) dχ = qj Qjv(s; r(χ)) . (4.2.6c)
Γj
Note that the expressions in (4.2.5) and (4.2.6) will be similar in linear elements
except that now the functions fu and fq will be order one polynomials as in-
troduced in (3.3.1). The local error per element is an accumulation of the local
errors in (4.2.5) and/or (4.2.6), depending on the boundary conditions given
and how they are treated. So we define the errors on the j-th element for a
source node s as:
Z
∂v ∂v
u
dj (s) := u(r(χ)) (s; r(χ)) dχ − uj Qj
(s; r(χ))
, (4.2.7a)
∂Ωj ∂n ∂n
Z
dq
j (s) := q(r(χ))v(s; r(χ)) dχ − qj Qjv(s; r(χ)) . (4.2.7b)
∂Ωj
q
The errors duj and dj in (4.2.7) are what we will call the sublocal errors. Then
the local error at s due to contributions from all the elements is defined as
N
X N
X
d(s) := − du
j (s) + dq
j (s). (4.2.8)
j=1 j=1
When s = ri in the discretisation introduced in Section 3.2, then the error d(ri )
given by (4.2.8) is the local error in the i-th equation. That is if we were to write
the exact equation of (3.2.1) using BEM approximations uj and qj we would
obtain
N
X Z N
X Z
∂v
c(ri )u(ri ) + uj (ri ; r(χ)) dχ = qj v(ri ; r(χ)) dχ + d(ri ). (4.2.9)
∂Ωj ∂n
j=1 ∂Ωj j=1
We will mainly be interested in the error due to interpolation and will minimise
the error due to quadrature by using high order adaptive quadrature rules.
It is also important to note that in some problems the physical boundary is
4.3 Dirichlet problems 43
quite regular or indeed coincides exactly with the numerical boundary hence
eliminating one inherent source of error.
In what follows we assess further local errors for both the constant and linear
element formulations and in Chapter 5 global errors are assessed. Out of the
possibilities presented in Table 4.1, we concentrate on the traditional constant
elements. However, the constant u assumption is avoided on elements where
the continuous function is known. Thus, possibility (5) in the table is examined.
We use here a better in depth approach than that used in [33] by using the local
arc coordinate and sublocal error.
Consider the case of Dirichlet boundary conditions. This case results in the
first kind integral equation
1
f(r) = I + Kd (s; r)u(r) (4.3.2)
2
is known since u is given. The solution of (4.3.1) in BEM therefore involves
estimating integrals of the form
Z
1
I := v(s; r(χ))q(r(χ)) dχ. (4.3.3)
2π ∂Ωj
The following two sections discuss local errors due to a BEM solution of (4.3.1)
using constant elements and linear elements.
In this section attention is focussed on constant elements and assess the in-
terpolation error. As one may expect the error will depend on the size of the
44 Local errors in BEM for potential problems
elements where the interpolation is done. We will derive a relation between the
local error and the grid size.
The subscript 0 is used to denote constant elements where a zeroth order poly-
nomial is used for interpolation. The error d0 j (s) is the sublocal error due to
interpolation and the local error d0 (s) due to interpolation is the sum of all the
sublocal errors. That is,
X
d0 (s) = d0j (s). (4.3.5)
j
Lemma 4.3.1 The truncation error in (4.3.4) is third order in grid size lj and is
given by
1 ∂q 1 ∂rj 1 ∂2 q
− (χj ) (χj )l3j − (rj )l3j log (||s − rj ||2 ) + O(l4j ), s ∈
/ ∂Ωj ,
24π ∂χ rj (χj ) ∂χ 48π ∂χ2
d0j (s) =
1 ∂2 q
− (ri )l3i (1/3 − log(li /2)) + O(l4i ), s ∈ ∂Ωj , j = i.
48π ∂χ2
(4.3.6)
∂q 1 ∂2 q 1 ∂3 q
q(χ) = q(χj )+ (χj )(χ−χj )+ 2
(χj )(χ−χj )2 + (χj )(χ−χj )3 +· · · , (4.3.8)
∂χ 2 ∂χ 6 ∂χ3
4.3 Dirichlet problems 45
rj (χ) χj
∂Ωj
s
χ
∂q ′′ ∂2 q
For simplicity we may write q ′ (χj ) instead of , q (χj ) instead of , etcetera,
∂χ ∂χ2
′ ′′
so that q (χj ), q (χj ), and so on, on ∂Ωj are actually the tangential derivatives
of q at χj . In general we shall use the notation
r(χ) := ||s − r(χ)|| (4.3.9)
for a fixed point s and any point χ ∈ ∂Ω. We also define the distance rj (χ) from
a point s to ∂Ωj as
rj (χ) := ||s − r(χ)||, χ ∈ ∂Ωj . (4.3.10)
If r(χ) is a point on ∂Ωj , we write
rj (χj ) = ||s − r(χj )|| = ||s − rj || since r(χj ) = rj , (4.3.11)
see Figure 4.3. Using (4.3.8) in (4.3.7) and substituting the expression for v(s; r)
gives
Z lj /2 Z lj /2
∂q
− 2πI = log[rj (χ)]q(χj ) dχ + log[rj (χ)] (χj )(χ − χj ) dχ+
−lj /2 −lj /2 ∂χ
Z lj /2
1 ∂2 q
log[rj (χ)] (χj )(χ − χj )2 dχ + · · · . (4.3.12)
−lj /2 2 ∂χ2
In constant elements BEM only the first term of (4.3.12) is used, that is,
Z
. 1 lj /2
I=− log[rj (χ)]q(χj ) dχ. (4.3.13)
2π −lj /2
This results in a truncation error given by
Z lj /2
1 ∂q
d0j (s) = − log[rj (χ)] (χj )(χ − χj ) dχ
2π −lj /2 ∂χ
Z lj /2
1 1 ∂2 q
− log[rj (χ)] (χj )(χ − χj )2 dχ + · · · . (4.3.14)
2π −lj /2 2 ∂χ2
46 Local errors in BEM for potential problems
For s ∈ ∂Ωj , j = i, then s = ri , r(χ) = |χ| and we see that the cauchy principal
value integral in (4.3.15) evaluates to zero. Otherwise, for χ − χj small, or
equivalently lj small, the distance rj (χ) can be expanded about the point χj as,
ξ r(ξ)
rj (ξ)
−ξ
χj
∂Ωj s
s ξ
(ξs , ηs ) η
χ
(a) Local coordinate ξ in ∂Ωj .
(b) Local coordinates ξ and η.
Z lj /2
∂q
(χj ) log(rj (χj ))ξ dξ = 0. (4.3.20)
−lj /2 ∂χ
Define ξ as a local coordinate in ∂Ωj and η the inward normal coordinate, see
the illustration in Figure 4.4. The distance rj (ξ) introduced in (4.3.10) is then
4.3 Dirichlet problems 47
given by
ξ − ξs
rj (ξ) = [(ξ − ξs )2 + η2j ]1/2 so rj′ (ξ) = .
[(ξ − ξs )2 + η2s ]1/2
Note that ξ ∈ ∂Ωj so that |ξ| ≤ lj /2. Hence, since η2s ≥ 0 we find
rj′ (ξj ) ξs ξ
(ξ − ξj ) = 2 < 1. (4.3.21)
rj (ξj ) ξs + η2s
A natural logarithm series expansion can therefore be used for the logarithm
term in the second integral on the right hand side of (4.3.18). Therefore, the
second integral, with the help of natural logarithm series for log(1 + x), becomes
ljZ/2
1 ∂q 1 ∂rj
− (χj ) log
1 + (χj )(χ − χj )
(χ − χj ) dχ =
2π ∂χ rj (χj ) ∂χ
−lj /2
ljZ/2
1 ∂q 1 ∂rj 1 ∂q 1 ∂rj
− (χj ) (χj )ξ2 dξ = − (χj ) (χj )l3j .
2π ∂χ rj (χj ) ∂χ 24π ∂χ rj (χj ) ∂χ
−lj /2
Hence, we have
. 1 ∂q 1 ∂rj
T1 = − (χj ) (χj )l3j + O(l4j ). (4.3.22)
24π ∂χ rj (χj ) ∂χ
Recall that since rj (χj ) > 0, the distance rj (χ) introduced in (4.3.10) can be
written as
. 1 ∂rj
rj (χ) = rj (χj )
1 + (χj )(χ − χj )
. (4.3.24)
rj (χj ) ∂χ
Using the local coordinate notation introduced in Figure 4.4 and the result (4.3.21)
, we can again use natural logarithm series for the term in parentheses in (4.3.24)
to obtain
rj′ (ξj )
log(rj (ξ)) = log(rj (ξj )) + (ξ − ξj ) + O((ξ − ξj )2 ). (4.3.25)
rj (ξj )
48 Local errors in BEM for potential problems
1 ∂2 q
=− (s)l3i (log(li /2) − 1/3). (4.3.28)
48π ∂χ2
Putting (4.3.22), (4.3.26), and (4.3.28) in (4.3.14) gives the result (4.3.6).
Apparently, the sublocal error is third order in grid size. Moreover for a mild
∂2 q
and a given grid size, the most important factor in the sublocal error is
∂χ2
log[rj (χj )], the log of the distance ||s − rj ||. The sublocal error is large close to the
source node s and decays logarithmically away from this point. This way, the
most important contributions to the local error d0 (s) will be those from elements
close to s. Since the local error is a sum of the sublocal errors, Lemma 4.3.1
puts us in a position to state the following theorems for the local error:
Theorem 4.3.1 (Constant elements local error) The local error (4.3.5) in con-
stant elements BEM applied to a boundary curve ∂Ω with midpoint collocation on
a grid of size lj , j = 1, 2, . . . , N, where N is the number of elements used, is given
by
1 X ∂q 1 ∂rj 1 X 3 ∂2 q
d0 (s) = − (χj ) (χj )l3j − lj 2 (rj ) log(||s − rj ||)
24π ∂χ rj (χj ) ∂χ 48π ∂χ
j ∈∂Ωj
s/
2
1 ∂ q
− (s)l3i (log(li /2) − 1/3) + O(l4j ). (4.3.29)
48π ∂χ2
4.3 Dirichlet problems 49
Proof. The local error over ∂Ω is the sum of all the sublocal errors (4.3.6). So
we have
1 X ∂q 1 ∂rj 1 X 3 ∂2 q
d0 (s) = − (χj ) (χj )l3j − lj 2 (rj ) log(||s − rj ||)
24π ∂χ rj (χj ) ∂χ 48π ∂χ
∈∂Ωj
s/ ∈∂Ωj
s/
2
1 ∂ q
− (s)l3i (log(li /2) − 1/3), (4.3.30)
48π ∂χ2
which is (4.3.29).
Corollary 4.3.1 The local error (4.3.29) is second order in grid size and is given
by
Z
. 1 1
d0 (s) = D dχ. (4.3.31)
48π log(||s − r(χ)||)
∂Ω
Proof. Consider the contribution from the first order derivative term in (4.3.29).
Let
1 X ∂q 1 ∂rj
S1 := − (χj ) (χj )l3j . (4.3.32)
24π ∂χ rj (χj ) ∂χ
j
∂q ∂q
Suppose l2j (χj ) is constant, that is, l2j (χj ) = C over ∂Ω for some constant
∂χ ∂χ
C. Further, if Ω is convex, then there is an extremal point ^s ∈ ∂Ω such that
^s − s is in the direction of the normal, see Figure 4.5. Then the sum S1 can be
computed as follows:
1 X ∂q 1 ∂rj
S1 = − (χj ) (χj )l3j
24π ∂χ rj (χj ) ∂χ
j
χ(^
Z s) Zs)
χ(^
X 1 ∂rj 1 ∂r 1 ∂r
. .
=D (χj )lj = D (χ) dχ − (χ) dχ = 0,
rj (χj ) ∂χ
r(χ) ∂χ r(χ) ∂χ
j
li /2 li /2
(4.3.33)
∂q
where D = −C/(24π). So if l2j (χj ) = C, then the local error (4.3.30) becomes
∂χ
. 1 X 3 ∂2 q
d0 (s) = − lj 2 (rj ) log(||s − rj ||)
48π ∂χ
∈∂Ωj
s/
1 ∂2 q
− (s)l3i (log(li /2) − 1/3). (4.3.34)
48π ∂χ2
50 Local errors in BEM for potential problems
^s
n
^s − s
s
dχ
Let us assume Ω has a radius less than one half, that is, ρ(Ω) < 1/2. This
is a nonrestrictive assumption since if not, we can introduce a scaling α such
that r → αr for all r ∈ Ω̄ and α chosen small enough. Then we will have
∂2 q
log(||s − r||) < 0 for all s, r ∈ ∂Ω. Suppose in addition that l2j 2 (χj ) = D over ∂Ω
∂χ
for some constant D, then we have
. 1 X
d0 (s) = − D lj log(||s − r(χj )||)
48π
∈∂Ωj
s/
1 ∂2 q
− (s)l3i (log(li /2) − 1/3). (4.3.35)
48π ∂χ2
Using Riemann integral interpretation for the sum and since log(||s − r||) < 0, we
have
Z
. 1
d0 (s) = − D lim log(||s − r(χ)||) dχ
48π li → 0
∂Ω−li
1 ∂2 q
− (s) lim l3i (log(li /2) − 1/3), (4.3.36)
48π ∂χ2 li → 0
which yields
Z
. 1 1
d0 (s) = D dχ. (4.3.37)
48π log(||s − r(χ)||)
∂Ω
∂2 q 2
2∂ q
If l2j (χ j ) is not constant over ∂Ω, then we take D as the average of lj (χj )
∂χ2 ∂χ2
∂2 q ∂2 q
over ∂Ω, that is, some value between max(l2j 2 (χj )) and min(l2j 2 (χj )).
∂χ ∂χ
4.3 Dirichlet problems 51
∂q ∂q
If l2j (χj ) is not constant over ∂Ω, then let D ′ be the average of l2j (χj ) over
∂χ ∂χ
∂Ω. So the sum S1 in (4.3.32) becomes, using the same argument as in (4.3.33),
1 X ∂q 1 ∂rj
S1 = − (χj ) (χj )l3j
24π ∂χ rj (χj ) ∂χ
j
X Z
. ′ 1 ∂rj . 1 ∂r
=D (χj )lj = D ′ (χ) dχ = 0. (4.3.38)
rj (χj ) ∂χ r(χ) ∂χ
j ∂Ω
Corollary 4.3.2 (Constant elements local error: Circle) For ∂Ω a circle of ra-
dius R, the local error (4.3.5) is second order in grid size l and is given by
1
d0 (s) = D(2πR) log(1/R) + O(l4 ) (4.3.39)
48π
Proof. Let us express the distance ||s − rj || in terms of the angle α and radius
R as shown in Figure 4.6. The contour integral over ∂Ω is now
2R
r
α
Z Z Zπ
1
log dχ = − log(r(α)) dα = − log(2R sin α)(2Rdα),
∂Ω ||s − r(χ)|| ∂Ω 0
Zπ
= −2πR log(2R) − 2R log(sin α) dα
0
= (2πR) log(1/R). (4.3.40)
So we obtain
1
d0 (s) = D(2πR) log(1/R) + O(l4 ), (4.3.41)
48π
where 2πR is the circumference of the circle.
1
d0 (s) = D(4L)(1 − log(21/4 L) − π/8) + O(l4 ), (4.3.42)
48π
where D is second order in grid size and is as defined in Corollary 4.3.1.
Proof. Likewise let us start from the result of Theorem 4.3.1. We need to
compute the contour integral in (4.3.37). Now,
Γ3 L
Γ4 Γ2
ri
χ0 Γ1
L
Z Z
1
log dχ = − log(||s − r(χ)||) dχ
∂Ω ||s − r(χ)|| ∂Ω
4 Z
X
=− log(||s − r(χ)||) dχ,
i=1 Γi
Thus we obtain
1 ∂2 q
d0 (s) = (η)l2 (4L)(1 − log(21/4 L) − π/8) + O(l4 ), (4.3.44)
48π ∂χ2
The results above show that indeed the local error in constant elements BEM is
second order in grid size and the numerical computations in Section 4.6 agree
with these findings.
In this section we develop similar estimates for the local error due to interpola-
tion for linear elements.
Again consider an element with Dirichlet boundary conditions and assume that
all integrals involving u are computed exactly since u(r) is known. Then the
only contribution to the interpolation error is that from interpolation of q(r).
Let us introduce d1j (s), the error due to interpolation on the j-th element when
the source node is s, which is defined as:
Z Z
d1j (s) := q(r(χ))v(s; r(χ)) dχ − fq (r(χ))v(s; r(χ)) dχ (4.3.45)
Γj Γj
where fq (r) is an order one polynomial. The subscript 1 is used to denote linear
elements where an order one polynomial is used for interpolation. The error
d1 j (s) is the sublocal error due to interpolation in linear elements and the local
error d1 (s) due to interpolation for a node s is the sum of all these sublocal
errors, that is,
X
d1 (s) = d1j (s). (4.3.46)
j
Lemma 4.3.2 (Linear elements sublocal error) Let lj be the grid size of ele-
ment Γj . The sublocal error (4.3.46) is third order in lj and is given by
1 ∂2 q
(ζ )l3 log (||s − rj ||) + O(l4j ), ζj ∈ Γj , s ∈
/ Γj ,
24π ∂χ2 j j
d1j (s) = (4.3.47)
1 ∂2 q
(ζj )l3j (log(lj ) − 5/6) + O(l4j ), ζj ∈ Γj , s ∈ Γj .
24π ∂χ2
∂2 q
where (ζj ) is the tangential double derivative of q at ζj .
∂χ2
54 Local errors in BEM for potential problems
1 ∂2 q
q(ξ) − fq (ξ) = (ζ)(ξ − ξ0 )(ξ − ξ1 ), ζ ∈ (ξ0 , ξ1 ), (4.3.48)
2 ∂χ2
2
where ξ0 and ξ1 are the points of interpolation and ∂∂χq2 (ζ) is the tangential
double derivative of q at ζ. Since we are considering continuous linear elements
in which we interpolate at the end points of ∂Ωj , we have ξ0 =: ξleft = −lj /2 and
ξ1 =: ξright = lj /2 where ξleft and ξright are the left and right boundary points of
the element respectively. So the local truncation error is given by
Z
1
d1 j (s) = − (q(r) − fq (r(χ))) log(||s − r(ξ)||) dξ
2π ∂Ωj
Z lj /2
. 1 ∂2 q
=− (ζ) log(||s − r(ξ)||)(ξ + lj /2)(ξ − lj /2) dξ. (4.3.49)
4π ∂χ2 −lj /2
For source points outside ∂Ωj the expansion (4.3.16) is used for r(ξ) and (4.3.25)
for log(||s − r(ξ)||) to obtain
Z lj /2
I= log(||s − rj ||)(ξ + lj /2)(ξ − lj /2) + O(ξ − ξj )3 dξ
−lj /2
l3j
=− log(||s − rj ||) + O(l4j ). (4.3.50)
6
As remarked in Lemma 4.3.1, if the original ∂Ωj is not a straight line but a
curve then it is easy to see that the midpoint of the approximate Γj (a straight
line) is only O(l2j ) away from rj and so are the derivatives of q. Hence we may
∂2 q
conclude that ∂2 q(ξj )/∂χ2 is equal to (rj ) up to O(l2j ). So from (4.3.49) we
∂χ2
get
1 ∂2 q
d1j (s) = (ζj )l3j log(||s − rj ||) + O(l4j ) (4.3.51)
24π ∂χ2
Thus
1 ∂2 q
(ζ )l3 log(||s − rj ||) + O(l4j ), s ∈
/ ∂Ωj ,
24π ∂χ2 j j
d1 j (s) = (4.3.53)
1 ∂2 q
(ζj )l3j (log(lj ) − 5/6) + O(l4j ), s ∈ ∂Ωj .
24π ∂χ2
The same remarks that were made about the sublocal error in Lemma 4.3.1
hold for the result in (4.3.53). For a mild ∂2 q/∂χ2 and a given discretisation,
the most important factor for the sublocal error is log ||s−rj ||. The sublocal error
is large close to the source node s and decays off logarithmically away from this
point. So the most important contributions to the local error d1 (s) will be those
from elements close to a source point.
Since the local error is a sum of sublocal errors, Lemma 4.3.2 puts us in a
position to state the following theorems about the local error in linear elements.
Theorem 4.3.2 (Linear elements local error) The local error (4.3.46) in linear
elements applied to a boundary curve ∂Ω with a discretisation of size lj , j =
1, 2, . . . , N, where N is the number of elements is given by
. 1 X ∂2 q 3 1 ∂2 q
d1 (s) = (χ j )lj log(||s − r j ||) + (χj )l3j (log(lj ) − 5/6). (4.3.54)
24π ∂χ2 24π ∂χ2
/ j
s∈Γ
Proof. The instruments for the proof of this theorem are similar to those for
Theorem 4.3.1. The local error is the sum of the sublocal errors so
.
X X 1 ∂2 q 1 ∂2 q
2
d1 (s) = d1 j (s) = (χ j )lj log(||s − rj ||) + (χj )l3j (log(lj ) − 5/6),
24π ∂χ2 24π ∂χ2
j ∈Γj
s/
(4.3.55)
Corollary 4.3.4 The local error (4.3.54) is second order in grid size and is given
by
Z
.1
d1 (s) = D log(||s − r(χ)||) dχ, (4.3.56)
24π ∂Ω
∂2 q
Proof. Suppose l2j (χj ) = D over ∂Ω for some constant D. Then
∂χ2
.
X 1 ∂2 q 3 1 ∂2 q
d1 (s) = (ζ j )l log(||s − r j ||) + (ζj )l3 (log(l) − 5/6),
24π ∂χ2 24π ∂χ2
/
s∈∂Ωj
. 1 X 1
= D lj log(||s − rj ||) + Dli (log(li ) − 5/6),
24π 24π
∈∂Ωj
s/
Z
. 1 1
= D lim log(||s − r(χ)||) dχ + D lim li (log(li ) − 5/6),
24π li → 0 24π li → 0
∂Ω−li
Z
1
= D log(||s − r(χ)||) dχ, (4.3.57)
24π ∂Ω
∂2 q
where χ is the arc length coordinate in ∂Ω. If l2j (χj ) is not constant over ∂Ω,
∂χ2
∂2 q
then we take D as the average of l2j (χj ) over ∂Ω, that is, some value between
∂χ2
∂2 q 2
2∂ q
max(l2j (χ j )) and min(lj (χj )).
∂χ2 ∂χ2
Corollary 4.3.5 (Linear elements local error: Circle) For ∂Ω a circle of radius
R, the local error in linear elements BEM is second order in grid size and is given
by
. 1
d1 (s) = D(2πR) log R, (4.3.58)
24π
where D is second order in grid size and is as defined in Corollary 4.3.4.
Proof. Using the result (4.3.40) for the contour integral in (4.3.57) on a circle
of radius R yields the result
. 1
d1 (s) = D(2πR) log R. (4.3.59)
24π
Corollary 4.3.6 (Linear elements local error: Square) For ∂Ω a square of length
L, the local error using linear elements BEM is second order in grid size and is
given by
. 1
d1 (s) = D(4L)(log(21/4 L) − 1 + π/8). (4.3.60)
24π
where D is second order in grid size and is as defined in Corollary 4.3.4.
Proof. Likewise, using the result (4.3.43) for the contour integral in (4.3.57)
on a square gives the result.
4.4 Neumann problems 57
Consider the case of Neumann boundary conditions. This case results in the
second kind integral equation
1
+ Kd (s; r)
u(r) = g(r) (4.4.1)
2
where the right hand side
In the following two sections, local errors in the BEM solution of (4.4.1) using
constant elements and linear elements are discussed.
Suppose we have a Taylor series expansion of u(χ) about χj within the element
∂Ωj , that is,
∂u 1 ∂2 u 2 1 ∂3 u
u(χ) = u(χj )+ (χj )(χ−χj )+ (χ j )(χ−χ j ) + (χj )(χ−χj )3 +· · · . (4.4.6)
∂χ 2 ∂χ2 6 ∂χ3
Then using (4.4.6) in (4.4.5) yields the truncation error
Z
. 1 ∂v ∂u
d0 j (s) = (χ) (χj )(χ − χj ) dχ+
2π ∂Ωj ∂n ∂χ
Z
1 ∂v 1 ∂2 u
(χ) (χj )(χ − χj )2 dχ + · · · . (4.4.7)
2π ∂Ωj ∂n 2 ∂χ2
58 Local errors in BEM for potential problems
Recall that
∂v (s − r(χ)) · n(χ)
(χ) = (4.4.8)
∂n ||s − r(χ)||2
where n(χ) is the outward normal at r(χ). To obtain the explicit dependency
on grid size we will need to obtain the dependency of the kernel (4.4.8) on the
grid size as in Sections 4.3. This is a more complicated process but our results
show that indeed the local error is second order in grid size.
is assumed to vary as an order one polynomial over ∂Ωj and in so doing, the so
called sublocal error d1j (s) over ∂Ωj is committed. That is,
Z Z
1 ∂v 1 ∂v
d1 j (s) := (s; r)u(r) dγ(r) − (s; r)fu (r) dγ(r) (4.4.10)
2π ∂Ωj ∂n 2π ∂Ωj ∂n
Lemma 4.4.1 (Neumann linear elements sublocal error) Let lj be the grid size
of element ∂Ωj . The sublocal error (4.4.10) is third order in lj and is given by
. 1 ∂2 u ∂v
d1j (s) = (ζj ) (rj )l3j . (4.4.11)
24π ∂χ2 ∂n
∂2 u
where (ζj ) is the tangential double derivative of u at ζj a point in ∂Ω.
∂χ2
Proof. Let ξ be the local coordinate in ∂Ωj , see Figure 4.8. Then ex-
press (4.4.9) in terms of ξ so that,
Z
1 lj ∂v
I := (r(ξ))u(ξ) dξ. (4.4.12)
2π 0 ∂n
Next, replace u by an order one polynomial, that is,
. ξ lj − ξ
u(ξ) = u(ξj ) + u(ξ0 ), (4.4.13)
lj lj
to obtain
Z lj Z
1 lj ∂v ∂2 u
. 1 ∂v ξ lj − ξ 1
I= (r(ξ)) u(ξj ) + u(ξ0 ) dξ+ (r(ξ)) (lj −ξ)ξ 2 (ζ(ξ)) dξ.
2π 0 ∂n lj lj 2π 0 ∂n 2 ∂χ
4.4 Neumann problems 59
ξj
∂Ωj
lj
ξ0
ξ
s l0 = 0
χ
(4.4.14)
The second integral on the right hand side of (4.4.14) is an error term due to
interpolation. Therefore the error when only the first term of (4.4.14) is used to
estimate the integrals in linear elements is
Z
1 lj ∂v 1 ∂2 u
d1j (s) := (ξ) (lj − ξ)ξ 2 (ζ(ξ)) dξ. (4.4.15)
2π 0 ∂n 2 ∂χ
Using the mean value theorem we obtain
. 1 ∂2 u ∂v
d1j (s) = 2
(ζj ) (rj )l3j . (4.4.16)
24π ∂χ ∂n
Note that when s ∈ ∂Ωj , ∂v/∂n = 0 and so there is no need to worry about
singular elements.
∂2 u
Corollary 4.4.1 If (ζj )l2j = C over ∂Ω for some constant C, then the local
∂χ2
error is second order in grid size and is given by
Z
1 ∂v
d1 (s) = C (χ) dχ, (4.4.17)
24π ∂Ω ∂n
where C is second order in grid size.
Proof. The local error is the sum of all the sublocal errors. So,
X .
X 1 ∂2 u ∂v . 1 X ∂v
d1 (s) = d1j (s) = 2
(ζj ) (χj )l3j = C (χj )lj . (4.4.18)
24π ∂χ ∂n 24π ∂n
j j j
Then using Riemann integral interpretation for the sum in (4.4.18) yields
Z
. 1 ∂v
d1 (s) = C (χ) dχ. (4.4.19)
24π ∂Ω ∂n
60 Local errors in BEM for potential problems
Corollary 4.4.2 Using the properties (2.4.4) of ∂v/∂n, the local error in (4.4.19)
is
.
d1 (s) = −C/48π. (4.4.20)
Proof. From (2.4.4), the integral in (4.4.19) is −1/2 hence the result.
For a mixed problem, there is a part ∂Ω1 of the boundary ∂Ω where u is given
and a part ∂Ω2 where q is given, see Figure 4.9.
∂Ω1 , ∂Ω2 ,
u given q given
Figure 4.9:
Thus we have to estimate integrals of the form (4.3.3) on the part where u is
given and (4.4.3) on the part where q is known. Therefore, when using constant
elements, the truncation error committed per element is given by (4.3.6) in the
part where u is known and (4.4.7) in the Neumann part. When linear elements
are used, the sublocal error is given by (4.3.47) in the Dirichlet part and (4.4.11)
in the Neumann part.
Corollary 4.5.1 (Mixed problem linear elements local error) Let the Dirichlet
part ∂Ω1 be discretised using M elements and the Neumann part be discretised
using N elements. Then the local error for a mixed problem when using linear
elements BEM is given by
M
X
. 1 ∂2 q 1 ∂2 q
d1 (s) = 2
(χj )l3j log(||s − rj ||) + (χj )l3j (log(lj ) − 5/6)
24π ∂χ 24π ∂χ2
j=1,s∈Γ
/ j
N
1 X ∂2 u ∂v
+ (ζj ) (rj )l3j , (4.5.1)
24π ∂χ2 ∂n
j=M+1
4.5 Mixed boundary conditions 61
M
. 1 X ∂2 q
d1 (s) = (χj )l3j log(||s − rj ||)
24π ∂χ2
j=1,s∈Γ
/ j
N
X
1 ∂2 u ∂v
+ 2
(ζj ) (rj )l3j , (4.5.2)
24π ∂χ ∂n
j=M+1
Proof. The local error is the sum of all the local errors per element. Then
M
X N
X
d(s) = d1 j + d1 j . (4.5.3)
j=1, ∂Ωj ∈∂Ω1 j=M+1, ∂Ωj ∈∂Ω2
Then using the results (4.3.47) and (4.4.11) in (4.5.3) gives the result.
Corollary 4.5.2 The local error (4.5.1) is second order in grid size and is given
by
Z Z
. 1 1 ∂v
d1 (s) = D log(||s − r(χ)||) dχ + D (χ) dχ, (4.5.4)
24π ∂Ω1 24π ∂Ω2 ∂n
∂2 q ∂2 u
Proof. Suppose l2j
2
(χj ) = D over ∂Ω1 and l2j 2 (χj ) = D over ∂Ω2 for some
∂χ ∂χ
constant D. Then we have, on ∂Ω1 ,
N
.
X 1 ∂2 q 3 1 ∂2 q
d1 (s) = (χ j )lj log(||s − rj ||) + (χi )l3i (log(li ) − 5/6),
24π ∂χ2 24π ∂χ2
j=1, s/
∈∂Ωj
N
X
. 1 1
= D lj log(||s − rj ||) + Dli (log(li ) − 5/6),
24π 24π
j=1, s/
∈∂Ωj
Z
. 1 1
= D lim log(||s − r(χ)||) dχ + D lim li (log(li ) − 5/6),
24π li → 0 24π li → 0
∂Ω1 −li
Z
1
= D log(||s − r(χ)||) dχ. (4.5.5)
24π ∂Ω1
On ∂Ω2 ,
N
X N
X X ∂v
. 1 ∂2 u ∂v 3 . 1
d1 (s) = d1 j (s) = (χ j ) (χ j )lj = D (χj )lj . (4.5.6)
24π ∂χ2 ∂n 24π ∂n
j=1 j=M+1 j
62 Local errors in BEM for potential problems
∂2 q ∂2 u
If l2j 2
(χj )/l2j 2 (χj ) is not constant over ∂Ω1 /∂Ω2 , then take D as the average
∂χ ∂χ
2 2
2∂ q 2∂ u
of lj 2 (χj )/lj 2 (χj ) over ∂Ω1 /∂Ω2 .
∂χ ∂χ
4.6 Examples
Below we present results to illustrate the estimates derived above using Prob-
lems (a) and (c) of Examples 3.7.1 and 3.7.3. Since in each example analytic
expression for the unknown is available, for each node ri we can compute the
exact value qi or ui of the unknown. Then the local error defined in (4.1.5) can
be computed. That is
d := Aq − b or d := Au − b.
We refine by a factor three and, to see what happens to the error after each
refinement, the ratios of the errors at consecutive grids are computed. That is,
where ||d||∞ (N) denotes the infinity norm of d of length N. In the formulation of
the BEM systems for each example, the right hand side is computed ”exactly”
as explained in Section 4.2.1.
Example 4.6.1 (Dirichlet Problem (a) using constant elements) The problem
in Example 3.7.1 is solved using constant elements. The results are shown in Fig-
ure 4.10.
4.6 Examples 63
5 2.63E-02 2.34 −4
15 1.13E-02 7.37 −6
log(||d||∞)
45 1.52E-03 8.53 −8
135 1.79E-04 8.85 −10
405 2.03E-05 8.95
−12
1215 2.26E-06 -
−14
0 2 4 6 8
log(N)
Example 4.6.2 (Dirichlet Problem (a) using linear elements) The problem in
Example 3.7.1 is solved using linear elements. The results are shown in Fig-
ure 4.11.
Problem (a) linear elements
N ||d||∞ error ratios −4
5 1.57E-02 1.17 −6
15 1.34E-02 7.07
log(||d||∞)
−8
45 1.90E-03 8.48
135 2.24E-04 8.84 −10
Example 4.6.3 (Neumann Problem (c) using constant elements) The problem
in Example 3.7.3 is solved using constant elements. The results are shown in Fig-
ure 4.12.
Problem (c) constant elements
N ||d||∞ error ratios −2
5 5.17E-02 3.72 −4
15 1.39E-02 8.40 −6
log(||d||∞)
45 1.65E-03 8.98 −8
135 1.84E-04 9.01 −10
405 2.04E-05 9.01
−12
1215 2.27E-06 -
−14
0 2 4 6 8
log(N)
Example 4.6.4 (Neumann Problem (c) using linear elements) The problem in
Example 3.7.3 is solved using linear elements. The results are shown in Fig-
ure 4.13.
5 2.92E-02 2.54 −4
15 1.16E-02 6.39 −6
log(||d||∞)
45 1.82E-03 8.24 −8
135 2.21E-04 8.76 −10
405 2.52E-05 8.92
−12
1215 2.82E-06 -
−14
0 2 4 6 8
log(N)
All the results, for both the Dirichlet and the Neumann problem, show a similar
error trend with respect to grid size. As we can see by taking ratios of consec-
utive errors, each time we refine by about a factor three, the local error goes
down by about a factor of nine. The behaviour is the same for both constant
and linear elements. This shows that the local error is indeed of second order
convergence with respect to grid size for both constant and linear elements as
our findings have revealed.
4.7 Equidistribution
For problems with localised regions of rapid variation, choosing a good mesh
is essential if sufficiently accurate solutions are to be obtained as cheaply as
possible. This is more important in BEM which has full matrices and uniform
fine grids will drastically increase the cost of computation. Instead we would
like to have a mesh that reflects the activity of the solution. That is the choice of
mesh considered is based on controlling the discretisation error. The procedure
discussed here is similar to that developed by [79, p. 65]. In contrast to this
approach, the quantity we intend to equidistribute is not just some quantity
related to the local error of the BEM solution but rather its asymptotically
correct estimate as developed in Section 4.2.1.
Generally the following mesh selection problem is addressed [4, p. 359]: Given
a boundary value problem and an error tolerance TOL, find a mesh
with
l = max li , li = θi+1 − θi (4.7.2)
1≤i≤N
such that N is small and the error in yM (θ) as an approximate solution to y(θ)
is less than TOL. On the other hand, for a give number of elements N, find a
mesh
M : 0 = θ1 < θ2 < · · · < θn = 2π (4.7.3)
such that the local error over M is constant. Generally the mesh must be
fine in regions where the desired solution changes rapidly but can be relatively
coarse elsewhere. A mesh selection strategy is more successful if it utilises the
special properties of the particular numerical method being used, namely its
error form [4, p. 361], [10]. However, this error form is normally based upon
an asymptotic analysis that the approximation has not yet reached.
If the error we make on each element is known then the information can be
used to find a mesh that distributes this error uniformly through out the
mesh. This is what is called error equidistribution. In what is pursued here,
a good mesh is obtained by (re)distributing mesh elements through local error
equidistribution after an initial approximation has been obtained. The benefits
of equidistributing the local error are twofold. In Chapter 5 it is shown that the
global error will be equidistributed when the local error is. Besides, in [6] it is
shown that local error equidistribution will minimise the average global error.
Assume a problem whose continuous solution has a small region of high activ-
ity. Then a positive weight function φ as an indicator function for the smooth-
ness of the solution is needed, see [1, p. 77], [10], [4, p. 363]. The weight
function φ represents some error measurement of the solution and is called
a monitor function. Then error equidistribution is based on equidistribution
of this function. Therefore the success of any mesh equidistribution strategy
largely hinges on the choice of the monitor function, see [7] and the references
therein.
The idea is now the following: Suppose di is some measure of the error on
element Γi . The error di depends on the size of the element Γi . Let li be the
length of Γi (again Γi is a straight line). Generally the error increases as li
increases. More precisely let
di = Ci lp
i (4.7.4)
be the error on Γi where the constant Ci depends on the smoothness of the
solution. It is convenient to consider a measure with a linear variation in li ,
that is,
Di := li φi
with φi independent of li . So from (4.7.4) we take
1/p 1/p
Di = di = li Ci
66 Local errors in BEM for potential problems
1/p
so that φi := Ci . The error is equidistributed if for some constant λ
1/p
li Ci = λ, i = 1, 2, . . . , N. (4.7.5)
The problem we have in BEM is that the error per element is the sublocal
error given by (4.3.6). However, what we can actually measure is the local
error, which is a sum of all the sublocal errors and therefore it depends on
all the grid element sizes. So we need to have a measure of the local error on
an element that is dependent on the grid size of that particular element. The
sublocal errors are given by
. ∂2 q
dj (s) = C (rj )l3j log(||s − rj ||), (4.7.6)
∂τ2
where C = −1/48π in constant elements and 1/24π in linear elements. That is
the local error on an element will be
N
.
X ∂2 q
d(s) = C (rj )l3j log(||s − rj ||). (4.7.7)
∂τ2
j=1
Since the logarithm decays to zero away from s, the most important contribu-
tions will be those for which ||s − rj || → 0, in particular the contribution from the
element for which j = i. Thus the following approximation can be made:
1 ∂2 q 3
− 48π ∂τ2 (ri )li [log(li /2) − 1/3], in constant elements,
d(ri ) ≈ di (ri ) =
2
1 ∂ q (r̃i )l3 [ln[li ] − 5/6],
in linear elements.
i
24π ∂τ2
(4.7.8)
For the values of l that are considered here, [log(li /2) − 1/3] and [ln[li ] − 5/6] are
simply order one constants. Then
∂2 q
d(ri ) ≈ Ci (ri )l3i , (4.7.9)
∂τ2
where
C(log(li /2) − 1/3), in constant elements,
Ci = (4.7.10)
C(ln[li ] − 5/6), in linear elements.
The error in (4.7.9) also depends directly on the activity of the solution and so
will be large where the solution is more active and small otherwise. Therefore
we equidistribute this error as the local error per element. An interesting ob-
servation from (4.7.8) is that the ratio of the error terms for constant and linear
elements is a higher order term. That is
const (ln li − ln 2 − 1/2)
≈− (4.7.11)
linear 2(ln li − 5/6)
4.7 Equidistribution 67
Comparing with (4.3.6) and (4.3.47), the result in (4.7.9) seems to suggest that
it is enough to equidistribute the sublocal errors. That is, when the sublocal
error is equidistributed, then so is the local error but the reverse is not neces-
sarily true.
where β is some constant. That is, in the case of rapidly varying q(ξ),
X
dj (ri ) = d(ri ) = β for all i. (4.7.15)
j
Let us now describe strategies for error equidistribution and give some exam-
ples.
Consider the problem of Example 3.7.2. The domain and exact solution on the
circle of radius R = 1.2 are shown in Figure 4.14. Now, using (4.7.8), define
∂2 q
d(ri ) = Ci (ri )l3i (4.7.16)
∂τ2
where Ci is defined in (4.7.10). Then we have
1/3
∂2 q
i
D = Ci 2 (ri ) li . (4.7.17)
∂τ
1.5
1 0
0.5 −0.2
R=1.2
r −0.4
q(θ)
s
0
Ω −0.6
−0.5
−0.8
−1 −1
−1.5 0 2 4 6
−1 0 1 θ
φi li = λ, i = 1, 2, . . . , N, (4.7.19)
li /2 li /2
q1i q2i
q0i
estimated as
∂2 q 1
(ri ) ≈ (q1 − 2q0i + q2i ). (4.7.20)
∂τ2 (0.5li )2 i
N
!
1 X
lnew
j = φi li /φj . (4.7.24)
N
i=1
Figure 4.16b shows the solution on a uniform grid of 15 elements. We see that
the deviation from the exact solution is large in the active region than in the
rest of the boundary. Figure 4.17a shows the grid obtained by equidistributing
the error using 15 elements. As expected the grid is small in the active region
and coarse elsewhere. The solution on this grid is shown in Figure 4.17b.
Figure 4.18 shows the results of equidistribution using 45 elements. Likewise
we see that the grid is fine in the active region and coarses out as the activity
of q reduces.
1.5
1 0
0.5 −0.2
−0.4
q(θ)
0
−0.6
−0.5
−0.8
−1 −1
−1.5 0 2 4 6
−1 0 1 θ
1.5
1 0
0.5 −0.2
−0.4
q(θ)
0
−0.6
−0.5
−0.8
−1 −1
−1.5 0 2 4 6
−1 0 1 θ
1.5
1 0
0.5 −0.2
−0.4
q(θ)
0
−0.6
−0.5
−0.8
−1 −1
−1.5 0 2 4 6
−1 0 1 θ
Global errors
5.1 Introduction
In Chapter 4 an analysis of local errors was given. Also the behaviour of local
errors was discussed and the concept of sublocal errors introduced. However,
what is really needed in practice is the global error. In this chapter we asses
this in particular by investigating the relationship between the global error and
the local error for the Neumann and Dirichlet problems. We would like to show
that the global error behaves the same way as the local error. This is important
because it means that if we have information about one of the errors then
we can know what to expect of the other. For instance if the local error is
equidistributed, then we may hope the global error is as well.
In Section 2.5 it was noted that both the single layer operator Ks (r; r ′ ) and
the double layer operator Kd (r; r ′ ) for the model problem on a circle have the
same eigenfunctions, being sines and cosines. This provides us with a good
opportunity to study and compare solutions to integral equations of the single
and double layer operators. We can employ Fourier series for the unknown
functions and a spectral expansion of the operators to write general solutions
to the equations. This technique is used to show that, indeed, the global error
is of the same order as the local error, moreover it will be equidistributed when
the local error is equidistributed.
The type of operator in a BEM formulation will depend on whether the problem
has Dirichlet, Neumann or mixed boundary conditions. It is therefore rather
too general to say that we are looking at errors in BEM. To be more specific, the
different problems, that is, the Dirichlet, Neumann and mixed problems, are
looked at separately. In Section 5.2 we consider a Dirichlet problem and exam-
ine the global error for different cases of local error distribution. In Section 5.4
74 Global errors
It was seen in Section 2.5 that a Dirichlet problem leads to a Fredholm integral
equation of the first kind,
where h(r) is a given function and the operator Ks (r; r ′ ) is defined in (2.4.5). Let
us discretise (5.2.1) using a grid formally indicated by size L. Then we have the
approximation, say
where the residual dL (r) is the local discretisation error. Subtracting (5.2.2)
from (5.2.3) we get
where
eL (r ′ ) := q(r ′ ) − qL (r ′ ), (5.2.5)
is the global error. To obtain (5.2.3) we have in fact substituted the exact solu-
tion into the approximate integral equation. We can also consider the converse,
that is, substitute an approximate solution into the exact continuous integral
equation. Thus, suppose qL (r) is an approximation of q(r) on a grid of size L,
then we would have
where again d(r) is a local error . Likewise subtracting (5.2.1) from (5.2.6) gives
where
is a global error. Therefore given a local error d(r), the global error is the
solution of the integral equation (5.2.7) with the local error as the right hand
side.
where the inner product (·, ·) is defined in (2.5.4). We can then formally conve-
niently solve (5.2.7) by using an expansion of d in eigenfunctions. Note that the
eigenvalues of Ks have an accumulation point at zero. Using (5.2.9) in (5.2.7)
we have
X
λk (e, φk )φk (r) = d(r). (5.2.10)
k
From (5.2.12) we see that since the eigenvalues λk go to zero for increasing k,
the global error coefficients might grow unboundedly large depending on the
local error coefficients. We now have the following
α+1 !
(d, φk ) 1 P 1
Theorem 5.2.1 If d is such that ≤O , α > 0, then |(d, φk )|
λk k k λk
is a finite bound for ||e||∞ .
76 Global errors
Corollary 5.2.1 Under the assumptions of Theorem 5.2.1 both the constant and
the linear elements schemes are convergent.
A more detailed investigation of the global error requires assessing the Fourier
coefficients (d, φk ). As we fix our thought on a circular domain, we can use
trigonometric functions for a basis. Recall from Section 2.5.1 that the single
layer operator Ks for the Dirichlet problem has cosines and sines as eigen func-
tions. On a circle of radius R, R/2k is an eigenvalue for Ks with eigenfunctions
cos kθ and sin kθ where θ is the polar angle. Also, for a symmetric kernel K with
orthonormal eigenfunctions yk , the Fourier coefficients of an arbitrary function
h are given by hk = (h, yk ), see [41, p. 324]. Basically, for a function f of period
2π that is integrable over the period, the Fourier series of f is the trigonometric
series, see [39, p. 532],
∞
X
a0 + (an cos nχ + bn sin nχ), (5.3.1)
n=1
We note here that since we focus ourselves on a circular boundary, the natural
arc length coordinate χ is given by χ = Rθ. In what follows we use Fourier series
analysis to relate global error to local error.
Theorem 5.3.1 If the local error d is constant over ∂Ω, say d ≡ C over ∂Ω, then
e is also constant over ∂Ω, that is,
e(r) = C0 , (5.3.3)
Proof. This result follows directly from Theorem 5.2.1 noting that all Fourier
coefficients of d are zero except the one for the constant function.
∂2 q
Corollary 5.3.1 If we use constant elements and l2j )(χj ) is equidistributed,
∂χ2
∂2 q
that is, l2j )(χj ) = C0 a constant, then the global error has the same order as
∂χ2
the local error and is given by
. 1
||e0 ||∞ = C0 (2πR) log(1/R), (5.3.4)
48π
where R is the radius of the circle.
∂2 q
Proof. Recall from Lemma 4.3.2, l2j )(χj ) = C0 results in
∂χ2
1
d0 (s) = C0 (2πR) log(1/R), (5.3.5)
48π
where C0 is second order in grid size. This result is independent of s since the
contour integral in (4.3.40) gives the same result for all positions s. So using
Theorem 5.2.1, only the Fourier coefficient for the constant mode survives to
give the result.
∂2 q
Corollary 5.3.2 If we use linear elements and l2j )(χj ) is equidistributed, that
∂χ2
∂2 q
is, l2j )(χj ) = C1 a constant, then the global error has the same order as the
∂χ2
local error and is given by
. 1
||e1 ||∞ = C1 (2πR) log R, (5.3.6)
24π
where R is the radius of the circle.
78 Global errors
∂2 q
Proof. Again, from Lemma 4.3.5, l2j )(χj ) = C1 results in
∂χ2
1
d1 (s) = C1 (2πR) log(1/R), (5.3.7)
48π
where C1 is second order in grid size. The result is independent of s since the
contour integral in (4.3.40) gives the same result for all positions s. So using
the results of Theorem 5.2.1, only the Fourier coefficient for the constant mode
survives to give the result.
For a more general result we can proceed along two lines. First one may wonder
what is the effect of neglecting higher order terms in local error estimates. For
this we have
Theorem 5.3.2 Let q ∈ C2 (∂Ω) and define l := max li . Then ||e||∞ = O(l2 ).
i=1,...,N
∂2 q ∂2 q
min 2
(χj )l2j ≤ C2 ≤ max (χj )l2j .
∂χ ∂χ2
Let
Z Z
1 ∂r 1 1
M(χ) := − C1 dχ − C2 log(||s − r(χ)||) dχ, (5.3.9)
24π ∂χ r 48π
and
We can expand the δ formally in a Fourier expansion. Before doing that we note
that they can be approximated by a periodic higher order approximation poly-
nomial of degree less than or equal to N − 1, which means that the coefficients
for frequencies larger that N are zero. Hence
N−1
X
δ(χ) = (αj cos jχ + βj sin jχ) , (5.3.12)
j=0
5.4 Neumann problems 79
1
where |αj |, |βj | = O( ). We now find that
j
N−1
X
j j
e(χ) = M + αj cos jχ + βj sin jχ (5.3.13)
2π 2π
j=0
1
Since αj , βj are O(l3 ) and we sum over N terms N = O( ) and, finally, since
l
M = O(l2 ) we thus have proven the result.
In Table 5.1 we have the infinity norm of the global errors in the solution of
Example 3.7.1. We see that each time we increase the number of elements N by
three the error goes down by a factor of nine. The behaviour is the same for both
constant and linear elements as shown in Tables 5.1(a) and (b) respectively.
Thus the error is second order in grid size as is the local error.
Table 5.1: Global errors in the solution of Dirichlet Example 3.7.1 using con-
stant elements in (a), and linear elements in (b).
1
I + Kd
u = f. (5.4.1)
2
Since we restrict ourselves to a circular domain, we have a relatively simple
spectral decomposition. Indeed, from (2.5.16) we obtain for the operator K =
1
I + Kd that
2
1
λ0 = 0, λj = , j ≥ 1, (5.4.2)
2
80 Global errors
1
I + Kd
e = d. (5.4.3)
2
Theorem 5.4.1 The global error e(r) of the solution to a Neumann problem is
second order in grid size, that is, the same order as the local error d(r). That is
for some C ∈ R.
for all k. Thus we expect the global error to be of the same order as the local
error since its Fourier coefficients are only a scalar multiple of the local error
coefficients.
The behaviour is the same for Neumann problems as shown in Table 5.2 and
as expected the error order is the same as that for the local error.
Table 5.2: Global errors in the solution of Neumann Example 3.7.3 using con-
stant elements in (a) and linear elements in (b).
5.5 Mixed problem 81
The mixed problem requires some additional analysis. Suppose u(r) = g(r) on
a part ∂Ω1 of the boundary and q(r) = h(r) on a part ∂Ω2 , see Figure 5.1.
∂Ω1 ,
θ=α u = g(r) given
θ=0
∂Ω2 ,
q = h(r) given
1 d s
u + K∂Ω2 u − K∂Ω1 q = f (5.5.1)
2
where
d s
f := −K∂Ω1 g + K∂Ω2 h. (5.5.2)
So we have
d s 1
K∂Ω2 u − K∂Ω1 q = f − g, r ∈ ∂Ω1 , (5.5.3a)
2
1 d s
u + K∂Ω2 u − K∂Ω1 q = f, r ∈ ∂Ω2 . (5.5.3b)
2
Consider
Kd u − Ks q = f. (5.5.4)
Now let
X
u(θ) = (αk sin kθ + βk cos kθ) on ∂Ω2 , (5.5.5)
X
q(θ) = (γk sin kθ + δk cos kθ) on ∂Ω1 , (5.5.6)
82 Global errors
where as
X
f(θ) = (ξk sin kθ + ηk cos kθ) on ∂Ω1 , (5.5.7)
X
f(θ) = (πk sin kθ + ρk cos kθ) on ∂Ω2 . (5.5.8)
Let
d s
L(u, q) = K∂Ω2 u − K∂Ω1 q.
Then we have
X
L(1, 1) = ãj cos jθ + b̃j sin jθ . (5.5.9)
Similarly
and
Then on ∂Ω1
X
L(u, q) = ^ k sin kθ + αk c^k cos kθ
^ k + αk b
αk a
k
+ βk ak + βk bk sin kθ + βk ck cos kθ + β0 ãk cos kθ + β0 b̃k sin kθ . (5.5.12)
So
X
η0 = (αk a
^k + βk ak ) , (5.5.13a)
X
ηk = (αk c^k + βk ck ) + β0 ãk , (5.5.13b)
X
^ k + βk bk + β0 b̃k .
ξk = αk b (5.5.13c)
If β0 were known, we would find αk and βk from (5.5.13b) and (5.5.13c) since
η0 , ηk and ξk are known from the right hand side of (5.5.4) which is given. In
fact we have to solve a sparse system. If we truncate the series in (5.5.13) we
have a sparse system from which we can solve for β1 , β2 , . . . , βN and α1 , α2 , . . . , αN .
Now, for the mixed problem, the integrals in (2.5.11), (2.5.12) and (2.5.14) are
valid only on part of the circle. Thus, suppose ∂Ω1 is the arc θ ∈ [0, α] and ∂Ω2
is the arc θ ∈ [α, 2π], see Figure 5.1. Then we have, for the cos kθ eigenfunctions,
Zα Z
R R α
(Ks cos kθ)∂Ω1 = − log R cos(kθ ′ ) dθ ′ + cos(kθ) cos2 (kθ ′ ) dθ ′
2π 0 2πk 0
Z
R α
+ sin(kθ) sin(kθ ′ ) cos(kθ ′ ) dθ ′ . (5.5.14)
2πk 0
5.5 Mixed problem 83
which yields
R R cos kθ
(Ks sin kθ)∂Ω1 = − log R(1 − cos kα) + sin2 kα
2πk 2πk 2k
R α sin 2kα
+ sin(kθ) − . (5.5.17)
2πk 2 4k
For well conditioning of (5.5.13b) and (5.5.13c), we have to look at the system
R sin2 kα
R α sin 2kα
+
c^k ck 2kπ 2k 2kπ 2 4k
^k =
R α sin 2kα 2
=: A, (5.5.18)
b bk R sin kα
−
2kπ 2 4k 2kπ 2k
which is obtained by comparing (5.5.15) and (5.5.17) with (5.5.10) and (5.5.11).
So,
which is not zero unless α = 0. We are therefore able to obtain the coefficients
αk and βk . A similar process as above will show that we are able to compute
the coefficients γk and δk . So we deduce that u(θ) can be found as an infinite
Fourier series (5.5.5), and likewise q(θ) in (5.5.6). In computing the global error,
the unknowns u(θ) on ∂Ω2 and q(θ) on ∂Ω1 are instead the local errors in these
functions. So we have the following theorem
∂2 q
Theorem 5.5.1 If we use linear elements and l2j (χj ) is constant over ∂Ω1
∂χ2
∂2 u
and l2j (χj ) is constant over ∂Ω2 , then the expansion coefficients αk , βk of the
∂χ2
global error are second order in grid size, that is αk , βk = O(l2 ).
84 Global errors
Proof. The coefficients αk , βk are obtained from solving the system (5.5.13).
In (5.5.19) we have shown that the system is well conditioned. Since the right
hand side is from the local error, which in Corollary 4.5.2 we have shown that
it is second order, then the coefficients will also be second order.
Corollary 5.5.1 For a mixed problem, if we use linear elements and have equidis-
tribution, then the global error is O(l).
Proof. Since the global error is a sum over the expansion coefficients αk , βk
which are second order, we expect this error to be of first order.
“A good scientist is a person in whom the childhood quality of peren-
nial curiosity lingers on. Once he gets an answer, he has other ques-
tions. – Frederick Seitz.
86 Global errors
Chapter 6
6.1 Introduction
Often boundary value problems have small localised regions of high activity
where the solution varies very rapidly compared to the rest of the domain. This
behaviour is due to boundary conditions or due to an irregular boundary. One
therefore has to use relatively fine meshes to capture the high activity. Since
the activity is localised, one may also choose to solve on a uniform structured
grid. That is, instead of a uniform global grid, the solution is approximated
using several uniform grids with different grid sizes that cover different parts
of the domain. The size of each grid is chosen in agreement with the activity of
the solution in that part of the domain. This refinement strategy is called local
uniform grid refinement [19]. The solution is approximated on a composite grid
which is the union of the various uniform local grids. One way of approximating
this composite grid solution that is simple and less complex is by Local Defect
Correction (LDC).
In LDC, at least one grid, the global coarse grid, covers the entire domain.
Then a uniform local fine grid is used in a small part of the domain containing
the high activity. In [19, 23] LDC has been shown to be a useful way of ap-
proximating the composite grid solution in which a global coarse grid solution
is improved by a local fine grid solution through a process whereby the right
hand side of the global coarse grid problem is corrected by the defect of a lo-
cal fine grid approximation. This method has been well explored for numerical
methods such as finite differences and finite volumes, see [1, 19, 23, 51].
88 Local Defect Correction for BEM
Consider the Neumann problem of Example 3.7.4. Let the domain be a unit
square in two dimension, that is, Ω = [0, 1] × [0, 1] and the fixed point rs =
(0.5, −0.02). So we have the problem
2
∇ u(r) = 0, r ∈ Ω := [0, 1] × [0, 1],
(6.2.1)
q(r) = h(r), r ∈ Γ,
where
(r − rs ) · n(r)
h(r) = , rs = (0.5, −0.02). (6.2.2)
||r − rs ||2
The solution in Ω, shown in Figure 6.1, has a small area close to the boundary
where it changes rapidly. As a result, the solution u(r) in the boundary has a
region of high activity in a small part of the boundary, see Figure 6.1.
−0.2
−0.4
u
−0.6
−0.8
−1
0 0.2 0.4 0.6 0.8 1
(x,0)
(a) Solution in Ω with small region of (b) The solution u(r) in part of ∂Ω that
high activity. borders the high activity.
Therefore we can identify a small region inside Ω which contains the high activ-
ity. This region we call the local domain and denote it by Ωlocal , see Figure 6.2.
6.2 LDC formulation with an introductory example: A Neumann problem 89
Its boundary Γlocal , the local boundary, consists of two parts: a part Γactive that is
also part of the global boundary and a part Γinside that is contained in the global
domain Ω, Figure 6.2b. We will call the part Γactive the local active boundary. For
instance in the problem corresponding to the solutions shown in Figure 6.1, the
boundary Γactive , may be identified as Γactive = {(x, y) : y = 0, x ∈ [0.2, 0.8]}. The part
of the global boundary Γ that is outside the active region Γactive will be denoted
Γc , that is, Γc := Γ \Γactive .
Γc
Γinside
Ωlocal
Γactive
(a) Identify local activity area Ωlocal . (b) A local domain Ωlocal
The advantage of this approach is that instead of solving a large composite grid
system, two smaller systems; a global coarse grid system and a local fine grid
system, are solved independently. For problems with various local activities
the local problems can be solved separately in parallel giving a tremendously
90 Local Defect Correction for BEM
cheaper way of obtaining a composite grid solution other than solving directly
on the composite grid.
Γ L := {Γ1L , Γ2L , . . . , ΓN
L
} (6.2.3)
l
where |Γlocal,i | = l for all i. The size of the local fine grid l is chosen in agreement
9 8 7
10 6
11 5
12 4
1 2 3
to rL ∩ rlactive .
with the activity of the solution in Γactive . Since the solution varies much more
rapidly in Γactive than elsewhere, we expect l to be much smaller than L. Part of
l
the grid Γlocal belongs to Γactive and part belongs to Γinside . The part that belongs
l
to Γactive is denoted Γactive and that that belongs to Γ inside is denoted Γinside
l
. That
is
l l l l
Γactive := {Γactive,1 , Γactive,2 , . . . , Γactive,Nactive
}, (6.2.5a)
l l l l
Γinside := {Γinside,1 , Γinside,2 , . . . , Γinside,Ninside
}, (6.2.5b)
l l l
where Γactive ∪ Γinside = Γlocal and Nactive + Ninside = Nlocal . In constant elements
that we discuss here, the collocation nodes are the midpoints of the elements,
6.2 LDC formulation with an introductory example: A Neumann problem 91
where the solution is computed. Let us denote the nodes of the coarse grid as
rL ,
rL := {rL1 , rL2 , . . . , rLN }. (6.2.6)
Similarly we denote the nodes of the local fine grid as rllocal ,
rllocal := {rllocal,1 , rllocal,2 , . . . , rlocal,Nlocal }, (6.2.7)
and consist of rlactive and rlinside that are analogously defined.
We assume that all the grid nodes of rL ∩ rlactive belong to rlactive , see Figure 6.3.
The composite grid nodes rl,L are the union rL ∪ rlactive of the global coarse grid
nodes rL and the active local fine grid nodes rlactive . The composite grid Γ l,L
consists of the finest elements that correspond to rl,L .
Step (i)
N Z N Z
1 L X L ∂v X
u + uj (ri ; r(χ)) dχ = q(r(χ))v(ri ; r(χ)) dχ, (6.2.8)
2 i ΓjL ∂n L
j=1 j=1 Γj
Step (ii)
N Z
X N
X Z
∂v
uinside (ri ) := q(r(χ))v(ri ; r(χ)) dχ− uLj (ri ; r(χ)) dχ, ri ∈ Γinside .
ΓjL ΓjL ∂n
j=1 j=1
(6.2.12)
92 Local Defect Correction for BEM
Step (iii) Then a BIE for (6.2.10) on Γlocal is, for r, r(χ) ∈ Γlocal ,
Z Z
1 ∂v ∂v
u(r) + u(r(χ)) (r; r(χ)) dχ + g̃(r(χ)) (r; r(χ)) dχ =
2 Γactive ∂n Γ ∂n
Z Z inside
q(r(χ))v(r; r(χ)) dχ + q(r(χ))v(r; r(χ)) dχ. (6.2.13)
Γactive Γinside
Discretising (6.2.13) on a local fine grid defined in (6.2.4) and (6.2.5) we have
X Z X Z
1 l ∂v ∂v
ulocal,i + ulactive,j (ri ; r(χ)) dχ+ ulinside,j (ri ; r(χ)) dχ =
2 l
Γactive,j ∂n l
Γinside,j ∂n
j j
X Z X Z
qlactive,j v(ri ; r(χ)) dχ + qlinside,j v(r; r(χ)) dχ. (6.2.14)
l
Γactive,j l
Γinside,j
j j
l
In (6.2.14) we have two vectors on Γlocal : ullocal and qllocal , where
l l
uactive qactive
ullocal = , ql
= . (6.2.15)
ulinside local qlinside
The vector ulinside is known through (6.2.12) and the vector qlactive is known
because q(r(χ)) is given on Γactive . So if we repeat (6.2.14) for all the local nodes
we obtain an algebraic system of Nlocal equations. We rearrange the system in
matrix by putting the known quantities on one side to obtain the local problem
system
Allocal xl0local = bl0local (6.2.16)
where
ul0active
xl0local = .
ql0inside
The formation of the system (6.2.16) will further be detailed in Section 6.5.
The solution ul0active is expected to be more accurate than the coarse grid so-
lution uL0 in Γactive . The next step of LDC is to use the local fine grid solution
to update the global coarse grid problem. In updating, the right hand side of
the global coarse grid problem is corrected by the defect of the local fine grid
approximation, we will call this step the defect correction step. The two approx-
imations are then used to define a composite grid approximation of u(r).
The question now is: how do we compute the defect? Consider the coarse grid
discretisation (6.2.8). If we knew the exact continuous function u(r) and hence
the exact solution uj := u(rj ) in the nodes we would use it in (6.2.8) to obtain
X N Z X N Z
1 ∂v
ui + uj (ri ; r(χ)) dχ = q(r(χ))v(ri ; r(χ)) dχ + dLi . (6.2.17)
2 ΓjL ∂n L
j=1 j=1 Γj
6.2 LDC formulation with an introductory example: A Neumann problem 93
where di is the local defect for the i-th equation introduced in (4.2.9). We also
have the exact BIE as
N Z
X N Z
X
1 ∂v
ui + u(r(χ)) (ri ; r(χ)) dχ = q(r(χ))v(ri ; r(χ)) dχ. (6.2.18)
2 ∂Ωj ∂n ∂Ωj
j=1 j=1
Therefore if we would know the exact continuous function u(r) we could com-
pute the local defect dLi , add it to the right hand side of (6.2.8) and solve for the
exact solution uj on each element. However u(r) is not known and therefore
we cannot compute the defect using (6.2.20). All we can do is estimate dLij as
accurately as possible using the best solution available, which is
Step (iv)
L
uj , ΓjL ⊂ Γc ,
uLbest,j = (6.2.22)
ulactive,j , ΓjL ⊂ Γactive .
So for elements in the high activity region we have the fine grid solution which
we can use to estimate the local defect as follows.
Let us consider the case of a square where ΓjL ≡ ∂Ωj . Suppose that in the local
l
fine grid Γactive a global coarse grid element ΓjL is divided into k fine elements
Γactive,jk such that ΓjL = ∪ Γactive,j
l l
k
, see an illustration in Figure 6.4 for k = 3.
k
Z X Z
∂v ∂v
u(r(χ)) (ri ; r(χ)) dχ ≈ ulactive,jk (ri ; r(χ)) dχ. (6.2.23b)
ΓjL ∂n ∂n
k Γactive,jk
94 Local Defect Correction for BEM
l l
ΓjL Γactive,j1
l
Γactive,j Γactive,j3
2
Figure 6.4: A coarse element that is refined into three elements in the local fine
3
grid ΓjL = ∪ Γactive,j
l
k
.
k=1
Step (v) Therefore we have the following best approximation of the defect per ele-
ment
Z X Z
L l ∂v l ∂v
dij ≈ uactive,j (ri ; r(χ)) dχ− uactive,jk (ri ; r(χ)) dχ, (6.2.24)
Γj ∂n ∂n
k Γactive,jk
dLij ≈ 0
for ΓjL ⊂ Γc . We can then compute the defect
X
dLi ≈ dLij , ΓjL ⊂ Γactive , for all i = 1, 2, . . . , N. (6.2.25)
j
By default integration in the BIE is global. Each node of the global coarse
grid communicates with the active region through integration. So although the
activity is local, its effect is global. The defect dLi is therefore computed for all
nodes of the global coarse grid.
Step (vi) The next step now is the updating step. The global coarse grid discreti-
sation is updated with the defect of the local fine grid solution. So we
have
AL uL1 = bL + dL . (6.2.26)
Solving (6.2.26) gives the updated coarse grid solution uL1 .
l
At this stage we use the fine grid solution on Γactive and the global coarse grid
l,L
solution to form a composite grid solution u as
l
u0active (r), r ∈ Γactive ,
ul,L
0,1 (r) = (6.2.27)
L
u1 (r), r ∈ Γc .
The composite grid solution (6.2.27) can now be used to compute better bound-
ary conditions on Γinside and then form and solve the updated fine grid problem
Allocal xl1local = bl1local . (6.2.28)
6.3 LDC formulation: A Dirichlet problem 95
Step (vii) Thus we obtain the updated composite grid solution given by
l
u1active (r), r ∈ Γactive ,
ul,L
1,1 (r) = (6.2.29)
L
u1 (r), r ∈ Γc .
In Figures 6.5 and 6.6 we have the results at each of the above stages of lo-
cal defect correction for the problem (6.2.1) with boundary conditions (6.2.2).
Figure 6.7 shows how fast the global error converges. Basically the algorithm
has converged already in the first iteration since the error reduction between
successive iterations after the first one is small compared to that in the first
iteration.
−0.2 −0.2
−0.4 −0.4
u
−0.6 −0.6
−0.8 −0.8
−1 −1
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
(x,0) (x,0)
(a) Initial coarse grid solution (b) Initial fine grid solution
The process of LDC formulation for a Dirichlet problem is completely the same
as that for a Neumann problem. The only differences will be in the operators
involved. The global operator will be a single layer operator. In the case of a
Neumann problem, the local problem is a mixed problem with q given on Γactive
and u on Γinside prescribed through the use of the global solution. For a Dirichlet
96 Local Defect Correction for BEM
−0.2 −0.2
−0.4 −0.4
u
u
−0.6 −0.6
−0.8 −0.8
−1 −1
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
(x,0) (x,0)
(a) Updated coarse grid solution (b) Updated fine grid solution
l=0.2/9
||u∗ − uL ||∞
−1
10
0 5 10
iterations
problem, the local problem will be a completely Dirichlet with u given on Γactive
and u on Γinside prescribed through the use of the global solution.
Algorithm 6.1
LDC iteration summary
Suppose we have p locally active small regions and thus p local problems. Let,
for each local problem, Ml be the number of elements Γlocal and Min the number
of elements on Γinside . Then the size of the local problem is M = Ml + Min . Let
Min be so small that M ≈ Ml . Let N be the size of the global problem and
NLlocal the number of global elements in Γlocal . We assume Γlocal is such a small
part of the global boundary that N − NLlocal ≈ N. Then the equivalent size of the
composite grid would be pM + N. The operational count for LU-decomposition
is N3 /3 for a size N matrix. So the complexity of the equivalent composite grid
problem would be
1 (p + 1)3 3
(pM + N)3 ≈ N if M ≈ N. (6.4.1)
3 3
The BEM-LDC algorithm converges in one step which involves solving two
coarse grid problems and p local problems and so has total complexity
1 p N3
2 · N3 + M 3 ≈ (2 + p). (6.4.2)
3 3 3
So when we compare (6.4.1) with (6.4.2) we see that the composite problem is
(p + 1)3 /(2 + p) times more expensive than BEM-LDC. Suppose instead we were
to refine globally to a grid of size equal to that of the local problems. Then if
the refinement ratio is say α, that is, L/l = α, the resulting problem would be
1
of complexity α3 N3 . So the resulting problem would be α3 /(p + 2) times more
3
complex than using LDC. For instance in the modes case of α = 2, this factor
is more than one for up to p = 5 local problems. Thus BEM-LDC is cheaper
98 Local Defect Correction for BEM
Algorithm 6.2
LDC algorithm for BEM
Initialisation
AL xL0 = bL on Γ L .
(2) Compute the potential u(r) on Γinside using xL0 and the boundary
integral relation for a point inside Ω.
(3) Solve a local fine grid problem
Iterations i=1,2,...
AL xLi = bL + dLi−1 on Γ L
In the sequel we will formulate the above algorithm as a fixed point iteration
for a Neumann problem.
100 Local Defect Correction for BEM
AL xL0 = bL , (6.5.2)
for an initial solution xL0 and this involves “inversion” of the coefficient matrix
AL . The coefficient matrix for a Neumann problem is singular. In order to obtain
a unique solution we prescribe u(r) at a point at the boundary as explained in
Section 2.5.2. In particular, we prescribe Dirichlet boundary conditions in the
last node of the grid. So we use xL0 to denote the solution vector in (6.5.2) which
is a vector of u’s except the last entry which is a q. Using uL0 , the boundary
conditions and the boundary integral relation (2.4.1), we compute the potential
u(r) on Γinside . That is,
Z X Z
∂v
uinside (ri ) = v(ri ; r(χ))q(r(χ))dχ − uL0 j (ri ; r(χ))dχ, ri ∈ rlinside . (6.5.3)
∂n
Γ j Γj
L
Let us introduce a vector g and a matrix H̃ such that
Z
gi := q(r(χ))v(ri ; r(χ)) dχ, ri ∈ Γinside , (6.5.4)
Γ
Z
∂v
H̃Lij := (ri ; r(χ)) dχ, ri ∈ Γinside . (6.5.5)
ΓjL ∂n
The matrix Hlactive is a block of Hl for which the column index corresponds to
l
nodes in Γactive . Similarly Hlinside is a block of Hl for which the column index
l
corresponds to nodes in Γinside . The blocks Glactive and Glinside are defined analo-
gously. The quantities on the right hand side of (6.5.8) are all known. Let
Bllocal := [Glactive − Hlinside ], (6.5.9)
qactive
bl0local := Bllocal , (6.5.11)
ul0 inside
ul0active
xl0local := . (6.5.12)
ql0inside
Then we have
Allocal xl0local = bl0local . (6.5.13)
The solution of (6.5.13) gives us another solution ul0active in Γactive which should
be a better approximation of u(r) than uL0 in Γactive because of the fine grid used.
Next we use this solution to compute the defect and update the global coarse
grid solution. Using (6.2.24), the defect on an element ΓjL when the collocation
node is i is given by
X Z Z
∂v ∂v
d0 ij ≈ ul0active,jk (ri ; r(χ)) dχ − ul0active,j (ri ; r(χ)) dχ, (6.5.14)
∂n ΓjL ∂n
k l
Γactive,j
k
l
where ∪ Γactive,jk
= ΓjL , see Figure 6.4. The integration in (6.5.14) is computed
k
at all the global elements that lie in Γactive so that the total defect for the i-th
collocation node is
X
d0 i = d0 ij . (6.5.15)
j,ΓjL ⊂Γactive
Since each collocation node communicates with the local active region through
integration, the defect d0i is computed for all the collocation nodes.
^ L PL,l )ul0active .
AL xL1 = bL − (H̄ − H (6.5.17)
At this stage we can assemble a composite grid solution on Γ l,L that consists of
the initial fine grid solution and the updated coarse grid solution. So
l
u0 active
ul,L := , (6.5.18)
0,1 uL1 c
where uL1 c is the updated coarse grid solution on Γc outside the active region
Γactive . To complete the updated composite grid solution, we need to solve a new
local problem. To this end we use the solution in (6.5.18) to compute another
approximation of u(r) on Γinside . Thus we have
l,L l,L
u1inside = g − H̃ u0,1 , (6.5.19)
l,L
where the matrix H̃ is as defined in (6.5.6) but on the composite grid, that is,
R ∂v
L (ri ; r(χ)) dχ, r(χ) ∈ Γc ,
Γc,j ∂n
l,L
H̃ij = (6.5.20)
R ∂v
Γactive,j ∂n (ri ; r(χ)) dχ, r(χ) ∈ Γactive ,
l
where
qlactive
bl1 = Bllocal . (6.5.21b)
u1 inside
This completes the first iteration that gives us the first updated composite grid
solution. The process can be repeated till there is no more change in the solu-
tion. In what follows we formulate the above process as a fixed point iterative
process.
Let Ilactive be an identity of size Nactive . Then the part of the local solution in
Γactive is given by, for the i-th iteration,
Consider the updated composite grid solution (6.5.22) for iteration i + 1. Us-
ing (6.5.21) and (6.5.23), we have
l
l l−1 l qactive
ui+1 active [Iactive O]A B
local local uli+1 inside
ul,L
i+1,i+1 =
= . (6.5.24)
L
ui+1 c L
[O Ic ] ui+1
uLi+1 c = [O Ic ] uLi+1 .
This is the global coarse grid solution outside the active region. For a Neumann
problem we prescribe Dirichlet boundary conditions in the last node in order
to obtain a unique solution. Thus the last value of the solution vector will be a
q value. So in general let us write
−1
= xL0 c − [O Ic ]AL ^ L PL,l uliactive ,
H̄ − H (6.5.26)
where
−1 L
xL0 = AL b .
Note that the matrix M is rectangular in size. Let us break it into two blocks: a
l
square block Mactive that operates on Γactive and a block Minside that operates on
l
Γinside . Then we can write (6.5.27) as
qlactive
uli+1 active = [Mactive Minside ] = Mactive qlactive +Minside uli+1 inside . (6.5.28)
uli+1 inside
l,L
Let us also break down the operator H̃ in (6.5.29) into a part that operates
l
on Γactive and another that operates on ΓcL , so that we can write (6.5.29) as
l,L l,L
ui+1 inside = g − H̃active uliactive − H̃c uLi+1 c . (6.5.30)
l,L l,L
= Mactive qlactive + Minside g − Minside H̃active uliactive − Minside H̃c uLi+1 c .
(6.5.31)
l,L
T := −Minside H̃c ,
where bc is the vector of boundary conditions outside the active region. Because
the last entry of xLi+1 c is a q-value and that of bc is a u-value, the matrices D1
and D2 are the projections
I 0 O 0
D1 := , D 2 := . (6.5.34)
0T 0 0T 1
So we have
−1
uLi+1 c = D1 (xL0 c − [O Ic ]AL ^ L PL,l uliactive ) + D2 bc .
H̄ − H (6.5.35)
Table 6.1: Spectral radius of the iteration matrix Q for a Neumann problem for
different combinations of fine and coarse grid sizes l and L respectively. The
local problem domain is the rectangle [0.2, 0.8] × [0, 0.4] and Ω = [0, 1] × [0, 1].
Recall again the problem of Example 3.7.4 on page 31 with Ω = [0, 1] × [0, 1]
and rs = (0.5, −0.02) as summarised in (6.2.1). We identify Ωlocal as Ωlocal :=
[0.2, 0.8] × [0, 0.4], see Figure 6.8. LDC is then used with various sizes of coarse
grid size L and fine grid size l. We also expect the ratios ||uli+1 − uli ||/||(uli − uli−1 )||
to be a measure of the convergence speed. In Table 6.3 we have computed
these ratios for five iterations and different combinations of grid sizes. The
results in Tables 6.1, 6.2 and 6.3 all indicate that the spectral radius of the
LDC algorithm iteration matrix is smaller than one and therefore we expect the
algorithm to converge.
106 Local Defect Correction for BEM
l
L 0.2 0.2/3 0.2/9 0.2/27 0.2/81
0.2 1.756E-01 2.165E-01 2.338E-01 2.426E-01 2.476E-01
0.2/3 2.086E-01 2.255E-01 2.349E-01 2.405E-01
0.2/9 2.219E-01 2.306E-01 2.361E-01
0.2/81 2.341E-01
Table 6.2: Spectral radius of the iteration matrix Q for a Neumann problem for
different combinations of grid sizes L and l. The local problem domain is the
rectangle [0.4, 0.6] × [0, 0.2] and Ω = [0, 1] × [0, 1].
1
0
−0.2
−0.4
u
−0.6 0.4
−0.8
Ωlocal
−1
0 0.2 0.4 0.6 0.8 1
(x,0) 0 0.2 0.8 1
(a) The solution u(r) in part of ∂Ω (b) Domain demarcations for LDC
L l i ρi L l i ρi
0.2 0.2/3 1 0.1574 0.2 0.2/9 1 0.2024
2 0.1848 2 0.2228
3 0.1883 3 0.2295
4 0.1886 4 0.2312
5 0.1886 5 0.2316
L l i ρi L l i ρi
0.2 0.2/27 1 0.2177 0.2 0.2/81 1 0.2226
2 0.2334 2 0.2372
3 0.2393 3 0.2428
4 0.2416 4 0.2452
5 0.2425 5 0.2463
Table 6.3: The ratios ρi = ||uli+1 − uli ||2 /||(uli − uli−1 )||2 when we use LDC to solve
the problem in (6.2.1).
6.6 Continuous formulation of the LDC steps 107
Basically we would like to study the error convergence during the iteration pro-
cess. So we develop a continuous formulation of the LDC algorithm in terms
of the error. For this purpose we need the equations which the initial and con-
verged solutions satisfy. The Algorithm 6.2 can be summarised in the following
six steps:
X N Z
1 L ∂v
u0 i + uL0 j (ri ; r(χ)) dχ = bLi . (6.6.1)
2 ΓjL ∂n
j=1
l l l
Step (ii) After discretisation of Γlocal into Γlocal = Γinside ∪ Γactive , see (6.2.4), (6.2.5) and
l
Figure (6.3), compute u(r) on Γinside using the integral relation
Z N
X Z
∂v
ul0inside,i = v(ri ; r(χ))q(r(χ)) dχ − uL0 j (ri ; r(χ)) dχ, ri ∈ rlinside .
Γ ΓjL ∂n
j=1
(6.6.2)
Step (iii) Now we have Dirichlet boundary conditions on Γinside . On Γactive q(r) is
known. Next is to solve the local problem:
X Z
1 l l ∂v
u + u0active,j (ri ; r(χ)) dχ+
2 0local,i l
Γactive,j ∂n
j
X Z
l ∂v
u0inside,j (ri ; r(χ)) dχ =
l
Γinside,j ∂n
j
Z X Z
v(ri ; r(χ))qactive (r(χ)) dχ + ql0inside,j v(ri ; r(χ)) dχ.
Γactive l
Γinside,j
j
(6.6.3)
Here qactive (r) is known from the boundary conditions of the global prob-
lem since Γactive ⊂ Γ . Also ulinside is known through (6.6.2). Solving (6.6.3)
gives ql0inside and ul0active .
108 Local Defect Correction for BEM
Step (iv) We need to compute the defect. First we need the best solution available,
which is:
L
u0 c,j , ΓjL ⊂ Γc ,
uL0 best,j = (6.6.4)
l
u0active,j , ΓjL ⊂ Γactive .
Step (v) Using the fine grid solution, we estimate the defect per element dL0 ij in
(6.2.24) as
R ∂v
ul0active,j Γ L (ri ; r(χ)) dχ−
j ∂n
R
P l ∂v
. u0 active,jk (ri ; r(χ)) dχ, ΓjL ⊂ Γactive ,
dL0 ij = k l ∂n
Γactive,j
k
0 Γj ⊂ Γc .
(6.6.5a)
(6.6.5b)
l
for all ri . Here ∪ Γactive,jk
= ΓjL for ΓjL ⊂ Γactive , see Figure 6.4.
k
Step (vi) Defect correction: add the defect to the right hand side of the coarse grid
equation and solve for the updated global coarse grid solution uL1 . That is
X N Z
1 L ∂v
u1,i + uL1,j (ri ; r(χ)) dχ = bLi + dL0 i . (6.6.6)
2 ΓjL ∂n
j=1
Step (vii) Assemble the composite grid solution and go back to step (ii), replace uL0
with uL1 and continue.
We assume that the algorithm (i) to (vi) converges. Let the unknowns in steps (ii)
to (vi) converge to their respective fixed points denoted by an asterisk, namely
u∗ L , u∗ linside , u∗ lactive and q∗ linside . The fixed point should satisfy the equations
in (6.6.2) to (6.6.6). So we have:
6.6 Continuous formulation of the LDC steps 109
Step (iii) The local problem equations for ulactive and qlinside :
X l Z
1 ∗l ∂v
u local,i + u∗ active,j (ri ; r(χ)) dχ
2 Γactive,j ∂n
j
X l Z
∂v
+ u∗ inside,j (ri ; r(χ)) dχ =
Γinside,j ∂n
j
Z X l Z
v(ri ; r(χ))qactive (r(χ)) dχ + q∗ inside,j v(ri ; r(χ)) dχ.
Γactive j Γinside,j
(6.6.8)
Then subtracting equations (6.6.2) to (6.6.6) from (6.6.7) to (6.6.11) yields the
following equations for the errors:
N
X Z
∂v
δulinside,i = − δuLj (ri ; r(χ)) dχ, ri ∈ rlinside . (6.6.13)
ΓjL ∂n
j=1
δuLc,j , ΓjL ⊂ Γc ,
δuLbest,j = (6.6.15)
δulactive,j , ΓjL ⊂ Γactive .
N Z
1 L X L ∂v
δu + δuj (ri ; r(χ)) dχ = δdLi . (6.6.17)
2 i ΓjL ∂n
j=1
6.6 Continuous formulation of the LDC steps 111
Like we did in investigating global errors in Chapter 5, we can also model the
above error equations in continuous form. Then we can use the available prop-
erties of the operators to derive some convergence properties for the LDC algo-
rithm.
Let u0 (r) be a BEM solution of (6.6.18) on Γ with error δu0 (r). That is
Z Z
1 ∂v
u0 (r) + u0 (r(χ)) (r; r(χ)) dΓ = q(r(χ))v(r; r(χ)) dΓ + f0 (r).
2 Γ ∂n Γ
we can write
Z Z
1 ∂v
(u0 (r) + δu0 (r)) + (u0 (r(χ)) + δu0 (r(χ))) (r; r(χ)) dχ = q(r(χ))v(r; r(χ)) dχ.
2 Γ ∂n Γ
(6.6.20)
Proof. Let u0 (r) be the global solution on Γ . Let uinside (r) be u on Γ in computed
using the solution u0 (r). Then
Z Z
∂v
uinside (r) = q(r(χ))v(r; r(χ)) dχ − u0 (r(χ)) (r; r(χ)) dχ, r ∈ Γ in , r(χ) ∈ Γ.
Γ Γ ∂n
(6.6.22)
If δuinside (r) is the error in uinside (r) and δu0 (r) is the error in u0 (r), then
Z Z
∂v
uinside (r)+δuinside (r) = q(r)v(r; r(χ)) dχ− (u0 (r(χ))+δu0 (r(χ))) (r; r(χ)) dχ.
Γ Γ ∂n
(6.6.23)
Z
∂v
≤ ||δu0 (r(χ))||∞ || (r; r(χ))||∞ dχ,
Γ ∂n
Now, let ulocal and qlocal be functions on Γlocal . Let u0 local and qlocal be the initial
BEM solutions on Γlocal . The functions u0local and qlocal can also be divided into
u0 active and u0 inside and q0 active and q0 inside respectively. Then we have
Z Z
1 ∂v ∂v
u0 local (r)+ u0 active (r(χ)) (r; r(χ)) dχ+ u0 inside (r(χ)) (r; r(χ)) dχ =
2 ∂n ∂n
Γactive Γinside
Z Z
q active (r(χ))v(r; r(χ)) dχ + q0 inside (r(χ))v(r; r(χ)) dχ; r, r(χ) ∈ Γlocal .
Γactive Γinside
(6.6.26)
Again using δf to denote a perturbation of a function f, we have
1 Z
u0 active (r(χ)) + δu0 active (r(χ)) ∂v (r; r(χ)) dχ+
u0 local (r) + δu0 local (r)+
2 ∂n
Γactive
Z Z
u0 inside (r(χ)) + δu0 inside (r(χ)) ∂v (r; r(χ)) dχ =
q active (r(χ))v(r; r(χ)) dχ+
∂n
Γinside Γactive
Z
q0 inside (r(χ)) + δq0 inside (r(χ)) v(r; r(χ)) dχ; r, r(χ) ∈ Γlocal . (6.6.27)
Γinside
Theorem 6.6.2 The fine grid solution error δu0 active (r) on Γactive is bounded by
the error committed on Γinside , that is,
||δu0 active (r(χ))||∞ (Γactive ) ≤ ||δu0 inside (r(χ))||∞ (Γinside ) . (6.6.29)
6.6 Continuous formulation of the LDC steps 113
Proof. Equation (6.6.28) is a BIE for an error function δu0 local (r) on Γlocal , the
boundary of Ωlocal , with homogeneous Neumann boundary conditions on Γactive .
According to the weak maximum principle, the maximum of δu0 local (r) occurs
at the boundary. That is, there is an r0 ∈ Γlocal such that
δu0 local (r) ≤ δu0 local (r0 ) = max δu0 local (r). (6.6.30)
Ωlocal
∂
then δu0 local (r0 ) > 0. This is a contradiction since we have homogeneous
∂n
Neumann boundary conditions on Γactive . If δu0local (r) is a negative function
then starting with the weak minimum principle would give a similar result. So
we have
||δu0 active (r)||∞ ≤ max |δu0 local (r)| = |δu0 local (r0 )| = ||δu0 inside (r)||∞ . (6.6.31)
Ωlocal
However we note that Hopf’s lemma does not rule out the corner points.
The next step in the LDC algorithm is to compute the defect. The defect d(r) is
the integral of the double layer with a perturbation in the exact u, that is
Z
∂v
d0 (r) = δu0 (r(χ)) (r; r(χ)) dχ, r, r(χ) ∈ Γ. (6.6.32)
Γ ∂n
In our simulations δu0 (r(χ)) is the difference between the local problem and
global problem solutions. Once we have the defect then we apply defect cor-
rection to the initial BIE and solve for the updated solution. Let u1 denote the
updated solution on Γ , then
Z
1 ∂v
u1 (r) + u1 (r(χ)) (r; r(χ)) dχ + d0 (r) =
2 Γ ∂n
Z
q(r(χ))v(r; r(χ)) dΓ + f1 (r); r, r(χ) ∈ r(χ). (6.6.33)
Γ
That is,
1 ∂v
I+
δu1 (r) = −d0 (r), r ∈ Γ.
(r; r(χ)) (6.6.36)
2 ∂n
Theorem 6.6.3 (The combined process) The combined LDC process will con-
verge since the error of the updated solution is bounded by the error of old solu-
tion provided the shifted double layer operator inverse is bounded by a constant
not more than 2 in absolute size.
Proof. Let the error in the initial global coarse grid solution be δu0 (r), that is,
So we have,
−1 Z
1 ∂v
I + Kd
δu1 (r) = − u0 active (r(χ)) (r; r(χ)) dχ. (6.6.41)
2 Γactive ∂n
Then
C
||δu1 (r)||∞ ≤ ||δu0active (r(χ))||∞ . (6.6.45)
2
Then we use (6.6.31) and (6.6.25) to obtain
C
||δu1 (r)||∞ ≤ ||δu0 (r)||∞ . (6.6.46)
2
“Education is what remains after one has forgotten everything one
learned in school.” – Albert Einstein
Chapter 7
7.1 Introduction
Usually steel structures are protected from corrosion by painting. But not all
parts can be painted, like for instance propellers of a ship. Also, due to damage,
some parts lose their paint hence creating more exposed parts of the steel. Ca-
thodic protection effectively protects underground or submerged metallic struc-
tures through the use of a negative potential applied by an external source to
the structure. The method is typically applied to iron or steel structures such
as underground pipelines, storage tanks, submarine structures, ocean pilings,
and electrical transmission towers. Cathodic protection is a proven technology
for controlling corrosion on the bottoms of above ground storage tanks [40].
There are two types of cathodic protection systems used against corrosion: a
galvanic or sacrificial anode cathodic protection system and an impressed current
cathodic protection system (ICCP) . The galvanic anode system is based upon the
natural potential difference which exists between the structure being protected
and the auxiliary electrode (anode) which is installed in the electrolyte. The
current that prevents corrosion is then due to the potential difference between
the structure and the anode. Materials commonly used for galvanic anode
systems are magnesium, zinc and aluminum.
The ICCP system uses anodes in conjunction with an external direct current
(DC) power source. The structure to be protected is connected to the nega-
118 The potential problem for the impressed current cathodic protection system
tive terminal of a direct current power source and electrical current is forced
to flow from the positive terminal to the anodes through the electrolyte to the
structure. This type of cathodic protection system uses long life anode ma-
terials such as high silicon chromium, cast iron, graphite, and mixed metal
oxide coated titanium. In water storage tanks, cathodic protection systems are
usually designed to protect the interior wetted surfaces of the tank [47, p. 40].
However, in some cases, the exterior of a tank bottom or shell is in contact with
corrosive soils and in that case cathodic protection can also be used [40].
Fe(s) → Fe2+ −
(aq) + 2e , (7.1.1)
where Fe represents a ferrous atom, Fe2+ a ferrous II ion, e an electron and the
subscripts s and aq imply the solid state and the aqueous state respectively.
The electrons so produced pass on to the cathode where they are used up in a
reduction reaction
2H+ −
(aq) + 2e → H2(g) (7.1.2)
in neutral solutions, see Figure 7.1. Metal II is a metal that is more electropos-
itive than steel.
In equations (7.1.2) and (7.1.3), H+ represents a hydrogen ion, O2 oxygen gas,
H2 O a water molecule and OH− a hydroxyl ion. The subscripts l and g imply
the liquid state and the gaseous state respectively. Therefore corrosion basi-
cally occurs at the anode. Cathodic protection involves attaching an anode to
the surface to be protected and supplying a direct current through it such that
7.1 Introduction 119
electrolyte
current flow
2Fe → 2Fe2+ + 4e− O2 + 2H2 O + 4e− → 4OH−
(corrosion)
electron flow
Anode Cathode
(Steel) (Metal II)
all the other parts of the surface become cathodic and therefore do not corrode,
see Figure 7.2.
Anodes
Rectifier
TANK
Figure 7.2: Examples of ICCP systems for ship’s hull and exterior
of a water storage tank.
120 The potential problem for the impressed current cathodic protection system
7.2 Modelling
We will now describe a two dimensional model for ICCP. The ICCP problem
for the cathodic protection of a ship in water is an exterior problem, see [31].
For continuity of the analysis in this thesis we will solve a model for the ICCP
protection of water storage tanks, which is an interior problem. One typical
situation of a tank under cathodic protection is shown in Figure 7.2b. This
problem can be modelled in two dimensions as shown in Figure 7.3. The do-
main consists of soil of electric conductivity σ. Further, the potential satisfies
boundary conditions at the anode surface, cathode surface and insulating sur-
face. The insulating surface is the perfectly (not damaged) painted tank surface
and the anodes interconnectivity. The boundary conditions are derived by tak-
ing into account the electric field E and the electric current density J in the
domain, which are related by
where σ represents the soil conductivity and u is the potential. For the insulat-
ing surface we have
Since no current flows through the insulating surface, this results in the con-
dition
∂u
(r) = n · ∇u(r) = 0, (7.2.3)
∂n
at the insulating surface. At the cathode surface, the relation between current
density and potential difference is given by a polarisation curve
∂u
J · n = −σ = fcathode (u), (7.2.4)
∂n
with the general shape of fcathode (u) determined by the oxidation and reduction
currents of Iron and Oxygen, [31, p. 13]. At the anode surface, perfect contact
with the domain medium is assumed. Therefore either one of the following
relations may be assumed at the anode surface:
surface area , see [74]. The third condition is a more general polarisation curve
for anodic surfaces used by [18, 49, 52, 58]. Boundary conditions involving
polarisation curves are non-linear. That is, the relation between the potential
and the current density is non-linear, but it can be linearised [49, 53]. For
our model, we shall use (7.2.5a). Similarly, we also assume at the cathode
fcathode (u) = ucathode . The current J flows from the anode to the cathode as
depicted in the illustration Figure 7.3. The domain is the soil area between
Γ 2 , Cathode
J = σE
Γ 3 , Insulating surface
Soil, σ
∇2 u = 0
Γ 1 , Anode
the tank surface and the anodes interconnectivity. Apart from the anodes and
the damaged parts, the rest of the painted surface is assumed to be a perfect
insulator. Also, for simplicity we assume one anode and cathode. However, the
solution process is still the same for more active regions. At the electrodes we
consider the potential to be a prescribed value.
Thus, let Ω be the region between the tank surface and the anodes intercon-
nectivity, Γ 1 the anode surface, Γ 2 the cathode surface and Γ 3 the insulating
surface. Let u(r) be the potential at a point r ∈ Ω ⊂ R2 , then we have the
following problem:
2
∇ u(r) = 0,
r ∈ Ω,
u(r) = uanode ,
r ∈ Γ 1,
2
(7.2.6)
u(r) = ucathode , r ∈ Γ ,
∂u (r) = 0,
r ∈ Γ 3.
∂n
122 The potential problem for the impressed current cathodic protection system
where n(r) is the unit normal vector at r pointing into Ωc , see Figure 7.4.
Γ2
dχ
Γ3 Ω r
n at r ∈ ∂Ω
Γ1
Ωc
In this section we give an LDC formulation and solution for the ICCP potential
problem model presented in Section 7.2. In practice the number of active re-
gions p can be one, two, or even more, that is, several anodes and cathodes.
Here we consider two active regions, that is p = 2, one anode and one cathode.
The procedure for even more anodes and cathodes is the same and the gain in
complexity for a given p is discussed on page 97. After solving a global coarse
grid problem on the global boundary Γ , we formulate a local problem at each of
1 2
the electrodes Γactive and Γactive , see Figure 7.5.
7.3 BEM-LDC for the ICCP problem 123
2
Γactive
n
Ω2local 2
Γinside
Ω1local Γinside
1
1
Γactive
and
1
uanode , r ∈ Γactive ,
uelectrode (r) = (7.3.3)
2
ucathode r ∈ Γactive .
The LDC process is what has been described in Section 6.2. Here we only add
in the twist of having more than one local problem. So we have the following
process:
(i) Initialisation: we solve the global coarse grid problem on Γ using a grid of
124 The potential problem for the impressed current cathodic protection system
X N Z X N Z
1 L ∂v
u0,i = uL0,j (ri ; r(χ))dχ − qL0,j v(ri ; r(χ))dχ. (7.3.4)
2 ΓjL ∂n ΓjL
j=1 j=1
p p,l p,l
(ii) For each local problem, after discretisation of Γlocal into Γlocal = Γinside ∪
p,l p,l
Γactive , compute u(r) on Γinside using the global coarse grid solution and the
integral relation
N
X Z X N Z
∂v
up,l
inside,i = uLj (ri ; r(χ))dχ − qLj p
v(ri ; r(χ))dχ, ri ∈ Γinside .
ΓjL ∂n ΓjL
j=1 j=1
(7.3.5)
p p
(iii) Now we have Dirichlet boundary conditions on Γinside . On Γactive the bound-
p
ary conditions are as given on the global Γ since Γactive ⊂ Γ, p = 1, 2. So
p
next is to solve the local problems on Γlocal :
X p,l Z
1 p,l ∂v
ulocal,i + uactive,j (ri ; r(χ)) dχ
2 l
Γactive,j ∂n
j
X Z
∂v
+ up,l
inside,j (ri ; r(χ)) dχ =
l
Γinside,j ∂n
j
X Z X Z
qp,l
active,j v(ri ; r(χ)) dχ + qp,l
inside,j v(ri ; r(χ)) dχ.
l
Γactive,j l
Γinside,j
j j
(7.3.6)
Note that the p problems are independent of one another and can be solved
in parallel.
p
(iv) To compute the defect: we now have a better solution on Γactive , p = 1, 2
and
L
uc,j , ΓjL ⊂ Γc ,
uLbest,j = (7.3.7)
p,l p
uactive,j , ΓjL ⊂ Γactive ,
L
qc,j , ΓjL ⊂ Γc ,
qLbest,j = (7.3.8)
qp,l L p
active,j , Γj ⊂ Γactive .
Using the fine grid solution, we approximate the defect di for each node of
7.3 BEM-LDC for the ICCP problem 125
for ΓjL ⊂ Γactive . The defect di has contributions from all the p active regions
hence the summation for p = 1, 2, in (7.3.9).
(v) We now do the defect correction: the defect (7.3.10) is added to the right
hand side of the coarse grid equation and then we solve for the updated
global coarse grid solution uL1 , qL1 on the global coarse grid,
X N Z N
X Z
1 L ∂v
u1,i = uL1,j (ri ; r(χ))dχ − qL1,j v(ri ; r(χ))dχ + dLi . (7.3.11)
2 ΓjL ∂n ΓjL
j=1 j=1
(vi) Go back to step (ii) with uL replaced by uL1 and qL replaced by qL1 .
To test this LDC formulation for more than one local problem we solve the fol-
lowing problem, whose continuous solution is known. We consider the function
where
and s1 , s2 are source points just outside the square. Then we solve the problem
2
∇ u(r) = 0,
r ∈ Ω = [0 1] × [0 1],
(7.3.14)
q(r) = ∂f (r), r ∈ Γ.
∂n
Clearly the solution has two small regions, one on the lower side and another
on the upper side of the square where u varies rapidly. In Figures 7.7 and 7.8
126 The potential problem for the impressed current cathodic protection system
−0.8
−1
−1.2
−1.4
−1.6
−1.8
−2
−2.2
−2.4
−2.6
0 exact continuous
first solution 0
−0.2
updated solution
−0.2
−0.4
−0.4
−0.6
u
−0.6
−0.8
−0.8 exact continuous
−1 first solution
−1 updated solution
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
(x,0) (1,y)
0 exact continuous
first solution 0
−0.2 updated solution
−0.2
−0.4
−0.4
−0.6
u
−0.6
−0.8
−0.8 exact continuous
−1 first solution
−1 updated solution
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
(x,1) (0,y)
we have the BEM solutions to the problem using local defect corrections with a
local problem at each active region.
The updated solution agrees with the continuous solution better than the initial
problem as expected. We can therefore proceed to solve the ICCP problem
whose continuous solution is not known. Once we have the potential u in Ω we
use (7.2.1) to compute the electric field in Ω. Figure 7.2.6 shows the potential
and the electric field lines for the ICCP potential problem (7.2.6) with uanode = 1
and ucathode = −uanode . Now for the ICCP problem we let
1 1
0.5
0
y
−0.5
−1 0
x 0 1
Figure 7.9: The potential and field lines of the ICCP model 7.2.6 in a
region inside Ω where uanode = 1 and ucathode = −uanode .
1
Γactive = {(x, y) : x ∈ [0.4, 0.6], y = 0},
2
Γactive = {(x, y) : x ∈ [0.4, 0.6], y = 1}.
LDC solutions for the problem are shown in Figures 7.11 and 7.12 .
Since we do not have the exact continuous solution to (7.3.1) we cannot com-
pute the actual error. However, assuming that the solution converges to a fixed
point xfixed , we can then compute the errors ||xi − xfixed ||∞ where xi is the solu-
tion after the i-th iteration to demonstrate how fast we reach the fixed point.
The results are shown in Figure 7.13. The results indeed show that one or two
iterations is just enough.
128 The potential problem for the impressed current cathodic protection system
Ω2local
0.6
0.4
Ω1local
0 0.4 0.6 1
0.5
0
y
−0.5
−1
x
(a) Solution of local problem on Ω1local . (b) Field lines due to potential of local prob-
lem solution on Ω1local .
0.5
0
y
−0.5
−1
x
(a) Solution of local problem on Ω2local . (b) Field lines due to potential of local prob-
lem solution on Ω2local .
0.8
fixed ∞
||
0.6
||x − x
0.4
i
0.2
0
0 1 2 3 4 5 6 7
iteration, i
[7] W. Cao, W. Huang, and R. D. Russel, A study of monitor functions for two
dimensional adaptive mesh generation., SIAM J. Sci. Computing. 20 No. 6
(1999), 1978–1994.
[9] G. Chen and J. Zhou, Boundary Element Methods, Academic press, Lon-
don, San Diego, 1992.
[11] C. Constanda, On the solution of the Dirichlet problem for the two-
dimensional laplace equation., Proceedings of the American Mathematical
Society. , Vol. 119, No. 3 (Nov., 1993), 877–884.
132 BIBLIOGRAPHY
[12] M. Costabel and M. Dauge, Invertibility of the biharmonic single layer po-
tential operator., Inter Equat Oper Th 24 (1996), 46–67.
[13] M. Costabel, M. Dauge, and S. Nicaise, Boundary value problems and in-
tegral equations in nonsmooth domains, Marcel Decker, INC, New York,
1995.
[18] P. Doig and P.E.J. Flewitt, A finite difference numerical analysis of galvanic
corrosion for semi-infinite linear coplanar electrodes, Journal of The Elec-
trochemical Society 126(12) (1979), 2057–2063.
[21] M. Graziadei, Using local defect correction for laminar flame simulation,
Ph.D. thesis, Eindhoven University of Technology, 2004.
[26] G.C. Hsiao and W. L. Wendland, A finite element method for some integral
equations of the first kind., J. Math. Anal. Appl. 58 (1977), 449 – 481.
BIBLIOGRAPHY 133
[27] M.A. Jaswon, Integral equation methods in potential theory i, Series a, vol.
275, 1963.
[28] M.A. Jaswon and G. Symm, Integral Equation Methods in Potential Theory
and Elastostatics, Academic Press, London, 1977.
[33] G. Kakuba and R. M. M. Mattheij, Local errors in the constant and linear
boundary element method for potential problems, Advances in boundary
element techniques X. Proceedings of the 10th International conference
(2009), 367 – 374.
[41] A. Kufner and J. Kadlec, Fourier series, London: Iliffe Books, 1971.
134 BIBLIOGRAPHY
[45] S. Liapis, A review of error estimation and adaptivity in the boundary el-
ement method., Engineering analysis with boundary elements. 14 (1994),
315–323.
[47] American Water Works Association MANUAL M42, Steel water storage
tanks, American Water Works Association, 1999.
[53] R. Morris and W. Smyrl, Current and potential distribution in thin elec-
trolyte layer galvanic cells, Journal of The Electrochemical Society 136(11)
(1989), 3229–3236.
[57] F. Paris and J. Canas, Boundary Element Method: Fundamentals and Ap-
plications, Oxford University Press, Oxford, 1997.
[58] R. Oltra Ph. Bucaille and T. Warner, Theoretical and experimental studies of
galvanic corrosion between aluminium and Al-Cu alloys, Materials Science
Forum 242 (1997), 207–212.
[59] C. Pozrikidis, Boundary integral and singularity methods for linearised vis-
cous flow, Cambridge University Press, 1992.
[60] C. Pozrikidis, A Practical Guide to Boundary Element Methods with the soft-
ware BEMLIB, Chapman & Hall/CRC, London, 2002.
[61] P. Pucci and J. Serrin, The maximum principle, Birkhauser Verlag AG,
2007.
[65] K. Schimmanz and A. Kost, Formulation of mixed elements for the 2d-bem,
The International Journal for Computation and Mathematics in Electrical
and Electronic Engineering 23 No. 4 (2004), 866–875.
quadrature error, 41
tangential derivative, 45
uniform grid, 22
weight function, 65
Summary
In this thesis, we first focus our attention on defining and studying both the
local and global errors for the BEM. This is not a completely new study as
the literature suggests, however, our approach is different. We use the basic
foundations of the the method to define the errors. Since the method is a global
method, first we use the interpolation error on each element to define what we
have called a sublocal error. Then using the sublocal error we have defined the
local error. Understanding the local errors enabled us study the global error.
Theoretical and numerical results show that these errors are second order in
grid size for both the constant and linear element cases.
Then, having explored errors, we study a method for adaptive grid refinement
for the BEM. Rather than using a truly nonuniform grid, we present a method
called local defect correction (LDC) that is based on local uniform grid refine-
ment. This method is already developed and documented for other numerical
methods such as finite difference and finite volume methods but not for BEM.
140 Summary
The author of this thesis was born in Rwengoma, Uganda. He finished his
high school at St. Leo’s College, Kyegobe. He later joined Makerere University
where he graduated in June 2001 with a Bachelor of Science degree in the
subjects Maths, Physics and Education. In 2002 he joined and worked at
the Department of Mathematics at Makerere University as a teaching assistant
until September 2003 when he joined Eindhoven University of Technology in
the Netherlands to pursue a masters course. In August 2005 he graduated cum
laude as a master of science in computational science and engineering. His
master’s thesis, written under the supervision of prof.dr.ir. R. M. M. Mattheij
and dr. ir. M.J. H. Anthonissen was titled The impressed current cathodic
protection system.