Você está na página 1de 153

FEM/BEM NOTES

Professor Peter Hunter


p.hunter@auckland.ac.nz

Associate Professor Andrew Pullan


a.pullan@auckland.ac.nz

Department of Engineering Science The University of Auckland New Zealand June 17, 2003

c Copyright 1997-2003 Department of Engineering Science The University of Auckland

Contents
1 Finite Element Basis Functions 1.1 Representing a One-Dimensional Field . 1.2 Linear Basis Functions . . . . . . . . . 1.3 Basis Functions as Weighting Functions 1.4 Quadratic Basis Functions . . . . . . . 1.5 Two- and Three-Dimensional Elements 1.6 Higher Order Continuity . . . . . . . . 1.7 Triangular Elements . . . . . . . . . . . 1.8 Curvilinear Coordinate Systems . . . . 1.9 CMISS Examples . . . . . . . . . . . . 1 1 2 4 7 7 10 14 16 20 23 23 24 24 25 26 27 29 29 29 30 31 32 34 36 37 39 42 43 43 43 43 45

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

2 Steady-State Heat Conduction 2.1 One-Dimensional Steady-State Heat Conduction . . . . . 2.1.1 Integral equation . . . . . . . . . . . . . . . . . . 2.1.2 Integration by parts . . . . . . . . . . . . . . . . . 2.1.3 Finite element approximation . . . . . . . . . . . 2.1.4 Element integrals . . . . . . . . . . . . . . . . . . 2.1.5 Assembly . . . . . . . . . . . . . . . . . . . . . . 2.1.6 Boundary conditions . . . . . . . . . . . . . . . . 2.1.7 Solution . . . . . . . . . . . . . . . . . . . . . . . 2.1.8 Fluxes . . . . . . . . . . . . . . . . . . . . . . . . 2.2 An -Dependent Source Term . . . . . . . . . . . . . . . 2.3 The Galerkin Weight Function Revisited . . . . . . . . . . 2.4 Two and Three-Dimensional Steady-State Heat Conduction 2.5 Basis Functions - Element Discretisation . . . . . . . . . . 2.6 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Assemble Global Equations . . . . . . . . . . . . . . . . . 2.8 Gaussian Quadrature . . . . . . . . . . . . . . . . . . . . 2.9 CMISS Examples . . . . . . . . . . . . . . . . . . . . . . 3 The Boundary Element Method 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . 3.2 The Dirac-Delta Function and Fundamental Solutions 3.2.1 Dirac-Delta function . . . . . . . . . . . . . 3.2.2 Fundamental solutions . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

. . . .

ii

CONTENTS

3.3 3.4 3.5 3.6 3.7 3.8

3.9 3.10 3.11 3.12

3.13 3.14 3.15 3.16

3.17 4

The Two-Dimensional Boundary Element Method . . . . . . . . . Numerical Solution Procedures for the Boundary Integral Equation Numerical Evaluation of Coefcient Integrals . . . . . . . . . . . The Three-Dimensional Boundary Element Method . . . . . . . . A Comparison of the FE and BE Methods . . . . . . . . . . . . . More on Numerical Integration . . . . . . . . . . . . . . . . . . . 3.8.1 Logarithmic quadrature and other special schemes . . . . 3.8.2 Special solutions . . . . . . . . . . . . . . . . . . . . . . The Boundary Element Method Applied to other Elliptic PDEs . . Solution of Matrix Equations . . . . . . . . . . . . . . . . . . . . Coupling the FE and BE techniques . . . . . . . . . . . . . . . . Other BEM techniques . . . . . . . . . . . . . . . . . . . . . . . 3.12.1 Trefftz method . . . . . . . . . . . . . . . . . . . . . . . 3.12.2 Regular BEM . . . . . . . . . . . . . . . . . . . . . . . . Symmetry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Axisymmetric Problems . . . . . . . . . . . . . . . . . . . . . . Innite Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . Appendix: Common Fundamental Solutions . . . . . . . . . . . . 3.16.1 Two-Dimensional equations . . . . . . . . . . . . . . . . 3.16.2 Three-Dimensional equations . . . . . . . . . . . . . . . 3.16.3 Axisymmetric problems . . . . . . . . . . . . . . . . . . CMISS Examples . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

48 53 55 57 58 60 60 61 61 61 62 64 64 64 65 67 69 72 72 72 73 73 75 75 76 79 81 83 84 85 86 87 89 91 93 96 98 99 99 99 99 101 102

Linear Elasticity 4.1 Introduction . . . . . . . . . . . . . . . . . . . 4.2 Truss Elements . . . . . . . . . . . . . . . . . 4.3 Beam Elements . . . . . . . . . . . . . . . . . 4.4 Plane Stress Elements . . . . . . . . . . . . . . 4.4.1 Notes on calculating nodal loads . . . . 4.5 Three-Dimensional Elasticity . . . . . . . . . . 4.5.1 Weighted Residual Integral Equation . 4.5.2 The Principle of Virtual Work . . . . . 4.5.3 The Finite Element Approximation . . 4.6 Linear Elasticity with Boundary Elements . . . 4.7 Fundamental Solutions . . . . . . . . . . . . . 4.8 Boundary Integral Equation . . . . . . . . . . . 4.9 Body Forces (and Domain Integrals in General) 4.10 CMISS Examples . . . . . . . . . . . . . . . . Transient Heat Conduction 5.1 Introduction . . . . . . . . . . . . . . . . . 5.2 Finite Differences . . . . . . . . . . . . . . 5.2.1 Explicit Transient Finite Differences 5.2.2 Von Neumann Stability Analysis . . 5.2.3 Higher Order Approximations . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

C ONTENTS

iii

6 Modal Analysis 6.1 Introduction . . . . . . 6.2 Free Vibration Modes . 6.3 An Analytic Example . 6.4 Proportional Damping 6.5 CMISS Examples . . .

7 Domain Integrals in the BEM 7.1 Achieving a Boundary Integral Formulation . . . . . . . . . 7.2 Removing Domain Integrals due to Inhomogeneous Terms . 7.2.1 The Galerkin Vector technique . . . . . . . . . . . . 7.2.2 The Monte Carlo method . . . . . . . . . . . . . . . 7.2.3 Complementary Function-Particular Integral method 7.3 Domain Integrals Involving the Dependent Variable . . . . . 7.3.1 The Perturbation Boundary Element Method . . . . 7.3.2 The Multiple Reciprocity Method . . . . . . . . . . 7.3.3 The Dual Reciprocity Boundary Element Method . .

8 The BEM for Parabolic PDES 8.1 Time-Stepping Methods . . . . . . . . . . . . . . . . . . . . 8.1.1 Coupled Finite Difference - Boundary Element Method 8.1.2 Direct Time-Integration Method . . . . . . . . . . . . 8.2 Laplace Transform Method . . . . . . . . . . . . . . . . . . . 8.3 The DR-BEM For Transient Problems . . . . . . . . . . . . . 8.4 The MRM for Transient Problems . . . . . . . . . . . . . . . Bibliography Index

5.3 5.4 5.5

The Transient Advection-Diffusion Equation . . . . . . . . . . . . . . . . . . . . 103 Mass lumping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 CMISS Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 111 111 111 113 114 115 117 117 118 118 119 120 120 121 122 124 135 135 135 137 138 139 140 143 147

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

. . . . . .

Chapter 1 Finite Element Basis Functions


1.1 Representing a One-Dimensional Field
to represent a one-dimensional Consider the problem of nding a mathematical expression eld e.g., measurements of temperature against distance along a bar, as shown in Figure 1.1a.

+ + + + + + + + ++ + + + + +

+ + + + + + + + ++ + + + + +

(a)

(b)

along a bar. The points are the measured F IGURE 1.1: (a) Temperature distribution temperatures. (b) A least-squares polynomial t to the data, showing the unacceptable oscillation between data points.

One approach would be to use a polynomial expression and to estimate the values of the parameters , , and from a least-squares t to the data. As the degree of the polynomial is increased the data points are tted with increasing accuracy and polynomials provide a very convenient form of expression because they can be differentiated and integrated readily. For low degree polynomials this is a satisfactory approach, but if the polynomial order is increased further to improve the accuracy of t a problem arises: the polynomial can be made to t the data accurately, but it oscillates unacceptably between the data points, as shown in Figure 1.1b. To circumvent this, while retaining the advantages of low degree polynomials, we divide the bar into three subregions and use low order polynomials over each subregion - called elements. For later generality we also introduce a parameter which is a measure of distance along the bar. is plotted as a function of this arclength in Figure 1.2a. Figure 1.2b shows three linear polynomials in tted by least-squares separately to the data in each element.

555 4 2 ) & "   776103'10('%$#!

   & "  8

F INITE E LEMENT BASIS F UNCTIONS

+ + +

+ +

+ + +

+ + + +

+ + + +

(a)

(b)

F IGURE 1.2: (a) Temperature measurements replotted against arclength parameter . (b) The domain is divided into three subdomains, elements, and linear polynomials are independently tted to the data in each subdomain.

1.2

Linear Basis Functions

A new problem has now arisen in Figure 1.2b: the piecewise linear polynomials are not continuous in across the boundaries between elements. One solution would be to constrain the parameters , , etc. to ensure continuity of across the element boundaries, but a better solution is to replace the parameters and in the rst element with parameters and , which are the values of at the two ends of that element. We then dene a linear variation between these two values by

such that

and refer to these expressions as the basis functions associated with the nodal parameters and . The basis functions and are straight lines varying between and as shown in Figure 1.3. with element node and to map the It is convenient always to associate the nodal quantity temperature dened at global node onto local node of element by using a connectivity matrix i.e.,

vx tqwu

where

= global node number of local node

of element . This has the advantage that the

@ A

) gDfB ) AbgDfBA@ EDCB! a @ a 

q i p

B  eEDB ) a B I G  QdcEDBb@ a

q r  i iys w0

hfB ) a

DBb@ a

G W B W `YXVU0B

where We dene

is a normalized measure of distance along the curve.

@ A

) TSAARDQPHFEDCB! B @ B I G 

+ + + + + + + + + + + + + + + +

"

vx $yVqwu s tr

& " )

1.2 L INEAR BASIS F UNCTIONS

interpolation

holds for any element provided that and are correctly identied with their global counterparts, as shown in Figure 1.4. Thus, in the rst element

F IGURE 1.4: The relationship between global nodes and element nodes.

with and . In the second element is interpolated by

4 Y ) r

) wkA r  @

with

and

, since the parameter

is shared between the rst and second elements

) RhfB ) AARhfBA@ EhB a @ a 

)r ) RhfB ) AARhfBA@ EhB a @ a 

element

element

element

(1.1)

(1.2)

de de ) de de de de de A @

fg fg ) fg fg fg fg fg b f @

) A @

element nodes:

global nodes:

l yr

4r

)r

node

node

node

 bC )

F IGURE 1.3: Linear basis functions

and

node

EX @  U

) b @ ) RhfB ) AARhfBA@ EhB a @ a 

DfB ) a

@ kr

r Y )

@ r  @ kcmA

DfBA@ a U G

F INITE E LEMENT BASIS F UNCTIONS

with and , with the parameter being shared between the second and third elements. Figure 1.6 shows the temperature eld dened by the three interpolations (1.1)(1.3).

+ +

F IGURE 1.5: Temperature measurements tted with nodal parameters and linear basis functions. The tted temperature eld is now continuous across element boundaries.

1.3

Basis Functions as Weighting Functions

It is useful to think of the basis functions as weighting functions on the nodal parameters. Thus, in element 1

which depends on

and

, but is weighted more towards

at

x x Ah ) h @ h ) h @ bh I i bA G  i AA i PG w  i

)w

which depends equally on

and

at

at

than

x x j ) j @ j ) j @ yj I G bA G  G AA G PG w  G ) @ A x x Ah ) h @ h ) h @ bh I G bA i  G AA G PG w  G

h  i B @A j  G B ) b @ h  G B

which is the value of

at the left hand end of the element and has no dependence on

@ U @ U I G  U Av ) utAARhSPsrq3V

U  #B

at

element

element

element

node

node

node

4r ) gDfB ) AbgDfBA@ EDCB! a @ a 

lr p )

the temperature eld

is implicitly continuous. Similarly, in the third element

is interpolated by (1.3)

4 onA r  @

node

1.3 BASIS F UNCTIONS

AS

W EIGHTING F UNCTIONS

which is the value of at the right hand end of the region and has no dependence on . Moreover, these weighting functions can be considered as global functions, as shown in Figure 1.6, where the weighting function associated with global node is constructed from the basis functions in the elements adjacent to that node.

(a)

(b)

(c)

(d)

F IGURE 1.6: (a) (d) The weighting functions associated with the global nodes , respectively. Notice the linear fall off in the elements adjacent to a node. Outside the immediately adjacent elements, the weighting functions are dened to be zero.

For example, weights the global parameter and the inuence of falls off linearly in the elements on either side of node 2. We now have a continuous piecewise parametric description of the temperature eld but in order to dene we need to dene the relationship between and for each element. A convenient way to do this is to dene as an interpolation of the nodal values of . For example, in element 1

C!

and similarly for the other two elements. The dependence of temperature on ,

, is therefore

DCB!

~ ~$$~AX 8

@ A

) r

4 |

l 1|

) ghfB ) bAghfBy@ EhfB a @ a 

)r

) |

i 

i 1|

@ }|

G  6B

at

) { ) 7{bAR`edHFkz! G @ G I G  G ) @ A

C!

~~ $$~

@ A

which depends on

and

but is weighted more towards

than

) |

(1.4)

F INITE E LEMENT BASIS F UNCTIONS

dened by the parametric expressions

where summation is taken over all element nodes (in this case only ) and the parameter (the element coordinate) links temperature to physical position . provides the mapping between the mathematical space and the physical space , as illustrated in Figure 1.7.

F IGURE 1.7: Illustrating how and are related through the normalized element coordinate . The values of and are obtained from a linear interpolation of the nodal variables and then plotted as . The points at are emphasized.

j'B C! 5U 

at

) wWQw}A W @ DB! j ) B

@ A

3Qd ~

i pRhfBPi a i pghfBPi a U @ A ) i i

 #kDCB!  #kDfBy G%wU W B W B B G G C    }     j'B 5U  j'B 5U  U U @ A ) @ A )

1.4 Q UADRATIC BASIS F UNCTIONS

1.4 Quadratic Basis Functions


The essential property of the basis functions dened above is that the basis function associated with a particular node takes the value of when evaluated at that node and is zero at every other node in the element (only one other in the case of linear basis functions). This ensures the linear independence of the basis functions. It is also the key to establishing the form of the basis functions for higher order interpolation. For example, a quadratic variation of over an element requires three nodal parameters , and

The quadratic basis functions are shown, with their mathematical expressions, in Figure 1.8. Notice that since must be zero at (node ), must have a factor and since it is also zero at (node ), another factor is . Finally, since is at (node ) we have . Similarly for the other two basis functions.

(a)

(b)

(c)

F IGURE 1.8: One-dimensional quadratic basis functions.

1.5 Two- and Three-Dimensional Elements


Two-dimensional bilinear basis functions are constructed from the products of the above onedimensional linear functions as follows

U'B G hfBA@ a 5U I 3SB

0

4 RDB 4 a

) RDB ) AARDBb@ EDCB! a @ a 

G I efB DfBA@ a j

m (0

0 m t 0 00

wB 5U 

35USIfBA`GeIBPwEhfBA@ j  i G6B a hfBA@ a

) A @

(1.5)

F INITE E LEMENT BASIS F UNCTIONS

Let

where

= where and are the one-dimensional linear Note that basis functions. Similarly, = etc. These four bilinear basis functions are illustrated in Figure 1.9.

F IGURE 1.9: Two-dimensional bilinear basis functions.

Notice that is at node and zero at the other three nodes. This ensures that the temperature receives a contribution from each nodal parameter weighted by and that when is evaluated at node it takes on the value . As before the geometry of the element is dened in terms of the node positions ,

) B$@uBfPi a x

 ix i q Tup

)B

@ B

i p

i 0

la

)B

@ B

@ uB

node

@ B

) (uCB! B x) @ (B Bx@ ) (uBPi a Bx@

node

node

)B

)B

node

l Bx@ p ) (uBml a
(1.6)

4 ) $ufB 4 Bx@ a 4 a

555 @ 7q ) fBA@ sufB ) ) $ufB ) Bx@ ) BfA@ a fBA@ a a @ a ) fBA@ a uCBA@ a a ) (fBA@ a @ Bx@ ) zueq ) (fBtl B@ B  Bx@ ) gsuQPsrq ) (fB 4 a B @B I G  Bx@ a ) PsAueq ) (fB ) a B I G @B  Bx@ ) QPsAsuQPsrq ) (fBA@ a B I G @B I G  Bx@

) g ) $ufB ) Abg ) $ufBA@ E ) $uCB! Bx@ a @ Bx@ a  Bx@ @ a a U

@ `i i Bx@ pR ) (uBPi a  )B

which provide the mapping between the mathematical space (where ) and the physical space . Higher order 2D basis functions can be similarly constructed from products of the appropriate 1D basis functions. For example, a six-noded (see Figure 1.10) quadratic-linear element (quadratic in and linear in ) would have

G W ) (U Bx@B W

) (uB Bx@

x f

i Bx@ R ) (uBPi a i

 w  w hx 555x A773G
by

i Bx@ pg ) (uBPi a

where

Three-dimensional basis functions are formed similarly, e.g., a trilinear element basis has eight nodes (see Figure 1.11) with basis functions

) R3RyufBA'k ) (uB B 5 U I @ @Bj  Bx@ ) BR3yfBbXyfBP'k ) (uBtl a 5 U I @ G I @ j  Bx@ a ) PsbsuPsATvk ) (uB ) a B I G @B I G @B h  Bx@

1.5 T WO -

AND

F IGURE 1.10: A -node quadratic-linear element (node numbers circled).

T HREE -D IMENSIONAL E LEMENTS

(1.10) (1.11) (1.12) (1.13) (1.7) (1.8) (1.9) 9

4 B ) zu{E 4 x ) (fB B@ B  B Bx@ 4 g ) QPsyu{E 4 x ) (fB ya B B I G @B  B Bx@ a 4 QPs ) zu{E 4 x ) (fBtl a B I G B@ B  B Bx@ 4 QPsA ) QPsyu{E 4 x ) (fB ) a B I G B I G @B  B Bx@

4 B ) guQPHFk 4 x ) (uB B @ B I G  B Bx@ 4 R ) QPHAuQPHFk 4 x ) (uB ya B B I G @ B I G  B B x @ a 4 QPs ) guQPHFk 4 x ) (uB 4 a B I G B @ B I G  B Bx@ 4 QPzb ) QPHAuQPHFk 4 x ) (uBb@ a B I G B I G @ B I G  B Bx@

@ B

5U j

h )B G

) RuPHbTvk ) (fB B @ B I G @ B h  B x @ ya ) dHA3SyuBb'k ) (fB 4 a B I G 5 U I @ @ B j  Bx@ ) Psy3RStfBbtfBP'k ) (fBy@ a B I G 5 U I @ G I @ j  Bx@

@ B

10

F INITE E LEMENT BASIS F UNCTIONS

F IGURE 1.11: An -node trilinear element.

1.6

Higher Order Continuity

All the basis functions mentioned so far are Lagrange1 basis functions and provide continuity of across element boundaries but not higher order continuity. Sometimes it is desirable to use basis functions which also preserve continuity of the derivative of with respect to across element boundaries. A convenient way to achieve this is by dening two additional nodal parameters . The basis functions are chosen to ensure that

and

and since is shared between adjacent elements derivative continuity is ensured. Since the number of element parameters is 4 the basis functions must be cubic in . To derive these cubic Hermite2 basis functions let

1 2

Joseph-Louis Lagrange (1736-1813). Charles Hermite (1822-1901).

h B ) @ B 32 ) p# xyB32 h2 w  h2 @ uB )B i j

x ) 33d$TE# 322 B 2 i B & j " Bh x 4 3 ) (t#EDCB! B2 B& B"  

B  }32 @p# @ xyB32 h2 w  D2

4B G i p i x B32 h2 w

1.6 H IGHER O RDER C ONTINUITY

11

and impose the constraints

These four equations in the four unknowns , , and

are solved to give

or, rearranging,

where the four cubic Hermite basis functions are drawn in Figure 1.12. One further step is required to make cubic Hermite basis functions useful in practice. The

arclength and then use

(1.15)

where

is an element scale factor which scales the arclength derivative of global node

to the -coordinate derivative of element node . Thus

is constrained to be continuous

across element boundaries rather than derivatives per node

. A two- dimensional bicubic Hermite basis requires four

and

jacent elements. It is much more useful to dene a global node derivative

i x 8g2 h2 w

i xA32 0 iys Ag2 i t32 B x8 xB 8 g2 w h2 w  D2 w

8g2 h2

) B uB @ )

) @ B uB x yx y

Bh2 h2

derivative

B i  4 R ) ujIy@bj )p @pV' ) BR )pQI @0jIt@ATiQI ) TV'B @pSb@A{EDCB! & " 

dened at node

) @  pRDB @) t ) gDfB ) @pRhfB @@ XAARDCB @ 'EDCB!

Substituting , , and

back into the original cubic then gives

is dependent upon the element -coordinate in the two adwhere is

@0{ ) { @ b{
(1.14)

) jSyb )p @p#2 I @j  )pI @puybuSI ) u'P& j I @i i  @ #"  @  A#! 2 & "  ) { 2 & j "  G BD TitETtm'E`s 322 "  U BD 'E3 322 2Em"'E`H &  G   U 'E3V

i xyB32 h2 w

B i xA32 B 8 g2 w

12

F INITE E LEMENT BASIS F UNCTIONS

F IGURE 1.12: Cubic Hermite basis functions.

the four nodal parameters

and

. But since

(the normal derivative) is

parameters are required to specify this cubic. Two of these are specied by and the remaining two by and

and

4 xu@uB w

@ xu@B w

4 x ) B uB @ ) w

@ x ) B B @ ) w

)B

also cubic in

along that side and is entirely independent of these four parameters, four additional ,

@uB

4 x)B w

4 @ x)B @ w A

)B

in

. Now consider the side 13 in Figure 1.13. The cubic variation of

with

)B @ uB

)B

@ B

)B

and cubic in

, then

is quadratic in

and cubic in

, and

is cubic in

and quadratic is specied by

@ B

The need for the second-order cross-derivative term can be explained as follows; If

is cubic in

G 6

slope

) GeIB0BvEhfB @@ G r G G

G I )B  eB3eEDB @)

)B

4Bj )Bi I G  3ty3uPrEhfB @ G G B j I i ) B  DSV3vEhfB ) @uB G G

slope

U U

@ pfB @@ @ pfB @@ @ pfB @

@ uB

1.6 H IGHER O RDER C ONTINUITY

node

node

node

node

The bicubic interpolation of these nodal parameters is given by

F IGURE 1.13: Interpolation of nodal derivative

along side 13.

(1.16) 13

4 ) @ l x )B u @ @ B ) B @) sufB @) x B ) u B ) fB @) ) ) x ) B @uB w ) @ ) @ x ) B uB w ) @ () B @@ sufB @ 4 () w fB @@ ) l x )wB @ ) B @) puB ) t x B ) fB @) ) x )B w ) @ ) @ x )B w ) B @@ puB t 4 w fB @@ l u@B w x ) B ) puB @) t uu B ) fB ) @ x@ ) u B w x@ x@ w ) @ ) @ uuB ) fB @ B @ puB @ t w lp ) B ) @ ) 4 w ) ) puB t fB ) ) fB @ puB ) tAb ) CB @ @ @

