Plotting eigenmodes in 3D

21 views (last 30 days)
philip singh
philip singh on 9 May 2019
Commented: Van Tien Nguyen on 9 Oct 2021
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 Comment
Van Tien Nguyen
Van Tien Nguyen on 9 Oct 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.

Sign in to comment.

Answers (3)

KSSV
KSSV on 9 May 2019
  1 Comment
philip singh
philip singh on 9 May 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.

Sign in to comment.


Christine Tobler
Christine Tobler on 9 May 2019
Depending on the format of your 3D-frame, maybe you could use pdeplot3d.
  4 Comments
philip singh
philip singh on 10 May 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 on 13 May 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).

Sign in to comment.


jice zeng
jice zeng on 21 Jun 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?

Tags

Community Treasure Hunt

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

Start Hunting!