Cantilever Beam Deflection problem
41 views (last 30 days)
Show older comments
Hi,
I'm struggling to write a code for the deflection of a cantilever beam using nodes. I want to draw the outline of the beam and show its original shape and the deflected shape over it using nodes. I currently have this code for the basic deflection, but I am having a hard time understanding how I can use this to show the deflection in a more realistic, 2D manner, using nodes. I'm starting over as my previous work was getting messy and convoluted. Any help is really appreciated, just really struggling to get my head around this.
clc
clear
close all
E = 200e9; % Modulus of Elasticity (N/m^2)
b = 50; % beam cross section width
l = 150; % beam cross section height
I = (l*(b.^3))/12 % Second moment of area
x = [0:0.05:1]; % from 0 to max length of 1m
y= 1e6*(((55*x.^3)/3)-((52.25*x.^2)/2))/(E*I); % Equation for deflection, force = 55kN at 0.95m
plot(x,y);
grid on;
0 Comments
Answers (0)
See Also
Categories
Find more on Dynamic System Models 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!