@ pfB @ pfB @ pfB

@ pfB @ pfB @@ @ @@ @ @ 'k ) (uCB!  Bx@

@ xu@uB w

)B

4 xu@uB w

14

F INITE E LEMENT BASIS F UNCTIONS

where

are the one-dimensional cubic Hermite basis functions (see Figure 1.12). As in the one-dimensional case above, to preserve derivative continuity in physical x-coordinate space as well as in -coordinate space the global node derivatives need to be specied with respect to physical arclength. There are now two arclengths to consider: , measuring arclength along the -coordinate, and , measuring arclength along the -coordinate. Thus

where

and

global node to the -coordinate derivatives of element node . The bicubic Hermite basis is a powerful shape descriptor for curvilinear surfaces. Figure 1.14 shows a four element bicubic Hermite surface in 3D space where each node has the following twelve parameters and

1.7

Triangular Elements

Triangular elements cannot use the and coordinates dened above for tensor product elements (i.e., two- and three- dimensional elements whose basis functions are formed as the product of onedimensional basis functions). The natural coordinates for triangles are based on area ratios and are called Area Coordinates . Consider the ratio of the area formed from the points , and in Figure 1.15 to the total area of the triangle

nTV z`ztbFu u j @ & @ " @  

Area Area

x X

i j

) 8 T8 @ ()

q B i x ) 32 B )8 R2 w i x ) 32 i xuu32 uiys x ) 8 u8 i ) @ B @B @  x B () u B ) g2 8 @ug2 8 $) w i x ) w B uiys x ) 8 w i x ) B w )8  i xTuB w uiys uu8 w i uuB w @ x@ x@ @ u8 w  w

are element scale factors which scale the arclength derivatives of

) 8 u8 ) @ ) @ ) @ ) @ @ x 8 u8 8 T8 x 8 u8 8 T8 x x $x ) x x x $) x x

@ u8

G I eCB ) B Bj I Dfi ) B G I ) XBdB Bj Bi I 4 ) uSPG ) wB

4 4 G ijG ) ) j !i Tj w GG G  ue

    )B

hfB hfB hfB hfB

@ ) @) @@ @ uB )8 B  E@ u i xuu32 @B @8 ug2 w @ uB

(1.17)

(1.18)

1.7 T RIANGULAR E LEMENTS

15

F IGURE 1.14: A surface formed by four bicubic Hermite elements.

P( , )

F IGURE 1.15: Area coordinates for a triangular element.

U  #k@ ) x ) j

ij T

4 x 4 i

4  @ E@

 )4 E@

@ uB

)B

G  rq@

@ x@ DAf G

12 parameters per node

Area

16

F INITE E LEMENT BASIS F UNCTIONS

. Notice that is linear in and . Similarly, area coordinates for the other two triangles containing and two of the element vertices are

where and . Notice that . Area coordinate varies linearly from when lies at node or to when lies at node and can therefore be used directly as the basis function for node for a three node triangle. Thus, interpolation over the triangle is given by

where , and . Six node quadratic triangular elements are constructed as shown in Figure 1.16.

1.8

It is sometimes convenient to model the geometry of the region (over which a nite element solution is sought) using an orthogonal curvilinear coordinate system. A 2D circular annulus, for ex-

G G G@ i j U  6@ @ G r 4 ) b@ @ AI ) e 4 $x ) 7g{ 4 $x(D ) I ) sA{ 4  4 `A{ ) $DI 4 v ) $x 4 s A`g 4 v )  & I@ " @ @ I @ & x @ " @ I @ ) ) G j !i G u nTjV  4  4 t 4 Fu DA G Gj  `Tnw & "    4 @ @ jG e G DA G @ @ jG 4 4 j !i TGi w  ) GG G  7ne

Area Area

F IGURE 1.16: Basis functions for a six node quadratic triangular element.

Curvilinear Coordinate Systems

nTV  )  ) t ) Fu uj & "  

Area Area

 @" $x ) 4 QI 4 ) #q  @

4 g 4 x a

ij uG

where

) t@ 6 4  4 )  ) @ E@ I I G a a  a ) Rf ) AARfA@ m x a @ x a  x

eI 4 G eI ) G G I ey@

@ ) I 4 vE`x 4 QI )  @& 4 4 G ) ) G ) u  @ @ gA G @ @ 4 4 ) ) @ j 4 j ) j @ h v a h v ya h  v1l a 4  )a  a E@ a

is the area of the triangle with vertices

, and

1.8 C URVILINEAR C OORDINATE S YSTEMS

17

(a)

(b)

(c)

F IGURE 1.17: Dening a circular annulus with one cylindrical polar element. Notice that element -space or -space, as shown in (b) and (c), respectively, map onto the vertices and in single global node in -space in (a). Similarly, element vertices and map onto global node .

where the basis functions are given by (1.6). Three orthogonal curvilinear coordinate systems are dened here for use in later sections.

 t{  3mdt{  3yTt{%

xx y(g$V

Spherical polar

 '  y#!  03y#%

x x 3$R$f

Cylindrical polar

i i

) (fB Bx@

) (fBi a Bx@  ) (fBi a Bx@ 

) (uBdi a Bx@

) (fB Bx@

i i x T$f x 3$V

in

Global nodes and , shown in -space in Figure 1.17a, each map to two element vertices -space, as shown in Figure 1.17b, and in -space, as shown in Figure 1.17c. The coordinates at any point are given by a bilinear interpolation of the nodal coordinates and as

(1.19)

(1.20)

@ uB

@  u x 3$V

ample, can be modelled geometrically using one element with cylindrical polar e.g., the annular plate in Figure 1.17a has two global nodes, the rst with with .

-coordinates, and the second

)B ) i h G j @ u

j  ) z @  x f  Dz  uH j j G G

) v 

18

F INITE E LEMENT BASIS F UNCTIONS

F IGURE 1.18: Prolate spheroidal coordinates.

The prolate spheroidal coordinates rae illustrated in Figure 1.18 and a single prolate spheroidal are all trilinear in . Only four element is shown in Figure 1.19. The coordinates global nodes are required provided the four global nodes map to eight element nodes as shown in Figure 1.19.

4 x ) (fB B Bx@

dd' 2  2  p3dd' 2  33'


y r x

x x T$mb

x x T$mb

Prolate spheroidal

(1.21)

1.8 C URVILINEAR C OORDINATE S YSTEMS

19

(a)

(b)

1 3

(c)

(d)
o

F IGURE 1.19: A single prolate spheroidal element, shown (a) in -coordinates, (c) in -coordinates and (d) in -coordinates, (b) shows the orientation of the -coordinates on the prolate spheroid.

4B

4B

@ B

@ h uB

)B i G j  THRzC G )B j  4 z ) z @ C i h G j h i $ j G U U

h j  uHbz0V j

20

F INITE E LEMENT BASIS F UNCTIONS

1.9

CMISS Examples

1. To dene a 2D bilinear nite element mesh run the CMISS example number . The nodes should be positioned as shown in Figure 1.20. After dening elements the mesh should appear like the one shown in Figure 1.21.

4 2

6 5 1

jj TG

7. To dene a bilinear mesh in cylindrical polar coordinates run CMISS example

G 3G

6. To dene a triangular element mesh run CMISS example

(see Figure 1.24). .

hG 3G

5. To dene a 2D cubic Hermite-linear nite element mesh run example

Gj RG

4. To dene a 3D trilinear element run CMISS example

G 3G

3. To dene a quadratic-linear element run the cmiss example

iG 73G

2. To rene a mesh run the CMISS example like the one shown in Figure 1.22.

. After the rst rene the mesh should appear .

``

F IGURE 1.21: 2D bilinear nite element mesh for example

``

F IGURE 1.20: Node positions for example

GG 3TG

1.9 CMISS E XAMPLES

21

7 1 8 3 5

2 2

9 4

10 6

1 11

7 13 6 5

2 2

9 4

1 5 3 4 12 8 14

10 6

3 4

(`

F IGURE 1.24: Dening a triangular mesh for example

(`

F IGURE 1.23: Second rened mesh for example

(`

F IGURE 1.22: First rened mesh for example

Chapter 2 Steady-State Heat Conduction


2.1 One-Dimensional Steady-State Heat Conduction
Our rst example of solving a partial differential equation by nite elements is the one-dimensional steady-state heat equation. The equation arises from a simple heat balance over a region of conducting material: Rate of change of heat ux = heat source per unit volume or

or

subject to boundary conditions: and This equation (with ) has an exact solution

with which we can compare the approximate nite element solutions. To solve Equation (2.1) by the nite element method requires the following steps: 1. Write down the integral equation form of the heat equation. 2. Integrate by parts (in 1D) or use Greens Theorem (in 2D or 3D) to reduce the order of derivatives.

G6EH! G U  'EhfU! G#tU v% x 32 32 U h2 w 2 I

v I G Duv XI v ) v kf! 

 # x VP

where is temperature, Consider the case where

the heat sink and

the thermal conductivity (

$Tu Q

U'ExV1 x 32 32 h2 I w 2

G  c

32 2

(heat ux) + heat sink per unit volume = 0

).

(2.1)

(2.2)

24

S TEADY-S TATE H EAT C ONDUCTION

3. Introduce the nite element approximation for the temperature eld with nodal parameters and element basis functions. 4. Integrate over the elements to calculate the element stiffness matrices and RHS vectors. 5. Assemble the global equations. 6. Apply the boundary conditions. 7. Solve the global equations. 8. Evaluate the uxes.

2.1.1

Integral equation

Rather than solving Equation (2.1) directly, we form the weighted residual

where

is the residual

for an approximate solution and is a weighting function to be chosen below. If were an exact solution over the whole domain, the residual would be zero everywhere. But, given that in real engineering problems this will not be the case, we try to obtain an approximate solution for which the residual or error (i.e., the amount by which the differential equation is not satised exactly at a point) is distributed evenly over the domain. Substituting Equation (2.4) into Equation (2.3) gives

This formulation of the governing equation can be thought of as forcing the residual or error to be zero in a spatially averaged sense. More precisely, is chosen such that the residual is kept orthogonal to the space of functions used in the approximation of (see step 3 below).

2.1.2

Integration by parts

A major advantage of the integral equation is that the order of the derivatives inside the integral can be reduced from two to one by integrating by parts (or, equivalently for 2D problems, by applying

 %

Greens theorem - see later). Thus, substituting

and

into the integration by parts

32 I  h2 }r

U  '32

x 32 32 I h2 w 2 r

U  '325

x 32 32 I h2 w 2 @

(2.3)

(2.4)

(2.5)

2 .1 O NE -D IMENSIONAL S TEADY-S TATE H EAT C ONDUCTION

25

formula

gives

and Equation (2.5) becomes

2.1.3 Finite element approximation


into 3 equal length elements and replace the continuous eld We divide the domain variable within each element by the parametric nite element approximation
 a  B6PDB ) a B I  G DfBA@ a i pgDBPi ) ) @  a  ghfB a bAghfBA@ a EhfB i pRDBPi a  ) RhfB ) a AARhfBA@ a EhB @ 

(summation implied by repeated index) where and are the linear basis functions for both and . We also choose (called the Galerkin1 assumption). This forces the residual to be orthogonal to the space of functions used to represent the dependent variable , thereby ensuring that the residual, or error, is monotonically reduced as the nite element mesh is rened (see later for a more complete justication of this very important step) . The domain integral in Equation (2.6) can now be replaced by the sum of integrals taken separately over the three elements

Boris G. Galerkin (1871-1945). Galerkin was a Russian engineer who published his rst technical paper on the buckling of bars while imprisoned in 1906 by the Tzar in pre-revolutionary Russia. In many Russian texts the Galerkin nite element method is known as the Bubnov-Galerkin method. He published a paper using this idea in 1915. The method was also attributed to I.G. Bubnov in 1913.

x h 32 dh22 D22 I

 32  x h2 h2 %32 2 D2 w @ h2  @

32

w @

32 32 2 @
 

!32

xq32 h2 }I

I @ 5%32 322
  

h2

w 

%32 xD22 I 32 h w 2 @

 32

G #U

@ @

(2.6)

26

S TEADY-S TATE H EAT C ONDUCTION

and each element integral is then taken over -space

2.1.4

Element integrals

The element integrals arising from the LHS of Equation (2.6) have the form

and . Since and are both functions of the derivatives with respect where to need to be converted to derivatives with respect to . Thus Equation (2.7) becomes

evaluated by substituting the nite element approximation and the Jacobian is


# 

. In this case

. The term multiplying the nodal parameters

the element stiffness matrix,


 #

where the indices

and

are or . To evaluate

G B r ) 32 2 B  {EhfB ) a G I B r @ 32 2 B I G  QP6EhfBA@ a i # j  Bh2 h2 B B h2 i x  B 32 x i a a  G i aa i i i  a 2 a 2 w @

we substitute the basis functions

or or

i 5  n"Ri a DB!

i 4 32  B @  32 

a G q $ 32 B32 32 32 B  i B h2 i B  a 2 32 a 2 w @

i p

Notice that

has been taken outside the integral because it is not a function of . The term

i p Bi  32G B h2

B h2

xi B B 32 32 32 32 i a1a  B 32 i a 2 h2 !a 2 w 0 B  @ B i  a a  a   B 32 x S 32 32 2 h2 w @

where


is the Jacobian of the transformation from

B h2


 32

 

Bh2 32  i  pui a i Bh Y 322

coordinates to coordinates.

(2.7)

(2.8)

is or

is called

2 .1 O NE -D IMENSIONAL S TEADY-S TATE H EAT C ONDUCTION

27

Node 1 Node 1

Node 2

Node 3

Node 4

F IGURE 2.1: The rows of the global stiffness matrix are generated from the global weight functions. The bar is shown at the top divided into three elements.

Thus,

Notice that the element stiffness matrix is symmetric. Notice also that the stiffness matrix, in this particular case, is the same for all elements. For simplicity we put in the following steps.

2.1.5 Assembly
The three element stiffness matrices (with ) are assembled into one global stiffness matrix. This process is illustrated in Figure 2.1 where rows of the global stiffness matrix (shown here multiplied by the vector of global unknowns) are generalised from the weight function associated with nodes . Note how each element stiffness matrix (the smaller square brackets in Figure 2.1) overlaps

G  rn

4  @@

4 I 4  @ 4 @ @4 4 @ i  # I @ Ai @  i x ) z) G G  # x i  w) # )@ G I w G E@ ( #

and, similarly,

xAi i  B 2 B I G G I x B i kz# 3 ) DQPs# ) H Gi h2 ') s@ a # h2  B &  @@ G ) @ a2 w G w G @ % @

@
=

X X X X

h 5x x 57TG

G 

h 5x 5x 73G

28

S TEADY-S TATE H EAT C ONDUCTION

with its neighbour because they share a common global node. The assembly process gives
4 53 4

Notice that the rst row (generating heat ux at node ) has zeros multiplying and since nodes and have no direct connection through the basis functions to node . Finite element matrices are always sparse matrices - containing many zeros - since the basis functions are local to elements. The RHS of Equation (2.6) is

To evaluate these expressions consider the weighting function corresponding to each global node (see Fig.1.6). For node is obtained from the basis function associated with the rst node of element and therefore . Also, since is identically zero outside element , . Thus Equation (2.9) for node reduces to = ux entering node .

Similarly,

(nodes and )

and

= ux entering node .

Note: has been left in these expressions to emphasise that they are heat uxes. Putting these global equations together we get
C D A B@ @ q32 x l h2 2) 6 4r U w  6 ) rr 6 4 @ U I U 4 01 4 0 @ 4  xq32 0 4 kr 01 4 U 4 h2 w I )000 543 )0 543 43 4

(2.10)

or

l yr

4rG

 i j U # @ x  q32 G h2 w G @ G @ a  x 32 @ x 32 I h2 w h2 w

G @ l 4r 6 4 @ 2 ) I 2 ) 4 6) r r U 4 @ @ kr 01 4 U U

)0 53 4

I U U U 2) 4 @ I I 2 ) 2 ) 4 @ I 4 @ I 2 ) )001 U
 i 32 h2 

  h2 xq32 h2 w  l D2  @

U U 4 @ I U 4@ I 2) 2) 4 @ I 2 ) 2 ) 4 @ I 4 @ I 2 ) )001

 Ir  @ 32 @ h2  7   8@ @ G    32 @ h2 

U @ 7 ' 9@

(2.9)

2 .1 O NE -D IMENSIONAL S TEADY-S TATE H EAT C ONDUCTION


A
nd

29

where is the global stiffness matrix, the vector of unknowns and the global load vector. Note that if the governing differential equation had included a distributed source term that was independent of , this term would appear - via its weighted integral - on the RHS of Equation (2.10) rather than on the LHS as here. Moreover, if the source term was a function of , the contribution from each element would be different - as shown in the next section.

2.1.6 Boundary conditions


The boundary conditions and are applied directly to the rst and last nodal values: i.e., and . These so-called essential boundary conditions then replace the rst and last rows in the global Equation (2.10), where the ux terms on the RHS are at present unknown

Note that, if a ux boundary condition had been applied, rather than an essential boundary condition, the known value of ux would enter the appropriate RHS term and the value of at that node would remain an unknown in the system of equations. An applied boundary ux of zero, corresponding to an insulated boundary, is termed a natural boundary condition, since effectively no additional constraint is applied to the global equation. At least one essential boundary condition must be applied.

Solving these equations gives: solutions at these points are in Figure 2.2.

and

and . From Equation (2.2) the exact , respectively. The nite element solution is shown

2.1.8 Fluxes
The uxes at nodes and are evaluated by substituting the nodal solutions and into Equation (2.10)

These uxes are shown in Figure 2.2 as heat entering node heat ow down the temperature gradient.

and leaving node , consistent with

GiG 5 `i3G

G  rn

ux entering node

G  rn

ux entering node

; exact solution ; exact solution

T jR' ) r #qkr U  @ 5U

U 5 T U

4 5 3 U RU  r

@ x 32 G 5G  i36 h2 h x  32 w 5U I I  h 6 h2 w rG

j 5 hU`G U ) 5 3T jRU 5U 3 j r

2.1.7 Solution

) )

Gr r l U' r l 4 @ I 44 r 2 ) r 4 @ I U ' r 4 @ I ) r 2 okr 4 @ I @ kr U ' @

st

equation equation rd equation th equation

G  G z!

G r  l U hfU! 

Gr1yr l G

U  @ qr

4 5U 3 U v r

30

S TEADY-S TATE H EAT C ONDUCTION

F IGURE 2.2: Finite element solution of one-dimensional heat equation.

Equation (2.6) now becomes

where the -dependent source term appears on the RHS because it is not dependent on . Replacing the domain integral for this source term by the sum of three element integrals

and putting

in terms of gives (with

for all three elements)

i i Ph2 i i d32 i i h2 B 32 B B  j G DBSP @ G DBH @ G B @ G @ i 32 B B G  32

 32 32  x 32 32 h2 2 h2 w @ @ h2  @

  32 32  !32  h2  @   @

Gw !U U'%QIn xq32 32 h2 w 2 I

Consider the addition of a source term dependent on

2.2

An -Dependent Source Term


in Equation (2.1):

G 5 i3G G
(2.11) (2.12)

5 T U U

)4

3 jU 5

G 5 h RU

2 .3 T HE G ALERKIN W EIGHT F UNCTION R EVISITED

31

. Evaluating these expressions,

and

Thus, the contribution to the element RHS vector from the source term is Similarly, for element ,

and

gives

and for element ,

and

gives

Assembling these into the global RHS vector, Equation (2.10) becomes
4 53

2.3 The Galerkin Weight Function Revisited


A key idea in the Galerkin nite element method is the choice of weighting functions which are orthogonal to the equation residual (thought of here as the error or amount by which the equation fails to be exactly zero). This idea is illustrated in Figure 2.3. In Figure 2.3a an exact vector (lying in 3D space) is approximated by a vector where is a basis vector along the rst coordinate axis (representing one degree of freedom in the system). The difference between the exact vector and the approximate vector is the
G H G PIA A A Q RA A

 l ) ) 

l 

l 6 l ) )

l @@

l@

l ) @

)0

01

hu  B 2 B B G hEgDH G @

hu  B 2 B B j hEgDd G @

@ qh2 x l D2 6 4r 2 ) U w  6 ) rr 6 4 @ U I U 4 01 4 0 @ 4  xq32 0 4 kr 01 4 U 4 h2 w I )000 543 )0 543

43

hu  B 2 B I G G 3DPHdB G @

j  B G 32 ) B G @

term on the RHS of (2.12) corresponding to element

is

, where

B I G  {@ a

B32 a B G  @

where

h  B 2 B I G B j 31DQPsyDSP G @ i j  B 2 B I G B G j 31DQPsyDSH G @

U 4 @ I U 2 4 @ I U 4 @ I 2 4 @ I 4 @ I 2 ) )001

G PH

B { ) a

is chosen to be the appropriate basis function within each element. For example, the rst and

32

S TEADY-S TATE H EAT C ONDUCTION

F IGURE 2.3: Showing how the Galerkin method maintains orthogonality between the residual as is increased from (a) to (b) to (c) . vector and the set of basis vectors

error or residual (shown by the broken line in Figure 2.3a). The Galerkin technique minimises this residual by making it orthogonal to and hence to the approximating vector . If a second degree of freedom (in the form of another coordinate axis in Figure 2.3b) is added, the and the residual is now also made orthogonal to approximating vector is and hence to . Finally, in Figure 2.3c, a third degree of freedom (a third axis in Figure 2.3c) is permitted in the approximation with the result that the residual (now also orthogonal to ) is reduced to zero and . For a 3D vector space we only need three axes or basis vectors to represent the true vector , but in the innite dimensional vector space associated with a spatially continuous eld we need to impose the equivalent orthogonality condition for every basis function used in the approximate representation of

. The key point is that in this analogy the residual is made orthogonal to the current set of basis vectors - or, equivalently, in nite element analysis, to the set of basis functions used to represent the dependent variable. This ensures that the error or residual is minimal (in a least-squares sense) for the current number of degrees of freedom and that as the number of degrees of freedom is increased (or the mesh rened) the error decreases monotonically.

2.4

Two and Three-Dimensional Steady-State Heat Conduction

Extending Equation (2.1) to two or three spatial dimensions introduces some additional complexity which we examine here. Consider the three-dimensional steady-state heat equation with no source terms:

U # 4 a T775 S 5 5 4 4 S ) ) b@ Av a a a@

x x m d x Uv t f h w I Re w I w I

(a)

(b)

a 4 ) a @ a a
`

(c)

U # ) a U`775 S 5 5 ) ) SA@ A# a a@

4 4 ) ) @ a v A A a {k@ a b  Q a A ) { A A  @

) C!
X YW b cH A G PH A

@ a I
A Q aA

x #32 U a

U'E@ a  @ a b{ @ 4  a
V S

@ A
A A S

0 f!

2 .4 T WO

AND

T HREE -D IMENSIONAL S TEADY-S TATE H EAT C ONDUCTION

33

where and are the thermal diffusivities along the , and axes respectively. If the material is assumed to be isotropic, , and the above equation can be written as

and, if is spatially constant (in the case of a homogeneous material), this reduces to Laplaces equation . Here we consider the solution of Equation (2.13) over the region , subject to boundary conditions on (see Figure 2.4).
r

Solution region boundary:

The weighted integral equation, corresponding to Equation (2.13), is

The multi-dimensional equivalent of integration by parts is the Green-Gauss theorem:


r v

