Matrix construction: Singular integral contributions

Similar documents
Integral Representation Formula, Boundary Integral Operators and Calderón projection

Simple Examples on Rectangular Domains

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Math 302 Outcome Statements Winter 2013

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

Fast and accurate methods for the discretization of singular integral operators given on surfaces

Projected Surface Finite Elements for Elliptic Equations

Preconditioned space-time boundary element methods for the heat equation

Final Exam May 4, 2016

1. Nonlinear Equations. This lecture note excerpted parts from Michael Heath and Max Gunzburger. f(x) = 0

2.20 Fall 2018 Math Review

Lecture 8: Boundary Integral Equations

Laplace s Equation. Chapter Mean Value Formulas

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

Multivariable Calculus

Exercise 1 (Formula for connection 1-forms) Using the first structure equation, show that

Scientific Computing I

Nedelec elements for computational electromagnetics

Lecture 4: Numerical solution of ordinary differential equations

Scientific Computing WS 2017/2018. Lecture 18. Jürgen Fuhrmann Lecture 18 Slide 1

1 Discretizing BVP with Finite Element Methods.

The Helmholtz Equation

Partial Differential Equations

EAD 115. Numerical Solution of Engineering and Scientific Problems. David M. Rocke Department of Applied Science

Implicit Functions, Curves and Surfaces

Numerical methods for PDEs FEM convergence, error estimates, piecewise polynomials

Contents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Multiple Integrals 3. 2 Vector Fields 9

Overlapping Schwarz preconditioners for Fekete spectral elements

Numerical Integration for Multivariable. October Abstract. We consider the numerical integration of functions with point singularities over

In this chapter we study elliptical PDEs. That is, PDEs of the form. 2 u = lots,

Math 142, Final Exam. 12/7/10.

CALCULUS ON MANIFOLDS. 1. Riemannian manifolds Recall that for any smooth manifold M, dim M = n, the union T M =

Numerical Solutions to Partial Differential Equations

Errata for Vector and Geometric Calculus Printings 1-4

PDEs, part 1: Introduction and elliptic PDEs

u xx + u yy = 0. (5.1)

THE NATIONAL UNIVERSITY OF IRELAND, CORK COLÁISTE NA hollscoile, CORCAIGH UNIVERSITY COLLEGE, CORK. Summer Examination 2009.

MATH 425, FINAL EXAM SOLUTIONS

CIV-E1060 Engineering Computation and Simulation Examination, December 12, 2017 / Niiranen

LECTURE # 0 BASIC NOTATIONS AND CONCEPTS IN THE THEORY OF PARTIAL DIFFERENTIAL EQUATIONS (PDES)

Numerical Methods for Partial Differential Equations

Lecture Notes: African Institute of Mathematics Senegal, January Topic Title: A short introduction to numerical methods for elliptic PDEs

REVIEW OF DIFFERENTIAL CALCULUS

CLASSIFICATION AND PRINCIPLE OF SUPERPOSITION FOR SECOND ORDER LINEAR PDE

INTRODUCTION TO FINITE ELEMENT METHODS

Lehrstuhl Informatik V. Lehrstuhl Informatik V. 1. solve weak form of PDE to reduce regularity properties. Lehrstuhl Informatik V

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Information geometry for bivariate distribution control

4 Divergence theorem and its consequences

QUALIFYING EXAMINATION Harvard University Department of Mathematics Tuesday August 31, 2010 (Day 1)

Mathematical Tripos Part IA Lent Term Example Sheet 1. Calculate its tangent vector dr/du at each point and hence find its total length.

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

Course Summary Math 211

Introduction to the Boundary Element Method

Math The Laplacian. 1 Green s Identities, Fundamental Solution

Chapter 3 - Vector Calculus

Mathematics of Physics and Engineering II: Homework problems

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Classical differential geometry of two-dimensional surfaces

A NEW COLLOCATION METHOD FOR SOLVING CERTAIN HADAMARD FINITE-PART INTEGRAL EQUATION

PIECEWISE LINEAR FINITE ELEMENT METHODS ARE NOT LOCALIZED

PART IV Spectral Methods

Vector Calculus, Maths II

CURRENT MATERIAL: Vector Calculus.

