find tension, shear and moment on a pinned parabolic arch with vertical loading in matlab

To find the tension, shear, and moment on a pinned parabolic arch with vertical loading using MATLAB, you can follow these steps:

  1. Define the necessary variables and parameters for your arch. This includes the span length, arch height, and loading.
main.m
spanLength = ...; % length of the arch span (in meters)
archHeight = ...; % height of the arch (in meters)
loading = ...; % vertical loading on the arch (in newtons)
166 chars
4 lines
  1. Determine the equation of the parabolic arch. You can use the equation y = a*x^2 to represent the arch shape, where y is the height at a given position x and a is a constant.
main.m
% Since the arch is symmetrical, we only need to calculate half of the arch
x = linspace(0, spanLength/2, 100); % divide the half-span into 100 sections
y = archHeight * (1 - (x / (spanLength/2)).^2); % equation of the parabolic arch
234 chars
4 lines
  1. Calculate the distributed load along the arch using the equation load = loading / archHeight. This represents the amount of loading per unit length along the arch.
main.m
distributedLoad = loading / archHeight; % distributed load per unit length
75 chars
2 lines
  1. Calculate the reaction forces at the pinned ends of the arch. Since the arch is pinned, there would be vertical reactions at both ends. The reaction force can be calculated using the equation reactionForce = distributedLoad * spanLength / 2.
main.m
reactionForce = distributedLoad * spanLength / 2; % reaction force at the pinned ends
86 chars
2 lines
  1. Calculate the tension, shear, and moment at various points along the arch using numerical differentiation.
main.m
% Calculate the tension
tension = sqrt((diff(y) / diff(x)).^2 + 1) * distributedLoad;

% Calculate the shear
shear = -(diff(tension) / diff(x));

% Calculate the moment
moment = -(diff(shear) / diff(x));
204 chars
9 lines
  1. Plot the tension, shear, and moment diagrams using these calculated values.
main.m
plot(x(2:end), tension);
title('Tension')
xlabel('Position along the span')
ylabel('Tension')

figure
plot(x(2:end), shear);
title('Shear')
xlabel('Position along the span')
ylabel('Shear')

figure
plot(x(2:end), moment);
title('Moment')
xlabel('Position along the span')
ylabel('Moment')
289 chars
17 lines

By following these steps, you should be able to find the tension, shear, and moment on a pinned parabolic arch with vertical loading using MATLAB.

gistlibby LogSnag