Professional Documents
Culture Documents
1 Problem 1
Develop a general MATLAB code for 3D frame analysis and use it to solve the frame shown in Figure 1.
• Member nodal coordinates, connectivity matrix and boundary conditions are provided in the Excel
File. The MATLAB script should automatically read this information and provide output in the
• Assume E = 200 GPa, G = 77 GPa, A = 4265 mm2 , Iz = 66e6 mm4 , Iy = 3.3e6 mm4 and J = 1e6
mm4
• Generate coordinate transformation matrices using member rotation matrices r for each element.
Write subroutines to generate the r matrix for each element, using the following information.
1
Figure 1: 3D Frame
1. For all horizontal members (beams), local y axis is aligned with global Z axis
2. For all vertical members (columns), local y axis is aligned with global X axis
3. For all members, local x axis is along the length of the member