Damping matrix 2D

Now we compute the damping matrix for the two-dimensional case. The damping matrix is related to the integral of the square of the trial function. Consider the integral over a single triangle with vertices (xi,yi),(xi+1,yi+1),(xi+2,yi+2)(x_i, y_i), (x_{i+1}, y_{i+1}), (x_{i+2}, y_{i+2})

υ2dS.\int_{\triangle} \upsilon^2 \,dS.
(6.24)

The trial function on the triangle has the form υ(i)(i+2)(x,y)\upsilon_{(i)(i+2)}(x, y) =qiϕi(x,y)= q_i \cdot \phi_i(x, y) +qi+1ϕi+1(x,y)+ q_{i+1} \cdot \phi_{i+1}(x, y) +qi+2ϕi+2(x,y)+ q_{i+2} \cdot \phi_{i+2}(x, y). We take into account (5.9) and (5.10) from the section on hat functions and write the relations for the hat functions

ϕi(x,y)\displaystyle \phi_i(x, y) =ai\displaystyle = a_i +bix\displaystyle + b_i \cdot x +ciy\displaystyle + c_i \cdot yϕi+1(x,y)\displaystyle \phi_{i+1}(x, y) =ai+1\displaystyle = a_{i+1} +bi+1x\displaystyle + b_{i+1} \cdot x +ci+1y\displaystyle + c_{i+1} \cdot yϕi+2(x,y)\displaystyle \phi_{i+2}(x, y) =ai+2\displaystyle = a_{i+2} +bi+2x\displaystyle + b_{i+2} \cdot x +ci+2y\displaystyle + c_{i+2} \cdot y
(6.25)

Substitute the trial function into (6.24)

υ(i)(i+2)2dS\displaystyle \int_{\triangle} \upsilon_{(i)(i+2)}^2 \,dS =[qi(ai+bix+ciy)+qi+1(ai+1+bi+1x+ci+1y)+qi+2(ai+2+bi+2x+ci+2y)]2dS\displaystyle = \int_{\triangle} \Big[ q_i \cdot (a_i + b_i \cdot x + c_i \cdot y) + q_{i+1} \cdot (a_{i+1} + b_{i+1} \cdot x + c_{i+1} \cdot y) + q_{i+2} \cdot (a_{i+2} + b_{i+2} \cdot x + c_{i+2} \cdot y) \Big]^2 \,dS

Expand the square. To simplify the computations, we use the fact that for linear hat functions on the triangle the following relations hold

ϕmϕndS\displaystyle \int_{\triangle} \phi_m \cdot \phi_n \,dS ={S6,m=nS12,mn\displaystyle = \begin{cases} \frac{\displaystyle S_{\triangle}}{\displaystyle 6}, & m = n\\ \frac{\displaystyle S_{\triangle}}{\displaystyle 12}, & m \neq n \end{cases}
(6.26)

where SS_{\triangle} is the area of the triangle, which is computed by formula (6.9).

Using these relations and expanding the square of the trial function, we obtain

υ(i)(i+2)2dS\displaystyle \int_{\triangle} \upsilon_{(i)(i+2)}^2 \,dS =[qi2ϕi2+qi+12ϕi+12+qi+22ϕi+22+2qiqi+1ϕiϕi+1+2qiqi+2ϕiϕi+2+2qi+1qi+2ϕi+1ϕi+2]dS\displaystyle = \int_{\triangle} \Big[ q_i^2 \cdot \phi_i^2 + q_{i+1}^2 \cdot \phi_{i+1}^2 + q_{i+2}^2 \cdot \phi_{i+2}^2 + 2 \cdot q_i \cdot q_{i+1} \cdot \phi_i \cdot \phi_{i+1} + 2 \cdot q_i \cdot q_{i+2} \cdot \phi_i \cdot \phi_{i+2} + 2 \cdot q_{i+1} \cdot q_{i+2} \cdot \phi_{i+1} \cdot \phi_{i+2} \Big] \,dS

Apply the formulas (6.26)

υ(i)(i+2)2dS\displaystyle \int_{\triangle} \upsilon_{(i)(i+2)}^2 \,dS =qi2S6\displaystyle = q_i^2 \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 6} +qi+12S6\displaystyle + q_{i+1}^2 \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 6} +qi+22S6\displaystyle + q_{i+2}^2 \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 6} +2qiqi+1S12\displaystyle + 2 \cdot q_i \cdot q_{i+1} \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 12} +2qiqi+2S12\displaystyle + 2 \cdot q_i \cdot q_{i+2} \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 12} +2qi+1qi+2S12\displaystyle + 2 \cdot q_{i+1} \cdot q_{i+2} \cdot \frac{\displaystyle S_{\triangle}}{\displaystyle 12}

Simplify the expression

υ(i)(i+2)2dS\displaystyle \int_{\triangle} \upsilon_{(i)(i+2)}^2 \,dS =S12[2qi2+2qi+12+2qi+22+2qiqi+1+2qiqi+2+2qi+1qi+2].\displaystyle = \frac{S_{\triangle}}{12} \left[ 2 q_i^2 + 2 q_{i+1}^2 + 2 q_{i+2}^2 + 2 q_i q_{i+1} + 2 q_i q_{i+2} + 2 q_{i+1} q_{i+2} \right].

We introduce the notation for the elements of the local damping matrix of the triangle

c(i)(i)=S6c(i+1)(i+1)=S6c(i+2)(i+2)=S6c(i)(i+1)=c(i+1)(i)=S12c(i)(i+2)=c(i+2)(i)=S12c(i+1)(i+2)=c(i+2)(i+1)=S12\begin{split} &c_{(i)(i)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 6}\\ &c_{(i+1)(i+1)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 6}\\ &c_{(i+2)(i+2)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 6}\\ &c_{(i)(i+1)} = c_{(i+1)(i)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 12}\\ &c_{(i)(i+2)} = c_{(i+2)(i)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 12}\\ &c_{(i+1)(i+2)} = c_{(i+2)(i+1)} = \frac{\displaystyle S_{\triangle}}{\displaystyle 12} \end{split}
(6.27)

Thus, the local damping matrix for the triangular element has the form

C=[c(i)(i)c(i)(i+1)c(i)(i+2)c(i+1)(i)c(i+1)(i+1)c(i+1)(i+2)c(i+2)(i)c(i+2)(i+1)c(i+2)(i+2)]=S12[211121112].\begin{aligned}\mathbf{C}_{\triangle} = \begin{bmatrix} c_{(i)(i)} & c_{(i)(i+1)} & c_{(i)(i+2)}\\ c_{(i+1)(i)} & c_{(i+1)(i+1)} & c_{(i+1)(i+2)}\\ c_{(i+2)(i)} & c_{(i+2)(i+1)} & c_{(i+2)(i+2)} \end{bmatrix} = \frac{\displaystyle S_{\triangle}}{\displaystyle 12} \begin{bmatrix} 2 & 1 & 1\\ 1 & 2 & 1\\ 1 & 1 & 2 \end{bmatrix}.\end{aligned}
(6.28)

The global damping matrix C\mathbf{C} is obtained by summing the contributions from all triangular elements of the mesh using the assembly method: the elements of the local matrices are added to the corresponding elements of the global matrix according to the global node numbering. The dimension of the global damping matrix is equal to N×NN \times N, where NN is the total number of nodes in the mesh.