nu_hash
- 10
- 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.
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.