Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X Simplifying integration for logarithmic singularities R.N.L. Smith Department of Applied Mathematics & OR, Cranfield University, RMCS, Shrivenham, Swindon, Wiltshire SN6 SLA, UK Introduction Any implementation of the boundary element method requires consideration of three types of integral - simple non-singular integrals, singular integrals of two kinds and those integrals which are 'nearly singular' (Brebbia and Dominguez 1989). If linear elements are used all integrals may be per- formed exactly (Jaswon and Symm 1977), but the additional complexity of quadratic or cubic element programs appears to give a significant gain in efficiency, and such elements are therefore often utilised; These elements may be curved and can represent complex shapes and changes in boundary variables more effectively. Unfortunately, more complex elements require more complex integration routines than the routines for straight elements. In dealing with BEM codes simplicity is clearly desirable, particularly when attempting to show others the value of boundary methods. Non-singular integrals are almost invariably dealt with by a simple Gauss- Legendre quadrature and problems with near-singular integrals may be overcome by using the same simple integration scheme given a sufficient number of integration points and some restriction on the minimum distance between a given element and the nearest off-element node. The strongly singular integrals which appear in the usual BEM direct method may be evaluated using the row sum technique which may not be the most efficient available but has the virtue of being easy to explain and implement. This Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X 234 Boundary Elements paper implements a recently developed one part Gauss integration scheme for singular logarithmic integrals which is both simpler to implement and more accurate than the usual two-part Gauss approach with separate Gauss- Legendre and logarithmically weighted Gauss schemes. We aim to present a description for the quadratic element which is self-contained and suitable as an introduction to this aspect of BEM. Quadratic elements Consider an isoparametric quadratic element defined on [0,1] as in figure 1. 92 93 # , # Figure 1: A straight quadratic element The variation of x, y, potential u arid potential derivative q — du/dn are all expressed in the same form in terms of their nodal values, for example: 4- 92^2 + %Ms (1) where the Lagrangian interpolation functions MI, A/2,A/3 are M, = (2f -!)(£-!) Mi = 4f(l - f) -1) In one dimension, a typical boundary element integral of q over an element Si on the boundary has the form (omitting a — l/(2ir) multiplier) / = / ln(r) q dS (2) J S, where dS is the element of arc length around the boundary S and r = i(x - xo)2 + (y - 3/0)2 is the distance between the source point (xo,yo) and the boundary point (,r,y) on the current element. Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X Boundary Elements 235 If g, r and dS are now all expressed in terms of the parameter £ using an isoparametric quadratic element then the integral (2) becomes (3) Jo where J(^) is the Jacobian transforming cK to If the point (xo,yo) coincides with the first node of the quadratic element, then r — 0 at this point and the integral including MI above is weakly singular. The other two shape functions MI and M^ are zero at f = 0 and those integrals are not therefore singular for this position of the source node - although they will be singular for the source node at node 2 and node 3 respectively. We discuss here only the case for a singularity on node 1, since integrals singular on the other two nodes are simple transforma- tions/combinations of the node 1 routine. Numerical integration Very simple elements allow the use of exact integration but for more com- plex elements, numerical integration is used. In general, an n-point Gauss- Legendre formula with abscissae x, and weights W{ (%)(& = ]T %,,/(%,) (4) i=i will give a result for the integral which is exact for all polynomials of degree 2n — 1 (neglecting any rounding errors). The high efficiency of such inte- gration schemes mean that they are almost invariably used for numerical integration in FEM and BEM. One weighted Gauss scheme which is particularly useful in the BEM is for integrals which include a log(£) term on the interval [0,1]. With abscissae Xi and weights W{ this scheme is written In order to incorporate this weighted Gauss scheme into the integral (3) we must isolate the £ part of ?••(£). One way of doing this (Smith and Mason Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X 236 Boundary Elements 1982) is as follows: When x is expressed as an isoparametric quadratic on [0,1] we can write z = A^ 4- Bf + zi; % = Cf 4- Df + 2/1 where C = 2%/i - 4?/2 + 2?/3, D = -3m + 4?/2 - 7/3 and if the element is singular on node 1 then r% = ^[(A" + C')(" + (2AB 4- The ln(r) integral singular on node 1 can thus be written as Jo This kind of separation by direct factorisation into the two components avoids division by small quantities or taking square roots and would thus seem a more robust approach than is sometimes used. The first integral on the right-hand side of (6) is evaluated using the weighted scheme (5) and the second non-singular integral using the simple quadrature (4). This two-part gauss quadrature with n points for each part is, of course, exact for polynomials of degree (2n — 1) and therefore for integrals on straight quadratic elements when n > 1. An alternative scheme for the singular logarithmic integral is based on sub- tracting out the singularity after expanding the integrand using Taylor se- ries (Aliabadi et al 1985) Whilst this approach is effective, it is substantially more difficult to explain or implement than a two-part Gauss quadrature. Crow (1993) developed a gauss quadrature scheme for a function of the form: which is exact where a and b are polynomials of degree at most N. Choosing a — 0 and 6=0 separately leads to the equations: TV 0 N i = / Jo 0 Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X Boundary Elements 237 The choice of basis polynomials for this problem is arbitrary since the un- known abscissae are not the roots of orthogonal polynomials but Legendre polynomials P*(x] on [0,1] produce lower condition numbers than powers of x in the following scheme: E o giving 2N+2 equations for the 2N+2 unknowns: Given an initial estimate for £, the first equation above is solved for w and the second equation for £ in an iterative fashion. The computation of quadrature points in this way seems to be particularly ill-conditioned and data is only available for N up to N = 7. The quadrature points for the case N — 6 are given below for convenience: The above quadrature scheme X .0030258021 .040978254 .170863300 w .011351339 .075241070 .18879004 X .41325571 .70909515 .93823959 w .28582072 .28448643 .15431040 Table 1: Gauss quadrature points covers the requirements for the BEM ln(r) singularity without the need to explicitly form the two components of the integrand in the singular case. Results The two-part log procedure and the single gauss quadrature are now com- pared for several elements with different profiles. Since exact solutions are not generally available, accurate comparison values were obtained from the adaptive numerical integration provided by the Maple symbolic algebra package. The other results were obtained using single precision arithmetic (c± 7dp) on a DEC MICRO VAX and include a straightforward 6-point Gauss-Legendre Transactions on Modelling and Simulation vol 12, © 1996 WIT Press, www.witpress.com, ISSN 1743-355X 238 Boundary Elements rule which takes no account of the singularity. Both the singular rules also use 6 points, the two-part rule with 3 log -f 3 Legendre points. The integrals from all 3 nodes are treated in the same way although strictly only the first node integral is singular. nodes 1,2,3 x-coord 0.100 0.200 0.300 nodes 1,2,3 y-coord 0.100 0.200 0.300 6-pt Gauss 0.1887260 0.3954318 0.0516317 Two part log 0.1930966 0.3952629 0.0516753 Crow 6-pt 0.1930967 0.3952628 0.0516752 Maple 0.1930966 0.3952628 0.0516752 Table 2: log integrals on a straight element Table 2 gives integrals for a linear geometry quadratic element which can be evaluated exactly since the Jacobian is a constant. The singular nu- merical schemes should also be 'exact' to within numerical errors since the unaccounted for polynomial in the integrand is just the quadratic shape function of degree n = 2 and these schemes should therefore be exact with (2n — 1) > 2. This is borne out by table 2 which shows all 3 methods apart from the simple Gauss rule agreeing to machine precision. Observe that although the integrals from node 2 and node 3 are non-singular, the sin- gular rules appear to give significantly better estimates than simple Gauss- Legendre. Once the element deviates from a pure linear element, exact nodes 1,2,3 x-coord 0.100 0.200 0.300 nodes 1,2,3 y-coord 0.100 0.220 0.300 6-pt Gauss 0.2129289 0.3870630 0.0377493 Two part log 0.2182627 0.3868637 0.0377983 Crow 6-pt 0.2182668 0.3868548 0.0378030 Maple 0.2182667 0.3868547 0.0378031 Table 3: log integrals - small curvature integration is no longer generally possible and tables 3 and 4 show that the Crow rule performs significantly better than the other schemes; accu- rate to 5 or 6 places of decimals compared to 3 or 4 otherwise.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-