Mass Matrix and Lumping
Recall from Discretization of Weak Forms that:
With the solid domain discretized into triangles , we have:
where represents the material space of triangle . Note that for linear triangle elements, since is nonzero only on the incident triangles of node , here we only need to consider triangles with both and being their vertices.
Let us change the integration variable from to , which gives:
For simplicity, let us denote the vertices of this triangle as , , and , and then we have:
where is the area of triangle . Here, and take , , or depending on the vertex indices and . For example, if and correspond to the 2nd and 3rd vertices of triangle , then and . Assuming uniform density, we have:
With mass lumping, , which means:
where contains all the nodes of the mesh, and all off-diagonal entries of are . Similarly, due to the locality of , for each triangle element, only needs to traverse all three triangle vertices:
where denotes the set of triangles incident to node . This result also explains why in Inversion-Free Elasticity when computing the mass for all the nodes, we traverse all triangles, calculate the mass of the triangle and evenly distribute it to the three vertices. With the mass matrix computed, the momentum change and external body force terms including their energy forms are all easy to deal with.