u(0) = u 0, u(1) = u 1. To prove what we want we introduce a new function, where c = sup x [0,1] a(x) and ɛ 0:

Math 5630: Iterative Methods for Systems of Equations Hung Phan, UMass Lowell March 22, 2018

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

Mathematical Methods for Physics and Engineering

Surface x(u, v) and curve α(t) on it given by u(t) & v(t). Math 4140/5530: Differential Geometry

REGULARITY OF SUBELLIPTIC MONGE-AMPÈRE EQUATIONS IN THE PLANE

Heat Transfer in a Medium in Which Many Small Particles Are Embedded

Finite Element Method for Ordinary Differential Equations

Mathematics (Course B) Lent Term 2005 Examples Sheet 2

OR MSc Maths Revision Course

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

Real Analysis Problems

TEST CODE: PMB SYLLABUS

16.2 Iterated Integrals

Electrostatic Imaging via Conformal Mapping. R. Kress. joint work with I. Akduman, Istanbul and H. Haddar, Paris

1 Review of di erential calculus

LEGENDRE POLYNOMIALS AND APPLICATIONS. We construct Legendre polynomials and apply them to solve Dirichlet problems in spherical coordinates.

Green s Functions and Distributions

University of Houston, Department of Mathematics Numerical Analysis, Fall 2005

MATHEMATICS COMPREHENSIVE EXAM: IN-CLASS COMPONENT

UNIVERSITY of LIMERICK OLLSCOIL LUIMNIGH

EXPOSITORY NOTES ON DISTRIBUTION THEORY, FALL 2018

Solving the 3D Laplace Equation by Meshless Collocation via Harmonic Kernels

MATH 332: Vector Analysis Summer 2005 Homework

Chapter 12. Partial di erential equations Di erential operators in R n. The gradient and Jacobian. Divergence and rotation

Chapter 6 Nonlinear Systems and Phenomena. Friday, November 2, 12

Math 234 Exam 3 Review Sheet

Numerical Solutions to Partial Differential Equations

On the p-laplacian and p-fluids

Numerical Methods for Two Point Boundary Value Problems

Question 9: PDEs Given the function f(x, y), consider the problem: = f(x, y) 2 y2 for 0 < x < 1 and 0 < x < 1. x 2 u. u(x, 0) = u(x, 1) = 0 for 0 x 1

Disclaimer: This Final Exam Study Guide is meant to help you start studying. It is not necessarily a complete list of everything you need to know.

Multivariable Calculus Notes. Faraad Armwood. Fall: Chapter 1: Vectors, Dot Product, Cross Product, Planes, Cylindrical & Spherical Coordinates

LECTURE 16 GAUSS QUADRATURE In general for Newton-Cotes (equispaced interpolation points/ data points/ integration points/ nodes).

CALCULUS JIA-MING (FRANK) LIOU

Transcription:

Matrix construction: Singular integral contributions Seminar Boundary Element Methods for Wave Scattering Sophie Haug ETH Zurich November 2010

Outline 1 General concepts in singular integral computation Definitions 2 Solving approaches for the Laplace equation Collocation Variational method The 2D Laplace problem 3 Special remarks on the hypersingular Integral operator 4 The 3-D Laplace equation Numerical computation Quadrature Transforming singular integrals: The Duffy Trick Semianalytic method 5 Summary Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 2 / 58

Weakly singular integrals Definition A singular integral is said to be weakly singular if its value exists and is continuous at the singularity point. Example Consider [0, a] R a 0 ln x = (xln x x) a 0 Using a limit approach and the rule of De l Hopital for the first term on the RHS, we can easily find, that the integral is continuous at 0, although the function is singular at 0. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 3 / 58

Strongly singular integrals Definition An integral f (x)dx is said to be strongly singular if not only the integrand f(x) is singular at a point c, but also the integral itself is singular at that point, too. Example in 2-D: 1 r in 3-D: 1 r 3 When looking at strongly singular integrals, we can interpret their value in terms of the Cauchy Principal Value: Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 4 / 58

