Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Finite element method

From Scholarpedia - Reading time: 9 min

The Finite Element Method (FEM) is arguably the most powerful method known for the numerical solution of boundary- and initial-value problems characterized by partial differential equations. Consequently, it has had a monumental impact on virtually all areas of engineering and applied science.

There are two fundamental attributes of the method that are at the heart of its great utility and success. Firstly, it is based on the idea of partitioning bounded domains Ω in Rn into a number N of small, non-overlapping subdomains, the finite elements, over which functions are approximated by local functions, generally polynomials. Secondly, the boundary- and initial-value problems, to which the method is applied, are formulated in a so-called weak, or integral form, so that the contributions of each subdomain to the global integrals sum up to produce an integral characterizing the problem over the whole domain.

Some point to the first attribute of FEMs as its most important: the systemic representation of approximations of function spaces. From the viewpoint of approximation theory, the method provides a systematic approach to piecewise approximation over subdomains that produces sequences of functions that can approximate arbitrary members of, say, Sobolev spaces, arbitrarily closely in appropriate norms (e.g. Sobolev norms). This attribute is referred to as a property of "interpolation" for FEMs. It basically lifts the idea of approximate function representation from the classical notion of interpolation across values of functions or values of derivatives to a general approach for approximating functions with generalized derivatives in spaces such as Lp(Ω) or Wm,p(Ω) , (1p, m0) .

But, were it only its ability to represent functions on quite general domains in Rn , the FEM would not have attained its popularity in science and engineering. It is the powerful notion of weak formulations of boundary- and initial-value problems that enables the summation of element contributions to integrals over the whole domain, a property that allows one to conceptualize a formulation of the problem at hand over a simple domain, the finite element, so as to approximate it locally. Then, these local subdomain approximations, as noted earlier, are summed up to determine the contributions from the full domain. This is the essence of the FEM.

The basic idea can be demonstrated by a simple model problem. Consider the Poisson problem on a two-dimensional domain which involves seeking a real-valued function u=u(x,y) such that

