How to Plot Bending Moment Diagram
15 views (last 30 days)
Show older comments
I wrote a piece of code to solve any 2D frame-type structures problem. As my output, I generated the following:
- Displacement at each node
- Shapefunction for Bending Moment in each member M(x)
- Shapefunction for Shear Force in each member V(x)
- Shapefunction for Displacement of each member Y(x)
Now I would like to plot the the Displaced shape, shear force diagram, and bending moment diagram for the entire structure. To do that, I am planning on starting each shapefunction at the Start node of the member, then plot it x=0:Length and then rotate it in the same angle as the moment.
How would I go ahead to do this? I have no idea how to rotate and position a plot accordingly.
References: This is roughly what I would like my plot to look like (for bending moment and displaced shape): http://debug.pi.gr/BookImagesEn2/Book-B_3330_7a.jpg
2 Comments
Answers (2)
Mahmoud Khadijeh
on 17 Nov 2018
Could you please send your code to me ?
I am working on a project like this and I really need it
0 Comments
See Also
Categories
Find more on Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!