15.7 KB · commit a9602da
The Rayleigh–Ritz and Galerkin methods, discussed in the previous sections, cannot be applied directly for obtaining the global approximate solutions of engineering problems. An important reason for this is the difficulty associated with the choice of trial functions (satisfying the boundary conditions) particularly for complicated boundaries. This means that the application is restricted to problems with a simple geometry. Another reason is that very high-order polynomials have to be used to obtain global solutions with a reasonable accuracy. In the finite element method, the ideas of both the Rayleigh–Ritz and Galerkin methods are used in such a way that the above mentioned difficulties are overcome.
In the finite element method the region of interest is subdivided into a finite number of subregions, called the elements, and over each element the variational formulation of the given differential equation is constructed using simple functions for approximations. The individual elements are then assembled and the equations for the whole problem are formed by a piecewise application of the variational method. For better accuracy it will not be necessary to increase the order of the functions used, but it would be sufficient to use a finer mesh. In this way, the difficulties encountered in the direct application of the variational methods are overcome. The basic steps involved in the finite element method are as follows:
(i) Discretization: The given domain is divided into a number of finite elements. The points of intersection are called nodes. The nodes and the elements are both numbered.
(ii) Derivation of element equations: For the given differential equation, a variational formulation is constructed over a typical element. The element equations are obtained by substituting a typical dependent variable, say u=i=1∑nuiψi into the variational formulation. After choosing ψi, the interpolation functions, the element matrices are computed.
(iii) Assembly: The next step is the assembly of the element equations so that the total solution is continuous. When this is done, the entire system takes the matrix form Ku′=F′, where K= assemblage property matrix, and u′ and F′ are column vectors containing unknowns and external forces.
(iv) Boundary conditions: The above system of equations is modified using the boundary conditions of the problem.
(v) Solution of the equations: After incorporating the boundary conditions, the system is solved by any standard technique, for example, the LU decomposition.
The preceding steps are quite general but they are common to most finite element approaches. In the following section, these steps are elaborated and explained with an example of one-dimensional problem. Since the two-dimensional problems are modelled by partial differential equations, their finite element analysis is more complicated and are therefore not considered here.
We consider the two-point boundary value problem defined by dx2d2y=−f(x),0<x<1(11.27) with the boundary conditions y(0)=0,[dxdy]x=1=0(11.28)
The basic steps involved in the finite element method are now elaborated and explained (see Reddy [1985]):
Step 1 (Discretization of the region): In the present problem, the region of interest is the x-axis from x=0 to x=1. Suppose that this is divided into a set of subintervals, called elements, of unequal length, in general. The intersection points are called nodes. Let these be given by x0,x1,x2,…,xn−1,xn, where x0=0 and xn=1. The elements are numbered as ①, ②, ③, …, ⓝ, a typical element being the eth element of length he from node e−1 to node e. Let xe−1 and xe be the values of x at the nodes e−1 and e, and let y(e−1) and y(e) be the values of y at these nodes, respectively. In general, y(e) satisfies the condition that outside e. y(e)(x)=0for all elements e.(11.29)
For example, in Fig. 11.2 y(e)(x3) is nonzero whereas y(e)(x4)=0.
Figure 11.2 — Typical eth element.
Using Eq. (11.29), it follows that the global approximate solution, y(x), can be written as y(x)=e∑y(e)(x),(11.30) where the summation is taken over all the elements.
This completes the discretization process and in the next step, we choose a particular element e and formulate a variational principle for it.
Step 2 (Variational formulation over the element e): From Eq. (11.27), we obtain ∫xe−1xevdx2d2ydx=−∫xe−1xevfdx
which is written as
0=∫xe−1xe[vdx2d2y+vf]dx=[vdxdy]xe−1xe−∫xe−1xev′dxdydx+∫xe−1xevfdx=−∫xe−1xe[v′y′−vf]dx+v(xe)D2(e)+v(xe−1)D1(e),(11.31)where D1(e)=[−dxdy]xe−1andD2(e)=[dxdy]xe.(11.32)
In the next step, we use a variational method to approximate Eq. (11.31). We demonstrate this by using the Rayleigh–Ritz method.
Step 3 (Rayleigh–Ritz approximation over the element e): Let ye(x) be an approximation to y(x) over the element e, so that ye(x)=j=1∑nαj(e)ϕj(x),(11.33) where the αj are parameters to be determined and ϕj(x) are approximation functions to be chosen. Substituting Eq. (11.33) in Eq. (11.31), we obtain j=1∑nαj(e)[∫xe−1xeϕj′(x)ϕi′(x)dx]=∫xe−1xefϕi(x)dx+ϕi(xe)D2(e)+ϕi(xe−1)D1(e),i=1,2,…,n.(11.34)
Equation (11.34) can be written in the matrix form Kij(e)αj(e)=Fi(e),(11.35) where Kij and Fi are called the stiffness matrix and force vector respectively, and are given by Kij(e)=∫xe−1xeϕi′(x)ϕj′(x)dx(11.36)
and Fi(e)=∫xe−1xefϕi(x)dx+ϕi(xe)D2(e)+ϕi(xe−1)D1(e).(11.37)
In the Rayleigh–Ritz and Galerkin methods, the system of equations is obtained in terms of the arbitrary parameters αj. In the finite element method, on the other hand, the unknown values of the dependent variable y at the nodes are taken as parameters. This is done in the following way. Let y(x)=α1+α2x(11.38) be an approximation in the element e. We have
y(xe−1)y(xe)=α1+α2xe−1=y1(e)=α1+α2xe=y2(e).}(11.39)Solving the equations given in Eq. (11.39), we obtain α1=xe−xe−1y1(e)xe−y2(e)xe−1(11.40) and α2=xe−xe−1y2(e)−y1(e).(11.41)
Equation (11.38) now becomes
y(x)=xe−xe−1y1(e)xe−y2(e)xe−1+xe−xe−1y2(e)−y1(e)x=xe−xe−1xe−xy1(e)+xe−xe−1x−xe−1y2(e)=i=1∑2yi(e)ϕi(e)(x)(11.42)where ϕ1(e)(x)=xe−xe−1xe−xandϕ2(e)(x)=xe−xe−1x−xe−1.(11.43)
With x1=xe−1 and x2=xe, the functions ϕi(e) have the property ϕi(e)(xj)={0,1,i=ji=j.(11.44)
Instead of Eq. (11.35), we now have Kij(e)yj(e)=Fi(e),(11.45) where Kij(e) and Fi(e) are given by Eq. (11.36) and (11.37).
With the choice of ϕi(e)(x) as in Eq. (11.43), we now demonstrate the computation of K(e) and F(e). In particular, we choose f=2. With he=xe−xe−1, we obtain dxdϕ1(e)=−he1anddxdϕ2(e)=he1(11.46) where
K11K12K22=∫xe−1xe(−he1)2dx=he1=∫xe−1xe−he21dx=−he1=K21=∫xe−1xehe21dx=he1⎭⎬⎫(11.47)and
F1(e)F2(e)=2∫xe−1xehexe−xdx+D1(e)=he+D1(e)=2∫xe−1xehex−xe−1dx+D2(e)=he+D2(e).⎭⎬⎫(11.48)As a particular case, we consider the following example.