In the implementation of the finite element scheme the actual differential operator is not relevant for algebraic structure of the formalism. This section shows the application of the finite element method to the Laplace equation
|
(3.10) |
For such an equation functions are required which are twice differentiable. The usual method to reduce this requirement is to apply the Green integral identity where one obtains the following expression
|
(3.11) |
denotes the local integration region. Using a geometrical transformation, simplicial elements can be transformed into unity simplices. For other elements, e.g. cuboids, it is also possible to transform the integration domain in order to simplify the calculation. The following considerations concern the standard method of simplicial (triangular) elements and linear shape functions. Methods in which the integrals can be solved analytically can be treated in the same manner.
In most cases the quadrature can be performed analytically, which implies that most of the calculations are carried out before the simulation is started. During the simulation process predetermined numbers are inserted. In many cases, e.g. more complicated differential equations, irregular shapes of the elements, or when using higher order polynomial approaches, it might be of favor to use alternative quadrature methods, mostly numerical quadrature means. In such a case the evaluation of the function
invokes e.g. a Gauß quadrature method. Moreover, it can be stated that a quadrature method for the determination of the integral function
does only require information which is associated with one of the arguments passed. In some special cases it might be desirable to use incidence traversal methods, e.g., to determine values which are associated to edges of the respective cell.
In the following considerations the integrals are not evaluated as a complete matrix but separately for each two vertices on a given triangular cell. The integral is evaluated using the typical geometrical transformation to a standard triangular element with corner points in
,
and
.
The local coordinates of the transformation are denoted as
and
. The associated shape function for the single vertices are
,
and
. A transformation function can be found in the following way:
|
|
|
(3.12) |
|
|
|
(3.13) |
where
and
denote the vertices of the triangle in any ordering. The derivatives of the variables in the standard range
with respect to the original variables
are:
|
|
|
(3.14) |
Here,
denotes the determinant of the transformation matrix. Together with this determinant the differentials can be transformed. The determinant is defined with respect to the cell. For the calculation the coordinate values of the vertices are required.
|
|
|
(3.15) |
In the first case of the evaluation of the function
, the vertices
and
coincide and the point
is used as point of the common vertex. The common shape function is denoted as
.
It can be seen that the value of the integral depends on the volume of the cell as well as on the length of the edge opposing the common edge (see Fig. 3.3). For this reason a topological function
can be introduced which returns the edge opposing a vertex within a triangular cell. The quantities
and
are defined on the cells and edges, respectively.
Figure 3.3:
The opposing edge of a vertex within a cell.
|
|
(3.17) |
For the second case it is assumed that the vertices
and
are different. In this case, the vertices
and
are located on the points
and
. The shape function collocated with
is referred to as
and the shape function collocated with
is referred to as
.
To precisely specify this formula using the formalism presented in Chapter 2, the localities of the quantities are defined exactly, for the third vertex within the triangular cell, the following topological function can be used (see Fig. 3.4).
|
(3.19) |
Figure 3.4:
The third vertex within a triangle.
.
|
where the function
denotes all vertices incident with a cell. The final formula yields
|
(3.20) |
These considerations can be performed for other differential operations, element shapes, and shape functions, as long as the integrals are evaluable analytically. As the necessary quantities and geometrical properties are always associated with topological elements incident to the common cell, further topological functions such as the opp() function may become relevant for the calculations. One restriction which is crucial for the evaluation of the integral term
is that only quantities are required which are associated with elements that are incident with the cell
or which are global.
Michael
2008-01-16