(see p553 in Advanced Engineering Mathematics by E. Kreysig, 7th edition, Wiley, 1993). This is used (with , and assuming that is constant) to reduce the derivative order from two to one as follows:

cf. Integration by parts is

Using Equation (2.16) in Equation (2.14) gives the two-dimensional equivalent of Equation (2.6)


  32 x I 32 32  qh2 h2 32 2 h2 %32 D2 w 2 I h2  q k 2 h np v2 p cI rv2 I q h  q h h u u

2 q d

U  q h #v2 p

 q2 X1yh

F IGURE 2.4: The region

and the boundary .

Solution region:

U'Enp iI h h  f  d #'P'
h yh

h c

R}I 

h xw

f g

U  ) p h

d e

(x

(2.13)

(2.14)

(2.15)

(2.16)

34

S TEADY-S TATE H EAT C ONDUCTION

(but with no source term):

where

and

, as before, and the geometric terms

inverse matrix

or, for a two-dimensional element,


)01

2.5
Let

Basis Functions - Element Discretisation

example of this mapping.

) $uB Bx@

and map each

to the

plane. Figure 2.5 shows an

, i.e., the solution region is the union of the individual elements. In each

4 53

@ ) B uB @ @ uB uB uB ) B I ) B uB @ @  6 ) ) XI ) B B B @ G u B I )01 @ 543

 a  B B B B   h nh

subject to being given on one part of the boundary and boundary. The integrand on the LHS of (2.17) is evaluated using

q X2 h n r2  q h u q @


(2.17)

being given on another part of the

B    B 

a 575 ) ) a 0@bz@ a pui % 5  i  @ a q q 

) )  6 B B @ uB uB @

4 53

i  pTi a e

)01

(2.18)

are found from the

let

)
s

@
s

4
s

2 .5 BASIS F UNCTIONS - E LEMENT D ISCRETISATION

F IGURE 2.5: Mapping each

to the

plane in a

nP

For each element, the basis functions and their derivatives are:

element plane.

(2.29) (2.28) (2.27) (2.26) (2.25) (2.24) (2.23) (2.22) (2.21) (2.20) (2.19) 35

) zvl B@ B  a

) zuQH 4 B@ B I G a

) Qsv ) a B I G@B ) PsuQHk@ a B I G@ B I G  ) z @


s

) @B u{ B l a ) B @ { l uB a ) @B I G uQP6 4 B a ) B I @ P6 4 uB a ) @B I uP6 B @ a ) B I G @ QP6 ) uB a ) @B I G I uQPs6 B @ a ) QPs6 @ uB B I G I @ a

)
s

@
s

l
s

4
s

36

S TEADY-S TATE H EAT C ONDUCTION

2.6

Integration

The equation is

i.e.,

u has already been approximated by and is a weight function but what should this be chosen to be? For a Galerkin formulation choose i.e., weight function is one of the basis functions used to approximate the dependent variable. This gives
r ! 

where the stiffness matrix is where and and is the (element) load vector. The names originated from earlier nite element applications and extension of spring systems, i.e., where is the stiffness of spring and is the force/load. This yields the system of equations . e.g., heat ow in a unit square (see Figure 2.6).


F IGURE 2.6: Considering heat ow in a unit square.

hx 555xG  b777T6q 773r hx555xG 2 q  q x a X2 a i a 

 a  q X2 x r2  q

@ uB

q E X2 h n r2  q h u G  p3i i ipTi a
$  #  

(2.30)

i # p i a i a w u

) fB

w u U G

(2.31)

(2.32)

 g'w

2 .7 A SSEMBLE G LOBAL E QUATIONS

37

and similarly for the other components of the matrix. Note that if the element was not the unit square we would need to transform from to coordinates. In this case we would have to include the Jacobian of the transformation and also use the chain rule to calculate . e.g., .

Note that the Galerkin formulation generates a symmetric stiffness matrix (this is true for self adjoint operators which are the most common). Given that boundary conditions can be applied and it is possible to solve for unknown nodal temperatures or uxes. However, typically there is more than one element and so the next step is required.

2.7 Assemble Global Equations


Each element stiffness matrix must be assembled into a global stiffness matrix. For example, consider elements (each of unit size) and nine nodes. Each element has the same element stiffness matrix as that given above. This is because each element is the same size, shape and interpolation.

)4 I 2 )4 @ )4 6 6 @ I I I @4 I 4 01 4  44 00 44 @4 I @ @4 I @ I 4 l 0 4 @ fgde 4 p 0 4 @ I 4 4 0 4 4 0 4 4 ) 0 4 4 0 4 @ A 000 444

43

4 @4 I @ I 4 @ I @ I @ 4 I @ I @ II )4 @ I )4 )4 @ 4 @ 4 I @ 4 I 4 4 @ I @ I @ I ) ) I ) I ) @ )4 I @ )4 I @ I @ 4 I@ @4 I @ 4 @ I @ 4I @ I @ I @ I @ I

4 4 l 4p ) @ 4 I @4 I @ I  6 ) 6 @ II 4 ) I @ )4 I @ II fgde @ A 01 4 @@4 I @@ I @ I @ )4 01 )0 4 3 )0

43

 i p3i

The system of

becomes

(Right Hand Side)

x f

B B i a  )B

)B ia

2 I G I G h32 ) Ps' ) QPH uB @ @ uB i a  i a


(2.33) (2.34)

@@

v a

ji 

 @@ #qz#


@@ z#

The rst component

is calculated as

I 4 I )@4 I @ @4 I @ I @ I )4 4 @ I 4 @ I ) ) @ I

 #

) (fB Bx@ @ )4 4 001 @ I 00 @ I 00 I 00


0 )0 0 0

38

S TEADY-S TATE H EAT C ONDUCTION

F IGURE 2.7: Assembling unit sized elements into a global stiffness matrix.

This yields the system of equations

Note that the matrix is symmetric. It should also be clear that the matrix will be sparse if there is a larger number of elements. From this system of equations, boundary conditions can be applied and the equations solved. To solve, rstly boundary conditions are applied to reduce the size of the system. If at global node , is known, we can remove the th equation and replace it with the known value of . This is because the RHS at node is known but the RHS equation is uncoupled from other equations so the equation can be removed. Therefore the size of the system is reduced. The nal system to solve is only as big as the number of unknown values of u. As an example to illustrate this consider xing the temperature ( ) at the left and right sides of the plate in Figure 2.7 and insulating the top (node ) and the bottom (node ). This means that

2 I I 4 I )4 6 I @ 4l I @4 I @4 I 6 @ I @ )4 @ 4 @@44 I 4 01 I @4 I I 4 0 4  44 00 44 @4 I @4 4 4 l @ 4 @4 I @ I @ I 4 I 4 0 4 @ fhde 4 l 0 4 @ I @ I @4 4 p 0 4 4 4 0 4 @4 I @4 I 4 0 4 4 ) 0 4 @ I @4 I 4 0 4 4 @ @ I A )000 44 3

4 53

global node numbering

4 @ II 4 @ 4 @4 I @4 I 4 001 @ 4 I @ I @4 II @ II 00 0 l )4 @@ 4 I @ 000 4 @ I @ I l @ 4 I 00 @ I @ I ) )00

element numbering

2 .8 G AUSSIAN Q UADRATURE

39

there are only unknown values of u at nodes (2,5 and 8), therefore there is a matrix to solve. The RHS is known at these three nodes (see below). We can then solve the matrix and then multiply out the original matrix to nd the unknown RHS values. The RHS is at nodes and because it is insulated. To nd out what the RHS is at node

at internal nodes. This can be explained in two ways.

F IGURE 2.8: Cancelling of ux in internal nodes.

Other way:

is opposite in neighbouring elements so it cancels (see Figure 2.8).

2.8 Gaussian Quadrature


The element integrals arising from two- or three-dimensional problems can seldom be evaluated analytically. Numerical integration or quadrature is therefore required and the most efcient scheme for integrating the expressions that arise in the nite element method is Gauss-Legendre quadrature. Consider rst the problem of integrating between the limits and by the sum of weighted samples of taken at points (see Figure 2.3):

Here are the weights associated with sample points - called Gauss points - and is the error in the approximation of the integral. We now choose the Gauss points and weights to exactly integrate a polynomial of degree (since a general polynomial of degree has arbitrary coefcients and there are unknown Gauss points and weights). For example, with we can exactly integrate a polynomial of degree 3:
m n

G I m Fnj

# U

b fB

Bx 555 Bx@ y777x ) (B hfB!

k l

31DBn  B2

m nj G I m nj

j  w!m

hfB

Correct way: on

does not pass through node

and each basis function that is not zero at

we need to examine the RHS expression

at node . This is zero as ux is always

is zero

i i j i j !i

U6 r2 q )
q

@ q

40

S TEADY-S TATE H EAT C ONDUCTION

and choose

Since , , and exactly. Thus,

These four equations yield the solution for the two Gauss points and weights as follows:

2 & "  B 32 4 B 2d32 ) B &tdB3kB "tB32 #3DB! B 2   B2 @ @ @ @ @ 4TBh2y3$tt}'EDB! )B& B"  

. Then

are arbitrary coefcients, each integral on the RHS of 2.35 must be integrated

) B! )

) ) B5 )

4 ) B5 )

) B5 )

5G )

buB!s@ @

AuB@ @ 5

G @ 5

5 )@ B@

5 4@ B@

 G h h2 4 B  B @  Gi h2 ) B  B @  Gj hEB  B2

 G  B ch2

 B2 3PhfB!

Let

~ H$$~ ) z @ ~~

  q

F IGURE 2.9: Gaussian quadrature.

is sampled at

....

Gauss points

)B

@ B

hfB

....
o

(2.35)

(2.36)

(2.37)

(2.38)

(2.39)

2 .8 G AUSSIAN Q UADRATURE

41

From symmetry and Equation (2.36),

Then, from (2.37),

and, substituting in (2.38),

giving

Equation (2.39) is satised identically. Thus, the two Gauss points are given by

2 For two- or three-dimensional Gaussian quadrature the Gauss point positions are simply the values given above along each -coordinate with the weights scaled to sum to e.g., for x Gauss quadrature the weights are all . The number of Gauss points chosen for each -direction is governed by the complexity of the integrand in the element integral (2.8). In general two- and threedimensional problems the integral is not polynomial (owing to the terms which come from the

j j

v B

h  G k@ 

G  4

x i

w x i lGj Gj  4 B x Gj  ) B wxj j  @ G I G kB

A similar calculation for a

th

degree polynomial using three Gauss points gives

xU ' Gi AI )@ j @Bj B

i @B I G j  ) suQs# )@ B

j G  i j x v G v x i G j

v 5 i G j

5 Gj  )
k

@B I G Qdc ) B ) q@  j ) G  B I Gj kB  @
tuj  @ G EuB

 k@
k

(2.40)

(2.41)

42

S TEADY-S TATE H EAT C ONDUCTION

inverse of the matrix

error must be balanced against the discretization error. For example, if the two-dimensional basis is cubic in the -direction and linear in the -direction, three Gauss points would be used in the -direction and two in the -direction.

2.9

CMISS Examples

2. To solve for the steady state temperature distribution inside an annulus run CMISS example 3. To investigate the convergence of the steady state temperature distribution with mesh renement run CMISS examples , , and .

GG Ti

1. To solve for the steady state temperature distribution inside a plate run CMISS example

hhG T7i

ihG jhG GhG h7i D7i 7i

)B

)B

 v'B 

) and no attempt is made to achieve exact integration. The quadrature

@ uB

jG i

@ uB

Chapter 3 The Boundary Element Method


3.1 Introduction
Having developed the basic ideas behind the nite element method, we now develop the basic ideas of the boundary element method. There are several key differences between these two methods, one of which involves the choice of weighting function (recall the Galerkin nite element method used as a weighting function one of the basis functions used to approximate the solution variable). Before launching into the boundary element method we must briey develop some ideas that are central to the weighting function used in the boundary element method.

3.2 The Dirac-Delta Function and Fundamental Solutions


Before one applies the boundary element method to a particular problem one must obtain a fundamental solution (which is similar to the idea of a particular solution in ordinary differential equations and is the weighting function). Fundamental solutions are tied to the Dirac1 Delta function and we deal with both here.

3.2.1 Dirac-Delta function


What we do here is very non-rigorous. To gain an intuitive feel for this unusual function, consider the following sequence of force distributions applied to a large plate as shown in Figure 3.1

Paul A.M. Dirac (1902-1994) was awarded the Nobel Prize (with Erwin Schrodinger) in 1933 for his work in quantum mechanics. Dirac introduced the idea of the Dirac Delta intuitively, as we will do here, around 1926-27. It was rigorously dened as a so-called generalised function by Schwartz in 1950-51, and strictly speaking we should talk about the Dirac Delta Distribution.

7 @ i RY 7 ) U kP1|  i 7 @ i RY 7 i

44

T HE B OUNDARY E LEMENT M ETHOD

Each has the property that

As gets larger we can easily see that the area of application of the force becomes smaller and smaller, the magnitude of the force increases but the total force applied remains unity. If we imagine letting we obtain an idealised point force of unit strength, given the symbol , acting at = 0. Thus, in a nonrigorous sense we have

the Dirac Deltafunction.

This is not a function that we are used to dealing with because we have if and i.e., the function is zero everywhere except at the origin, where it is innite.

The Dirac delta function is not a function in the usual sense, and it is more correctly referred to as the Dirac delta distribution. It also has the property that for any continuous function

G  2 i c%3dP1|

U  2 h(hPCf

G  2 6%3f

However, we have

since each

U 

U ! 

i 

F IGURE 3.1: Illustrations of unit force distributions

   

 {

z {

 z

i fd1| y  i kf 

| }

 hVU

but as

increases the area of force application decreases and the force/unit area increases.

G  2 i r3dP1|
y

(i.e., the total force applied is unity)

(3.1)

3 .2 T HE D IRAC -D ELTA F UNCTION

AND

F UNDAMENTAL S OLUTIONS

45

A rough proof of this is as follows

by the Mean Value Theorem, where


|

The above result (Equation (3.1)) is often used as the dening property of the Dirac delta in more rigorous derivations. One does not usually talk about the values of the Dirac delta at a particular point, but rather its integral behaviour. Some properties of the Dirac delta are listed below

step function.)

(i.e., the two dimensional Dirac delta is just a product of two one-dimensional Dirac deltas.)

3.2.2 Fundamental solutions


We develop here the fundamental solution (also called the freespace Greens3 function) for Laplaces Equation in two variables. The fundamental solution of a particular equation is the weighting function that is used in the boundary element formulation of that equation. It is therefore important to be able to nd the fundamental solution for a particular equation. Most of the common equations
Oliver Heaviside (1850-1925) was a British physicist, who pioneered the mathematical study of electrical circuits and helped develop vector analysis. 3 George Green (1793-1841) was a self-educated millers son. Most widely known for his integral theorem (the Green-Gauss theorem).
2

I I  QfB

 I x I EB

I fB

where

B B

if if

(i.e., the Dirac Delta function is the slope of the Heaviside2

U  '

I fB B  {%

 I qfB

I QCB

(Note:

is the Dirac delta distribution centred at

instead of

 2 I hB%3fQfB

since

and as

) (3.3)

U A'~ | B x xq q G x G I w yB

i f1|

by denition of

f
(3.2) (3.4)

by denition of

x1q q Gx G Iw

U hV( q j y 8i  j hfB q   32d  j q y 8 i  y y 8i 3dC 32dCPi1|  2


 y y

y y

46

T HE B OUNDARY E LEMENT M ETHOD

have well-known fundamental solutions (see Appendix 3.16). We briey illustrate here how to nd a simple fundamental solution.

The fundamental solution for this equation (analogous to a particular solution in ODE work) is a solution of

in (i.e., we solve the above without reference to the original domain or original boundary conditions). The method is to try and nd solution to in which contains a singularity at the point . This is not as difcult as it sounds. We expect the solution to be symmetric about the point since is symmetric about this point. So we adopt a local polar coordinate system about the singular point . Let
q

For

and owing to symmetry,

This can be solved by straight (one-dimensional) integration. The solution is (3.7)

Note that this function is singular at as required. To nd and we make use of the integral property of the Delta function. From Equation (3.5) we must have

where is any domain containing . We choose a simple domain to allow us to evaluate the above integrals. If

G I r

) ) ) G

is zero. Thus Equation (3.6) becomes

U  # UPEg U # x G w ) )

x G  )

Then, from Section 1.8 we have

) d}q

Consider solving the Laplace Equation

) P

U  I x I vEfB

U w nh )

I I ) Q' ) QB

U # ) ()

x fB

I r

) ()

in some domain

I x I B

) )

2 )

U  #

) )
h

(3.5)

U  I x I x U 'mQB  Re

x B x B

) P

(3.6)

(3.8)

is a small disk of

3 .2 T HE D IRAC -D ELTA F UNCTION

AND

F UNDAMENTAL S OLUTIONS

47

F IGURE 3.2: Domain used to evaluate fundamental solution coefcients.

Therefore, from Equation (3.8)

So we have

remains arbitrary but usually put equal to zero, so that the fundamental solution for the twodimensional Laplace Equation is

from Equation (3.7), and the fact that

is a disc of radius

xA j G G  w

U  '

UPk j I G r

5 j 6# G I 

E j I G r

since

is a disk centred at

U  v

2  2 q 

j #

U e

radius

centred at

(Figure 3.2) then from the Green-Gauss theorem is the surface of the disk

so

and are in the same direction

x sfB

2 )
h

(3.9)

48

T HE B OUNDARY E LEMENT M ETHOD

where (singular at the point ). The fundamental solution for the three-dimensional Laplace Equation can be found by a similar technique. The result is

where is now a distance measured in three-dimensions.

3.3

The Two-Dimensional Boundary Element Method


q

We are now at a point where we can develop the boundary element method for the solution of in a two-dimensional domain . The basic steps are in fact quite similar to those used for the nite element method (refer Section 2.1). We rstly must form an integral equation from the Laplace Equation by using a weighted integral equation and then use the Green-Gauss theorem. From Section 2.4 we have seen that
q

This was the starting point for the nite element method. To derive the starting equation for the boundary element method we use the Green-Gauss theorem again on the second integral. This gives

For the Galerkin FEM we chose , the weighting function, to be , one of the basis functions used to approximate . For the boundary element method we choose to be the fundamental solution of Laplaces Equation derived in the previous section i.e.,

where (singular at the point ). Then from Equation (3.11), using the property of the Dirac delta
q gR

i.e., the domain integral has been replaced by a point value.

x B

a  q2 ) h r2 q I2 q r  u u u q v2 h5 nh I2 q r  U u

x I  q2 I x I B!d6X1B

5 nh

q ga

x fB x fB
u

I2 q r  q 5 X2 ) u

k j I G c

bTh G 
u

I I ) ' ) B I I ) ' ) B
h

I  q 6X2 ) h

 U

 

U  ) #$nh

(3.10)

(3.11)

(3.12)

3 .3 T HE T WO -D IMENSIONAL B OUNDARY E LEMENT M ETHOD

49

Thus Equation (3.11) becomes


q gR q

This equation contains only boundary integrals (and no domain integrals as in Finite Elements) and is referred to as a boundary integral equation. It relates the value of at some point inside the solution domain to integral expressions involving and over the boundary of the solution domain. Rather than having an expression relating the value of at some point inside the domain to boundary integrals, a more useful expression would be one relating the value of at some point on the boundary to boundary integrals. We derive such an expression below. The previous equation (Equation (3.13)) holds if (i.e., the singularity of Dirac Delta function is inside the domain). If is outside then

since the integrand of the second integral is zero at every point except and this point is outside the region of integration. The case which needs special consideration is when the singular is on the boundary of the domain . This case also happens to be the most important point for numerical work as we shall see. The integral expression we will ultimately obtain is simply was inside the domain, we integrated around the entire singularity of the follows. When Dirac Delta to get in Equation (3.13). When is on the boundary we only have half of the singularity contained inside the domain, so we integrate around one-half of the singularity to get . Rigorous details of where this coefcient
q

enlarge to include a disk of radius about (Figure 3.3). We call this enlarged region and let . Now, since is inside the enlarged region , Equation (3.13) holds for this enlarged domain i.e., (3.14)

We must now investigate this equation as each of these in turn.

. There are integrals to consider, and we look at

2 ) h

q r2

98e

w   2 q r

88e

Af!

x fB

Let

denote the point

. In order to be able to evaluate

j G x fB

x sCB!

Equation (3.13) with

replaced by

. We can see this in a non-rigorous way as

comes from are given below. in this case we

x B

U  q 2 I x I 'tPQsQfB

x fB q

q gR

q 2 rv2  r u x fB x B Gj
q  q

I  q rv2 ) h

x sCB

(3.13)

AB x
u

x CB! x fB

x CB! Gj

x B

r( q

U ' x

we 

w  w w  g q j r q G I w  2 

x j j r q w V Ir f! G I } 2  w


r r

50

Firstly consider

F IGURE 3.3: Illustration of enlarged domain when singular point is on the boundary.

T HE B OUNDARY E LEMENT M ETHOD

since

since

by the mean value theorem for a surface with a unique tangent at Thus

G Df! G j I

j I G 6 j I G 6

  2 q r

r 2  G r 2 x r 2 G k j I w x r2 G k j I q

since

By a similar process we obtain

as

by denition of

on

on

(3.16) (3.15)

3 .3 T HE T WO -D IMENSIONAL B OUNDARY E LEMENT M ETHOD

51

Combining Equations (3.14)(3.18) we get


h

or
v R h

where (i.e., singular point is on the boundary of the region). Note: The above is true if the point is at a smooth point (i.e., a point with a unique tangent) on the boundary of . If happens to lie at some nonsmooth point e.g. a corner, then the coefcient

is replaced by

where

is the internal angle at

(Figure 3.4).

F IGURE 3.4: Illustration of internal angle .

since as . Note: If the integrand is too badly behaved we cannot always replace one must deal with Cauchy Principal Values. (refer Section 4.8) Thus we have
w

(nice integrand)

It only remains to consider the integrand over integrals we are dealing with here) we have
e