The Cauchy Principal Value We determine the value of an improper integral by deleting a symmetric neighborhood around the singularity. Example Consider the integral b a 1 dt, a, b > 0 t Delete now the region ( ɛ, ɛ) around zero and take the limit, letting ɛ 0 : ( ɛ 1 b ) lim ɛ 0 a t dt + 1 = lim(log(ɛ/a) + log(b/ɛ)) = log(b/a) ɛ t ɛ 0 Remark Note that it is crucial for the limit to exist that we delete a symmetric region (-ɛ, ɛ) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 5 / 58

Definition We define the Cauchy Principal Value of an Integral with a singularity in a point y to be: P.V. f (x)dx := lim f (x)dx Ω ɛ 0 Ω\ y x ɛ Example For integrals with a strong singularity: interpret it as a CPV-integral. But: For hypersingular integrals this limit might not exist. Strongly singular integrals where we can apply the CPV approach: in 2-D: 1 r in 3-D: 1 r 2 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 6 / 58

Hypersingular integrals and Hadamard finite part Example Consider the 1-dimensional integral: a b a 1 t 2 dt CPV does not give us a limit. However, we can take the finite part of the CPV: b 1 ɛ 1 b CPV dt = lim t2 ɛ 0 a t 2 + 1 ɛ t 2 = lim 2 ɛ 0 ɛ + (1 a 1 b ). Whereas the first term diverges, the second term is finite. This is the Hadamard Finite part. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 7 / 58

The Laplace equation Consider the homogeneous Laplace equation u(x) = 0 γ D (u) = g on Ω R d Recall the integral representation formula : γ D u(x) = γ D γ N G(x, y)γ D u(y)ds y γ D Γ or in terms of Boundary Integral Operators: γ D u = ( 1 2 I K 0)γ D u + V 0 γ N u Γ γ N,y u(y)g(x, y)ds y, ( 1 2 I + K 0)γ D u = V 0 γ N u Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 8 / 58

Aim: Solving this problem, i.e. find complete Cauchy data. Two possible approaches 1 Collocation Method problematic! 2 Variational method (Galerkin approach) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 9 / 58

Collocation methods Ansatz: Enforce the boundary integral equation to hold at a specified number of points: (x 1,..., x N ) and obtain the following system of equations: ( 1 2 I K 0)γ D u(x 0 ) = V 0 γ N u(x 0 ).. ( 1 2 I K 0)γ D u(x N ) = V 0 γ N u(x N ) after taking an approximation ansatz one gets Matrix equations: H(γ D u(x i )) i = V(γ N u(x i )) i for (N + 1 N + 1) matrices H and V, whose coefficients are to be determined. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 10 / 58

How to compute the Matrix coefficients? Take ansatz: γ D u γ D u(x j )φ j, j l τ l = Γ is a discretization of the boundary (φ j ) basis of S p h (Γ). E.g. for H: in order to get the matrix coefficients, we have to compute: Γ γ D u(y)γ N,y G(x i, y)ds y = l l γ D u(y)γ N,y G(x i, y)ds y τ l γ D u(x j ) φ j (y)γ N,y G(x i, y)ds y j τ l (1) So the problem of the matrix elements computation comes down to approximating the integrals: τ l φ j (y)γ N,y G(x i, y)ds y Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 11 / 58

Problems occur! What is problematic about this approach? Consider again the integral: τ l φ j (y)γ N,y G(x i, y)ds y resulting matrices are dense moreover, there is no underlying structure in the matrix which would make computation and storage easier (like symmetricity). Problematic when approximating Hypersingular Integral: to compute γ N,x τ l φ j γ N,y G(x i, y)ds y demands smoothness of the interpolation of γ D at interpolation points. (C 1 interpolation would be possible but very costly.) A better approach: The Variational Method Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 12 / 58

Computing the Matrix coefficients using a variational method Program: 1 Recalling the variational approach 2 2D Laplace problem: Explicit computations 3 3D Laplace problem: Computing the matrix coefficients numerically Gauss Quadrature A Semianalytic Method Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 13 / 58

Recall from last time: Boundary integral equations I Instead of demanding that the Boundary Integral equations be satisfied pointwise, we ask for weak solutions: Let K(w) = f, (2) where K is some Boundary Integral operator: K : H s (Γ) H s (Γ), where s, s { 1 2, 1 2 }. Then we ask: f, ψ = K(w), ψ, (3) for any ψ H s. Choose Galerkin bases {φ j }, {ψ i } of H s, H s resp., and discretize w as: w(x) = w j φ j (x) (4) j We obtain a Matrix equation: K[w] = [f ] (5) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 14 / 58