(1){Δu=fin Ωu=gon Ω


where Δ=div(grad)=2 is the Laplacian, f=f(x,y) is given source data, and Ω is an open bounded domain in R2 with boundary Ω . Formally, the differential equation in (1) is multiplied by a test function v=v(x,y) , integrated by parts via Green's theorem, to obtain

Ω(Δuf)v dxdy=Ωuv dxdyΩfv dxdyΩnu v ds=0

where n is the outward unit vector normal to the boundary Ω . If now one demands that v=0 on Ω , (1) is formally equivalent to the following weak or integral form of the boundary-value problem:

Find uU such that

(2)Ωuv dxdy=Ωfv dxdy,vV.


Here U is called the space of trial functions and V the space of test functions. Conceptually, the formulation (2) is "weaker" than (1) as it imposes weaker conditions on the smoothness of the solutions u and test functions v . In fact

U={w=w(x,y): w, wx, wyL2(Ω), w=0 on Ω} and, in this case, V=U . The space U is usually denoted

U=H01(Ω)={wH1(Ω), w=0 on Ω}

where H1(Ω) is the Sobolev space of functions on Ω with generalized derivatives L2(Ω) , a special case of the Wm,p(Ω) of functions with derivatives of orders m0 in Lp(Ω) , 1p .

Problem (2) is a simple example of a broad class of linear boundary- and initial-value problems of the form

(3)Find uU such thatB(u,v)=F(v),vV,


where B(,) is a bilinear form mapping (reflexive Banach spaces) U×V into R and F is a continuous linear functional defined on V .

The standard finite element approximation of (2) amounts to the construction of Galerkin or weighted residual approximations of (1) over finite dimensional subspaces Uh and Vh of U and V , respectively. That is, one seeks

(4)uhUhU such thatB(uh,vh)=F(vh),vhVh,


with VhV , h being a discretization parameter generally chosen as a measure of the mesh size. The great utility of FEM's arises from its approach to constructing the approximation spaces Uh and Vh for functions defined on quite general domains Ω .

Returning to the example (1) (or (2)), consider the case in which Ω is the domain shown in Figure 1, partitioned with a mesh of triangular elements, as shown. This mesh is viewed as one generated by a sequence of maps Fk of a master triangle into the triangles so that, when connected along their edges and at their vertices, cover Ω or produce a close approximation Ωh of Ω . Suppose there are N elements in the mesh. Over a typical isolated triangle Ωk , assume, for example, that the restriction vkh of the test function vhVh varies linearly. Then,

vkh(x,y)=vh|Ωk(x,y)=a1+a2x+a3y,(x,y)Ωk.

Figure 1: A triangular finite element partition of a domain Ω into elements overwhich test functions are piecewise linear functions of the coordinates (x,y) .

The constants a1 , a2 , and a3 are determined so that vh is completely determined by its values at the vertices of Ωk , called the element nodes. If v1 , v2 , and v3 denote the values of Vh at nodes numbered 1, 2, and 3, then one easily determines that vh can be written,

vkh(x,y)=v1ψ1k(x,y)+v2ψ2k(x,y)+v3ψ3k(x,y),k=1,2,,N,

where the ψik are the element shape functions,

{ψ1k(x,y)=12Ak[(x2y3x3y2)+(y2y3)x+(x3x2)y]ψ2k(x,y)=12Ak[(x3y1x1y3)+(y3y1)x+(x1x3)y]ψ3k(x,y)=12Ak[(x1y2x2y1)+(y1y2)x+(x2x1)y]

(xi,yi) are the coordinates of node i , and Ak is the area of Ωk . These linear functions have the property that

ψik(xj,yj)={1if i=j0if ij1i,j3.

All the elements are then connected together to form the full computational domain Ω (or an approximation Ωh of it), and in so doing create global piecewise linear basis functions ϕi , corresponding to each node i in the connected mesh. These "pyramid" or "hat" functions result from patching the element shape functions together, as indicated in Figure 2. Now the (global) test functions are linear combinations of these basis functions: For a mesh with M interior nodes (boundary nodes are excluded since u=0 on the boundary),

vh(x,y)=i=1Mvh(xi,yi)ϕi(x,y) Vh=span{ϕi(x,y)}i=1M

Figure 2: A global basis function ϕi for the spaces Uh and Vh made up by piecing together element shape functions. Note that the basis function is defined everywhere in Ω but is nonzero only over the patch of elements surrounding node i .

In the finite element approximation of (2), one seeks

uhUh=Vh:uh(x,y)=i=1Muiϕi(x,y)

that satisfies the weak problem (4) where

{B(uh,vh)=Ωuhvh dxdy=i,j=1MviKijujF(vh)=i=1Mfivi

for arbitrary coefficients vi . Here Kij are the elements of the global stiffness matrix:

Kij=Ωϕjϕi dxdy

and fi are the components of the load vector,

fi=Ωfϕi dxdy.

This leads to a system of linear equations for the coefficients uj , called the degrees of freedom:

(5)j=1MKijuj=fi,1iM.


The final solution is then,

uh(x,y)=i=1M(j=1M{K1}ijfj)ϕi(x,y)

A property of fundamental importance is that this entire process can essentially be done at the local element level, and then summed up to apply to the global version of the problem. Thus, on element Ωk , the local equalities for element k are

j=13Kijkujk=fik+gik(u),1i3.

where Kijk and fik are the elements of the local stiffness matrix and of the local load vector for element k , respectively, and gik(u) are element interface flux terms:

(6){Kijk=Ωkψjkψik dxdyfik=Ωkfψik dxdygik(u)=Ωknu ψik ds


In the expression for gik(u) , u is the exact solution of the boundary-value problem (2); while it is unknown, it does not enter the discrete global problem because

k=1Mgik(u)=0.

In practice, the local element matrices (6) are integrated using numerical quadrature methods when higher-order shape functions are used. In general, FEM computer programs are written so that element matrices such as those in (6) are calculated from a family of element types, and these are used to generate the global matrices of (5) when the elements are connected together to form the global element mesh. Of course, there are many other possible choices for finite elements, including for instance, quadratic approximations on triangles with 6 nodes, cubic with 10 nodes, quadrilateral elements, etc., and generalizations to tetrahedral and hexahedral elements for three-dimensional elements are commonly used.

The mathematical properties of FEM's and the fact that convergent and accurate approximations of solutions to problems defined on domains of quite general geometry are worth noting. Returning to the general weak boundary-value problem (3), one observes that B(,) is typically assumed to be continuous on U×V into R with continuity constant M , and to satisfy an "inf-sup" condition

(7)infusupv|B(u,v)|uUvVγ>0,


where γ is a constant. Under the conditions that B(,) and F() are continuous (on U×V and V , respectively), that supu|B(u,v)|>0 for all vV , and that (7) holds, it can be shown that (3) possesses a unique solution.

To determine the FE approximation, the domain Ω is partitioned into N subdomains Ωk such that

Ω=closure of Ω=kΩk,ΩkΩj=\empty,kj.

As noted earlier, each element Ωk is regarded as the image of a master subdomain (a master element) Ω^ under an invertible element map Fk:Ω^Ωk , 1kN . In this way, a sequence of subspaces {Vh} is constructed such that

Vh={vhC0(Ω):vh|ΩkFk1=v^Pk},

where Pk is the space of local FEM approximations, e.g.

(8)Pk=Pp(Ω^)=space of polynomials of degree p on Ω^,

or Pk=Pp(I^)Pp(I^)=space of tensor products of polynomials on Ω^=I^I^,

Then the FEM approximation of (3) reduces to the sequence of discrete problems (4). From (3) and (4), one can derive the standard "orthogonality condition"

B(uuh,vh)=0,vhVh.

So, in this sense, the FEM (Galerkin) approximation of (4) is optimal: the error eh=uuh is "orthogonal" to the space Vh of approximations with respect to the bilinear form B(u,v) .

Under reasonable assumptions on the sequence of meshes producing the subspaces {Vh} , one can approximate functions in Wr,s(Ω) with interpolation error satisfying

uΠhur,s,ΩkChkmin(p+1r,tr)uWt,s(Ω)

where p is the highest order of complete polynomials contained in the space of local FEM approximations (as in (8)), Πh is a projection operator of Vh into Wr,s(Ω) that preserves polynomials of degree p for triangular elements, hk=diam(Ωk) , 1s , t0 , and C is a constant.

When interpolation properties such as this hold, one can typically obtain a priori error estimates for elliptic boundary-value problems of the form uuhHm(Ω)Chmin(p+1m,qm)uHq(Ω)

where now s=2 , r=m , t=q , and h=max1hN(hk) . Thus, the rate of convergence of such methods in the Hm(Ω)-norm is min(p+1m,qm)>0 . The constant C is independent of u and h but depends upon the continuity constant M of B(,) and the constant γ of (7).

Many variations of such results can be obtained. Among them are cases in which the local spectral order p=pk is an approximation parameter. These characterize the "p-versions" of the FEM. Likewise, both hk and pk can be varied, resulting in h-p FEMs. The "h-versions" of the FEM commonly refers to the case where p is uniform over all elements.

The field of FEM's, both as a tool for solving problems of science and engineering and as an area of research in numerical mathematics, is large and expanding and continues to be a vital area of study and practical application.

[edit] References


Licensed under CC BY-SA 3.0 | Source: http://www.scholarpedia.org/article/Finite_element_method
13 views | Status: cached on November 17 2021 20:41:14
↧ Download this article as ZWI file