Skip to main content

Generate stiffness matrix for portal frame

Short answer

Coordinates are rotations at B and C plus sway. Ignoring axial deformation, the stiffness matrix is EI[[3.4,1.2,-0.375],[1.2,3.4,-0.375],[-0.375,-0.375,0.375]], symmetric with k11=k22 and k13=k23.

Generate the stiffness matrix for the frame shown in figure below. [Figure: portal frame, beam 3I of 5 m, columns I of 4 m, fixed bases.]

Assumptions: portal frame A-B-C-D with fixed bases A and D, columns AB and CD of height 4 m and rigidity EIEI, beam BC of span 5 m and rigidity 3EI3EI. Axial deformations are ignored. Coordinates (positive directions): 1 = rotation of joint B, 2 = rotation of joint C (both clockwise), 3 = horizontal sway of the beam (to the right).

Member stiffness coefficients

MemberEIL (m)4EI/L4EI/L2EI/L2EI/L6EI/L26EI/L^212EI/L312EI/L^3
AB, CDEIEI41.0000EI0.5000EI0.3750EI0.1875EI
BC3EI3EI52.4000EI1.2000EI--

Column-by-column generation (kijk_{ij} = force at ii for a unit displacement at jj, others zero)

  • Unit rotation at 1 (B turns clockwise by 1): k11=4EI4+4(3EI)5=3.4000EIk_{11}=\dfrac{4EI}{4}+\dfrac{4(3EI)}{5}=3.4000EI; k21=2(3EI)5=1.2000EIk_{21}=\dfrac{2(3EI)}{5}=1.2000EI; k31k_{31}: the column AB gives a shear 6EI42\dfrac{6EI}{4^2} which must be resisted by the sway restraint, k31=−0.3750EIk_{31}=-0.3750EI (negative: on its own, a clockwise rotation of B would make the top of column AB move to the right, so the restraint must push the girder to the left).
  • Unit rotation at 2: k22=4(3EI)5+4EI4=3.4000EIk_{22}=\dfrac{4(3EI)}{5}+\dfrac{4EI}{4}=3.4000EI; k12=1.2000EIk_{12}=1.2000EI; k32=−0.3750EIk_{32}=-0.3750EI.
  • Unit sway at 3: k33=2×12EI43=0.3750EIk_{33}=2\times\dfrac{12EI}{4^3}=0.3750EI; k13=k23=−6EI42=−0.3750EIk_{13}=k_{23}=-\dfrac{6EI}{4^2}=-0.3750EI.

Stiffness matrix

[K]=EI[3.40001.2000−0.37501.20003.4000−0.3750−0.3750−0.37500.3750][K]=EI\begin{bmatrix}3.4000 & 1.2000 & -0.3750 \\ 1.2000 & 3.4000 & -0.3750 \\ -0.3750 & -0.3750 & 0.3750\end{bmatrix}

The matrix is symmetric and, because the frame is symmetrical, k11=k22k_{11}=k_{22} and k13=k23k_{13}=k_{23}. The equilibrium equation for any loading is {P}=[K]{d}\{P\}=[K]\{d\} with {d}={θB,θC,Δ}T\{d\}=\{\theta_B,\theta_C,\Delta\}^T and PP the equivalent joint loads (applied loads minus fixed-end effects).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Theory of Structures II chapter 3 questions →