Indiacon CivilSubscribe

Textbook › Structural Analysis › Chapter 7 › Lesson 7.3

7.3 Stiffness method for plane trusses and frames

Structural Analysis Chapter 7: Matrix methods Under review — not yet three-checked Author: Indiacon

Learning objectives

After this lesson you should be able to:

  • Derive the stiffness matrix of a plane truss bar in global axes from its local axial stiffness and direction cosines.
  • Write the 6 × 6 plane frame element matrix, transform it to global axes with k = Tᵀk′T, and assemble and solve small trusses and frames.
  • Recover member forces, handle lack of fit, and judge when axial deformation of frame members may be neglected.

Theory

Trusses and frames differ from beams in one way that matters to the stiffness method: their members point in different directions. Each member has its own local axes, with x′ along the member, and its stiffness is simplest there. Before assembly every member matrix is rotated into the common global axes, so that the forces from different members meeting at a joint can be added. Sign convention for this chapter (the usual matrix convention): global x to the right and y upward; displacements and forces are positive along these axes; rotations and moments are positive anticlockwise, both for joints and for member-end moments. Bending moment diagrams are still drawn with sagging positive. Chapter 4 used clockwise-positive member-end moments, so a member-end moment found here has the opposite sign to the same moment written in Chapter 4; the physical answer is the same.

A pin-jointed truss bar carries only axial force. In local axes its stiffness is EA/L between the two axial end displacements. Rotated to global axes with direction cosines c = cos α and s = sin α, it becomes a 4 × 4 matrix built from c², cs and s², multiplied by EA/L. Each truss joint has two degrees of freedom, u and v; a truss with j joints and r restrained displacements has 2j − r unknowns, however indeterminate it is.

Frame element: local and global axesXYαx′y′v₁u₁θ₁12L, EA, EIc = cos α, s = sin αIndiacon original, not to scale
Figure 7.3: A plane frame element with global axes X, Y, local axes x′ along the member and y′ across it, the angle α, and the three end degrees of freedom u, v, θ used in k = Tᵀk′T. Indiacon original, not to scale.

A rigid-jointed frame member carries axial force, shear and bending. In local axes its 6 × 6 matrix combines the bar term EA/L with the beam terms of lesson 7.2. The transformation matrix T, built from c and s, links local and global end displacements, d′ = T d, and because T is orthogonal the global matrix is k = Tᵀk′T. Fixed-end forces are found in local axes and rotated the same way.

Frame members are much stiffer axially than in bending, so axial shortening often has little effect on moments. Hand methods such as slope-deflection assume it is zero, which reduces a portal frame to three unknowns (one sway and two rotations). A program keeps all six joint displacements; comparing the two answers shows how good the hand assumption is. Lack of fit and temperature change enter like settlements: as fixed-end forces that a member would exert if its ends were held.

Derivation

  1. Bar in local axes: the axial force is N = (EA/L)(u′_2 − u′_1), so k′ = (EA/L)[[1, −1], [−1, 1]] for the axial end displacements.
  2. The axial displacement at an end is the projection of its global displacements on the member: u′ = c u + s v, where c and s are the direction cosines from node 1 to node 2.
  3. Writing d′ = T d and using equal work in both axis systems, f = Tᵀ f′, gives the global truss matrix k = Tᵀk′T = (EA/L)[[c², cs, −c², −cs], [cs, s², −cs, −s²], [−c², −cs, c², cs], [−cs, −s², cs, s²]].
  4. For a frame member each end has u′, v′ and θ; the end rotation does not change with axis rotation, so T is block-diagonal with [[c, s, 0], [−s, c, 0], [0, 0, 1]] at each end, and k = Tᵀk′T where k′ contains EA/L and the beam terms 12EI/L³, 6EI/L², 4EI/L, 2EI/L.
  5. Assemble by global numbers, apply supports, solve K_ff D_f = P_f − P_Ff, and return to each member: d′ = T d, f′ = k′d′ + f′_F, which gives the axial force, the shears and the end moments.
  6. For lack of fit e (member too short positive) the fixed-end axial force is EAe/L in tension; it enters the load vector like any fixed-end force, and the final member force is N = (EA/L)(elongation from the joint displacements + e).
