You are on page 1of 2

Matrix Structural Analysis Assignment - 4 (Autumn: 2022-23)

Aritra Chatterjee, Biswanath Banerjee, Civil Engineering, IIT Kharagpur

Submission Date: 14.11.2022

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

form of member forces and nodal displacements, in a separate file

• Global X, Y and Z axes are as drawn in the figure

• Loads are applied as shown, and enumerated below:

1. Member 1, distributed load 4 kN/m, direction X

2. Member 2, distributed load 8 kN/m, direction X

3. Member 3, distributed load 16 kN/m, direction X

4. Member 39, distributed load -20 kN/m, direction Z

• 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

• Plot the deformed shape using MATLAB

You might also like