TAGGED: modal-analysis, natural-frequency
-
-
April 29, 2022 at 6:37 am
nalin2021
SubscriberApril 29, 2022 at 7:07 amErik Kostson
Ansys Employee
Ansys employees are not able to download , and further more can not provide any advice in regards to other software (e.g., Matlab). Perhaps other users who have done this can help here.
What we can suggest is to do a simple example where we can hand calculate the natural frequencies of a free free beam say, then export the matrices and do a hand calculation on those matrices for the frequency and see that you get the same as in theory and then you know the export is ok.
All the best
Erik
April 29, 2022 at 7:20 amnalin2021
Subscriber@ekostson
Do you know of any alternative method to extract Mass and Stiffness matrices other than (https://www.youtube.com/watch?v=C1CIfrs9_KY&ab_channel=AnsysTechTips)?
April 29, 2022 at 7:39 amErik Kostson
Ansys Employee
Since this is an official Ansys video, I would recommend that for extracting those.
All the best
Erik
-
August 22, 2023 at 5:58 am
Md_Salem
SubscriberHello Erik,ÂI need to extract the mode shape vectors of some cantilever plate to make a correlation between some of them analytically.ÂI used the workbench to simulate the problem and added the next APDL command to extract both mass and stiffness matrices in MMF:Â/AUX2COMBINE, FULL/POST1*SMAT, MatKS, D, IMPORT, FULL, file.full, STIFF*SMAT, MatMS, D, IMPORT, FULL, file.full, MASS*Export, MatKS, MMF, matK_MMF.txtÂÂÂ*Export, MatMS, MMF, matM_MMF.txtÂÂThen I did modal analysis , and I got the two files of mass and stiffness matrices in MMF.ÂI used the next Matlab code to solve the eigen problem in order to extract mode shapes.ÂÂÂÂclc;clear all;format shortG;format loose;ÂÂload matK_MMF.txt;K = zeros(462,462);for r = 2:5515  K(matK_MMF(r,1), matK_MMF(r,2)) = matK_MMF(r,3);enddisp (K)ÂÂÂÂload matM_MMF.txt;M = zeros(462,462);for r = 2:1999  M(matM_MMF(r,1), matM_MMF(r,2)) = matM_MMF(r,3);enddisp(M)ÂÂcheq=linsolve(M,K)ÂÂ[Mode,Lamda]=eig(cheq);ÂÂlamda=diag(sort(diag(Lamda),'ascend')); % make diagonal matrix out of sorted diagonal values of input 'Lamda'[c, ind]=sort(diag(Lamda),'ascend'); % store the indices of which columns the sorted eigenvalues come from 'lamda'omegarad=sqrt(lamda);omegaHz=omegarad/pi/2mode=Mode(:,ind)ÂÂThis code ran syntactically without any errors .ÂI checked for the first natural frequency, omegaHz(1,1), which is supposed to be 208.53 Hz as shown in the workbench analysis , but unfortunately it was 64023 Hz .ÂWould you please show me what is wrong with that problem?ÂOr is there any possible way to extract mode shapes vectors or modal matrix directly from ANSYS ?ÂRegards
May 2, 2022 at 8:46 amnalin2021
Subscriber
Okay I have done as you said and I still get values for the natural frequencies that don't match up with the results indicated in ANSYS. The units have been set to metric in workbench (kg,m,s) May I ask how exactly ANSYS obtains the natural frequencies it displays in the Solution Menu (I assume it is by solving the eigenvalue problem)?
Also according to https://www.researchgate.net/post/how_to_get_eigenvalues_for_mass_stiffness_matrices_in_ansys_apdl there might be something wrong with the exported Stiffness Matrix.
Viewing 4 reply threads- The topic ‘How to extract proper Eigenvalues and Mode shapes from Mass and Stiffness matrices’ is closed to new replies.
Innovation SpaceTrending discussions- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Real Life Example of a non-symmetric eigenvalue problem
- Nonlinear load cases combinations
- How can the results of Pressures and Motions for all elements be obtained?
Top Contributors-
4162
-
1487
-
1318
-
1170
-
1021
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.