Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to correctly calculate the eigenvalues of the stiffness matrix in COMSOL
Posted Oct 12, 2020, 11:15 p.m. EDT Structural & Acoustics, Acoustics & Vibrations, Studies & Solvers Version 5.4 0 Replies
Please login with a confirmed email address before reporting spam
Hi,
Recently, i had a puzzle about the mechanism of COMSOL to calculate the eigenvalues. So, i've made a test with 5 nodes linear mesh in acoutic module.
Firstly, i exported the stiffness matrix and mass matrix in matlab, with the code 'STR=mphmatrix(model,'sol1','out',{'K','E'}); K=STR.K; E=STR.E'. Then i caculated its eigenvalues with code 'eigs(K,E,2)', yet the caculated eigenvalues are so different from COMSOL's.
So, i puzzled about my procedure. Are the eigenvalues derived from (K-lambda^2 E)U=0 in COMSOL? How can i get the correct eigenvalues in matlab?
Good luck.
Attachments:
Hello Jiachen Luo
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.