0% found this document useful (0 votes)
44 views4 pages

Coding Project 1

The document describes a structural analysis of a 2D truss structure conducted using a MATLAB code. The truss contains 17 nodes, 29 elements, and is subjected to loads of 1000 lbs at node 8 and 2000 lbs at node 10. The code extracts the truss geometry and loads from an input file to build the global stiffness matrix and solve for displacements using the penalty method. The code outputs the displacements at each node, reactions at supports, and internal forces and stresses in each member. The results identified element 15 experiencing the maximum compressive stress of 2597.5 psi and element 22 the maximum tensile stress of 2044.3 psi.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views4 pages

Coding Project 1

The document describes a structural analysis of a 2D truss structure conducted using a MATLAB code. The truss contains 17 nodes, 29 elements, and is subjected to loads of 1000 lbs at node 8 and 2000 lbs at node 10. The code extracts the truss geometry and loads from an input file to build the global stiffness matrix and solve for displacements using the penalty method. The code outputs the displacements at each node, reactions at supports, and internal forces and stresses in each member. The results identified element 15 experiencing the maximum compressive stress of 2597.5 psi and element 22 the maximum tensile stress of 2044.3 psi.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Ryan Scurlock

EID: rs48746

Coding Project 1

5
5
3

7
4

6
4

7
10

11

12

11

15
14

13
8

16
9

17

18

21
20

19
10

13
25

22
24
23
26
12
14
27

15
28

16

29

17

Figure 1. The truss structure under analysis comprised of 17 nodes and 29 elements

The truss structure considered for analysis is shown above in Fig. 1, complete with the
node and element numbering that was used to create the input file. The truss is subjected to load
Q at node 8 and 2Q at node 10., with Q set to 1000 lbs. All 29 members are of the same modulus,
30 x 106 psi, and the length parameter L = 1 ft. The outer members (indicated by thick lines) have
cross-sectional area 16 in2 while the inner members(indicated by thinner lines) are 4 in2 in area.
The requisite matrix structural analysis techniques presented during lecture were used to
develop a 2d truss analysis code in MATLAB. The code first extracts truss geometry, boundary
conditions, and applied loads from the input file. The truss geometry is subsequently used to
develop the global stiffness matrix with the subroutine build_KP.m. Furthermore, using the
boundary conditions, the penalty method is implemented within bound.cond.m to allow us to
immediately solve for the unknown displacements at each node. The penalty factor, M, used
throughout the analysis was 108 larger than the elastic modulus of the members. The final
subroutine, forces.m, computes the reactions, the internal forces in each member, and the stress
in each member. Multiple sample problems were used to ensure the accuracy of the code. The
results of the analysis on the following page in Fig 2, 3 and 4.

Ryan Scurlock
EID: rs48746

Fig 2. Displacements at each node

Figure 3. Reactions at each node

After

correlating the results to

the nodal and

element numbering used

in Fig. 1, the

members under the

highest tensile

and compressive

stresses were

identified. Element 15

experiences the

the max compressive

stress at 2597.5

psi while element 22 is

under the greatest

tensile load of 2044.3

psi. These results,

along with the computed

reactions at the

supports and a visual

reference of the

deformed and

undeformed

structure are clearly

shown in Fig. 5

on the following page.

Figure 4. Internal force and stress within each member

Ryan Scurlock
EID: rs48746

Ryan Scurlock
EID: rs48746

511.079
psi

22
20
-511.079
psi

P1x = 405.349 lbs, P1y = 540.466 lbs


P2x = 746.114 lbs, P2y = 824.080 lbs
P16x = -808.840 lbs, P16y = 1178.624 lbs
P17x = -342.623 lbs, P17y = 456.830 lbs

2
P1x

P1y

P2y

P2x

P16x

16
P16y

Figure 5. Deformed and undeformed structure. Deformation is highly exaggerated using a magnification factor of 1000. Reactions
at the supports and members under highest tensile and compressive stress are as labeled

17 P17x
P16y

You might also like