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.
 
How did you find PF?: Via Google search Hi, I have a vessel I 3D printed to investigate single bubble rise. The vessel has a 4 mm gap separated by acrylic panels. This is essentially my viewing chamber where I can record the bubble motion. The vessel is open to atmosphere. The bubble generation mechanism is composed of a syringe pump and glass capillary tube (Internal Diameter of 0.45 mm). I connect a 1/4” air line hose from the syringe to the capillary The bubble is formed at the tip...
Thread 'Physics of Stretch: What pressure does a band apply on a cylinder?'
Scenario 1 (figure 1) A continuous loop of elastic material is stretched around two metal bars. The top bar is attached to a load cell that reads force. The lower bar can be moved downwards to stretch the elastic material. The lower bar is moved downwards until the two bars are 1190mm apart, stretching the elastic material. The bars are 5mm thick, so the total internal loop length is 1200mm (1190mm + 5mm + 5mm). At this level of stretch, the load cell reads 45N tensile force. Key numbers...
I'd like to create a thread with links to 3-D Printer resources, including printers and software package suggestions. My motivations are selfish, as I have a 3-D printed project that I'm working on, and I'd like to buy a simple printer and use low cost software to make the first prototype. There are some previous threads about 3-D printing like this: https://www.physicsforums.com/threads/are-3d-printers-easy-to-use-yet.917489/ but none that address the overall topic (unless I've missed...
Back
Top