Formulas, symbols and SI units
  • Truss bar, global: k = (EA/L)[[c², cs, −c², −cs], [cs, s², −cs, −s²], [−c², −cs, c², cs], [−cs, −s², cs, s²]] (kN/m)
  • Bar force: N = (EA/L)[c(u_2 − u_1) + s(v_2 − v_1)] (kN, tension positive)
  • Frame element, local: k′ has EA/L in the axial terms and 12EI/L³, 6EI/L², 4EI/L, 2EI/L in the bending terms
  • Transformation: d′ = T d; k = Tᵀk′T; f = Tᵀf′; T⁻¹ = Tᵀ
  • Number of unknowns: truss 2j − r; plane frame 3j − r (j joints, r restrained components)
  • Lack of fit e (member too short): fixed-end force EAe/L tension; N = (EA/L)(δ + e)
Assumptions and limits
  • Linear elastic members, small displacements, equilibrium on the undeformed geometry.
  • Truss joints are frictionless pins and loads act only at joints, so bars carry axial force only.
  • Frame joints are rigid; members are prismatic; shear deformation is neglected.
  • Supports are rigid, prescribed or elastic springs; lack of fit and temperature are known strains.
  • Limits: no buckling or second-order (P-Δ) effects, which need geometric stiffness; trusses with nearly collinear bars at a free joint give ill-conditioned K; rigid-joint frames with semi-rigid connections need connection springs.

Codes and standards

Indian Standards are cited by number and clause only; no clause text, tables or figures are reproduced. Other standards are listed for comparison, not ranked.

  • Stiffness analysis of trusses and frames is a result of mechanics; no design code governs the mechanics of this lesson, and no Indian Standard clause is cited here.
  • Indian, European and American practice, side by side and not ranked, accept first-order elastic analysis of frames by the stiffness method, state when second-order effects and frame imperfections must be added, and require stated member stiffness assumptions; their limits and values are not reproduced here.

Worked examples

Example 1 (exam style: indeterminate three-bar truss)

Problem. Joint D at (0, 0) is held by three bars pinned to supports A(−3, 4), B(0, 4) and C(4, 4) (metres). Every bar has EA = 200 000 kN. A load at D acts 20 kN to the right and 50 kN downward. Find the displacement of D and the bar forces.

  1. Free degrees of freedom: u_D and v_D. For each bar take c, s from D towards the support: DA, L = 5, c = −0.6, s = 0.8, EA/L = 40 000; DB, L = 4, c = 0, s = 1, EA/L = 50 000; DC, L = 5.657, c = s = 0.7071, EA/L = 35 355 kN/m.
  2. Contributions at D (EA/L)[c² cs; cs s²]: DA [14 400 −19 200; −19 200 25 600]; DB [0 0; 0 50 000]; DC [17 678 17 678; 17 678 17 678].
  3. K_ff = [32 078 −1 522; −1 522 93 278] kN/m; load {20; −50} kN.
  4. Determinant 2.990 × 10⁹. u_D = (20 × 93 278 − 1 522 × 50)/2.990 × 10⁹ = 0.599 mm; v_D = (−50 × 32 078 + 1 522 × 20)/2.990 × 10⁹ = −0.526 mm.
  5. Bar forces, N = (EA/L) × elongation with elongation = −(c u_D + s v_D): DA 40 000 × 0.780 × 10⁻³ = +31.20 kN; DB 50 000 × 0.526 × 10⁻³ = +26.31 kN; DC 35 355 × (−0.051 × 10⁻³) = −1.81 kN.
  6. Check equilibrium at D: x, 31.20(−0.6) − 1.81(0.707) + 20 ≈ 0; y, 31.20(0.8) + 26.31 − 1.81(0.707) − 50 ≈ 0.

Answer. u_D = 0.60 mm right, v_D = 0.53 mm down; DA 31.2 kN tension, DB 26.3 kN tension, DC 1.8 kN compression

Example 2 (site style: portal frame under wind)