Recall from last time: Boundary integral equations II where w and f are given by: w = [w 1,..., w N ] (6) f j = f, ψ j (7) and K ij = K(φ i ), ψ j. (8) Our main concern: Computation of the coefficients K ij Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 15 / 58

The homogeneous Laplace equation:the 2-D case As an example, consider: With the Fundamental solution: u = 0, on Ω R 2 (9) G(x, y) = 1 log( x y ) (10) 2π discriminate three different cases for the choice of τ i, τ j : Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 16 / 58

3 different cases 3 different cases for 1-D boundary Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 17 / 58

Discretized boundary Discretized boundary Γ in 2D with hat functions b 1 j b 0 k Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 18 / 58

The case of identical panels: Computing V 0 (b 0 0 ), b0 0 Remark:Use S 0 h (Γ) for H 1 2 (Γ) (cf. last time) and S 1 h (Γ) for H 1 2. Recall that V 0 : H 1 2 (Γ) H 1 2 (Γ). Consider the reference element. Let b0 0 be the corresponding basis function Sh 0 over that element. We have: V 0 (b 0 0), b 0 0 = 1 2π = 1 2π = 1 2π = 1 2π = 1 π 1 1 0 0 1 1 y 0 1 0 1 0 1 0 y log x y dxdy (11) log( z )dzdy (zlog z z) 1 y y dy ((1 y)log(1 y) + ylog(y) 1 + 2y ) dy ulog(u)du (12) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 19 / 58

( [ = 1 ( log(u) u 2 1 )] ) 1 π 2 2u = 1 4π 0 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 20 / 58

Computing K 0 (b 1 0 ), b0 0 Recall that K 0 : H 1 2 (Γ) H 1 2 (Γ) First: G(x, y) = 1 n y, (y x) n y 2π x y 2 Remark: We have that n y, y x = const. always and in case of identical ny (y x) x panels, n y, y x = 0 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 21 / 58

Case of two adjacent panels, not on one line. Take b0 1 (y) = y as a pw. linear basis function on the reference element. Thus τ j τ i K 0 b 1 0 = 1 2π = 1 2π = 1 2π = 1 2π 1 2π ( τ j ( d c ( d c d c d c 1 2 y x 2 ds y ds x b0 1 τ i 1 0 1 0 arctan( ) s (s t) 2 + a 2 dsdt ) 1 a arctan(s t a )dsdt + log(1 + (1 t) a d c 1 a t) arctan((1 )dt a (1 t) )(1 t) arctan( t/a)( t) a 2 ) + 1 2 log(1 + (t/a)2 )dt (13) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 22 / 58

The last integral is nonsingular,can be evaluated. Similarly, in case of non-adjacent panels, the integral exists. Want to compute ( 1 2 I K 0)φ, θ. Already seen: K 0 φ, θ. Now φ, θ. Take b0 1(y) = y S1 h and integrate against pw. constant b0 0 on the reference element: b 1 0, b 0 0 = = = 1 1 0 0 1 1 0 1 0 0 b 1 0(y)dydx ydydx ( 1 2 y 2 ) 1 0 = 1 2. (14) (For non-identical elements it is easy to show that the computation still works fine.) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 23 / 58

Computing W 0 b 1 0, b1 0 I Consider the identical case:τ i = τ j = (0, 1) Recall W 0 : H 1 2 (Γ) H 1 2 (Γ). Use γ N,x γ N,y G(x, y) = 1 2π Want to compute 1 representation of W 0 is: 0 xγ N,x [ n x, n y r 2 + 2 n ] y, (x y) n x, (x y) r 4 1 0 γ N,y G(x, y)yds y ds x. A different Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 24 / 58

Computing W 0 b 1 0, b1 0 II W 0 (φ) = 1 0 γ N,xγ N,y G(x, y)(φ(y) φ(x))ds y. Thus it is enough to compute: = 1 2π = 1 2π = 1 2π 1 0 1 x t 1 0 1 0 0 1 1 0 t 0 ( y n x, n y s r 2 + 2 n y, (x y) n x, (x y) r 4 ) ds x ds y ( 1 ) (s t) 2 + 2(n y (x y))(n x (x y)) r 4 dsdt s dsdt (15) (t s) 2 Singularity is of order (s t) 2, the integral does not have a finite limit. It can be shown that a term log(ɛ 2 ) remains when applying the CPV operator, thus Hadamard finite part has to be taken. Analytically, however, the log(ɛ 2 ) term cancels with the integration over a corresponding adjacent element. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 25 / 58

Computing W 0 b 1 0, b1 0 III Remark collocation in general fails to capture this! Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 26 / 58

For the Hypersingular operator, we really benefit from using Galerkin methods rather than Collocation. Definition (Rotation of a scalar function, 2-D case) Let v be a scalar function on Γ. curlv = ( ṽ(x), ṽ(x)) T, (16) x 2 x 1 where ṽ defines an extension of v into a small neighborhood R 3 of Γ We introduce: curl Γ v(x) := n curlṽ = n 1 (x) x 2 ṽ(x) n 2 (x) x 1 ṽ(x)) (17) It then can be shown that for u, v H 1 2 it holds: W 0 (u), v Γ = 1 curl Γ v(x) log x y curl Γ u(y)ds y ds x (18) 2π Γ Γ Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 27 / 58

