5.3. Mass lumping for the wave equation#
A different approach to DG methods from Section 5.1 to obtain easily invertible mass matrices is the so called mass lumping. We consider the one-dimensional case first
Mass lumping for linear finite elements#
We focus on the simple case of linear finite elements, first in one and subsequently in higher dimensions.
Mass lumping for linear 1d elements#
Suppose our spacial domain is given by the interval \(\Omega=(a,b)\) decomposed into \(N\in\mathbb N\) subintervals \(T_j:=(a_{j-1},a_j):=(a_{j-1},a_{j-1}+d_j\) with \(a=a_0<a_j<\ldots<a_N=b\) and \(d_j=a_{j}-a_{j-1}\) for \(j=1,\ldots, N\).
Then the classical hat function basis of a first order finite element space is given by
with the appropriate restrictions for \(b_0,b_N\).
The entries of the mass matrix can be easily computed by hand via
where we set \(d_0=d_{N+1}=0\). Instead of computing the integrals for the entries of the mass matrix exactly we may approximate them using the trapezoidal rule
which leads to an approximated mass matrix \(\tilde{\mathbf M}\) with entries
Mass lumping in higher dimensions#
For higher dimensions the first order finite element spaces (for triangular or tetrahedral elements \(T\in\mathcal T\)) are again given by piecewise linear functions. A convenient basis is given by the according functions which vanish on all but one vertex points, i.e.,
where the polynomial space \(\mathcal P^k\) is defined by
(and in two dimensions the exponent \(l\) of the \(z\) coordinate is always \(0\)). If we denote the set of vertices by \(V_0,\ldots,V_N\) the nodal basis is given by the condition
Following the same reasoning as in one dimension we may construct integration rules locally on each element \(T\) by
where \(V_{T_i}\) are the vertices of the element \(T\) and \(d\) is the spacial dimension. Again an approximation to the correct mass integrals is given by
where \(T_{i,k},k=1,\ldots,K_i\) are the elements sharing the vertex \(V_i\) and \(K_i\) is the number of these elements.
Higher order mass lumping#
Usually finite element basis functions are defined on a reference element first. Then they are appropriately transformed to the physical elements and basis functions on neighbouring elements are glued together to obtain conforming basis functions. I.e., if \(T\) is a physical element (interval, triangle, quadrilateral, tetrahedron, hexahedron,…) we have a reference element \(\hat T\) and a diffeomorphism \(\phi:\hat T\to T\). If a local basis function \(\hat b:\hat T\to\mathbb R\) is given then the basis function on the phyiscal element is given by \(b := \hat b \circ \phi ^{-1}\). We use the following reference elements:
where \(\mathrm{conv}\) denotes the convex hull of a set.
For a given integration rule consisting of integration points \(\hat x_j\in \hat T\) we use basis functions which vanish in all but one integration points, i.e.,
The task is now to find suitable integration rules and spaces on the reference elements.
Higher order mass lumping in one dimension#
To be able to couple the mapped basis functions on two adjoining elements (intervals) we need to fix the endpoints \(0,1\) of the reference interval \(T_{\mathrm{segm}}\) as integration points. Then for a given total number of points \(N+1\) the integration rule with highest order is the Gauss-Lobatto rule which is exact for polynomials of up to order \(2N-1\).
As local spaces we may choose the spaces of polynomials of up to order \(N\) with the Lagrangian basis
where \(\hat x_j\) denote the integration points on the reference element. The basis functions are then mapped to the physical elements as described above and the first basis function of an element is glued to the last basis function of the previous element to obtain globally continuous basis functions.
Higher order mass lumping for quadrilaterals and hexahedra#
In the case of quadrilaterals and hexahedra integration rules may be obtained by tensorizing the one dimensional Gauss-Lobatto rules. I.e., if a Gauss-Lobatto rule is given by the points \(\hat x_0,\ldots,\hat x_N\) and weights \(\hat w_0,\ldots, \hat w_N\) we define
on the unit square. The according Lagrangian polynomial basis is given by
Note that here we use the polynomial space
which differs from \(\mathcal P^N\). For three dimensions the construction works similarly.
Higher order mass lumping on simplexes#
A naive ansatz to construct a second order mass-lumping method for triangles would be to follow the ideas from the first-order case: There we used the given basis and constructed a suitable integration rule. Since the dimension of \(\mathcal P^2\) is \(6\) and we need three symmetric degrees of freedom on each boundary to ensure continuity of the correctly coupled basis functions. The integration points on the reference triangle are fixed by
The nodal basis functions are given by
It remains to specify the integration weights to obtain an optimal accuracy. Due to symmetry we only have to specify two weights \(w_2=w_4=w_6=w_E\) for the mid-points of the edges and \(w_1=w_3=w_5=w_V\) for the vertices, i.e., our integration rule is given by
The condition that constants are integrated exactly yields
Imposing that also the function \((x,y)\mapsto x\) is integrated exactly yields
which is the same condition as before. Imposing that also the function \((x,y)=x^2\) is integrated exactly yields
Inserting the first condition \(w_E=1/6-w_V\) yields
Using this quadrature for approximating our mass matrix is not an option since we would end up with a singular approximated mass matrix. We may settle for an integration rule which only integrates linear functions exactly, however it turns out that this will also reduce the overall convergence order of the resulting method.
The remedy to this problem is to add an additional integration point to the integration rule. From symmetry considerations this can only be the center \(\hat{\mathbf x}_7=(1/3,1/3)\) of the reference triangle.
We also have to enlargen the local space of polynomials by another basis function.
Since this has to be a basis function corresponding to the integration point in the center we have to choose a bubble function namely \(\tilde b_7(x,y):= 27xy(1-x-y)\}.\) The resulting space
now lies in between the polynomial spaces \(\mathcal P^2\) and \(\mathcal P^3\). To obtain a Lagrangian basis with respect to the integration points one may simply use the Lagrangian basis of \(\mathcal P^2\) with respect to the original integration points and subtract the bubble function, i.e.,
It remains to specify the correct weights for the integration rule.
Let \(\tilde b_j\), \(\mathbf x_j\) be given as above. Moreover we define
Then the quadrature rule given by \(\mathbf x_j,\omega_j\) is exact for all functions from \(\mathcal P^3\).
It turns out that a sufficient condition for the integration rule to not spoil the convergence of the method is that it is exact for \(\mathcal P^{k+\tilde k-2}\) if the space on the reference element \(\hat V_h\) is given by \(\mathcal P^k\oplus \tilde V_h\) with \(\tilde V_h\subset \mathcal P^{\tilde k}\). This means that the integration rule defined above fo the second order mass lumping space is sufficient.