Assembling mass matrix for transient heat conduction pde

AI Thread Summary
The discussion focuses on assembling the mass matrix for the transient heat conduction PDE in finite element methods (FEM). The mass matrix for an element is defined as M^e = ∫ Ψ Ψ^T dx, where Ψ contains the shape functions. The user seeks clarification on how to integrate the shape functions using Gauss quadrature and how to organize the resulting matrix. It is explained that the mass matrix elements are calculated as M_{ij}^e = ∫ ψ_i(x)ψ_j(x) dx, and that the global matrix is constructed by positioning these element matrices according to their corresponding node numbers. Overall, the conversation provides guidance on the assembly process and integration techniques necessary for FEM analysis.
nu_hash
Messages
10
Reaction score
0
I have derived the weak form of the transient heat conduction equation (for FEM) and I am having trouble trying to assemble the mass matrix

This is the PDE:
<br /> \frac{\partial U}{\partial t} = \alpha \nabla^2U<br />

This is the equation for the mass matrix for an element:
<br /> M^e = \int \Psi \Psi^T dx<br />
where psi is a matrix containing the shape functions of the element.

I am quite new to FEM so I am not sure how the mass matrix is supposed to be assembled, I understand that I have to use the gauss quadrature to complete the integral but I just can't figure how the matrix containing the shape functions is assembled (i.e. I don't know what numbers go where)

Any help would be greatly appreciated.
 
Engineering news on Phys.org
##\mathbf\Psi## is a vector ##\begin{bmatrix}\psi_1(x) \\ \cdots \\ \psi_n(x) \end{bmatrix}## where the ##\psi_i(x)## are the shape functions for the ##n## nodes (grid points) in the element.

So ##\mathbf \Psi\mathbf\Psi^T## is an ##n \times n## matrix, and you integrate the individual terms ##M_{ij}^e = \int \psi_i(x)\psi_j(x)\,dx##.

To assemble the element matrices into the global matrix, you label the rows and columns of the global matrix using the node (grid) numbers, and then add each element matrix into the the correct node number positions.
 
  • Like
Likes 1 person
Thanks that seems to make more sense now.
 
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Thread 'What's the most likely cause for this carbon seal crack?'
We have a molded carbon graphite seal that is used in an inline axial piston, variable displacement hydraulic pump. One of our customers reported that, when using the “A” parts in the past, they only needed to replace them due to normal wear. However, after switching to our parts, the replacement cycle seems to be much shorter due to “broken” or “cracked” failures. This issue was identified after hydraulic fluid leakage was observed. According to their records, the same problem has occurred...
Back
Top