Rewriting W 0 for 3D Similarly in the 3-D case one obtains: W 0 (u), v Γ = 1 curl Γ u(y)curl Γ v(x) ds x ds y (19) 4π x y Here we used: and Γ Γ curlv = v(x) (20) curl Γ u = n(x) ũ x Γ (21) where ũ again is an extension of u into a small neighborhood R 3 of x Γ.) curl of φ Sh 1 is constant on each triangle, by linearity of functions in Sh 1. moreover n is constant on each triangle. therefore: curl Γ u(y)curl Γ v(x) can be taken out of the integral reduces to case: V 0 bi 0, b0 j times some constant. By using a Variational method, we reduce the (hard) computation of the hypersingular integral to the weakly singular!!! Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 28 / 58

Quadrature I In 3D: Numerical evaluation of integrals: Let Ω be a domain in R d, d=2,3. Let Γ = Ω. Recall that τ G (G a triangulation of Γ)there is a parametrization χ τ : ˆτ τ, (22) where ˆτ denotes the reference element. Write an integral of a function v(x) : τ R over τ as an integral ˆτ, using the rule of transformation known from calculus, thus: v(x)dx = v τ χ τ (ˆx)g τ (ˆx)dˆx, (23) τ where g denotes the Jacobian determinant of χ τ. ˆτ Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 29 / 58

Quadrature II Definition (Numerical Quadrature on the reference element) A Numerical Quadrature on the reference element is a map: Q : C 0 ( ˆτ) R (24) n Q(v) = w i,n v(ξ i,n ) (25) i=1 The w i,n are called weights, the ξ i,n Quadrature points. Definition (Quadrature Error) The numerical Quadrature Error is given by: v(x)dx Q(v) (26) Eˆτ = ˆτ Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 30 / 58

Quadrature III Definition (Exactness) A numerical quadrature is said to be exact of degree m, m N if E τ = 0, v P m, where P m denotes the space of polynomials of degree m. Example (A very simple one) Consider the reference triangle with nodes (0,0), (1,0), (1,1). Then has degree 1. Q(v) = v(2/3, 1/3) 2 (27) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 31 / 58

Proof. Let p(x)=ax+by+c be a polynomial in (x,y) of degree 1. Integrating over the triangle yields: whereas 1 x 0 0 ax + by + c dydx = Q(p) = 1 0 ax 2 + 1 2 bx 2 + cx dx (28) = a 3 + b 6 + c 2, (29) v(2/3, 1/3) 2 (30) = a 2 3 + b 1 + c, (31) 3 on the other hand, it easily can be shown that equation does no longer hold for polynomials of degree 2. So indeed order of exactness is 1 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 32 / 58

Doing Quadrature on the triangular elements Recall that for an integral I (f ) = f (x)dx [0,1] 4 (32) we have a the Gaussian Quadrature of order n = (n 1, n 2, n 3, n 4 ) given by: n 1 n 2 n 3 n 4 Q[f ] = ω i,n1 ω j,n2 ω k,n3 ω l,n4 f (x i,n1, x j,n2, x k,n3, x l,n4 ) (33) i j k l where Gauss points and weights are given. This rule yields the correct result for polynomials of degree (2n-1) where n+1 Gauss quadrature points are used. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 33 / 58