Problem. The portal frame of lesson 4.2 has fixed bases A(0, 0) and D(6, 0), column tops B(0, 4) and C(6, 4) and a 20 kN horizontal load at B. All members have EI = 50 000 kN m² and EA = 5 000 000 kN. Solve first with axial deformation neglected, then compare with the full six-unknown solution.

  1. With axial deformation neglected the unknowns are the sway Δ (to the right) and the rotations θ_B, θ_C. Columns, h = 4: 12EI/h³ = 0.1875EI, 6EI/h² = 0.375EI, 4EI/h = EI, 2EI/h = 0.5EI; beam, L = 6: 4EI/L = 0.667EI, 2EI/L = 0.333EI.
  2. K_ff = EI[0.375 0.375 0.375; 0.375 1.667 0.333; 0.375 0.333 1.667] for {Δ, θ_B, θ_C}; load {20; 0; 0}.
  3. Antisymmetry gives θ_B = θ_C = θ: 0.375Δ + 2θ = 0 and 0.375Δ + 0.75θ = 20/EI, so θ = −0.1875Δ, 0.2344Δ = 20/EI, Δ = 85.33/EI = 1.707 mm and θ = −16/EI = −0.32 × 10⁻³ rad (clockwise).
  4. End moments (anticlockwise positive): column base M_AB = 0.5EIθ + 0.375EIΔ = −8 + 32 = +24 kN m; column top M_BA = EIθ + 0.375EIΔ = −16 + 32 = +16 kN m; beam M_BC = M_CB = (0.667 + 0.333)EIθ = −16 kN m; the same at D and C. In the Chapter 4 convention these are −24, −16 and +16 kN m, exactly as in lesson 4.2.
  5. Full model with EA (six unknowns u, v, θ at B and C, column and beam matrices transformed with T): sway 1.715 mm at B and 1.703 mm at C, base moments 24.08 and 23.94 kN m, column-top moments 16.01 and 15.96 kN m, column axial forces 5.33 kN.
  6. Axial deformation changes the moments by less than 0.5 per cent here, which is why hand methods may ignore it for low-rise frames.

Answer. Δ = 85.33/EI = 1.71 mm; base moments 24 kN m, column-top and beam-end moments 16 kN m (full model 24.08/23.94 and 16.01/15.96 kN m)

Example 3 (site style: lack of fit)

Problem. In the truss of Example 1, bar DB is fabricated 2 mm too short and is forced into place with no external load. Find the displacement of D and the locked-in bar forces.

  1. Fixed-end force of the short bar: EAe/L = 50 000 × 0.002 = 100 kN tension. Held at its ends, it pulls joint D towards B, so the equivalent joint load at D is {0; +100} kN.
  2. Same K_ff as Example 1: u_D = (0 × 93 278 + 1 522 × 100)/2.990 × 10⁹ = 0.051 mm; v_D = 32 078 × 100/2.990 × 10⁹ = 1.073 mm (upward).
  3. DB: N = 50 000 × (elongation −1.073 mm + lack of fit 2 mm) × 10⁻³ = 50 000 × 0.927 × 10⁻³ = +46.36 kN (tension).
  4. DA: elongation −(−0.6 × 0.051 + 0.8 × 1.073) = −0.828 mm, N = −33.11 kN (compression). DC: elongation −0.7071 × (0.051 + 1.073) = −0.795 mm, N = −28.10 kN (compression).
  5. Check at D: x, −33.11(−0.6) − 28.10(0.707) = 0; y, −33.11(0.8) + 46.36 − 28.10(0.707) = 0, with no load applied, as it should be.

Answer. D moves 1.07 mm up; DB 46.4 kN tension, DA 33.1 kN and DC 28.1 kN compression, locked in before any load

Step-by-step procedure

  1. Number joints and degrees of freedom (two per truss joint, three per frame joint); list the restrained ones.
  2. For each member find L, c and s from its start node to its end node, and write k′ and T (or the global truss matrix directly).
  3. Form k = Tᵀk′T, find fixed-end forces from member loads, lack of fit or temperature, and rotate them to global axes.
  4. Assemble K and the load vector by global numbers; partition and solve for the free displacements.
  5. For each member: d′ = T d, f′ = k′d′ + f′_F; report axial force (tension positive), shears and end moments.
  6. Check joint equilibrium and overall equilibrium, and compare one answer with a hand method (method of joints, slope-deflection or moment distribution).

