
4.7 The Finite-Element Method 273
is an integral part of any FE software. Efficient algorithms for this task have been
developed. An important issue is the mesh quality generated by these algorithms,
that is, the compatibility of the meshes with the numerical solution procedures.
For example, too small angles in the triangles of a FE mesh can obstruct the
numerical solution procedures, and this can be avoided, for example, by the use
of Delaunay triangulations [166]. Another important aspect of mesh generation is
mesh refinement. As was discussed above, one might want to use locally refined
meshes such as the one shown in Figure 4.7b to achieve the desired resolution
of the numerical solution or to avoid problems with the numerical algorithms.
FE software such as Salome-Meca offers a number of options to define locally
refined meshes as required (Section 4.9.2). The mesh generation step may also be
coupled with the solution of the FE problem in various ways. For example, some
applications require ‘‘moving meshes’’, such as coupled fluid–structure problems
where a flowing fluid interacts with a deforming solid structure [167]. Some
algorithms use adaptive mesh refinement strategies where the mesh is automatically
refined or coarsened depending on a posteriori error estimates computed from the
numerical solution [139].
The weak problem formulation step is the most technical issue in the above
scheme. This step involves, for example, the selection of basis functions of the
finite-dimensional subspace V in which the FE method is looking for the solution.
In the above discussion, we used piecewise linear basis functions, but all kinds of
other basis functions such as piecewise quadratic or general piecewise polynomial
basis functions can also be used [166]. Note that some authors use the term finite
element as a name for the basis functions, rather than for the geometrical primitives
of the mesh. This means that if you read about ‘‘quadratic elements’’, the FE method
is used with second-order polynomials as basis functions. If the PDE is nonlinear,
the weak problem formulation must be coupled with appropriate linearization
strategies [139]. Modern FE software such as Salome-Meca (Section 4.8) can be used
without knowing too much about the details of the weak problem formulation step.
Typically, the software will use reasonable standard settings depending on the PDE
type specified by the user, and as a beginner in the FE method it is usually a good
idea to leave these standard settings unchanged.
The solution step of the FE method basically involves the solution of linear
equation systems involving sparse matrices as discussed above. As was mentioned
in Section 4.6.7, large sparse linear equation systems are most efficiently solved
using appropriate iterative methods. In the case of instationary PDEs, the FE
method can be combined with a treatment of the time derivative similar as was
done above for the heat equation (Section 4.6). Basically, this means that a sequence
of linear equation systems must be solved as we move along the time axis [166]. In
the case of nonlinear PDEs, the FE method must be combined with linearization
methods such as Newton’s method [139], which again leads to the solution of an
iterated sequence of linear equation systems. Again, all this as well as the final
postprocessing step of the FE method is supported by modern FE software such as
Salome-Meca (Section 4.8).