Example:Gauss Legendre Quadrature over Triangles Consider a triangle with vertices P 1, P 2, P 3. Definition (Barycentric coordinates) Write a point x inside the triangle as: x = α 1 P 1 + α 2 P 2 + α 3 P 3. (α 1, α 2, α 3 ) are called the barycentric coordinates of x. We use these coordinates to represent Gauss Points within the triangle. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 34 / 58

A simple 1-point rule. 1 1 Source: The Finite Element Method in Electromagnetics, Jianming Jin, 2nd Edition, John Wiley and Sons, Inc.,New York, USA Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 35 / 58

A three-point rule 2 2 Source: The Finite Element Method in Electromagnetics, Jianming Jin, 2nd Edition, John Wiley and Sons, Inc.,New York, USA Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 36 / 58

A 7-point rule 3 3 Source: The Finite Element Method in Electromagnetics, Jianming Jin, 2nd Edition, John Wiley and Sons, Inc.,New York, USA Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 37 / 58

An estimate of error (without proof) Theorem Let l τ l be a triangulation of Γ into plane triangles. Suppose that the ratio diam τ diam r for elements τ, r, τ r is bounded. Let m be the order of exactness of the Quadrature method used. then we have v H m (τ), with m = max{2, m + 1}: for some constant C and h τ = diam(τ). E τ(v) Ch m+2 τ v H m (τ), (34) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 38 / 58

Quadrature method: Pro and Contra Pro: Well-suited for implementation High accuracy can be achieved Contra: computationally costly: e.g., in 3D case: Consider the integration of V 0. for one double integral the cost is O(nQP 4 ) (n QP =Number of Quadrature points). If dim(sh 0 ) = M, we have M 2 entries to compute. The total cost for this matrix is therefore O(nQP 4 M2 ) near singularities: the values get very large. Refinement of triangulation values become larger as quadrature points lie even closer. Also: refining the mesh much more cost Sophie We Haug want (ETH tozurich) do bettermatrix construction: Singular integral contributions November 2010 39 / 58

First approach deals with the second problem: Singular Integrals. Recall that our problem is the computation of integrals of the form: f (x, y) τ i x y dydx τ j First, we focus on the inner integral. Consider h(x, y) that has a first order singularity at the point (0, 0) over the reference triangle ˆτ with vertices (0, 0), (1, 0), (1, 1). τ j h(x, y)ds = 1 x Using Taylor expansion, it follows that h can be written as 0 0 h(x, y)dydx (35) g is an analytic function over Ω. Perform change of variables: y = xu g(x,y) x 2 +y 2, where Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 40 / 58

The above integral then equals to: 1 1 0 0 g(x, xu) x 2 + (xu) 2 x dudx Now we see that x cancels in this expression and we get: 1 1 Clearly, this function has no singularity. 0 0 g(x, xu) 1 + u 2 dudx Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 41 / 58

Duffy s Trick y=1 y=1 0 x=1 0 x=1 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 42 / 58

After this transformation, we can use a Quadrature for the double integral and no longer have the problem of singular integration. But: We have only dealt with the 2nd problem i.e. singularity. The problem of high cost of the double quadrature remains! Semianalytic method! Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 43 / 58

Another method: Semianalytic Method for 3-D We consider another method for the 3-D Laplace problem. Recall that the fundamental solution is given by: G(x, y) = 1 4π x y (36) We now want to compute the single layer potential boundary operator, i.e. V 0 (bi 0 ), bj 0 1 = τ i 4π x y ds y ds x (37) τ j Idea : compute inner integral analytically, then solve the outer integral using Quadrature. only one quadrature to do! Aim: solve τ i 1 4π x y ds y ds x. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 44 / 58

Remark that all our further computations are for the 3-D case! We have: 2 x y = x y (38) 1 τ i x y ds y = 1 x y ds y 2 τ j (39) Lemma Decomposition of the Laplace Operator u = 2 n 2 u + 2H u n n + Γu (40) where Γ u = curl Γ curl Γ u (41) where H n denotes the mean curvature of Γ. The operator curl Γ is called tangential rotation, input is a scalar function, and defined as: curl Γ (u) := curl(ũn) Γ. the scalar function curl Γ (u) := (curlũ n) Γ is called surfacic rotation (remark that its input is a vector). Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 45 / 58