Site notes

  • Every frame and truss program works this way; knowing the steps helps in reading its output, especially the sign of member-end moments in local axes.
  • A two- or three-unknown hand model, like the reduced portal of Example 2, is the quickest way to check a software sway or column moment.
  • Lack of fit and temperature locked into an indeterminate truss can be large: a 2 mm error in one bar gave 46 kN in Example 3, which is why bolt holes and lengths are controlled in fabrication.
  • Support springs (for piles or bearings) and member releases (pinned ends) are both part of the stiffness model; check that the model’s releases match the details on the drawings.
  • An almost singular K (very large displacements or a solver warning) usually means a mechanism: a missing support, a joint with all members pinned, or nearly collinear bars.
Common mistakes
  • Taking c and s from the wrong end of a member; the global matrix of a truss bar is the same either way, but member forces need a consistent start and end node.
  • Forgetting to transform fixed-end forces of inclined members to global axes.
  • Expecting truss rotations as unknowns; pin-jointed bars give no rotational stiffness, so those degrees of freedom must be removed or restrained.
  • Reading local member-end moments with a global sign convention, or mixing anticlockwise-positive output with clockwise-positive hand results.
  • Neglecting axial deformation in tall frames or in frames with long ties and struts, where it does change moments and sway.
Quick check

For a truss joint, each bar adds (EA/L)c² to the x diagonal and (EA/L)s² to the y diagonal; a bar never adds to the stiffness perpendicular to itself. If a free truss joint has no bar with a component in some direction, K is singular there. For low-rise frames, axial deformation usually changes moments by less than about 1 per cent; for a 300 × 500 concrete column 4 m high, EA/L is about 64 times its sway stiffness 12EI/L³.

Summary

  • Member matrices are written in local axes and rotated to global axes with k = Tᵀk′T.
  • A truss bar contributes EA/L times c², cs and s² terms; a frame element combines bar and beam terms in a 6 × 6 matrix.
  • Assembly, partitioning and solution are the same as for beams; member forces come from d′ = T d and f′ = k′d′ + f′_F.
  • Lack of fit and temperature enter as fixed-end forces and lock in member forces in indeterminate structures.
  • Neglecting axial deformation reproduces slope-deflection results and is accurate for most low-rise frames.

Practice questions

Tap a question to see the answer.

1A truss bar has EA/L = 20 000 kN/m and makes 30° with the x-axis. Give its c², cs and s² stiffness terms.

20 000 × 0.75 = 15 000; 20 000 × 0.433 = 8 660; 20 000 × 0.25 = 5 000 kN/m.

2A bar along the x-axis has EA/L = 50 000 kN/m; its far end moves 0.4 mm along the bar away from the near end, which is fixed. Find the bar force.

N = 50 000 × 0.0004 = 20 kN tension.

3How many unknown displacements does the portal frame of Example 2 have with and without axial deformation?

Six (u, v, θ at B and C) with axial deformation; three (one sway and two rotations) when axial deformation is neglected.

4A 300 × 500 mm concrete column 4 m high has E = 25 000 N/mm². Compare EA/L with 12EI/L³ for bending about the strong axis.

EA/L = 25 × 10⁶ × 0.15/4 = 937 500 kN/m; I = 0.003125 m⁴, 12EI/L³ = 14 648 kN/m; ratio 64.

5Two bars, each 3 m long with EA = 150 000 kN, hang from supports and meet at a joint below, each at 45° to the horizontal. A load of 100 kN hangs from the joint. Find the bar forces and the vertical deflection.

N = 100/(2 sin 45°) = 70.7 kN tension; K_yy = 2 × (EA/L) × sin²45° = 50 000 kN/m, so δ = 100/50 000 = 2 mm.

6Why is T⁻¹ = Tᵀ, and why does it matter?

T is a rotation of axes, so its rows are orthonormal; inverting it is just transposing, which makes k = Tᵀk′T and f = Tᵀf′ cheap to compute.

References

Standard texts, listed in no order of merit. Our explanations, examples and diagrams are original; nothing is copied from these books.

  • R. C. Hibbeler, Structural Analysis, Pearson, 10th edition, 2018.
  • C. S. Reddy, Basic Structural Analysis, Tata McGraw Hill (now McGraw Hill Education (India)), 3rd edition, 2011.
  • D. Menon, Structural Analysis, Narosa Publishing House, 2nd edition.
  • B. J. Goodno, J. M. Gere, Mechanics of Materials, Cengage Learning, 9th edition, 2018.
Suggest a correction

If something on this page is wrong, tell the editor. Your message is sent privately and is not published.

Sent privately to the Indiacon editor; not published.