Question: A planar ( i . e . two - dimensional ) hanging structure is shown in Figure 1 . The coordinates ( in mm )

A planar (i.e. two-dimensional) hanging structure is shown in Figure 1. The coordinates (in mm) and connectivity are:
coor=1000*[-1.5863542487700591.132433911165869 ;
-0.9328770356499280.375487610721078 ;
00.015292535957528 ;
0.9328770356499280.375487610721078 ;
1.5863542487700591.132433911165869 ;];
conn=[12; 23; 34; 45; ];
(You can Screen-copy, CTRL+C + CTRL-V) the numbers from the pdf to your m-file, do not re-type them by hand!)
There are no initial elongations. Joints 1 and 5 are foundation joints. The structure is made up of 4 pin-jointed bars with EA=2000kNmm2.
1a) How many states of self-stress are there and for each state of self-stress, describe the distribution of forces in the members.
(Screen copy the numerical values to your Word file).
1b) How many mechanisms are there?
(Screen copy the numerical values of the mechanisms to your Word file & do a save on the file now).
1C) The mechanisms in Q1b can be better viewed by preventing Joint 3 from vertical movements, and then, again, separately, from horizontal movements. Show the mechanism that results each time, both screen copying the numerical values and describe what it looks like (e.g. sketch on paper).
1e)Three equal vertical download loads of 5N (i.e. in negative y-direction) are now applied at Joints 2,3 and 4. Use your linear-program to calculate the displacements and bar forces. (Screen copy the numerical values to your Word file.)
1f)Apply the same loading case of Q1d to your 2D nonlinear program. (It is suggested you use the fopt command, and ones as initial guess for all displacements and tensions in fsolve.)
the code provided to us is clear
% start with a memory clear
coor=1000*[-(1+sqrt(3))/2-(3+sqrt(3))/6; % x- and y-coordinates, size nJ by 2
0(3+sqrt(3))/3;
(1+sqrt(3))/2-(3+sqrt(3))/6;
-0.5-sqrt(3)/6;
0 sqrt(3)/3;
0.5-sqrt(3)/6;];
conn=[14 ; % connectivity, size nB by 2
25 ;
36 ;
45 ;
56 ;
46 ;];
nJ=size(coor,1); % finding num of joints from largest number in conn
nB=size(conn,1); % finding numb bars from numb of rows in conn
% plot the structure with joint numbers
clf; % start with a "clear figure", ie wipe clean any current plot
hold on;
for i=1:nB,
j1=conn(i,1); j2=conn(i,2);
plot([coor(j1,1) coor(j2,1)],[coor(j1,2) coor(j2,2)],'r-');
% if plotting 3D structure, then use plot3
%plot3([coor(j1,1) coor(j2,1)],[coor(j1,2) coor(j2,2)],...
%[coor(j1,3) coor(j2,3)],'r-');
end;
for i=1:nJ, text(coor(i,1),coor(i,2), num2str(i)); end;
axis('square'); grid;
EA=200000*[505050101010];
% setting up the matrices
H=zeros(2*nJ,nB); F=zeros(nB,nB); L=zeros(nB,1);
for i=1:nB,% looping through all the bars
j1=conn(i,1); j2=conn(i,2); % making j1 and j2 the 1st and 2nd joints of bar 1
r1=(j1-1)*2; r2=(j2-1)*2; % r1 and r2= how many rows before the rows in H for j1 and j2
x1=coor(j1,1); x2=coor(j2,1); % x-coor of j1 and j2, x-coor in column 1
y1=coor(j1,2); y2=coor(j2,2); % y-coor of j1 and j2, y-coor in column 2
xdiff=x1-x2; ydiff=y1-y2; % diff in the x-ccords, and the y-coords
L=sqrt(xdiff^2+ydiff^2); % calc length of bar i by Pythagoras
% putting the h of the bar straight onto the H of structure, note: a new col for each bar
H(r1+1,i)=xdiff/L; H(r1+2,i)=ydiff/L; % note: Xdiff/L is the cos of the inclination angle
H(r2+1,i)=-xdiff/L; H(r2+2,i)=-ydiff/L;
F(i,i)=L/(EA(i)); % putting f of bar (ie l/EA) into Flex matrix of structure
end;
H=H([7:12],:); % row reduction in H because of supports. Note, only rows, not cols as well
e0=zeros(nB,1); e0(6)=-0.048; % e0 is vector of initial bar length imperfection
P=[0-70000-70]'; % the load vector,
% the analysis routine
S=null(H); M=null(H');
tH=pinv(H)*P;
alpha=inv(S'*F*S)*(-S'*(e0+F*tH));
t=tH+S*alpha;
e=e0+F*t;
d=pinv(H')*e;
P'*M % testing to see if load is exciting mech
S % the states of selfstress (if any)
M % the mechanisms (if any)
t'% bar tensions
d'% nodal displacements

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Civil Engineering Questions!