. For nice integrals (which includes the

B8e

hap

(nice integrand)

by

in the limit and

(3.17)

(3.18)

52

T HE B OUNDARY E LEMENT M ETHOD

Thus we get the boundary integral equation.


g g T g (

(3.19)

where
l

internal angle
9

if

and

not smooth at

For three-dimensional problems, the boundary integral equation expression above is the same, with

inner solid angle


if

and

not smooth at and and the value of


point . Once the surface distributions of and are known, the value of at any point inside can be found since all surface integrals in Equation (3.19) are then known. The procedure and then (if required) is thus to use Equation (3.19) to nd the surface distributions of and use Equation (3.19) to nd the solution at any point . Thus we solve for the boundary data rst, and nd the volume data as a separate step. Since Equation (3.19) only involves surface integrals, as opposed to volume integrals in a nite element formulation, the overall size of the problem has been reduced by one dimension (from volumes to surfaces). This can result in huge savings for problems with large volume to surface ratios (i.e., problems with large domains). Also the effort required to produce a volume mesh of a complex three-dimensional object is far greater than that required to produce a mesh of the surface. Thus the boundary element method offers some distinct advantages over the nite element method in certain situations. It also has some disadvantages when compared to the nite element method and these will be discussed in Section 3.6. We now turn our attention to solving the boundary integral equation given in Equation (3.19).

Equation (3.19) involves only the surface distributions of

if if

and

smooth at

uw (

if if

and

smooth at

at a

3 .4 N UMERICAL S OLUTION P ROCEDURES

FOR THE

B OUNDARY I NTEGRAL E QUATION

53

3.4 Numerical Solution Procedures for the Boundary Integral Equation

The rst step is to discretise the surface elements).

into some set of elements (hence the name boundary

(a)

F IGURE 3.5: Schematic illustration of a boundary element mesh (a) and a nite element mesh (b).

Then Equation (3.19) becomes


are values of and on element and are values of and at node on where element . These basis functions for and can be any of the standard one-dimensional nite element basis functions (although we are dealing with a two-dimensional problem, we only have to interpolate the functions over a one-dimensional element). In general the basis functions used for and do not have to be the same (typically they are) and these basis functions can even be different to the basis functions used for the geometry, but are generally taken to be the same (this is termed an isoparametric formulation).



  

 

 

  

and

 

Over each element

we introduce standard (nite element) basis functions (3.22)

(3.20)

(b)

 

(3.21)

54

T HE B OUNDARY E LEMENT M ETHOD

This gives
       ( 4 53 

This equation holds for any point on the surface . We now generate one equation per node by putting the point to be at each node in turn. If is at node , say, then we have
    

, where where is the fundamental solution with the singularity at node (recall is is the distance from the singularity point). We can write Equation (3.24) in a more abbreviated form as
l
 !    

where



(compare to the global nite element equations ) where the vectors and are the vectors th of nodal values of and . Note that the component of the matrix in general is not and similarly for . At each node, we must specify either a value of or (or some combination of these) to have a well-dened problem. We therefore have equations (the number of nodes) and have unknowns to nd. We need to rearrange the above system of equations to get
   " & #  ) 0 ) 0

where is the vector of unknowns. This can be solved using standard linear equation solvers, although specialist solvers are required if the problem is large (refer [todo : Section ???]). The matrices and (and hence ) are fully populated and not symmetric (compare to the nite element formulation where the global stiffness matrix is sparse and symmetric). The size of the and matrices are dependent on the number of surface nodes, while the matrix is dependent on the number of nite element nodes (which include nodes in the domain). As
( 3 $ $ # # (

"

Equation (3.25) is for node and if we have nodes, then we can generate We can assemble these equations into the matrix system
& $ A '%

and

equations.

hv
 ! 

   

"

1 2

"


 

xw
    

$  4

(3.23)

(3.24)

(3.25)

(3.26)

(3.27)

(3.28)

3 .5 N UMERICAL E VALUATION

OF

C OEFFICIENT I NTEGRALS

55

mentioned earlier, it depends on the surface to volume ratio as to which method will generate the smallest and quickest solution. The use of the fundamental solution as a weight function ensures that the and matrices are generally well conditioned (see Section 3.5 for more on this). In fact the matrix is diagonally dominant (at least for Laplaces equation). The matrix is therefore also well conditioned and Equation (3.28) can be solved reasonably easily. The vector contains the unknown values of and on the boundary. Once this has been found, all boundary values of and are known. If a solution is then required at a point inside the domain, then we can use Equation (3.25) with the singular point located at the required solution point i.e.,
$ # # 6  7

The right hand side of Equation (3.29) contains no unknowns and only involves evaluating the surface integrals using the fundamental solution with the singular point located at .

3.5 Numerical Evaluation of Coefcient Integrals


and integrals for two-dimensional problems. We consider in detail here how one evaluates the These integrals typically must be evaluated numerically, and require far more work and effort than the analogous nite element integrals. Recall that
v
 (  !    

and

where


In terms of a local coordinate we have




8 @ DgC8

distance measured from node

&

 ! 

6

!  

Ye

8 @ DgC8

8 @8 BA9

&

  

  

 ! 

(3.29)

(3.30)

(3.31)

56

T HE B OUNDARY E LEMENT M ETHOD

The Jacobian
@

can be found by

G

interpolation expression for and The fundamental solution is




To nd

we note that
TV R US 

where is a unit outward normal vector. To nd a unit normal vector, we simply rotate the tangent vector (given by ) by in the appropriate direction and then normalise. Thus every expression in the integrands of the and integrals can be found at any value of , and the integrals can therefore be evaluated numerically using some suitable quadrature schemes. If node is well removed from element then standard Gaussian quadrature can be used to evaluate these integrals. However, if node is in (or close to it) we see that approaches 0 and the fundamental solution tends to . The integral still exists, but the integrand becomes singular. In such cases special care must be taken - either by using special quadrature schemes, large numbers of Gauss points or other special treatment. The integrals for which node lies in element are in general the largest in magnitude and lead to the diagonally dominant matrix equation. It is therefore important to ensure that these integrals are calculated as accurately as possible since these terms will have most inuence on the solution. This is one of the disadvantages of the BEM - the fact that singular integrands must be accurately integrated. A relatively straightforward way to evaluate all the integrals is simply to use Gaussian quadrature with varying number of quadrature points, depending on how close or far the singular point is from the current element. This is not very elegant or efcient, but has the benet that it is relatively easy to implement. For the case when node is contained in the current element one can use special quadrature schemes which are designed to integrate log-type functions. These are to be preferred when one is dealing with Laplaces equation. However, these special log-type schemes cannot be so readily used on other types of fundamental solution so for a general purpose implementation, Gaussian quadrature is still the norm. It is possible to incorporate adaptive integration schemes that keep adding more quadrature points until some error estimate is small enough, or also to subdivide the current element into two or more smaller elements and evaluate the integral over each






P Q

where

are the coordinates of node .




x

W F

W X

g  

TV

where

represents the arclength and

and

can be found by straight differentiation of the

H 9

H I

E F

(3.32)

g@

(3.33)

3 .6 T HE T HREE -D IMENSIONAL B OUNDARY E LEMENT M ETHOD

57

(a)
`

subelement. It is also possible to evaluate the worst integrals by using simple solutions to the governing equation, and this technique is the norm for elasticity problems (Section 4.8). Details on each of these methods is given in Section 3.8. It should be noted that research still continues in an attempt to nd more efcient ways of evaluating the boundary element integrals.

3.6 The Three-Dimensional Boundary Element Method


The three-dimensional boundary element method is very similar to the two-dimensional boundary element method discussed above. As noted above, the three-dimensional boundary integral equation is the same as the two-dimensional equation (3.19), with and being dened as in Section 3.3. The numerical solution procedure also parallels that given in Section 3.4, and the expressions given for and apply equally well to the three-dimensional case. The only real difference between the two procedures is how to numerically evaluate the terms in each integrand of these coefcient integrals. As in Section 3.5 we illustrate how to evaluate each of the terms in the integrand of and .
 !    

F IGURE 3.6: Illustration of the decrease in

 ! 

  

node

(b)
as node approaches element .

node

58

T HE B OUNDARY E LEMENT M ETHOD

The relevant expressions are





The fundamental solution is


s @ p p q i i i  i H p H p p G i TV Pf  TV hRg   s x s  s s     s  s 

where are the coordinates of node . As before we use to nd . The unit outward normal is found by normalising the cross product of the two tangent vectors and (it relies on the user of any BEM code to
p
G

ensure that the elements have been dened with a consistent set of element coordinates and ). The Jacobian is given by (where and are the two tangent vectors). Note that this is different for the determinant in a two-dimensional nite element code - in that case we are dealing with a two-dimensional surface in two-dimensional space, whereas here we have a (possibly curved) two-dimensional surface in three-dimensional space. The integrals are evaluated numerically using some suitable quadrature schemes (see Section 3.8) (typically a Gauss-type scheme in both the and directions).

3.7

A Comparison of the FE and BE Methods

We comment here on some of the major differences between the two methods. Depending on the application some of these differences can either be considered as advantageous or disadvantageous to a particular scheme. 1. FEM: An entire domain mesh is required. BEM: A mesh of the boundary only is required. Comment: Because of the reduction in size of the mesh, one often hears of people saying that the problem size has been reduced by one dimension. This is one of the major pluses of

where
  

D s ce s 8 @8

8 d

@ s c8


  

(  ! 

  

(3.34)

(3.35)

3 .7 A C OMPARISON

OF THE

FE

AND

BE M ETHODS

59

the BEM - construction of meshes for complicated objects, particularly in 3D, is a very time consuming exercise. 2. FEM: Entire domain solution is calculated as part of the solution. BEM: Solution on the boundary is calculated rst, and then the solution at domain points (if required) are found as a separate step. Comment: There are many problems where the details of interest occur on the boundary, or are localised to a particular part of the domain, and hence an entire domain solution is not required. 3. FEM: Reactions on the boundary typically less accurate than the dependent variables. BEM: Both and of the same accuracy. 4. FEM: Differential Equation is being approximated. BEM: Only boundary conditions are being approximated. Comment: The use of the Green-Gauss theorem and a fundamental solution in the formulation means that the BEM involves no approximations of the differential Equation in the domain - only in its approximations of the boundary conditions. 5. FEM: Sparse symmetric matrix generated. BEM: Fully populated nonsymmetric matrices generated. Comment: The matrices are generally of different sizes due to the differences in size of the domain mesh compared to the surface mesh. There are problems where either method can give rise to the smaller system and quickest solution - it depends partly on the volume to surface ratio. For problems involving innite or semi-innite domains, BEM is to be favoured. 6. FEM: Element integrals easy to evaluate. BEM: Integrals are more difcult to evaluate, and some contain integrands that become singular. Comment: BEM integrals are far harder to evaluate. Also the integrals that are the most difcult (those containing singular integrands) have a signicant effect on the accuracy of the solution, so these integrals need to be evaluated accurately. 7. FEM: Widely applicable. Handles nonlinear problems well. BEM: Cannot even handle all linear problems. Comment: A fundamental solution must be found (or at least an approximate one) before the BEM can be applied. There are many linear problems (e.g., virtually any nonhomogeneous equation) for which fundamental solutions are not known. There are certain areas in which the BEM is clearly superior, but it can be rather restrictive in its applicability. 8. FEM: Relatively easy to implement. BEM: Much more difcult to implement. Comment: The need to evaluate integrals involving singular integrands makes the BEM at least an order of magnitude more difcult to implement than a corresponding nite element procedure.
&

60

T HE B OUNDARY E LEMENT M ETHOD

3.8

More on Numerical Integration

The BEM involves integrals whose integrands in generally become singular when the source point is contained in the element of integration. If one uses constant or linear interpolation for the geometry and dependent variable, then it is possible to obtain analytic expressions to most (if not all) of the integrals that will appear in the BEM (at least for two-dimensional problems). The expressions can become quite lengthy to write down and evaluate, but benet from the fact that they will be exact. However, when one begins to use general curved elements and/or solve threedimensional problems then the integrals will not be available as analytic expressions. The basic tool for evaluation of these integrals is quadrature. As discussed in Section 2.8 a one-dimensional integral is approximated by a sum in which the integrand is evaluated at certain discrete points or abscissa
    t x

where are the weights and are the abscissa. The weights and abscissa for the Gaussian quadrature scheme of order are chosen so that the above expression will exactly integrate any polynomial of degree or less. For the numerical evaluation of two or three-dimensional integrals, a Gaussian scheme can be used of each variable of integration if the region of integration is rectangular. This is generally not the optimal choice for the weights and abscissae but it allows easy extension to higher order integration.

3.8.1

Logarithmic quadrature and other special schemes

Low order Gaussian schemes are generally sufcient for all FEM integrals, but that is not the case for BEM. For a two-dimensional BEM solution of Laplaces equation, integrals of the form will be required. It is relatively common to use logarithmic schemes for this.
e

These are obtained by approximating the integral as




i.e., the log function has been factored out. In the same way as Gaussian quadrature schemes were developed in Section 2.8, log quadrature schemes can be developed which will exactly integrate polynomial functions . Tables of these are given below It is possible to develop similar quadrature schemes for use in the BEM solution of other PDEs, which use different fundamental solutions to the log function. The problem with this approach is the lack of generality - each new equation to be used requires its own special quadrature scheme.
g
r

v y

v F r

t u

g
r

r s

3 .9 T HE B OUNDARY E LEMENT M ETHOD A PPLIED

TO OTHER

E LLIPTIC PDE S

61

0.112009 0.718539 0.602277 0.281461

0.063891 0.513405 0.368997 0.391980 0.766880 0.094615

0.041448 0.245275 0.556165 0.848982

0.383464 0.386875 0.190435 0.039225

TABLE 3.1: Abscissas and weight factors for Gaussian integration for integrands with a logarithmic singularity.

3.8.2 Special solutions


Another approach, particularly useful if Cauchy principal values are to be found (see Section 4.8) is to use special solutions of the governing equation to nd one or more of the more difcult integrals. For example is a solution to Laplaces equation (assuming the boundary conditions are set correctly). Thus if one sets both and in Equation (3.27) at every node according to the solution , one can then use this to solve for some entry in either the or matrix (typically the diagonal entry since this is the most important and difcult to nd). Further solutions ) can be used to nd the other matrix entries (or just used to Laplaces equation (e.g., to check the accuracy of the matrices).

3.9 The Boundary Element Method Applied to other Elliptic PDEs


Helmholtz, modied Helmholtz (CMISS example) Poisson Equation (domain integral and MRM, DRM, Monte-carlo integration.

3.10 Solution of Matrix Equations


The standard BEM approach results in a system of equations of the form (refer (3.28)). As mentioned above the matrix is generally well conditioned, fully populated and nonsymmetric. For small problems, direct solution methods, based on LU factorisations, can be used. As the problem size increases, the time taken for the matrix solution begins to dominate the matrix assembly stage. This usually occurs when there is between and degrees of freedom, although it is very dependent on the implementation of the BE method. The current technique of favour in the BE community for solution of large BEM matrix equations is a preconditioned Conjugate Gradient solver. Preconditioners are generally problem dependent - what works well for one problem may not be so good for another problem. The conjugate gradient technique is generally regarded as a solution technique for (sparse) symmetric matrix equations.
) 77 4 3 3

 v

v 

 v

Abscissas =

Weight Factors =

62

T HE B OUNDARY E LEMENT M ETHOD

F IGURE 3.7: Coupled nite element/boundary element solution domain.

3.11

Coupling the FE and BE techniques

There are undoubtably situations which favour FEM over BEM and vice versa. Often one problem can give rise to a model favouring one method in one region and the other method in another region, e.g., in a detailed analysis of stresses around a foundation one needs FEM close to the foundation to handle nonlinearities, but to handle the semi-innite domain (well removed from the foundation), BEM is better. There has been a lot of research on coupling FE and BE procedures we will only talk about the basic ideas and use Laplaces Equation to illustrate this. There are at least two possible methods. 1. Treat the BEM region as a nite element and combine with FEM 2. Treat the FEM region as an equivalent boundary element and combine with BEM Note that these are essentially equivalent - the use of one or the other depends on the problem, in the sense of which part is more dominant FEM or BEM) Consider the region shown in Figure 3.7, where FEM region BEM region FEM boundary BEM boundary interface boundary
A

The BEM matrices for


can be written as
#

&

where is a vector of the nodal values of and The FEM matrices for can be written as
A
(

is a vector of the nodal values of

& $ '%

(3.36)

(3.37)

3 .11 C OUPLING

THE

FE

AND

BE

TECHNIQUES

63

where is the stiffness matrix and is the load vector. To apply method (i.e., treating BEM as an equivalent FEM region) we get (from Equation (3.36))
&

If we recall what the elements of in Equation (3.37) contained, then we can convert in Equation (3.38) to an equivalent load vector by weighting the nodal values of by the appropriate basis functions, producing a matrix i.e., Therefore Equation (3.38) becomes
& & ) & f & f

an equivalent stiffness matrix obtain from BEM. Therefore we can assemble this together with original FEM matrix to produce an FEM-type . system for the entire region Notes:
(

1.

is in general not symmetric and not sparse. This means that different matrix equation solvers must be used for solving the new combined FEM-type system (most solvers in FEM codes assume sparse and symmetric). Attempts have been made to symmetricise the
f ( ge ( d

( is continuous)

To apply method (i.e., to treat the FEM region as an equivalent BEM region) we rstly note that, as before, . Applying this to (3.37) yields an equivalent BEM system. This can be assembled into the existing BEM system (using compatability conditions) and use existing BEM matrix solvers. Notes: 1. This approach does not require any matrix inversion and is hence easier (cheaper) to implement 2. Existing BEM solvers will not assume symmetric or sparse matrices therefore no new matrix solvers to be implemented
& fh ( & fh )

( is continuous, but
A
&

A&

2. On

nodal values of

and

are unknown. One must make use of the following

matrix - of doubtful quality. (e.g., replace results).


A

by

- often yields inaccurate

where

$Q )

i.e.,
(

(3.38)

64

T HE B OUNDARY E LEMENT M ETHOD

3.12

Other BEM techniques

What we have mentioned to date is the so-called singular (direct) BEM. Given a BIE there are other ways of solving the Equation although these are not so widely used.

3.12.1

Trefftz method

Trefftz was the rst person to perform a BEM calculation (in 1917 - calculated the value (numerical) of the contraction coefcient of a round jet issuing from an innite tank - a nonlinear free surface problem). This method basically uses a complete set of solutions instead of a Fundamental Solution. e.g., Consider Laplaces Equation in a (bounded) domain
Q P

The procedure is to express as a series of (complete) functions satisfying Laplaces equation with coefcients which need to be numerically determined through utilisation of the boundary conditions. Notes: 1. Doesnt introduce singular functions so integrals are easy to evaluate

2. Must nd a (complete) set of functions (If you just use usual approximations for system is not diagonally dominant so not so good)

3. Method is not so popular - Greens functions more widely available that complete systems

3.12.2

Regular BEM

Consider the BIE for Laplaces equation


g

The usual procedure is to put point at each solution variable node - creating an equation for each node. This leads to singular integrands. Another possibility is to put point outside of the domain - this yields
h

with


k j

k j

(v
k j

k lj

m n

k j

uw

weighted residuals

if

matrix

k j

3 .13 S YMMETRY

65

Following discretisation as before gives


 m n t 7      

1. This method does not involve singular integrands, so that integrals are inexpensive to calculate. 2. There is considerable choice for the location of the point . Often the set of Equations generated are ill-conditioned unless chosen carefully. In practise is chosen along the unit outward normal of the surface at each solution variable node. The distance along each node is often found by experimentation - various research papers suggesting ideal distances (Patterson & Shiekh). 3. This method is not very popular. 4. The idea of placing the singularity point away from the solution variable node is often of use in other situations e.g., Exterior Acoustic Problems. For an acoustic problem (governed ) in an unbounded region the system of Equations proby Helmholtz Equation duced by the usual (singular) BEM approach is singular for certain ctitious frequencies (i.e., certain values of ). To overcome this further equations are generated (by placing the singular point at various locations outside ). The system of equations are then overdetermined and are solved in a least squares sense.

3.13 Symmetry
Consider the problem given in Figure 3.8 (the domain is outside the circle). Both the boundary conditions and the governing Equation exhibit symmetry about the vertical axis. i.e., putting to makes no difference to the problem formulation. Thus the solution has the property . This behaviour can be found in many problems and we can make that use of this as follows. The Boundary Element Equation is (with (i.e., is even) constant elements)

w q

- an equation involving and at each surface node. By placing the point (the singular point) at other distinct points outside as many equations as there are unknowns (or more if required). Notes:


u u u xvBB



m n

o p

P o

 s F

one can generate

q r

(3.39)

66

T HE B OUNDARY E LEMENT M ETHOD

F IGURE 3.8: A problem exhibiting symmetry.

We have Equations and unknowns (allowing for the boundary conditions). From symmetry we know that (refer to Figure 3.9).
t

So we can write


then we can write Equation (3.41) as


t   !   

and solve as before. (This procedure has halved the number of unknowns.)

u u u BBB

u u ut BBB

7 yd 

  yd

! 

 

BvB u u u  u u u xBvB 

for nodes for nodes If we dene

. (The Equations for nodes ). The above Equations have only

are the same as the Equations unknowns.

7 yD 

E q

u u u xBvB

z x {y

w % t ~

} | DX

7 yd 

(3.40)

(3.41)

(3.42)

(3.43)

(3.44)

3 .14 A XISYMMETRIC P ROBLEMS

67

F IGURE 3.9: Illustration of a symmetric mesh.

Note: Since this means that the integrals over the elements to will never contain a singularity arising from the fundamental solution, except possibly on the axis of symmetry if linear or higher order elements are used. An alternative approach to the method above arises from the implied no ux across the axis. This approach ignores the negative axis and considers the half plane problem shown. However now the surface to be discretised extends to innity in the positive and negative directions and the resulting systems of equations produced is much larger. Further examples of how symmetry can be used (e.g., radial symmetry) are given in the next section.

3.14 Axisymmetric Problems


If a three-dimensional problem exhibits radial or axial symmetry (i.e., ) it is possible to reduce the two-dimensional integrals appearing in the standard boundary Equation to one-dimensional line integrals and thus substantially reduce the amount of computer time that would otherwise be required to solve the fully three-dimensional problem. The rst step in such a procedure is to write the standard boundary integral equation in terms of cylindrical polars i.e.,
v

(3.45)

Q ' IB

and where intersection of and integrated over.)

are the polar coordinates of and respectively, and is the semi-plane (Refer Figure 3.10). (n.b. is a point on the surface being

m n

m n

xw
t

u u u BBB

R

68

T HE B OUNDARY E LEMENT M ETHOD

F IGURE 3.11: The distance from the source point ( ) to the point of interest ( ) in terms of cylindrical polar coordinates.

For three-dimensional problems governed by Laplaces equation


'

('B

7 !  m m e m m X

where

is the distance from

to

. From Figure 3.11

F IGURE 3.10: Illustration of surface

for an axisymmetric problem.


m n

(3.46)

3 .15 I NFINITE R EGIONS

69

We dene where

 ! !

is the complete elliptic integral of the rst kind. is called the axisymmetric fundamental solution and is the Greens function for a ring source as opposed to a point source. i.e., is a solution of
%

instead of

where is the dirac delta centered at the point and is the dirac delta centered on the ring . Unlike the two- and three-dimensional cases, the axisymmetric fundamental solution cannot be written as simply a function of the distance between two points and , but it also depends upon the distance of these points to the axis of revolution. We also dene

For Laplaces equation Equation (3.50) becomes


z !

(3.51)

is the complete elliptic integral of the second kind. where Using Equation (3.47) and Equation (3.50) we can write Equation (3.45) as



(3.52)

and the solution procedure for this Equation follows the same lines as the solution procedure given previously for the two-dimensional version of boundary element method.

3.15 Innite Regions


The boundary integral equations we have been using have been derived assuming the domain is bounded (although this was never stated). However all concepts presented thus far are also

m

!n

m 9

m I

m n

m !

m P

m 9

and

m n

(3.47)

m m 

(3.48)

(3.49)

(3.50)

70

T HE B OUNDARY E LEMENT M ETHOD

F IGURE 3.12: Derivation of innite domain boundary integral equations.

valid for innite regular (i.e., nice) regions provided the solution and its normal derivative behave appropriately as . Consider the problem of solving outside some surface . is the centre of a circle (or sphere in three dimensions) of radius centred at some point on and surrounding (see Figure 3.12). The boundary integral equations for the bounded domain can be written as (3.53)

6 

If this is satised, the boundary integral Equation for

will be as expected i.e.,



6

Qh

xuw

If we let the radius

Equation (3.53) will only be valid for the points on

if (3.54)

(3.55)

3 .15 I NFINITE R EGIONS

71

where is the Jacobian and represents the asymptotic behaviour of the function as . In this case Equation (3.53) will be satised if behaves at most as so that . These are the regularity conditions at innity and these ensure that each term in the (i.e., each term will as ) integral Equation (3.53) behaves at most as For two-dimensional problems with we require to behave as so that . For almost all well posed innite domain problems the solution behaves appropriately at innity.
U

where
8 @ A8

For three-dimensional problems with


h

QQ c8 8 @ QQ


8 @ c8

H w

H Fo

o G

3.16

72

Here

3.16.1

Laplace

Appendix: Common Fundamental Solutions

Two-Dimensional equations

Equation

Qa

Helmholtz Equation

 { q

Solution

Solution

where

Wave

Equation

q
H

Solution

Diffusion

Equation

where

where is the wave speed.

is the diffusivity.

Solution

Naviers

Equation

is the Hankel funtion.

for a point load in direction .

w  e  e X

Solution

for a traction in direction

where is Poissons ratio.

o 

rP

Here

3.16.2

Three-Dimensional equations
T HE B OUNDARY E LEMENT M ETHOD

3 .17 CMISS E XAMPLES

73

where is the wave speed.


v

Solution Naviers Equation Solution


for a isotropic homogenenous Kelvin

solution for a point load in direction .



3.16.3 Axisymmetric problems




Laplace

For

see Equation (3.47) and for

see Equation (3.51)

3.17 CMISS Examples


1. 2D steady-state heat conduction inside an annulus To determine the steady-state heat con. duction inside an annulus run the CMISS example 2. 3D steady-state heat conduction inside a sphere. To determine the steady-state heat conduction inside a sphere run the CMISS example . 3. CMISS comparison of 2-D FEM and BEM calculations To determine the CMISS comparison of 2-D FEM and BEM calculations run examples and . 4. CMISS biopotential problems C4 and C5.

for a displacement in direction where ratio and is the shear modulus.


o

is Poissons

Wave

Equation

 h

Solution

Qa

Helmholtz Equation

Solution

Laplace

Equation

Chapter 4 Linear Elasticity


4.1 Introduction
To analyse the stress in various elastic bodies we calculate the strain energy of the body in terms of nodal displacements and then minimize the strain energy with respect to these parameters - a technique known as the Rayleigh-Ritz. In fact, as we will show later, this leads to the same algebraic equations as would be obtained by the Galerkin method (now equivalent to virtual work) but the physical assumptions made (in neglecting certain strain energy terms) are exposed more clearly in the Rayleigh-Ritz method. We will rst consider one-dimensional truss and beam elements, then two-dimensional plane stress and plane strain elements, and nally three-dimensional elasticity. In all cases the steps are: 1. Evaluate the components of strain in terms of nodal displacements, 2. Evaluate the components of stress from strain using the elastic material constants, 3. Evaluate the strain energy for each element by integrating the products of stress and strain components over the element volume, 4. Evaluate the potential energy from the sum of total strain energy for all elements together with the work done by applied boundary forces, 5. Apply the boundary conditions, e.g., by xing nodal displacements, 6. Minimize the potential energy with respect to the unconstrained nodal displacements, 7. Solve the resulting system of equations for the unconstrained nodal displacements, 8. Evaluate the stresses and strains using the nodal displacements and element basis functions, 9. Evaluate the boundary reaction forces (or moments) at the nodes where displacement is constrained.

76

L INEAR E LASTICITY

4.2

Truss Elements

Consider the one-dimensional truss of undeformed length in Figure 3.1 with end points and and making an angle with the x-axis. Under the action of forces in the - and directions the right hand end of the truss displaces by in the -direction and in the -direction, relative to the left hand end.

F IGURE 4.1: A truss of initial length is stretched to a new length . Displacements of the right hand end relative to the left hand end are and in the - and - directions, respectively.

The new length is with axial strain

" y u

Neglecting second order terms in the binomial expansion for small displacements and is
2

" y u

sh

"

"

using

and

, where

is dened to be positive in the anticlockwise direction. , the strain

T

"

" y u

"

B( U

eug

" F u

"

uh

"

"

"

cw

(4.1)

is the stress in the truss (of cross-sectional area ), linearly related to the strain where via Youngs modulus . We now substitute for from Equation (4.1) into Equation (4.2) and put and , where and are the nodal displacements of the two ends of the truss

The potential energy is the combined strain energy from all trusses in the structure minus the work done on the structure by external forces. The Rayleigh-Ritz approach is to minimize this potential energy with respect to the nodal displacements once all displacement boundary conditions have been applied. For example, consider the system of three trusses shown in Figure 4.2. A force of is applied in the -direction at node . Node is a sliding joint and has zero displacement in the y-direction only. Node is a pivot and therefore has zero displacement in both - and - directions. The problem is to nd all nodal displacements and the stress in the three trusses.
F7

node
Fh7

node

node

F IGURE 4.2: A system of three trusses.

The strain in truss (joining nodes and ) is

The strain in truss (joining nodes and ) is

"

"

"

u F

72s

"

"

"

7S7

u y

"

"

"

"

SE

(4.3)

" S

Fw

4 .2 T RUSS E LEMENTS

77

The strain energy associated with this uniaxial stretch is

SE

(4.2)

78

L INEAR E LASTICITY

The strain in truss (joining nodes and ) is

"

Equation (4.4) gives



Equation (4.5) gives for two dimensions

The tension in truss is (tensile), in truss is (compressive) and in truss is zero. The nodal reaction forces are shown in Figure 4.3.
F D

q F u

q iw

Fh

u cy

is

, in truss is

and in truss is zero.

u cy

Solving these last two equations gives


and

Fg

truss) then Equation (4.6) gives

q "

. Thus the strain in truss

"

IyI

If we choose

and

"

PE

(e.g.,

"

PE

"

PE

(4.4)

(4.5)

(4.6) timber

[Note that if the force was applied in the negative -direction, the nal term would be Minimizing the potential energy with respect to the three unknowns , and gives
7

trusses

"

"

PE

Fh7

Since a force of

acts at node in the -direction, the potential energy is

"

F IGURE 4.3: Reaction forces for the truss system of Figure 4.2.

4.3 Beam Elements


Simple beam theory ignores all but axial strain and stress ( Youngs modulus) along the beam (assumed here to be in the x-direction). The axial strain is given by , where is the lateral distance from the neutral axis in the plane of the bending and is the radius

crossectional area. Thus

Equation (4.7) becomes

The slope of the beam is

and the rate of change of slope is the curvature (4.10)

where

is the second moment of area of the beam cross-section. Thus,

l9

of curvature in that plane. The bending moment is given by

, where

is the beam

(4.7)

(4.8)

and

(4.9)

Fh

cw

F7

4 .3 B EAM E LEMENTS

79

80

L INEAR E LASTICITY

Thus the bending moment is


WW

and a force balance gives the shear force


t

and the normal force (per unit length of beam)


WW

This last equation is the equilibrium equation for the beam, balancing the loading forces with the axial stresses associated with beam exure
e v

The elastic strain energy stored in a bent beam is the sum of exural strain energy and shear strain energy, but this latter is ignored in the simple beam theory considered here. Thus, the (exural) strain energy is

where is taken along the beam and is the cross-sectional area of the beam. The external work associated with forces acting normal to the beam and moving through a

The nite element approximation for the transverse displacement must be able to represent the second derivative . A linear basis function has a zero second derivative and therefore cannot represent the exural strain. The natural choice of basis function for beam deection is in fact cubic Hermite because the inter-element slope continuity of this basis ensures transmission of bending moment as well as shear force across element boundaries. The boundary conditions associated with the th order equilibrium Equation (4.14) or the equav

WW

PE

transverse displacement
v

is

. The potential energy is therefore

WW

v 

w d

SE

WW


H


G

(4.11)

(4.12)

(4.13)

(4.14)

WW v

(4.15)

tions arising from minimum potential energy Equation (4.15) (which contain the square of nd derivative terms) are more complex than the simple temperature or ux boundary conditions for the (second order) heat equation. Three possible combinations of boundary condition with their associated reactions are Boundary conditions Reactions

(i) (ii)

4.4 Plane Stress Elements


For two-dimensional problems, we dene the displacement vector and stress vector

. The stress-strain relation for two-dimensional plane stress:

(4.16)

can be written in matrix form

gradients by

 w

 w

where

. The strain components are given in terms of displacement

(4.17)

}

, strain vector

 w y

w y

 w

 w

  

zero moment

slope

WW

(iii) Free end

zero shear force


t

displacement

QW W 

QW W

v 

Q W v

Simply supported zero displacement zero moment Cantilever zero displacement zero slope

v t

shear force slope shear force moment

 

 

B

w w w

4 .4 P LANE S TRESS E LEMENTS

81

&
f

 A

A
$

( f

& p'f A
f

 A (F

$ F f

A
| 

A
|  | 

$ Q

| | X

) ) ) ) ) 0

| 

H |

| 

| X

| 

where represents the external loads (forces) acting on the elastic body. Following the steps outlined in Section 4.1 we approximate the displacement eld nite element basis , and calculate the strains

A (

#  $ w

 w w dy
y


w


 F f

"

82

The strain energy is

SE

   w

 w 

 f F!

The potential energy is

PE

SE

external work

& 'f

   f (F%F

From Equation (4.18) the potential energy is therefore

( ( ( (
(

w w w

|  |  |

| X

 G w w  cw
| 

| Xe| 

&

or

PE


&

L INEAR E LASTICITY

with a

(4.20) (4.19) (4.18)

4.4.1 Notes on calculating nodal loads


If a known stress acts normal to a given surface (e.g., a surface pressure), it may be applied by calculating equivalent nodal forces. For example, consider a uniform load applied to the edge of the plane stress element in Figure 4.4a. The nodal load vector in Equation (4.21) has components
}Fx
)

as shown in Figure 4.4b. If the element side has a quadratic basis, Equation (4.22) gives

as shown in Figure 4.4c. A node common to two elements will receive contributions from both elements, as shown in Figure 4.4d.

" S

"

" S

" S

" S

" X

" Se

" Se

" Xe

" Xe

" Xe

" S

" S

" Se

" Se

" Se

BFp

where stress

is the normalized element coordinate along the side of length loaded by the constant . If the element side has a linear basis, Equation (4.22) gives

| 

" X

| 

&

where

is a vector of nodal forces.

We next minimize the potential energy with respect to the nodal parameters
| X ) 0

$ y f

4 .4 P LANE S TRESS E LEMENTS

83

where

is the element stiffness matrix. and giving (4.21)

(4.22)

84

L INEAR E LASTICITY

(a)
2 2

(b)

(c)
2 1 2 2 1

(d)

F IGURE 4.4: A uniform boundary stress applied to the element side in (a) is equivalent to nodal and for the linear basis used in (b) and to , and for the quadratic loads of basis used in (c). Two adjacent quadratic elements both contribute to a common node in (d), where the element length is now .

4.5

Three-Dimensional Elasticity

Consider a surface enclosing a volume of material of mass density . Conservation of linear momentum over the domain results in the governing equilibrium equations
3

(4.23)

where are the components of the stress tensor ( is the component of the traction or stress vector in the th direction which is acting on the face of a rectangle whose normal is in the th

has been introduced to represent the derivative. Recall that the components of the linear (or small) strain tensor are
1
 

(4.24)

where is the displacement vector (i.e., is the difference between the nal and initial positions of a material point in question). Note: we are assuming here that the displacement gradients are small compared to unity, which is appropriate for many materials in solid mechanics. However, for soft materials, such as rubber or biological tissue, then we need to use the exact nite strain tensor. The object of solving an elasticity problem is to nd the distributions of stress and displacement in an elastic body, subject to a known set of body forces and prescribed stresses or displacements at the boundaries. In the general three-dimensional case, this means nding stress components ( which arises from the conservation of angular momentum) and 3 displacements each as a function of position in the body. Currently we have unknowns ( stresses, strains and displacements), but only equations ( equilibrium equations and strain-displacement relations). To progress, we require an equation of state, i.e., a stress-strain relation or constitutive law. For a linear elastic material we may propose that the components of stress depend linearly on .
 w 

6 3 75u4

direction), and

is the body force/unit volume (e.g.,

). Note that the notation

1 1

" S

" S " S

1 1

" S " S

! 

U A 

 w

BFp
 ! 

"

where are the components of a th order tensor, although symmetry of the strain and stress tensors reduces the number of independent components to . If the material is assumed to be isotropic (i.e., the material response is independent of orientation of the material element), then we end up with the generalized Hookes Law.

 w

or inversely
8


Providing that the displacements are continuous functions of position, then Equation (4.23), Equation (4.24) and Equation (4.25) are sufcient to determine the unknown quantities. This can often work with some smaller grouping or simplication of these equations, e.g., if all boundary conditions are expressed in terms of displacements, substituting Equation (4.24) into Equation (4.25) then into Equation (4.23) yields Naviers equation of motion.

These equations can be solved for the unknown displacements. Then Equation (4.24) can be used to determine the strains and Equation (4.25) to calculate the stresses.

4.5.1 Weighted Residual Integral Equation


Using weighted residuals as before we can write

where is a (vector) weighting eld. The are usually interpreted as a consistent set of virtual displacements (hence we use the notation instead of ).
v 

where , are Lam s constants. e Note: , are related to Youngs modules

and Poissons ratio


8 9 8 7{

8 9

w 

 !

 !

 w

4 .5 T HREE -D IMENSIONAL E LASTICITY

85

i.e.,

(4.25)

by

(4.26)

86

L INEAR E LASTICITY

By the chain-rule
 

Therefore, the rst term in the integrand of Equation (4.26) can be re-written

 

using the divergence theorem



V R

where is the outward normal vector to the surface . Thus, combining Equation (4.26) and Equation (4.27) we have

 

where are the components of the internal stress vector ( ) and are related to the components of the stress tensor ( ) by Cauchys formula


To arrive at this point, we have used weighted residuals to tie in with Chapter 2, however Equation (4.28) is more usually derived using the principle of virtual work (below). Note that the weighted integral Equation (4.28) is independent of the constitutive law of the material.

4.5.2
C

The Principle of Virtual Work


A

The governing equations for elastostatics can also be derived from a physically appealing argument. Let be the external traction vector (i.e., force per unit surface area). For equilibrium, the work done by the external surface forces , in moving through a virtual displacement
A


k j

k lj

k lj

or
k

A 

 !

 !

 A

where the domain integral involving

has been transformed into a surface integral

 k k

 

   


k j

k lj

 

R P  k

(4.27)

A B

(4.28)

(4.29)

is equal to the work done by the stress vector in moving through a compatible set of virtual displacements . In mathematical terms, the principle of virtual work can be written

 

using Cauchys formula (Equation (4.29)). The Green-Gauss theorem (Equation (2.15)) is now used to replace the right hand surface integral in Equation (4.30) by a volume integral, giving

   

Substituting the equilibrium relation (Equation (4.23)) into the rst integrand on the right hand side, yields the virtual work equation

  E

where the internal work done due to the stress eld is equated to the work due to internal body forces and external surface forces. Note that Equation (4.32) is equivalent to Equation (4.28) via Equation (4.30). In practice, Equation (4.32) is in a more useful form than Equation (4.28), because the right hand side integrals can be expressed in terms of the known body forces and the applied boundary conditions (surface traction forces or stresses).

4.5.3 The Finite Element Approximation




Substituting this into Equation (4.32) gives

E G

G P

U k Vj

G P

 !

UVk

E G

the shorthand
G P

has been introduced.

GP G E

G P

Q R

UVk

where

is the global node number of local node

so

G H G p  I G G P  I G H G

E F

D 5

Let

and interpolate the virtual displacements

from their nodal values. i.e.,

k j

k j

 A

 !

k j

k j

k j

4 .5 T HREE -D IMENSIONAL E LASTICITY

87

(4.30)

(4.31)

(4.32)

(4.33)

on element , and

88

L INEAR E LASTICITY

and since the virtual displacements are arbitrary we get


  ! 

(4.34)

The next step is to express the stress components in terms of the virtual displacements and their nite element approximation by substituting Equation (4.33) into Equation (4.24) (the strain-displacement relation) and in turn into Equation (4.25) (the generalized Hookes law). which We rst introduce the nite element approximation for the displacement eld gives
|

and

Thus

G

which, due to symmetry of the stress tensor, simplies to


|  Bp | 

where the summation index has been replaced with , but the parenthesis in implies that there is no sum with respect to that particular index. Substituting this expression into Equation (4.34) and simplifying, we get for each element


where denotes the right hand side terms in Equation (4.34). (Note that there has been some careful manipulation of summation indices with the substitution of Equation (4.36) to arrive at Equation (4.37).) So for each element
G


n|


 Bp r |

 v

| 

G P

vp

| 

E | H

U k Wj

|  Bp Bp

Bp

GP |   Bp

| 

Bp

Bp

G P
 1

Bp

| 

Bp

| 

k | Bp

8 9

n| G

Bp

|  S G  vp

8 9

| 

n|

G H

Bp

 | G Bp

|  

Bp

G H
o

n| 

U Vk

 w

(4.35)

(4.36)

(4.37)

and have been used to transform volume and surwhere the Jacobians face integrals so that they can be can be calculated using -coordinates. (Note: without loss of generality, the above denition of assumes that are dened to lie in the surface .) So in summary, the nite element approximation leads to element stiffness matrix components that can be calculated from the known material parameters, the chosen interpolation functions, and the geometry of the material (note that the element stiffness components are independent of the unknown displacement parameters). Element stiffness components are then assembled into the global stiffness matrix in the usual manner (as described previously). Note that this is implicitly a Galerkin formulation, since the unknown displacement elds are interpolated using the same basis functions as those used to weight the integral equations.

4.6 Linear Elasticity with Boundary Elements


Equation (4.28) is the starting point for the general nite element formulation (Section 4.5). In the above derivation, we have essentially used the Green-Gauss theorem once to move from Equation (4.26) to Equation (4.28) (as was done for the derivation of the FEM equation for Laplaces equation). To continue, we rstly note that
 

 w

where

are the virtual strains corresponding to the virtual displacements.

s X

s s Y@

G P

GP | 

s X

Y@ P G

 Bp

 w 

l@

Bp

 !

4 .6 L INEAR E LASTICITY

WITH

B OUNDARY E LEMENTS

89

where

(4.38)

90

L INEAR E LASTICITY

Using the constitutive law for linearly elastic materials (Equation (4.25)) we have

  w 

due to symmetry. Thus from the virtual work statement, Equation (4.28) and the above symmetry we have

 

This is known as Bettis second reciprical work theorem or the Maxwell-Betti reciprocity relationship between two different elastic problems (the starred and unstarred variables) established on the same domain. Note that (i.e., ). Therefore Equation (4.39) can be written as
      ! Q  !

(or equivalently ), where is the th component of a unit vector in the th direction and . We can interpret this as the body force components which correspond to a positive unit point load applied at a point in each of the three orthogonal directions. Therefore
 

 w

 !

 !

w Q

 w

represents the equilibrium state corresponding to the virtual displacements ). Note: What we have essentially done is use integration of parts to get Equation (4.28), then use it again to get Equation (4.39) above (after noting the reciprocity between and ). Since the body forces, , are known functions, the second domain integral on the left hand side of Equation (4.40) does not introduce any unknowns into the problem (more about this later). The rst domain integral contains unknown displacements in and it is this integral we wish to remove. We choose the virtual displacements such that

 w  w

 w  w

k j

k lj

8 9
k

 !

k j

w w

 w w

 w

k k

k j

 !


k k

(4.39)

 !

(4.40)

(4.41)

i.e., the volume integral is replaced with a point value (as for Laplaces equation). Therefore, Equation (4.40) becomes

where and represent the displacements and tractions in the th direction at corresponding to a unit point force acting in the th direction ( ) applied at . Substituting these into Equation (4.42) (and equating components in each direction) yields

where (see later for ). 1 This is known as Somiglianas identity for displacement.

4.7 Fundamental Solutions


 4 

Recall from Equation (4.41) that

satised (4.46)
w

or equivalently

Somigliana was an Italian Mathematician who published this result around 1894-1902.

 !

Naviers equation for the displacements

is

If each point load is taken to be independent then


w w


and

can be written as (4.43) (4.44)

w Q  !

k j

k j

k j

k j

4 .7 F UNDAMENTAL S OLUTIONS

91

(4.42)

(4.45)

92

L INEAR E LASTICITY

where = shear Modulus. Thus satisfy


%  w

The solutions to the above equation in either two or three dimensions are known as Kelvin 2 s fundamental solutions and are given by
a b 


for three-dimensions and for two-dimensional plane strain problems,


a b  il


and

4 

and the stresses are given by



4 

mathematical equivalence of plane stress and plane strain - there are obviously physical differences. What the mathematical equivalence allows us to do is to use one program to solve both types of problems - all we have to do is modify the values of the elastic constants). Note that in three dimensions
G


Lord Kelvin (1824-1907) Scottish physicist who made great contributions to the science of thermodynamics

is replaced by

where and are dened above. The plane strain expressions are valid for plane stress if
c

a 9

a h

c d

c g

In addition the strains at an point given by

 

Q 

 w

and

due to a unit point load applied at

in the

th

direction are

(This is a

, the distance between load point ( ) and eld point ( ),

where tively. Here

for two-dimensional plane strain and three-dimensional problems respec-

Y `

c d

e f

(4.47)

(4.48)

(4.49)

(4.50)

Somiglianas identity (Equation (4.45)) is a continuous representation of displacements at any point . Consequently, one can nd the stress at any rstly by combining derivatives of (4.45) to produce the strains and then substituting into Hookes law. Details can be found in Brebbia, Telles & Wrobel (1984b) pp 190191, 255258. This yields
4

Note: One can nd internal stress via numerical differentiation as in FE/FD but these are not as accurate as the above expressions. and are on page 191 in (Brebbia et al. 1984b). Expressions for the new tensors

4.8 Boundary Integral Equation


Just as we did for Laplaces equation we need to consider the limiting case of Equation (4.45) as is moved to . (i.e., we need to nd the equivalent of (in section 3) - called here .) We use the same procedure as for Laplaces equation but here things are not so easy. If we enlarge to as shown.



F IGURE 4.5: Illustration of enlarged domain when singular point is on the boundary.

Ye

Q 

4 .8 B OUNDARY I NTEGRAL E QUATION

93

and for two dimensions

t v

8e
4

94

We need to look at each integral in turn as (i.e., from above). The only integral that presents a problem is the second integral. This can be written as

i pk
4

Then Equation (4.45) can be written as

The rst integral on the right hand side can be written as

  }

by continuity of

s r


4 

q (

8e

F 4

8n

w


As

Let

and we write the second integral of Equation (4.52) as

where we interpret this in the Cauchy Principal Value3 sense.

Rx

Consider

What is a Cauchy Principle Value?

on

w dR0`PH'

y yw '7xv

L INEAR E LASTICITY

(4.54) (4.53) (4.52) (4.51)

side is interpreted in the Cauchy Principal sense. In practical applications and the principal value integral can be found indirectly from using Equation (4.55) to represent rigid-body movements. The numerical implementation of Equation (4.55) is similar to the numerical implementation of an elliptic equation (e.g., Laplaces Equation). However, whereas with Laplaces equation the unknowns were and (scalar quantities) here the unknowns are vector quantities. Thus it is more convenient to work with matrices instead of indicial notation. i.e., use

Then

which does NOT exist. i.e., the integral does not exist in the proper sense, but it does in the Cauchy Principal Value sense. However, if an integral exists in the proper sense, then it exists in the Cauchy Principal Value sense and the two values are the same.

m 7 m 7 7 y y zv v n9$k y y v l$k y 9y$k p y p y l$k m e m e e vv u7PP7 p '

But if we replace

by

then

(by denition of improper integration)

y k yw Bv

This is the Cauchy Principle Value of

trsy rxpn m7 tsy xgoBk y r q rr r qp y

hv

h g Bf {o$7xv y k yw vp e {~}u{|zvp`yPpxHP`wvu q q n qp qp m y

(or, in brief (no body force),

) where the integral on the left hand

m e

n y FBk

y k yw lBjiv

Thus as


h g Bf

4 .8 B OUNDARY I NTEGRAL E QUATION

95

we get the boundary integral equation

(4.55)

96

L INEAR E LASTICITY

Then (in absence of a body force) we can write Equation (4.55) as


W A  p V|A A $ p A

(4.56)

We can discretise the boundary as before and put , the singular point, at each node (each node has unknowns - displacements and tractions - we get equations per node). The overall matrix equation
t iA A 5 0hA

(4.57)

The diagonal elements of the matrix in Equation (4.57) (for three-dimensions, a x matrix) contains principal value components. If we have a rigid-body displacement of a nite body in any one direction then we get

( = vector dening a rigid body displacement in direction ) (no sum on )

i.e., the diagonal entries of result for an innite body.

4.9

Body Forces (and Domain Integrals in General)

The body force gives rise to a domain integral although it does not give rise to any further unknowns in the system of equations. (This is because the body force is known - the fundamental solution was chosen so that it removed all unknowns appearing in domain integrals). Thus Equation (4.55) is still classed as a Boundary Integral Equation. Integrals over the domain containing known functions (eg body force integral) appear in many situations e.g., the Poisson equation yields a domain integral involving . The question is how do we evaluate domain integrals such as those appearing in the boundary integral forumalation of such equations? Since the functions are known a coarse domain mesh may work.(n.b. Since the integral also contains the fundamental solution and may not be a nice region it is unlikely that it can be evaluated analytically). However, a domain mesh nullies one of the advantages of BEM - that of having to prepare only a boundary mesh. In some cases domain integrals must be used but there are techniques developing to avoid many of them. In some standard situations a domain integral can be transformed to a boundary integral.


0h

where

. . .

and

dA

. . .

where

is the number nodes.

(the

s) do not need to be determined explicitly. There is a similar

Under a constant gravitational load


which is a boundary integral. Unless the domain integrand is nice the above simple application of Greens theorem wont work in general. There has been a considerable amount of research on domain integrals in BEM which has produced techniques for overcoming some domain methods. The two integrals of note are the DRM, dual reciprocity method, developed around 1982 and the MRM, multiple reciprocity method, developed around 1988.

H $ V B g

Then

$ d d % 9  9 '

4 .9 B ODY F ORCES ( AND D OMAIN I NTEGRALS

IN

G ENERAL )

97

e.g., a body force arising from a constant gravitational load, or a centrifugal load due to rotation about a xed axis or the effect of a steady state thermal load can all be transformed to a boundary integral. Firstly, let (the Galerkin tension) be related to by

(3D) (2D)

98

L INEAR E LASTICITY

4.10

CMISS Examples
7

1. To solve a truss system run CMISS example shown in Figure 4.2.

This solves the simple three truss system .

2. To solve stresses in a bicycle frame modelled with truss elements run CMISS example

Chapter 5 Transient Heat Conduction


5.1 Introduction
In the previous discussion of steady state boundary value problems the principal advantage of the nite element method over the nite difference method has been the greater ease with which complex boundary shapes can be modelled. In time-dependent problems the solution proceeds from and it is almost always convenient to calculate each new solution at a an initial solution at constant time ( ) throughout the entire spatial domain . There is, therefore, no need to use the greater exibility (and cost) of nite elements to subdivide the time domain: nite difference approximations of the time derivatives are usually preferred. Finite difference techniques are introduced in Section 5.2 to solve the transient one dimensional heat equation. A combination of nite elements for the spatial domain and nite differences for the time domain is used in Section 5.3 to solve the transient advection-diffusion equation - a slight generalization of the heat equation.

5.2 Finite Differences


5.2.1 Explicit Transient Finite Differences
Consider the transient one-dimensional heat equation
p F

is the conductivity and is the temperature, subject to the boundary conditions and and the initial conditions . A nite difference approximation of this equation is obtained by dening a grid with spacing in the x-domain and in the time domain, as shown in Figure 5.1. Grid points are labelled by the indices (for the -direction) and (for the -direction). The temperature at the grid point is therefore labelled as (5.2)

Finite difference equations are derived by writing Taylor Series expansions for

where

p

(5.1)

100



T RANSIENT H EAT C ONDUCTION

where and represent all the remaining terms in the Taylor Series expansions. Adding Equations (5.3) and (5.4) gives
  

which is a central difference approximation of the second order spatial derivative. Rearranging Equation (5.5) gives a difference approximation of the rst order time derivative

Substituting Equation (5.6) and Equation (5.7) into the transient heat equation Equation (5.1) gives the nite difference approximation

 

Given the initial values of at (i.e., ), the values of for the next time step are found from Equation (5.8) with . Applying Equation (5.8) iteratively for time steps etc. yields the time dependent temperatures at the grid points (see Figure 5.1). This is an explicit nite difference formula because the value of depends only on the values of at the previous time step and not on the neighbouring terms and at the latest time step. The accuracy of the solution depends on the chosen values of and and in fact the stability of the scheme depends on these satisfying the Courant condition: (5.9)

"

"

# $

which is rearranged to give an expression for


in terms of the values of

"

"

or

at the

!   
th

  

 

   




about the grid point



 

(5.3) (5.4) (5.5)

(5.6)

(5.7)

time step (5.8)

5 .2 F INITE D IFFERENCES
%

101

F IGURE 5.1: A nite difference grid for the solution of the transient 1D heat equation. The equation is centred at grid point shown by the . The lightly shaded region shows where the solution is known at time step . With central differences in and a forward difference in an explicit nite difference formula gives the solution at time step explicitly in terms of the solution at the three points below it at step , as indicated by the dark shading.

5.2.2 Von Neumann Stability Analysis


The concept behind the Von Neumann analysis is that all Fourier components decay as time advances or as they are processed by an iterative solver. Considering Equation (5.8), we can rearrange this to be of the form,



Equation (5.12) predicts the growth of any component (specied by ) admitted by the system.
i

bq

q p D!

using

using

s tV

s d

x q p h!

S Q IF RPGE V

ri

S Q IF ReE

ui

q p D!

C h

If divide Equation (5.11) by,


A

we obtain (no sum on ),

S Q Icb f Y F RdD1H `eE

S Q IHF E RPUe!

S Q Icb a Y F RdRPH `GE

S Q IHF E RPUe!

C X W A B

bq

S Q IHF E RVUGT

where

. By subsituting the general Fourier component

, we obtain, (5.11)

gG C D S B Q IHF E RP"G!

9 7 @80

...

...

0 2 0( ' 31)"&

x x x x


B A

(5.10)

(5.12)

102
v

T RANSIENT H EAT C ONDUCTION

If all components are to decay,


B ww
Bw w

Thus, to ensure stability, the time step should be chosen such that

#

The Courant condition

An improvement in accuracy and stability can be obtained by using a higher order approximation
b

in place of Equation (5.7) and Equation (5.1) is approximated with the Crank-Nicolsonformula

in which the spatial second derivative term is weighted by at the old time step and by at the new time step . Notice that the nite difference time derivative has not changed - only the time position at which it is centred. The price paid for the better accuracy (for a given ) and unconditional stability (i.e., stable for any ) is that Equation (5.18) is an implicit scheme - the equations for the new time step are now coupled in that depends on the neighbouring terms and . Thus each new time step requires the solution of a system of coupled equations. A generalization of (5.18) is
B

centering the equation at

rather than

we get

(5.17)

(5.18)

(5.19)

for the time derivative. For example, if a central difference approximation is used for



5.2.3

Higher Order Approximations


The rst inequality is trivially satised, since second condition will always hold if

A

for positive values of


#

and

and
x A

x yA

bq

Since the criteria that

term in Equation (5.12) is always between

and , we effectively have the stablity

# w w w w

for stability (no sum on )

(5.13)

"

(5.14) , and the

(5.15)

(5.16)

by

5 .3 T HE T RANSIENT A DVECTION -D IFFUSION E QUATION


%

103

F IGURE 5.2: An implicit nite difference scheme based on central differences in , as well as , ) shown which tie together the 6 points shown by . The equation is centred at the point ( by the . The lightly shaded region shows where the solution is known at time step . The dark shading shows the region of the coupled equations.
5 9 0 7 0( 1)' 6

in which the spatial second derivative of Equation (5.1) has been weighted by at the new time step at the old time step. The original explicit forward difference scheme Equation (5.8) and by is recovered when and the implicit central difference (Crank-Nicolson) scheme (5.19) when . An implicit backward difference scheme is obtained when . In the following section the transient heat equation is approximated for numerical analysis by using nite differences in time and nite elements in space. We also generalize the partial differential equation to include an advection term and a source term.

5.3 The Transient Advection-Diffusion Equation




Consider a linear parabolic equation


where is a scalar variable (e.g., the advection-diffusion equation, where is concentration or temperature; then represents advective transport by a velocity eld is the diffusivity and is source term. The ratio of advective to diffusive transport is characterised by the Peclet number where and is a characteristic length). Applying the Galerkin weighted residual method to Equation (5.20) with weight gives

...

...

ed

7
4

x x

x x

x x

(5.20)

104
g

T RANSIENT H EAT C ONDUCTION

where is the normal derivative to the boundary . Putting and and summing the element contributions to the global equations, Equation (5.21) can be represented by a system of rst order ordinary differential equations,
A
s A q A q tr

where is a weighting factor discussed in Section 5.2. Note that for the method is known as the Crank-Nicolson-Galerkin method and errors arising from the time domain discretization are . Rearranging Equation (5.25) as

s A }q

gives a set of linear algebraic equations to solve at the new time step from the known solution at the previous time step . The stability of the above scheme can be examined by expanding (assumed to be smoothly continuous in time) in terms of the eigenvectors (with associated eigenvalues ) of the matrix

. Writing the initial conditions

and steady state solution

s A

s A q t}m

A q

If the time domain is now discretized placed by

Equation (5.22) can be re-

} R{

Pl

n zl

R{ }

Pl

n zl

and
y i~wn

} { l n R|Ptzl

y Pn

x u v

where is the global mass matrix, unknowns with steady state values ( given by

the global stiffness matrix and a vector of global nodal ) . The element contributions to and are


i jf s tA

A g


p q f

q r

n l o

A q

ed

A
p

l Pm

h p

or

(5.21)

(5.22)

(5.23)

(5.24)

(5.25)

(5.26)

5 .3 T HE T RANSIENT A DVECTION -D IFFUSION E QUATION


%

105

The time-difference scheme Equation (5.26) on the other hand, with now replaced by a set of discrete values at each time step , can be written as the recursion formula
s A

(You can verify that Equation (5.27) and Equation (5.29) are indeed the solutions of Equation (5.22) and Equation (5.25), respectively, by substituting and using .) Comparing Equation (5.27) and Equation (5.29) shows that replacing the ordinary differential equations (5.22) by the nite difference approximation Equation (5.25) is equivalent to replacing the exponential in Equation (5.27) by the approximation

The stability of the numerical time integration scheme can now be investigated by examining the behaviour of this approximation to the exponential. For stability we require

since this term appears in Equation (5.29) raised to the power . The right hand inequality in Equation (5.32) is trivially satised, since and are all positive, and the left hand inequality gives

or

A consequence of Equation (5.33) is that the scheme is unconditionally stable if For the stability criterion is

(5.34)

!|

or, with

oT|

A

with solution

A 8

T|

dA A

T|

, the set of ordinary differential equations Equation (5.22) has solution

(5.27)

(5.28)

(5.29)

(5.30)

(5.31)

(5.32)

(5.33) .

106

T RANSIENT H EAT C ONDUCTION

If the exponential approximation given by Equation (5.31) is negative for any the solution will contain components which change sign with each time step . This oscillatory noise can be avoided by choosing

max

where max is the largest eigenvalue in the matrix , but in practice this imposes a limit which is too severe for and a small amount of oscillatory noise, associated with the high frequency vibration modes of the system, is tolerated. Alternatively the oscillatory noise can be ltered out by averaging. These theoretical results are explored numerically with a Crank-Nicolson-Galerkin scheme ( ) in Figure 5.3, where the one-dimensional diffusion equation on
z p
# #

is solved for various time increments ( ) and element lengths ( ) for both linear and cubic Hermite elements. from to with linear elements produces more oscillation because the Decreasing system has more degrees of freedom and leads to greater oscillation. At a sufciently small the oscillations are negligible (bottom right, Figure 5.3). With this value of ( ) the numerical results agree well with the exact solution (top, Figure 5.3) given by

5.4

Mass lumping
p

is replaced A technique known as mass lumping is sometimes used in which the mass matrix by a diagonal matrix having diagonal terms equal to the row sums. For example, consider the mass

subject to initial conditions and boundary conditions


e


s

(5.35)

(5.36)

(5.37)

5 .4 M ASS
%

LUMPING

107

x x x x x x

x x x x x x x x x

x x

x x x

x x

x x

x x

linear elements

cubic elements

x x x

x x

x x x x

x x

x x

linear elements

x x

linear elements

F IGURE 5.3: Analytical and numerical solutions of the transient 1D heat equation showing the and time step size . The top graph shows the exact and approximate effects of element size solutions as functions of at various times. The lower graphs show the solution through time at the specied positions and with various choices of and as indicated.
6 5 6 5 5 5

! !|o T$z

(d)

(e)

Te

!|z e !

(b)

(c)

x x

x x

x x x

Linear CNG with

Exact solution

!|z e ! !|o Tvz

108

T RANSIENT H EAT C ONDUCTION

The element mass is effectively lumped at the element vertices. Such a scheme has computational advantages when in Equation (5.26) because each component of the vector is obtained directly without the need to solve a set of coupled equations. This explicit time integration scheme, however, is only conditionally stable (see (5.34)) and suffers from phase lag errors - see below. For evenly spaced elements the nite element scheme with mass lumping is equivalent to nite differences with central spatial differences. In Figure 5.4, the nite element and nite differences (lumped f.e. mass matrix) solutions of the one-dimensional advection-diffusion equation (5.20) with , , are compared for the propogation and dispersion of an initial unit mass pulse at . The length of the solution domain is sufcient to avoid reected end effects. The exact solution is a Gaussian distribution whose variance increases with time:
g

(5.38)

The nite element solution, using the Crank-Nicolson-Galerkin technique, shows excellent amplitude and phase characteristics when compared with the exact solution. The nite difference, or lumped mass, solution also using centered time differences, reproduces the amplitude of the pulse very well but shows a slight phase lag.

5.5

CMISS Examples

2. To investigate the stability of time integration schemes run CMISS examples

and

1. To solve for the transient heat ow in a plate run CMISS example

therefore

mass lumping

and similarly

 

and similarly

and

 1

 1

and similarly
x

and

ww 
w w w

} b
x

matrix ((5.23)) for a bilinear element (see Figure 1.9 and (1.6)).
x


ww 
w w w

} 9@

 1


1 


1

} } } F11b

} } 1} 9@

} } } 11b@

} } b19} B
1

}1} b } } } |9@
p

} b} 9@

} 9@

} 9@

} 5F

F
 

x x x x

5 .5 CMISS E XAMPLES
%

109

Exact solution x x Finite element solution o o Finite difference solution

x x x x x x x

, F IGURE 5.4: Advection-diffusion of a unit mass pulse. The nite element solutions (at = , and ) and nite difference solutions (at = only) are compared with the exact solution. = 0.1, = for 0 and = 0.01 for .
9 jR 6 9 jR6 6 9 6 R R 6 9 jR 6 5 R

ox ox o x o ox x o x o x ox x o x

z e

x x x

` e

`@

oe

R tR

Chapter 6 Modal Analysis


6.1 Introduction
The system of ordinary differential equations which results from the application of the Galerkin nite element (or other) discretization of the spatial domain to linear parabolic or hyperbolic equations can either be integrated directly - as in the last section for parabolic equations - or analysed by mode superposition. That is, the time-dependent solution is expressed as the superposition of the natural (or resonant) modes of the system. To nd these modes requires the solution of an eigenvalue problem.

6.2 Free Vibration Modes


Consider an extension of Equation (5.22) which includes second order time derivatives (e.g., nodal point accelerations)
A
q

and are the mass, damping and stiffness matrices, respectively, is the external load vector and is the vector of nodal unknowns. In direct time integration methods and are replaced by nite differences and the resulting system of algebraic equations is solved at successive time steps. For a small number of steps this is the most economical method of solution but, if a solution is required over a long time period, or for a large number of different load vectors , a suitable transformation

x

applied to Equation (6.1) can result in the matrices of the transformed system
oXm

having a much smaller bandwidth than in the original system and hence being more economical to solve. In fact, if damping is neglected, can be chosen to diagonalize and and thereby uncouple the equations entirely. This transformation (which is still applicable when damping is
p

q m

A q }

rP

(6.1)

A p

(6.2)

(6.3)

112
v

M ODAL A NALYSIS

included but does not then result in an uncoupled system unless further simplications are made) is found by solving the free vibration problem
x A q r
f p

where and are constants and is a vector of order . Substituting Equation (6.5) into Equation (6.4) gives the generalized eigenproblem
q

having eigensolutions . If is a symmetric matrix (as is the case when the original partial differential operator is self-adjoint) the eigenvectors are orthogonal and can be normalized such that
r r

..
f

.
f

Thus the modal matrix - whose columns are the -orthonormalised eigenvectors of (i.e., satisfying Equation (6.6)) - can be used as the transformation matrix in Equation (6.2) required to reduce the original system of equations (6.1) to the canonical form

or

where
f

where

is the identity matrix, (6.6) becomes

(the eigenvectors are said to be -orthonormalised). Combining the - the modal matrix - rewriting Equation (6.7) as

Proof: Consider a solution to Equation (6.4) of the form



e

p f

(6.4)

(6.5)

(6.6)

(6.7) eigenvectors into a matrix

(6.8)

(6.9)

(6.10)

(6.11)

(6.12)

6 .3 A N A NALYTIC E XAMPLE

113

With damping neglected equation Equation (6.12) becomes a system of uncoupled equations

giving the modal matrix

which, when used as the transformation matrix,

The

-orthognormalised eigenvectors are now


and

(Notice that the orthogonality condition is satised:

).

has a solution when or has solutions with corresponding eigenvectors the magnitude of the eigenvectors we use Equation (6.7), i.e.,

. This characteristic polynomial . To nd

To nd the solution by modal analysis we rst solve the generalised eigenproblem i.e.,

i

and
i

As an example, consider the equilibrium equations


h
q

6.3 An Analytic Example


p

where

q p

where the constants

and

are determined from the initial conditions (6.15)

e

where is the th component of and is the this system is given by the Duhamel integral

"

th

component of the vector


f i p

(6.13) . The solution of


q h

p f


i p

(6.14)

114
g

M ODAL A NALYSIS

The solution of the non-homogeneous system, subject to given initial conditions, is found by solving the uncoupled equations

by means of the Duhamel integral (6.14) (in this case with constant) and then, from Equation (6.2) with

Notice that the solution is expressed in Equation (6.16) as the superposition of the natural modes (eigenvectors) of the homogeneous equations. If the forcing function (load vector) is close to one of these modes the corresponding coefcient will be large and will dominate the response - if it coincides then resonance will occur. Very often it is unnecessary to evaluate all eigenvectors of the system; the higher frequency modes can be ignored and the solution adequately represented by superposition of the eigenvectors associated with the lowest eigenvalues, where .

6.4

Proportional Damping

When element damping terms are included in the original dynamic equations (6.1) the transformation to a lower bandwidth system is still based on the model matrix but Equation (6.12) is then not a system of uncoupled equations. One simplication often made in order to retain the diago-

and

"

Thus the natural modes of the system are given by



e

and the mass matrix to

reduces the stiffness matrix to



h

(6.16)

6 .5 CMISS E XAMPLES

115

nal nature of Equation (6.12) is to approximate the overall energy dissipation of the nite element system with proportional damping

C }

with solution (the Duhamel integral)


"

where . and are calculated from the initial conditions Equation (6.15). Once the components have been found from Equation (6.19) (or alternative time integration methods applied to (6.18)), the solution is expressed as a superposition of the mode shapes by Equation (6.16).

6.5 CMISS Examples


1. To analyse a plane stress modal analysis run CMISS example 451 2. To analyse a clamped beam modal analysis run CMISS example 452 3. To analyse a steel-framed building modal analysis run CMISS example 453

e

 

where is a modal damping parameter and to equations of the form


}

is the Kronecker delta. Equation (6.12) now reduces


f f

(6.17)

 

Ut



(6.18)

(6.19)

116

M ODAL A NALYSIS

Chapter 7 Domain Integrals in the BEM


7.1 Achieving a Boundary Integral Formulation
The principal advantage of the BEM over other numerical methods is the ability to reduce the problem dimension by one. This property is advantagous as it reduces the size of the solution system leading to improved computational efciency. This reduction of dimension also eases the burden on the engineer as it is only necessary to construct a boundary mesh to implement the BEM. To achieve this reduction of dimension it is necessary to formulate the governing equation as a boundary integral equation. To achieve a boundary integral formulation it is necessary to nd an appropriate reciprocity relationship for the problem and to determine an appropriate fundamental solution. If either of these requirements cannot be satised then a boundary integral formulation cannot be achieved. The most common difculty in applying the BEM is in determining an appropriate fundamental solution. where is a linear A linear differential equation can be expressed in operator form as operator, is an inhomogeneous source term and is the dependent variable. The fundamental solution for this equation is a solution of

where * indicates the adjoint of the operator and is the Dirac delta function. No specic boundary conditions are prescribed but in some cases regularity conditions at innity need to be satised. The fundamental solution is a Greens function which is not required to satisfy any boundary conditions and is therefore also commonly termed the free-space Greens function. The mathematical theory required to determine the fundamental solution of a constant coefcient PDE is well-developed and has been used successfully to determine the fundamental solutions for a wide range of constant coefcient equations (Brebbia & Walker 1980) (Clements & Rizzo 1978) (Ortner 1987). Fundamental solutions are known and have been published for many of the most important equations in engineering such as Laplaces equation, the diffusion equation and the wave equation (Brebbia, Telles & Wrobel 1984a). However, by no means can it be guaranteed that the fundamental solution to a specic differential equation is known. In particular, PDEs with variable coefcients do not, in general, have known fundamental solutions. If the fundamental solution to an operator cannot be found then domain integrals cannot be completely removed from the integral formulation. Domain integrals will also arise for inhomogeneous equations.

z

(7.1)

118

D OMAIN I NTEGRALS

IN THE

BEM

Wu (1985) argued that the BEM has several advantages over other numerical methods which justify its use for many practical problems - even in cases where domain integration is required. He argued that for problems such as ow problems a wide range of phenomena are described by the same governing equations. What distinguishes these phenomena is the boundary conditions of the problem. For this reason accurate description of the boundary conditions is vital for solution accuracy. The BEM generates a formulation involving both the dependent variable and the ux . This allows ux boundary conditions to be applied directly which cannot be achieved in either the nite element or nite difference methods. Another advantage of the BEM over other numerical methods is that it allows an explicit expression for the solution at an internal point. This allows a problem to be subdivided into a number of zones for which the BEM can be applied individually. This zoning approach is suited to problems with signicantly different length scales or different properties in different areas. Domain integration can be simply and accurately performed in the BEM. However, the presence of domain integrals in the BEM formulation negates one of the principal advantages of the BEM in that the problem dimension is no longer reduced by one. Several methods have been developed which allow domain integrals to be expressed as equivalent boundary integrals. In this section these methods will be discussed.

7.2

Removing Domain Integrals due to Inhomogeneous Terms


Inhomogeneous PDEs occur for a large number of physical problems. An inhomogeneous term may arise due to a number of factors including a source term, a body force term, or due to initial conditions in time-dependent problems. An inhomogeneous linear PDE can be expressed in where is a known function of position or a non-zero constant. If the operator form as fundamental solution is known for the operator , the resulting BEM formulation will be

The domain integral in this formulation does not involve any unknowns so domain integration can be used directly to solve this equation. This requires discretising the domain into internal cells in much the same way as for the nite element method. As the domain integral does not involve any unknown values accurate results can generally be achieved using a fairly coarse mesh. This method is simple and has been shown to produce accurate results (Brebbia et al. 1984a). This approach, however, requires a domain discretisation and a numerical domain integration procedure which reduces the attraction of the BEM over domain-based numerical methods.

7.2.1

The Galerkin Vector technique

For some particular forms of the inhomogeneous function the domain integral can be transformed directly into boundary integrals. Consider the Poisson equation . Applying the BEM gives an equation of the form of

# $

"

(7.2)

7 .2 R EMOVING D OMAIN I NTEGRALS

domain integration can be avoided for certain forms of . If a can be found which satises , where is the fundamental solution of Laplaces equation, then for the specic case of being harmonic ( ) Greens second identity can be reduced to
V

Therefore if a Galerkin vector can be found and is harmonic the domain integral in Equation (7.2) can be expressed as equivalent boundary integrals. Fairweather, Rizzo, Shippy & Wu (1979) determined the Galerkin vector for the two-dimensional Poisson equation and Monaco & Rangogni (1982) determined the Galerkin vector for the threedimensional Poisson equation. Danson (1981) showed how this method can be applied successfully for a number of physical problems involving linear isotropic problems with body forces. He considered the practical cases where the body force term arose due to either a constant gravitational load, rotation about a xed axis or steady-state thermal loading. In each of these cases the domain integral can be expressed as equivalent boundary integrals. This Galerkin vector approach provides a simple method of expressing domain integrals as equivalent boundary integrals. Unfortunately, it only applies to specic forms of the inhomogeneous term (i.e., is required to be harmonic).

7.2.2 The Monte Carlo method


Domain discretisation could be avoided by using a Monte Carlo technique. This technique approximates a domain integral as a sum of the integrand at a number of random points. Specically, in two dimensions, a domain integral is approximated as

is the value of the integrand at random point , is the number of random where points used and is the area of the region over which the integration is performed. This approximation allows a domain integral to be approximated by a summation over a set of random points so domain integration can be performed without requiring a domain mesh. This method has the secondary advantage of allowing the integration to be performed over a simple geometry enclosing the problem domain - if a random point is not in the problem domain its contribution is ignored. The method was proposed by Gipson (1987). Gipson has successfully applied this method to a number of Poisson-type problems. Unfortunately this method often proves to be computationally expensive as a large number of integration points are needed for accurate domain integration. Gipson argues however that, as this method removes the burden of preparing a domain mesh,
B

20

10




Equation (7.2). Using Greens second identity




' ) (




10

&

DUE TO I NHOMOGENEOUS

T ERMS

119

(7.3)

(7.4)

(7.5)

120


D OMAIN I NTEGRALS

IN THE

BEM

the extra computational expense is justied.

A more general approach can be developed using particular solutions. Consider the linear problem . can be considered as the sum of the complementary function , which is a solution of the homogeneous equation , and a particular solution which satises but is not required to satisfy the boundary conditions of the problem. Applying BEM to the governing equation using the expansion gives

If a particular solution can be found, all values on the right-hand-side of Equation (7.6) are known - reducing the problem to

where is a vector of known values. This linear system can be solved by applying boundary conditions. This approach can be applied in a situation where an analytic expression for a particular solution can be found. Unfortunately particular solutions are generally only known for simple operators and for simple forms of . Alternatively an approximate particular solution could be calculated numerically. Zheng, Coleman & Phan-Thien (1991) proposed a method where a particular solution is determined by approximating the inhomogeneous source term using a global interpolation function. This approach is a special case of a more general method known as the dual reciprocity boundary element method.

Consider the linear homogeneous PDE . For many operators the fundamental solution to the operator may be unobtainable or may be in an unusable form. This is especially likely if involves variable coefcients for which case it has been shown that it is particularly difcult to nd a fundamental solution. Instead, a BEM formulation can be derived based on a related operator with known fundamental solution. A BEM formulation for based on the operator will be of the form (7.8)

where is the fundamental solution corresponding to the operator . This integral equation is similar to Equation (7.2). However in this case the domain integral term involves the dependent variable . This problem could be solved using domain integration where the internal nodes are treated as formal problem unknowns.

@ B 7g A

7.3

Domain Integrals Involving the Dependent Variable

 4

6 %

# $

% " 8 # 9 $

6 7 " %

# 54 3 # $

"

3 "

7.2.3

Complementary Function-Particular Integral method

(7.6)

(7.7)

7 .3 D OMAIN I NTEGRALS I NVOLVING

7.3.1 The Perturbation Boundary Element Method


Rangogni (1986) proposed solving variable coefcient PDEs by coupling the boundary element method with a perturbation method. He considered the two-dimensional generalised Laplace equation


where is a known function of position. Rangogni treated this equation as a perturbation about Laplaces equation. He considered the class of equations where

s

Substituting Equation (7.12) into Equation (7.11) and grouping powers of gives


A solution will only exist for all values of if the terms at each power of equal zero. This allows Equation (7.13) to be treated as an innite series of distinct problems which can be solved using the boundary element method. can be found by solving which Rangogni assumes will satisfy the boundary conditions of the original problem. Each successive can then be found by solving a Poisson equation with homogeneous boundary conditions as has been previously determined. Rangogni used a domain discretisation to solve these Poisson problems. . The Equation (7.10) is a particular member of this family of equations for which

solution to Equation (7.10) is therefore given by


. Rangogni reported that in practice this

series converged rapidly and in his numerical examples he achieved accurate results using only and . Rangogni (1991) extended this coupled perturbation - boundary element method to the general second-order variable coefcient PDE
20 H 0 20 G

(7.14)

'

E F

E E F 5

for which he sought a solution of the form


10

'

20 7F E

20

'

E F '

Using the substitution Helmholtz equation

Equation (7.9) can be recast as a heterogeneous

20

20

20

DC

20

&

THE

D EPENDENT VARIABLE

121

(7.9)

(7.10)

(7.11)

(7.12)

(7.13)

122
v

D OMAIN I NTEGRALS

IN THE

BEM

Applying the perturbation method to this family of equations allows Equation (7.15) to be expressed as an innite series of distinct Poisson equations which can be solved using the boundary element method. Again Rangogni used an domain mesh to solve these Poisson equations. Rangogni found that in practice convergence was rapid and accurate results were produced. Gipson, Reible & Savant (1987) considered a class of hyperbolic and elliptic problems which can be transformed into an inhomogeneous Helmholtz equation. They used the perturbation method to recast this as an innite sequence of Poisson equations. They avoided domain discretisation by using a Monte Carlo integration technique (Gipson 1987) to evaluate the required domain integrals. Lafe & Cheng (1987) used the perturbation method to solve steady-state groundwater ow problems in heterogeneous aquifers. They showed the method produced accurate results for simply varying hydraulic conductivities with convergence after two or three terms. Lafe & Cheng investigated the convergence of the perturbation method. They found that for rapidly varying hydraulic conductivity convergence is not guaranteed. From this investigation they concluded that accurate results can be obtained so long as the hydraulic conductivity does not vary by more than one order of magnitude within the solution domain. If the hydraulic conductivity variation is more signicant they recommend using the perturbation method in conjunction with a subregion technique so that the variation of conductivity within each subregion satises their requirements. This process could become computationally expensive, particularly if convergence is not rapid, as the solution of multiple subproblems will be required within each subregion.

7.3.2

The Multiple Reciprocity Method

The multiple reciprocity method (MRM) was initially proposed by Nowak (1987) for the solution of transient heat conduction problems. Since then the method has been successfully applied to a wide range of problems. The MRM can be viewed as a generalisation of the Galerkin vector approach. Instead of using one higher-order fundamental solution, the Galerkin vector, to convert the remaining domain integrals to equivalent boundary integrals a series of higher-order fundamental solutions is used. Consider the Poisson equation
x

where is a known function of position. Applying BEM to this equation, using the fundamental solution to the Laplace operator, gives
W V

where is the known fundamental solution to Laplaces equation applied at point . To avoid domain discretisation the domain integral in Equation (7.17) needs to be expressed as equivalent
f

20 9 0 10 G
f i

He considered the family of equations


20

 

E 5

(7.15)

(7.16)

(7.17)

7 .3 D OMAIN I NTEGRALS I NVOLVING

boundary integrals. Using MRM this is achieved by dening a higher-order fundamental solution such that
z
f

Using this higher-order fundamental solution the domain integral in Equation (7.17) can be written as
f

This formulation has generated a new domain integral. is a known function so we can introduce a new function which can be determined analytically from the relationship
x

This process can be repeated by introducing a new higher-order fundamental solution


f

and continuing until convergence is reached. This procedure is based on the recurrence relationships
z

Using these recurrence relationships gives the boundary integral formulation


 V

which is an exact formulation if the innite series converges. Errors are only introduced at the stage of boundary discretisation.

for for
s

giving

or

 

&

THE

D EPENDENT VARIABLE

123

(7.18)

(7.19)

(7.20)

(7.21)

(7.22) such that (7.23)

(7.24) (7.25)

(7.26)

124
g

D OMAIN I NTEGRALS

IN THE

BEM

Introducing interpolattion functions and discretising the boundary gives the matrix system

where and are inuence coefcient matrices corresponding to the higher-order fundamental solutions and and contain the nodal values of and its normal derivative. The MRM can be applied based on operators other than the Laplace operator. This approach relies on knowledge of the higher-order fundamental solutions necessary for application of the method. These solutions have been determined and successfully used for the Laplace operator in both two and three dimensions but the extension of the method to other equation types needs further research. Itagaki & Brebbia (1993) have determined the higher order fundamental solutions for the two-dimensional modied Helmholtz equation. The MRM can be extended to other equations by allowing the forcing function to be a general function such that . The MRM will be restricted to cases where the recurrence relationships - Equations (7.24) and (7.25) - can be employed. Brebbia & Nowak (1989) have where and the recurrence applied the MRM to the Helmholtz equation relationship dened by Equation (7.24) becomes simply

In this case the boundary integral formulation will be


7.3.3

The Dual Reciprocity Boundary Element Method

Equation Derivation The dual reciprocity boundary element method (DR-BEM) was developed to avoid the need for domain integration in cases where the fundamental solution of the governing differential equation is unknown or is impractical to apply. Instead the DR-BEM is applied using an appropriate related operator with known fundamental solution. The most common choice is the Laplace operator (Partridge, Brebbia & Wrobel 1992) and in this chapter the DR-BEM will be illustrated for this choice. Consider a second-order PDE which can be expressed in the form
x

The forcing function can be completely general. If then is a known function of position and the differential equation described is simply the Poisson equation. For potential problems and for transient problems . Applying the BEM to Equation (7.30) will

 W

U 7RP SQ

# 5

U SQP VT7RF"

%I

s

# $

 

I $"

(7.27)

U VT

SQ 7RP

SQP WF"

(7.28)

(7.29)

(7.30)

7 .3 D OMAIN I NTEGRALS I NVOLVING

where is the known fundamental solution to Laplaces equation. The aim of the DR-BEM is to express the domain integral due to the forcing function as equivalent boundary integrals. The DR-BEM uses the idea of approximating using interpolation functions. A global approximation to of the form

is proposed. are unknown coefcients and are approximating functions used in the interpolation and are generally chosen to be functions of the source point and the eld point of the fundifferent collocation points damental solution. The approximating functions are applied at - called poles - generally most, but not all, of which are located on the boundary of the problem domain. As discussed in the previous chapter the solution to a linear PDE can be constructed as the sum of a complimentary function (which satises the homogeneous equation ) and a particular solution to the equation . Instead of using a single particular solution, which may be difcult to determine, the DR-BEM employs a series of particular solutions which are related to the approximating functions as shown in Equation (7.33).
@ 3

By substituting Equations (7.32) and (7.33) into Equation (7.30) the forcing function is approximated by a weighted summation of particular solutions to the Poisson equation.

The DR-BEM essentially constructs an approximate particular solution to the governing PDE as a summation of localised particular solutions. With the governing equation rewritten in the form of Equation (7.34) the standard boundary element approach can be applied. Equation (7.34) is multiplied by a weighting function and integrated over the domain. Greens theorem is applied twice and the fundamental solution of the Laplacian is used to remove the remaining domain integrals. The name dual reciprocity BEM is derived from the application of reciprocity relationships to both sides of Equation (7.34). After applying these steps Equation (7.35) is obtained, where the fundamental solution pole is applied at
f

 4 3

# $

give

"

&

THE

D EPENDENT VARIABLE

125

(7.31)

(7.32)

(7.33)

(7.34)

126

D OMAIN I NTEGRALS

IN THE

BEM

In implementing a numerical solution of this equation similar steps are taken as for the standard BEM. The boundary is discretised into elements and interpolation functions are introduced to approximate the dependent variable within each element. The form of each is known from Equation (7.33) once the approximating functions have been dened. It is not necessary to use interpolation functions to approximate each . However by using the same interpolation functions to approximate and the numerical implementation and on both sides of Equation (7.35). The error generated will generate the same matrices by approximating each in this manner has been found to be small and can be justied by the improved computational efciency of the method (Partridge et al. 1992). The application of this method results in the system
x

poles were chosen to be the boundary nodes plus internal points so that where the . Although it is not generally necessary to include poles at internal points it has been found that in general improved accuracy is achieved by doing so (Nowak & Partridge 1992). It has been shown that for many problems (Partridge et al. 1992) (Huang & Cruse 1993) using boundary points only in this procedure is insufcient to dene the problem. In general using internal points is likely to improve the solution accuracy as it increases the number of degrees of freedom. No theory has been developed of how many internal collocation points should be used for optimal accuracy, or where these points should be positioned within the problem domain. Using internal poles in this interpolation does not require domain discretisation - it is only necessary to specify the coordinates of the internal collocation points. The internal points can be chosen to be locations where the solution is of interest. and vectors can be treated as columns of the matrices and respectively. This The allows Equation (7.36) to be rewritten as

(7.37)

where is a vector containing the nodal values of . To solve this system it is necessary to evaluate . is dened by Equation (7.32) which, for the nodal values, can be expressed in matrix form as . If the matrix is nonsingular this expression can be rearranged to give Equation (7.38) which provides an explicit expression for .

(7.38)

bc VV

fi

fh

U f%

" fi fh " % p # qB F A $ #

# $

U g" f

s Hp

ed )

Ya `

# F

"

"

U f%

  Uf

point .

r put s p p p

(7.35)

(7.36)

7 .3 D OMAIN I NTEGRALS I NVOLVING

The approach taken to solve this equation will depend on the form of . The Approximating Function The accuracy of the DR-BEM hinges on the accuracy of the global approximation to the forcing function (dened by Equation (7.32)). Therefore the choice of the approximating functions is a key consideration when implementing the DR-BEM. The only requirement so far prescribed on the form of the approximating functions is that the matrix generated should be nonsingular and that the related particular solutions can be determined and can be expressed in a practical closed form. Some work has been conducted into investigating what form of should be used in a given situation to provide the highest accuracy and computational efciency. Usually a form of is dened and this can be used, applying Equation (7.33), to specify
9

and . The fundamental solution of Laplaces equation is


f

in two-dimensional

in three-dimensional space - where is the Euclidean distance between space and the eld point and the source point of the fundamental solution. Due to the dependence of this fundamental solution only on the approximating function is generally chosen to be some radial function i.e., . Several other options for have been tried (Partridge et al. 1992) but it has been found that in general the most accurate results were generated using some radial function. For both two and three-dimensional problems Wrobel, Brebbia & Nardini (1986) recommended choosing from the series

(7.40)

where is the distance between the eld point (node ) and the DR-BEM collocation point (node ). They showed that accurate results can be achieved using some combination of terms from this series. Generally the same approximating function is used at all the collocation points so in this thesis, for simplicity, the form of approximating functions will be referred to by a single . Choosing to be a function of only one variable simplies the process of determining and . For two-dimensional problems, if then the relationship (7.41)
5

can be reduced to the ordinary differential equation

(7.42) and , for two-dimensional

Using

dened by Equation (7.40) the corresponding forms of

@!

@!

r fi fh " % s B $ A #

Including this explicit expression for

1

#F p

"

1

@!

&

THE

D EPENDENT VARIABLE

127

in Equation (7.37) gives

(7.39)

128

D OMAIN I NTEGRALS

IN THE

BEM

problems, can be shown to be


where and . Any combination of terms from Equation (7.40) can be used for specifying . It has been found that in general including higher-order terms leads to little improvement in accuracy (Partridge as this approximation will generally give et al. 1992). The most commonly used form is accurate results with greater computational efciency than other choices. Equation (7.40) was recommended as a basis for the approximating function due to the particular form of the fundamental solution of Laplaces equation and its dependence on only. If a different operator is used as the basis of the DR-BEM then it is likely a different form of will be more appropriate. The choice of in this case will be discussed in Section 7.3.3. The performance of the DR-BEM hinges on the choice of the approximating function . The theory of how to determine the best approximating function is therefore a vital component of the DR-BEM. Unfortunately the approximating function has generally been chosen and used in a rather ad-hoc manner. Recently some more formal analysis of the use of approximating functions has been undertaken. Golberg & Chen (1994) argued that a formal analysis of the approximating function can be undertaken using the theory of radial basis functions. Radial basis functions are a generalisation of cubic splines in multi-dimensions. Cubic splines are known to be optimal for one-dimensional interpolation. Therefore, rather than being an arbitrary choice, it seems that choosing to be a radial function is a logical extension for two or three-dimensional problems. Golberg & Chen showed that, for the Poisson equation, choosing to be a radial basis function ensures convergence of the DR-BEM. They also demonstrated that is a specic member of the group of radial basis functions. The theory of using radial basis functions for multi-dimensional approximation is fairly is optimal for three-dimensional problems which justies advanced. It has been shown that the use of when applying the DR-BEM to three-dimensional problems - the constant is included to ensure a non-zero diagonal for . However for two-dimensional problems it has been shown that optimal approximation is attained using the thin plate spline . This observation lead Golberg & Chen to suggest that choosing to be a thin plate spline may improve the accuracy of the DR-BEM in two dimensions. Recently Golberg (1995) has published a review of the DR-BEM concentrating on developments since 1990 concerning the numerical evaluation of particular solutions. Inhomogeneous Equations

p

If the forcing function is a function of position only then the differential equation under consideration is simply Poissons equation. In this case it is not necessary to invert the matrix as can simply be calculated from using Gaussian elimination. Equation (7.39) can be rewritten

wv 0 s

xy yx 0 0 @!

ps

(7.43) (7.44)

7 .3 D OMAIN I NTEGRALS I NVOLVING

as

By applying boundary conditions Equation (7.45) can be reduced to a linear system which can be solved to give the unknown nodal values of and . Zheng et al. (1991) and Coleman, Tullock & Phan-Thien (1991) have proposed a method which uses a global shape function to construct an approximate particular solution. As discussed by Polyzos, Dassios & Beskos (1994) this method is essentially equivalent to the DR-BEM. However, Zheng et al. and Coleman et al. suggested several alternative ways of determining the unknown for inhomogeneous equations. Zheng et al. (1991) used a least-squares method coefcients where they minimised the sum of squares

(7.46)

using singular value decomposition. For large systems they found the computational efciency could be improved by employing the conjugate gradient method. Coleman et al. (1991) successfully solved inhomogeneous potential and elasticity problems which are governed by operators other than the Laplacian. Elliptic Problems

If is a function of the dependent variable then will also be a function of the dependent variable. Consider, for example, the linear second-order differential equation

(7.47)

In this case so . Applying the DR-BEM to Equation (7.47), based on the fundamental solution to Laplaces equation, gives

(7.48)

Again, by applying boundary conditions Equation (7.49) can be reduced to a linear system which can be solved to determine the unknown nodal values. Due to the presence of the fully-populated matrix in Equation (7.49) it is not possible to solve the boundary problem and internal problem separately. Instead the solution can be treated as a coupled problem and the solutions at boundary and internal nodes are generated simultaneously. Derivative Terms The DR-BEM can also be applied for elliptic problems where involves derivatives of the dependent variable (Partridge et al. 1992). Consider, for example, the differ

where

fi fh " s # B 5 A

# H

which can be rearranged to give

(7.49)

where

fi fh " p B $ A 8 #

i

fi fh " s B $ A #

yFn

% " 8 # 9 F %

# $

s p

"

"

&

THE

D EPENDENT VARIABLE

129

(7.45)

130


D OMAIN I NTEGRALS

IN THE

BEM

In this case applying DR-BEM, using the Laplace fundamental solution, gives

To solve this problem it is necessary to relate the nodal values of to the nodal values of . This is achieved by using interpolation functions to approximate in a similar manner as was used to approximate in Equation (7.32). A global approximation function of the form

can be used to approximate where are the chosen interpolation functions and known coefcients. In system form this can be expressed as

are the un-

Although it is not necessary, equating to improves the computational efciency of the method as only one matrix inversion procedure is required. Differentiating Equation (7.53) gives

Choosing and inverting Equation (7.53) to give an explicit expression for tion (7.54) to be rewritten as

allows Equa-

Equation (7.39) can now be rewritten as

where

By applying boundary conditions Equation (7.56) can be reduced to a linear system which can be solved to give the unknown nodal values. As mentioned earlier, the approximating function is generally chosen to be . This can lead to numerical problems if derivative terms are included in the forcing function . As shown in Equation (7.55) derivative terms require derivatives of to be evaluated. For example, evaluating

y s y  ~ p s t w s  n| ~}{ Dzj f wf z | y p s s t w 7w xp

7 f i f h " A s # qB F

d o20Vwlkd ig1eX d n m j hf

q W t rq qt

ential equation

(7.50)

p 7 s q

dh

# $

" s vuq

(7.51)

(7.52)

(7.53)

(7.54)

(7.55)

(7.56)

7 .3 D OMAIN I NTEGRALS I NVOLVING

This derivative function can become singular, so - as shown by Zhang (1993) - signicant numerical error may result. This will especially be the case in problems where collocation points are located close together. Zhang (1993) suggested two possibilities for avoiding this problem. The rst suggestion involved using a mapping procedure to map the governing equation to an equation without convective terms. This method was shown to produce accurate results but is somewhat cumbersome and can only be applied to linear problems. A simpler approach is to choose an approximating function which does not lead to singularities for convective terms. Zhang recommended use of either or . These approximating functions produce accurate results and can be simply applied for both linear and nonlinear problems. Zhang recommended the adoption of these approximating functions for all use of the DR-BEM. The same idea of using Equation (7.53) to allow nodal values of to be associated to its derivatives can be applied to extend the DR-BEM to cases involving higher-order derivatives or cross derivatives of the dependent variable. Appropriate approximating functions need to be chosen to avoid the problem of singularities. Variable Coefcients The DR-BEM can be readily extended to equations with variable coefcients. Consider the variable coefcient Helmholtz equation

where is a function of position in two dimensions. If the DR-BEM is applied using the known fundamental solution to the Laplace operator then the forcing function is . Applying the DR-BEM gives

where is a vector of the nodal values of the forcing function . The relationship can be written in matrix form as where is a diagonal matrix containing the nodal values of i.e.,

. . .

. . .

..

. . .

where

is the number of collocation points used in applying the DR-BEM.

(7.59)

(7.60)

n2m` lj n 2m l j n 2mwl f fj p y s  ~ p z f z n j H` o2Vm wl n j 7x}{

the

matrix requires calculation of

. Using the approximating function

F{

l l

{ {

nmj o2Vl

st w

THE

D EPENDENT VARIABLE

131

gives (7.57)

(7.58)

132

where

which is a boundary-only expression for the variable coefcient Helmholtz equation. This method is general and can easily be extended to accommodate variable coefcient derivative terms and a sum of variable coefcient terms. Formulating the DR-BEM for a General Elliptic Problem In this section it has been shown how the DR-BEM can be applied for elliptic problems with varying forms of . The DR-BEM can be applied in cases where involves a sum of terms due to the basic property

Applying the DR-BEM to this equation gives a matrix system of the form

, and respectively.

are diagonal matrices where the diagonals contain the nodal values of , and is a vector containing the nodal values of .

The DR-BEM Using Other Operators The DR-BEM has been presented in this chapter based on the Laplace operator. However the DRBEM can be be applied using essentially any operator of appropriate order with known fundamental solution. If an appropriate operator can be found the complexity of the forcing function can be reduced. This should improve the accuracy of the method. The problem with applying the DRBEM based on another operator is in choosing the approximating function . A choice of which produces accurate results is required but it is also necessary to choose an for which a particular solution can be determined.

where

{ nmj nmj o2VwlF{ e1Vl${

y s sWw ts w  { f w }{ y s w f z p  n | Dzj l o2Vle{ o2Vwlj n m j n m

Consider a two-dimensional equation of the form

y s  z

R ef n Vf j { {

H p  n { zj

Using this matrix expression for

Equation (7.59) can be rearranged to give (7.61)

n m e2Vlj

D OMAIN I NTEGRALS

IN THE

BEM

(7.62)

(7.63)

(7.64)

(7.65) (7.66)

7 .3 D OMAIN I NTEGRALS I NVOLVING

Zhu (1993) has determined the particular solutions necessary for applying the DR-BEM based on the two-dimensional Helmholtz operator.

Radial functions have generally been used when applying the DR-BEM. Along the lines of Wrobel et al. (1986), Zhu chose an approximating function of the form where is a positive integer. Determining the particular solution requires solving the ordinary differential equation

which can be achieved using a variation of coefcients method. Partridge et al. (1992) applied the DR-BEM to the transient convection diffusion equation

where the material parameters , , and are all assumed to be homogeneous. They applied the DR-BEM based on the steady-state convection-diffusion operator (7.70)

which has a known fundamental solution. This analysis requires the determination of a particular solution

which satises (7.71)

Instead of dening a form of the approximating function and solving for Partridge et al. chose to dene and use Equation (7.71) to determine the corresponding approximating function. Although somewhat ad-hoc this approach was found to produce accurate results.

9 l 5 H l 5 l

H n 1m 2Vwlj }{ m m }{  {

THE

D EPENDENT VARIABLE

133

(7.67)

(7.68)

(7.69)

Chapter 8 The BEM for Parabolic PDES


8.1 Time-Stepping Methods
Several approaches have been proposed for applying the BEM to parabolic problems. These methods can be broadly classied into two main approaches. Either some form of time-stepping procedure is used to advance the solution in time, or a semi-analytic technique is used which can directly calculate a solution at a specied time. In this section time-stepping procedures will be considered. Time-stepping approaches discretise the time domain in some manner and use some form of time marching scheme to advance the solution from one discrete time to the next. The two most commonly used time-stepping methods are the coupled nite difference - BEM and the direct time integration method. These two methods will be outlined in this section for the diffusion equation

where the diffusivity

is a material parameter which can be a constant or a function of position.

8.1.1 Coupled Finite Difference - Boundary Element Method


This approach discretises the time-domain in a nite difference form. Consider the variation be. The most common approach (Brebbia et al. 1984b) is tween a time and a time to assume that, for sufciently small , the time derivative can be approximated using a rst-order fully implicit nite difference scheme (8.2)

which allows the diffusion equation in this time-range to be approximated as (8.3)

Using this nite difference approximation the original parabolic equation has been reduced to an elliptic equation. Using the weighted residuals method an integral equation can be generated from

m ` m n mwxj { g x gk 1x m m n 1xwj n gk 1xwj n gk 1xj m { gk

n 1xj m n 1xj m

(8.1)

136

Equation (8.3).

where and modied Helmholtz equation

applied at some source point . The fundamental solution of the modied Helmholtz equation is known in both two and three dimensions. If an internal solution is required at a specic time this can be determined explicitly from Equation (8.4) where the fundamental solution is applied at internal point and . Unfortunately Equation (8.4) contains a domain integral. This integral is generally evaluated by using a domain mesh (Brebbia et al. 1984b). The domain integral does not include any problem unknowns so a fairly coarse domain mesh will generally sufce. Applying the BEM to Equation (8.4) gives

where is a matrix containing the inuence coefcients due to the domain integral. Using Equation (8.6) the solution can be advanced in time. is known from the initial conditions so a solution can be calculated at . A solution at internal nodes can then be calculated. The time-stepping procedure can be repeated using the internal solution at as pseudo-initial conditions for the next time-step. If a constant time-step is used the matrices , and can be calculated once and stored. The boundary conditions can be applied to form a solution system of the form where is the vector of unknown nodal values at time and is a vector constructed from known nodal values from the previous time-step. For a problem with time-independent boundary conditions at each time-step it is only necessary to update and solve the system for . If a problem has time-dependent boundary conditions the solution system needs to be reformed at each time-step. This coupled nite difference - boundary element method (FD-BEM) was rst proposed by Brebbia & Walker (1980) for the diffusion equation. It was implemented and investigated by Curran, Cross & Lewis (1980). They found that this method will only produce accurate results if Equation (8.2) accurately approximates the time derivative. This will generally require small time-steps to be adopted. Curran et al. investigated the use of a higher-order approximation to the time-derivative. They found that this improved the accuracy of the method. Unfortunately it lead to a deterioration in convergence behaviour. Tanaka, Matsimoto & Yang (1994) proposed a generalised version of this time-stepping scheme. They approximated the time variation within an interval as

W x 7

{ 

H ${ x x x o g x g  u gk  g { g wW {
. The fundamental solution

` 1x { g 1x x

g  z { Fk p H 7 ~ 7p

T HE BEM

FOR

PARABOLIC PDES

(8.4)

is a solution of the

(8.5)

(8.6)

(8.7)

8 .1 T IME -S TEPPING M ETHODS

137

where , termed the time-scheme parameter, is a constant in the range . Substituting this approximation and a rst-order nite difference approximation of the time derivative into the diffusion equation gives

If this approximation of the diffusion equation is equivalent to the standard FD-BEM discussed earlier. An integral equation can be derived from Equation (8.8). Tanaka et al. implemented this method and found it gave accurate results for a range of diffusion problems. They tested the accuracy for a Crank-Nicolson scheme ( ), a Galerkin scheme ( ) and a fully implicit scheme ( ). They found that the best results were achieved using a Crank-Nicolson scheme.

8.1.2 Direct Time-Integration Method


Instead of converting the original parabolic equation to an elliptic equation the problem can be treated directly in the time domain by directly integrating over both time and space. The weighted residual statement using this approach is

Integrating in time once and in space twice gives

where the fundamental solution

satises

This time dependent fundamental solution is known in two and three dimensions. Physically this fundamental solution represents the effect at a eld point at time of a unit point source applied at a point at time . If an internal solution is required at a specic time this can be determined from Equation (8.10) with . The variation of and with time is unknown so it is still necessary to step in time. However, as the time dependence is included in the fundamental solution, accurate results can be achieved using larger time-steps than with the FD-BEM. Two different time-stepping schemes can be used. Similarly to the FD-BEM, each time-step can be treated as a new problem so that an internal solution is constructed at the end of each time-step to be used as pseudo-initial conditions for the next time-step. Alternatively the time integration process can be restarted at with increasing numbers of intermediate steps used. These two time-stepping approaches are discussed in detail in Brebbia et al. (1984b). The rst method requires a new domain integral to be calculated after each time-step due to

 W x H  o  { 1 x  ${ 1 12x o  R x {   { 1  R 1 1x 1x 1x

gk { g 5

(8.8)

(8.9)

(8.10)

(8.11)

138

T HE BEM

FOR

PARABOLIC PDES

the updated pseudo-initial conditions. The second time-stepping procedure involves only a domain integral at so, ideally, a domain integral only needs to be calculated once. This, however, will still require the user to create a domain mesh. As mentioned by Brebbia et al. (1984b), in many practical cases the domain integral can be avoided. If the initial conditions are throughout the body the domain integral equals zero. If the initial conditions satisfy Laplaces equation then a Galerkin vector can be found and the domain integral can be expressed as equivalent boundary integrals. This includes many practical cases such as constant initial temperature or an initial linear temperature prole. Unfortunately, in practice it is not always feasible to restart the integration process at . At each time-step new and matrices are required so if many time-steps are required the storage capacity of the computer is likely to be exceeded. This requires the procedure to be restarted at some time where an internal solution is constructed and used as pseudo-initial conditions to repeat the process. Therefore, in practice, both time-stepping methods are likely to require domain integration.

8.2

Laplace Transform Method

An alternative approach which avoids time-stepping is to solve the problem in a transform domain which removes the time dependence of the problem. The parabolic PDE is thus converted to an elliptic problem for which the boundary element method has been shown to generally produce accurate results. Once the solution to the elliptic problem is determined in the transform space a solution in the original space can be attained using an inverse transform procedure. The most appropriate transform approach for parabolic problems is the Laplace transform. Consider the diffusion equation

with appropriate boundary and initial conditions. The Laplace transform of bolised as and is dened as

Applying Laplace transforms to Equation (8.12) gives

is the initial conditions of . Equation (8.14) is an with transformed boundary conditions. elliptic PDE which can be readily solved using the boundary element method. Once the solution is determined in Laplace transform space this solution can be inverted to give a solution in the time-domain. This inversion procedure requires solutions to be generated for several values of the transform parameter . This method was rst proposed by Rizzo & Shippy (1970) and has since been successfully

1x

   x   1 x x x   y    1x  x 1x x

(8.12) will be sym-

(8.13)

(8.14)

8 .3 T HE DR-BEM F OR T RANSIENT P ROBLEMS

139

used by other practitioners (Moridis & Reddell 1991) (Zhu, Satravaha & Lu 1994). Liggett & Liu (1979) compared the Laplace transform method with the time-dependent Greens function method. They noted that the direct method is simpler to apply. However, due to its greater efciency, they recommended the Laplace transform method for solving diffusion problems. One limitation of the Laplace transform method is that Equation (8.14) is inhomogeneous so that applying the standard BEM will generate a domain integral involving the initial conditions. Traditionally this domain integral has been calculated by using a domain discretisation (Brebbia et al. 1984b). However, recently Zhu et al. (1994) proposed using the DR-BEM to convert this domain integral term to equivalent boundary integrals. They chose to apply the DR-BEM based on the known fundamental solution to the Laplace operator. Considering Equation (8.14) this means that the DR-BEM will be used to convert the right-hand-side to equivalent domain integrals. Therefore the required DR-BEM approximation is

The DR-BEM can now be applied to Equation (8.14), giving a matrix system of the form

which can be reduced to a square system by applying boundary conditions. Once the solution is determined for this elliptic equation in the transform space a solution at a given time can be constructed using an inversion process. This Laplace transform dual reciprocity method (LT-DRM) can easily be extended to equations of the form

in which case a matrix expression of the form

is generated. Zhu and his colleagues have successfully extended the LT-DRM to solve diffusion problems with nonlinear source terms.

8.3 The DR-BEM For Transient Problems


The DR-BEM can also be applied to parabolic problems. Consider, for example, the diffusion equation

p  x { x

"$ &%"

p  p  z

#    "!  x x

p  | z 1x

(8.15)

(8.16)

(8.17)

(8.18)

(8.19)

140

T HE BEM

FOR

PARABOLIC PDES

where the thermal diffusivity, , is a constant. In this case the global approximation of implies a separation of variables such that

Using Equation (8.20), Equation (7.39) becomes

or

where

Equation (8.22) can be solved using a standard direct time-integration method. Partridge & Brebbia (1990) recommended using a rst-order nite difference approximation to the time derivative

and linear approximations to

and within a time-step.

where and between times expression at

are weighting parameters with values in the range and the time-step is and . Substituting these approximations into Equation (8.22) an can be derived in terms of values at . (8.26)

The values of and are known from the initial conditions so a time-stepping procedure can be used. If a constant time-step is used the matrices , and only need to be constructed once. Using this two-level time-integration scheme the most common choice of time-scheme parameters is .

The MRM can be applied to the diffusion equation

of Laplaces equation. In this case the forcing function becomes

8.4

The MRM for Transient Problems

using the fundamental solution and the recurrence

3 ~ & { 56

y s  p 0  ~9 p z (p }{ )w w z y s   p (p )w z w z # "! " &$ x "

Gv& FEDH2 C 3 C 1  0 z 1 7 3 p 2 @9 8 7 ~2& 7 p 41 0 ABz z { gk 1 { gk & 3 2 3 4 3 4 1 1 g 2 { 2 gk { gk

'

(8.20)

(8.21)

(8.22)

(8.23)

(8.24) (8.25)

8 .4 T HE MRM

FOR

T RANSIENT P ROBLEMS

141

The higher-order fundamental solutions are known for Laplaces equation. In this case the MRM formulation becomes

The standard BEM numerical procedure can be applied to this boundary integral equation. This gives the matrix system

etc are the inuence coefcient matrices relating to the higher-order where the matrices fundamental solutions. This equation can be solved using a time-integration procedure. The most common approach is to solve this system numerically by discretising the time domain and using a time-stepping procedure. This requires some interpolation between the two time-levels . This most common approach is to use a linear approximation to and marked by and in this time-range (8.30) (8.31)

where

has a value in the range 0 to 1. Differentiating these linear approximations gives (8.32) (8.33)

where

. This approach is termed a rst-order approach as it removes all but the rst derivatives. A second order approach can be formulated by using quadratic interpolation of and within the time-range. Using Equation (8.34) the solution can be advanced in time. If a constant time-step is used the matrices and only need to be constructed once outside the time-stepping loop. If the boundary conditions are not time-dependent the boundary conditions only need to be applied

 g    ` { X z  p

` Yz

and all the other derivatives vanish. This allows Equation (8.29) to be simplied to

(8.34)

CC TTC

R " "

 UH  9TC6CC p IpH  { RVP { { { SQ{ RP z # o #  " !  "  "! {

W g k W gk gk { g {

"

g " { 7z
" X

"

relationship dened by Equation (7.24) becomes

"

  ` X QVQz ` z X   { Qz ` Y X  7z p z { z

z {

X Yz

{  p z

(8.27)

(8.28)

(8.29)

142

once.

T HE BEM

FOR

PARABOLIC PDES

Bibliography
Brebbia, C. A. & Nowak, A. (1989), A new approach for transforming domain integrals to the boundary, in R. Gruber, J. Periaux & R. P. Shaw, eds, Proceedings of the Fifth International Symposium on Numerical Methods in Engineering, Computational Mechanics Publications, Springer-Verlag, pp. 7384. Brebbia, C. A., Telles, J. C. F. & Wrobel, L. C. (1984a), Boundary Element Techniques, SpringerVerlag. Brebbia, C. A., Telles, J. C. F. & Wrobel, L. C. (1984b), Boundary element techniques: Theory and applications in engineering, Springer-Verlag, New York. Brebbia, C. A. & Walker, S. (1980), Boundary Element Techniques In Engineering, Newnes Butterworths. Clements, D. L. & Rizzo, F. (1978), A method for the numerical solution of boundary value problems governed by second-order elliptic systems, Journal of the Institute of Mathematics Applications 22, 197202. Coleman, C. J., Tullock, D. L. & Phan-Thien, N. (1991), An effective boundary element method for inhomogeneous partial differential equations, Journal of Applied Mathematics and Physics (ZAMP) 42, 730745. Curran, D. A. S., Cross, M. & Lewis, B. A. (1980), Solution of parabolic differential equations by the boundary element method using discretisation in time, Applied Mathematical Modelling 4, 398400. Danson, D. J. (1981), A boundary element formulation of problems in linear isotropic elasticity with body forces, in C. A. Brebbia, ed., Boundary Element Methods, Computational Mechanics Publications and Springer-Verlag, pp. 105122. Fairweather, G., Rizzo, F. J., Shippy, D. J. & Wu, Y. S. (1979), On the numerical solution of two-dimensional problems by an improved boundary integral equation method, J. Comput. Phys. 31, 96112. Gipson, G. S. (1987), Boundary Element Fundamentals - Basic Concepts And Recent Developments In The Poisson Equation, Computational Mechanics Publications. Gipson, G. S., Reible, D. D. & Savant, S. A. (1987), Boundary elements and perturbation theory for certain classes of hyperbolic and parabolic problems, in C. A. Brebbia, W. L. Wendland &

144

BIBLIOGRAPHY

Golberg, M. A. (1995), The numerical evaluation of particular solutions in the BEM - a review, Boundary Element Communications . Golberg, M. A. & Chen, C. S. (1994), The theory of radial basis functions applied to the BEM for inhomogeneous partial differential equations, BE Communications 5(2), 5761. Huang, Q. & Cruse, T. A. (1993), Some remarks on particular solution used in BEM formulation, Computational Mechanics 13, 6873. Itagaki, M. & Brebbia, C. A. (1993), Generation of higher order fundamental solutions to the twodimensional modied Helmholtz equation, Engineering Analysis With Boundary Elements 11(1), 8790. Lafe, O. E. & Cheng, A. H.-D. (1987), A perturbation boundary element code for steady state groundwater ow in heterogeneous aquifers, Water Resources Research 23(6), 10791084. Liggett, J. A. & Liu, P. L.-F. (1979), Unsteady ow in conned aquifers: A comparison of two boundary integral methods, Water Resources Research 15(4), 861866. Monaco, A. D. & Rangogni, R. (1982), Boundary element method: Processing of the source term of the Poisson equation by means of boundary integrals only, in K. P. Holz, U. Meissner, W. Zielke, C. A. Brebbia, G. Pinder & W. Gray, eds, Finite Elements In Water Resources IV, Springer-Verlag, pp. 19.2919.36. Moridis, G. L. & Reddell, D. L. (1991), The Laplace transform boundary element (LTBE) method for the solution of diffusion-type problems, in Boundary Elements XIII, Computational Mechanics Publications and Springer-Verlag, pp. 8397. Nowak, A. J. (1987), Solution of transient heat conduction problems using boundary-only formulation, in C. A. Brebbia, W. L. Wendland & G. Kuhn, eds, Boundary Elements IX Vol 3, Computational Mechanics Publications and Springer-Verlag, pp. 265276. Nowak, A. J. & Partridge, P. W. (1992), Comparison of the dual reciprocity and the multiple reciprocity methods, Engineering Analysis With Boundary Elements 10, 155160. Ortner, N. (1987), Construction of fundamental solutions, in C. A. Brebbia, ed., Topics In Boundary Elements Research, Springer-Verlag, Berlin and New York. Partridge, P. W. & Brebbia, C. A. (1990), The BEM dual reciprocity method for diffusion problems, in Computational Methods In Water Resources VIII, Computational Mechanics Publications and Springer-Verlag, pp. 397403. Partridge, P. W., Brebbia, C. A. & Wrobel, L. C. (1992), The Dual Reciprocity Boundary Element Method, Computational Mechanics Publications and Elsevier Applied Science. Polyzos, D., Dassios, G. & Beskos, D. E. (1994), On the equivalence of dual reciprocity and particular integral approaches in the BEM, BE Communications 5(6), 285288.

G. Kuhn, eds, Boundary Elements IX, Computational Mechanics Publications and SpringerVerlag, pp. 115127.

B IBLIOGRAPHY

145

Rangogni, R. (1986), Numerical solution of the generalized Laplace equation by coupling the boundary element method and the perturbation method, Applied Mathematical Modelling 10, 266270. Rangogni, R. (1991), Solution of variable coefcients PDEs by means of BEM and perturbation technique, in Boundary Elements XIII, Computational Mechanics Publications and Springer-Verlag. Rizzo, F. J. & Shippy, D. J. (1970), A method of solution for certain problems of heat conduction, AIAA Journal 8(11), 20042009. Tanaka, M., Matsimoto, T. & Yang, Q. F. (1994), Time-stepping boundary element method applied to 2-D transient heat conduction problems, Applied Mathematical Modelling 18, 569576. Wrobel, L. C., Brebbia, C. A. & Nardini, D. (1986), The dual reciprocity boundary element formulation for transient heat conduction, in Finite Elements In Water Resources VI, Computational Mechanics Publications and Springer-Verlag. Wu, J. C. (1985), Boundary element methods and inhomogeneous parabolic equations, in C. A. Brebbia & B. J. Noye, eds, BETECH 85, Springer-Verlag, pp. 1930. Zhang, Y. (1993), On the dual reciprocity boundary element method, Masters thesis, The University of Wollongong. Zheng, R., Coleman, C. J. & Phan-Thien, N. (1991), A boundary element approach for nonhomogeneous potential problems, Computational Mechanics 7, 279288. Zhu, S. (1993), Particular solutions associated with the Helmholtz operator used in DRBEM, BE Abstracts 4(6), 231233. Zhu, S., Satravaha, P. & Lu, X. (1994), Solving linear diffusion equations with the dual reciprocity method in Laplace space, Engineering Analysis With Boundary Elements 13, 110.

Index
Advection-diffusion equation, 103 Area Coordinates, 14 Basis functions Hermite cubic, 12 Basis functions, 216, 53 Hermite, 1014 bicubic, 12, 14 cubic, 10 Lagrange, 10 bilinear, 79 linear, 24 quadratic, 7 Beam elements, 79 Boundary conditions application of, 29, 54 Coupled nite difference - boundary element method, 135 Curvilinear coordinate systems, 1718 Cylindrical polar, 17 Prolate spheroidal, 18 Spherical polar, 18 Dirac-Delta function, 4345 Direct time-integration method, 137 Dual reciprocity BEM approximating function, 127 derivative terms, 129 elliptic problems, 129 transient problems, 139 variable coefcients, 131 Dual reciprocity BEM, 124, 133 element stiffness matrix, 26 Fundamental solution, 43, 4548, 72, 117 diffusion equation, 72 Helmholtz, 72 Kelvin, 91 Laplace, 46 Navier, 72 wave equation, 72 Galerkin formulation, 25, 31 Galerkin vector, 119 Gaussian quadrature, 3942, 56 Global stiffness matrix, 27 integration by parts, 24 Isoparametric formulation, 53 Laplace transform method, 138 Mass lumping, 106 Multiple reciprocity method, 122124 diffusion equation, 140 Helmholtz equation, 124 Poisson equation, 122 Perturbation BEM, 121 Plane stress elements, 8183 Potential energy, 82 Rayleigh-Ritz method, 75, 77 Regular BEM, 64 Strain energy, 82 Trefftz method, 64 Triangular elements, 1416 Truss elements, 76 Weighted residual, 24 Weighting function, 24

Você também pode gostar