Plotting eigenmodes in 3D

60 visualizzazioni (ultimi 30 giorni)
philip singh
philip singh il 9 Mag 2019
Hi!
I have a code that calculates eigenfrequencies for a frame structure thruogh the "eig"-command. I have the stiffness and massmatrix as input and get the eigenvalues and eigenvectors as output. What I want to do is to plot a 3D-plot of the eigenmodes of the structure. I want to see which frequency that corresponds to bending, torsion ...
I have not found any good ways to plot the eigenvector in 3D, any advise?
Thank you!
  1 Commento
Van Tien Nguyen
Van Tien Nguyen il 9 Ott 2021
Hi, I am looking for a code to solve eigenvalue problem for 3D frame building. Can you exchange your code? Thank you in advance.

Accedi per commentare.

Risposte (3)

KSSV
KSSV il 9 Mag 2019
  1 Commento
philip singh
philip singh il 9 Mag 2019
Thanks for the quick answer.
The beam in this code is unfortunately a 1D-beam. I have a 3D-frame, where the stiffnesselementmatrix is 12x12 matrix and the assembled is 1356x1356. Therfore the plot-function in the link is not applicable on my frame.

Accedi per commentare.


Christine Tobler
Christine Tobler il 9 Mag 2019
Depending on the format of your 3D-frame, maybe you could use pdeplot3d.
  4 Commenti
philip singh
philip singh il 10 Mag 2019
It's my fault, I should have commented the code more but thanks for the help.
The frame consists out of two long beams parallel to each other and five shorter cross-members between the two long beams. Each element is 5 centimeter and the length of the total frame is 5.6 meters. The elements and coordinates are defined in the inputfile that is created in the beginning of the code above. The coordinates are stored in a variable called "node" and the elements with its area, stiffness, density... is stored in a variable called "element".
Does this answer your question?
Christine Tobler
Christine Tobler il 13 Mag 2019
I'm still a bit confused: the third column of node seems to be all zero, so is this really a 2D problem? That would be much simpler to plot.
Also, the element matrix seems to contain only two nodes, so is each element simply a line? I would have expected a triangle / rectangle / tetrahedron / ... for a 3D problem.
Anyway, here are some functions that may be helpful to visualize PDe solutions in MATLAB: trisurf, tetramesh, pdeplot, pdeplot3d (particularly the nodes, elements syntax).

Accedi per commentare.


jice zeng
jice zeng il 21 Giu 2019
Hi,do you figure out your problem? I also have a 3D frame structure to be analyzed for its dynamic properties, such as frequency and mode shape, I have trouble in plotting 3d mode shape, so can you share your idea to plot mode shape with me?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by