The mean curvature/principle curvatures Definition (Principal curvatures) Consider the curvature operator R = n, which acts on the tangent plane of a surface. Its two eigenvalues κ 1, κ 2 are called principal curvatures. The mean curvature is defined as: H n := 1 2 (κ 1 + κ 2 ). 4 Remark: On flat triangles: H n = 0 4 Source: Wikipedia Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 46 / 58

We put the decomposed form of the Laplace operator into equation (39) and obtain: 1 F (x) : = τ i x y ds y = 1 x y ds y 2 τ j = 1 2 τj 2 n 2 x y + curl Γcurl Γ x y ds y (42) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 47 / 58

Computation of the inner integral Using the definition of curl Γ (u) and of the curl this is equivalent to: 1 2 τj 2 n 2 x y 1 n ( x y n)ds y (43) 2 τ j We consider the two integrals obtained seperately. First, remarking that: This gives us: x y = (y x) x y 2 x y = n2 n = n ( x y n) ( ) (y x) x y n (44) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 48 / 58

Computation of the inner integral One can find that (y x) n =: C(x, τ j ) is just the length of the projection onto span(n) of the distance between x and the triangle τ j, and thus constant for fixed x. (See picture) Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 49 / 58

P 2 n y P 3 P 1 x y, n x Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 50 / 58

Now move C(x, τ j ) outside the integral. The first term of the sum (43) reduces to: ( ) 1 2 C(x, τ 1 j) ds y n x y τ j = 1 2 C(x, τ j) τ j = 1 2 C(x, τ j) ( 1 x y ) n ds y (y x) τ j x y 3 n ds y (45) This integral now can be computed efficiently, as it describes a geometric relationship between x and the triangle τ j, the solid angle, for whose computation efficient algorithms exist. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 51 / 58

Ω x Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 52 / 58

Computation of the inner integral: 2nd term I We now want to compute the second term, i.e. 1 n ( x y n)ds y 2 τ j Recall Stokes Theorem: Theorem (Stokes Thm) Let Ω U R 3 be a regular surface and U an open subset of R 3.Let F be a vector valued function on U.Then we have: curlf n ds = F dr (46) Ω Ω Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 53 / 58

Computation of the inner integral: 2nd term II We put this result into the previous equation and get: 1 n ( x y n)ds y = ( x y n)d r 2 τ j τ j = ( x y ) nd r τ j (y x) = nd r, (47) τ j x y where we used that the field of normals is a gradient, and therefore n = 0. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 54 / 58

It remains to compute the contour integral along the boundary of τ j. We can write this integral as a sum of three integrals, one along each edge of the triangle τ j. ν 2 l 2 S 2 P 2 n S 1 ν 1 τ P j 3 l 3 l 1 S 3 P ν 1 3 Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 55 / 58

Compare with the notations on the picture to convince yourself that: (y x) τ j x y n d r = 3 k=1 = (y x) S k x y n l kds k 3 (y x) S k x y ν kds k (48) k=1, where we also used that (a b) c = (a c) b. As in the first computation we have that: (y x) ν k = (P k x) ν k Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 56 / 58

is constant and therefore can again be taken out of the integral. So the above expression becomes: 1 2 3 (P k x)ν k k=1 S k 1 x y ds k (49) This integral then can be computed analytically without much trouble. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 57 / 58

Summary We wanted to compute singular integral contributions in order to solve the Laplace problem with Dirichlet BC using Boundary element methods. We have seen the following: Before doing so, we explained why we choose Galerkin methods over collocation. Of particular importance: Computation of Hypersingular integral For 2-D, integrals can be explicitly computed For 3-D, we generally have to use some numerical method: We saw: Quadrature may lead to accurate results, however not near singularities. Another issue: High cost of quadrature methods! For singular integrals, transformation methods exists that make the integral nonsingular (Duffy trick) To deal with the problem of high-costs in double quadratures, we encoutered an altoghether different method, using a seminanalytic approach. Sophie Haug (ETH Zurich) Matrix construction: Singular integral contributions November 2010 58 / 58