Finite Element Analysis. Barna Szabó
Subscript xi equals 1 Baseline equals 5 left-parenthesis a 6 minus a 5 right-parenthesis equals 2.9028 left-parenthesis 19.32 percent-sign error right-parenthesis"/>
and by indirect computation:
Example 1.9 The following example illustrates that the indirect method can be used for obtaining the QoI efficiently and accurately even when the discretization was very poorly chosen. We will consider the problem
where δ is the delta function, see Definition A.5 in the appendix. Let us be interested in finding the approximate value of
If we use the Legendre shape functions then the coefficient matrix displayed in eq. (1.66) will be perfectly diagonal. The first two rows and columns will be zero on account of the boundary conditions and the diagonal term will be 2. Referring to eq. (1.75) the right hand side vector will be
Therefore the coefficients of the shape functions can be written as
and the QoI is:
From the definition of Ni in eq. (1.53) we have
and the QoI can be written as
where we made use of eq. (1.55). The relationships between the polynomial degree ranging from 2 to 100 and the corresponding values of the QoI computed by the direct method are displayed in Fig. 1.7. It is seen that convergence to the exact value
The indirect method is based on eq. (1.18) which, applied to this example, takes the form
Selecting
Figure 1.7 Example 1.9. Values of