Subject: Civil Engineering Chapter: Theory of Structures Topic: 5.4 Direct Stiffness Method
The direct stiffness method, also called the matrix displacement method or the displacement method in matrix form, is the most powerful and general technique of structural analysis used in modern computer programs. In this method every structure is treated as an assembly of finite elements, and the member stiffness matrices are assembled into a global stiffness matrix for the whole structure. The relationship between the applied joint loads and the resulting joint displacements is written in the compact matrix form F = K D, where K is the global stiffness matrix, D is the vector of unknown joint displacements, and F is the vector of applied joint forces. Solving this matrix equation gives the displacements, from which member end forces are recovered by back substitution.
The method is called direct because the stiffness matrix of each element is formed directly from the element geometry and material properties, without using equilibrium at the joints first. Every member of a plane frame has a 6 x 6 element stiffness matrix relating the two end forces and moments to the two end displacements and rotations. These element matrices are transformed from the local member axes to the global axes, and then assembled, or superposed, at the common joints. The boundary conditions are applied by deleting the rows and columns corresponding to the restrained degrees of freedom.
In the examinations, the direct stiffness method is tested on the simplest possible level, usually a single element or a two-element system such as a two-member truss or a two-spring assembly. The candidate is expected to write the element stiffness matrix, assemble the global matrix, apply the boundary conditions and solve for the unknown displacement, and then compute the member forces. This chapter will build these skills step by step, using the axial bar and the beam element as the basic building blocks.
For a uniform axial bar element of length L, cross-sectional area A and modulus of elasticity E, the relationship between the end forces and end displacements is given by the element stiffness matrix k = (EA/L)[1 -1; -1 1]. This 2 x 2 matrix is the fundamental building block for truss analysis, where each member carries only axial force. The axial stiffness of the member is the spring constant EA/L, and it is the same for both ends because of the symmetry of the element.
For a prismatic beam element that carries bending, the element stiffness matrix is 4 x 4 when only the transverse displacements and rotations are considered. The stiffness coefficients involve EI/L3, EI/L2 and EI/L, and the familiar values 12EI/L3, 6EI/L2, 4EI/L and 2EI/L appear in the matrix. The complete beam element matrix in local coordinates is symmetric, and the coefficients satisfy the equilibrium requirements that the sum of each column of the shear coefficients is zero.
For a plane frame element, both axial and bending actions are combined into a single 6 x 6 element stiffness matrix, which is assembled from the axial stiffness EA/L and the flexural stiffness terms. The transformation matrix T, whose entries are cosines and sines of the member angle, rotates the local stiffness matrix into the global coordinate system through the relation kG = T T k T. This transformation is essential because members in a frame meet at arbitrary angles.
Numerical example: An axial steel bar of length 2 m, area 1000 mm2 and E = 200 GPa is subjected to an axial force. Compute the axial stiffness. Solution: EA/L = 200 x 10^9 x 1000 x 10^-6 / 2 = 200 x 10^6 / 2 = 100 x 10^6 N/m = 100 kN/mm. If a force of 50 kN is applied, the extension is delta = F/(EA/L) = 50000 / 100000000 = 0.0005 m = 0.5 mm.
The assembly of the global stiffness matrix is performed by superposing the element stiffness matrices at the joints they connect. Each degree of freedom of the structure is given a global number, and the element stiffness coefficients are added into the positions of the global matrix corresponding to the global numbers of the element end degrees of freedom. Because a joint is shared by several elements, the diagonal terms of the global matrix accumulate contributions from all members meeting at that joint, and the off-diagonal terms connect the degrees of freedom of the joints joined by a member.
Once the global stiffness matrix is assembled, the structure is solved after applying the boundary conditions. The known zero displacements at the supports are handled by eliminating the corresponding rows and columns from the stiffness equations, which reduces the size of the system to that of the free degrees of freedom. The remaining equations are F = K D, which are solved for the unknown displacements by matrix inversion or Gaussian elimination.
The global stiffness matrix of a structure is symmetric, positive definite and banded. The symmetry means Kij = Kji, the positive definiteness guarantees that the displacements are unique for a stable structure, and the banded structure means that non-zero entries are concentrated near the diagonal, which allows efficient storage and solution in computers. The size of the matrix is equal to the kinematic indeterminacy of the structure.
Numerical example: Two springs in series, each of stiffness k = 50 kN/m, connect a wall to a node under a load of 20 kN. Find the displacement of the loaded node. Solution: The global stiffness matrix for the series system has the effective stiffness keq = k1k2/(k1+k2) = 50 x 50 / 100 = 25 kN/m. The displacement is D = F/keq = 20/25 = 0.8 m. Alternatively, assembling the 2-element system and eliminating the fixed node gives the same result.
The solution of the stiffness equations proceeds in a standard sequence. First the structure is idealised into elements and the nodes are numbered, then the element stiffness matrices are formed in local coordinates and transformed to global coordinates. Second, the element matrices are assembled into the global stiffness matrix, the load vector is formed, and the boundary conditions are applied. Third, the reduced system is solved for the unknown displacements, and finally the member end forces are recovered from the element stiffness equations.
The member end forces are recovered by applying the element stiffness matrix to the element displacement vector, which is extracted from the global displacement vector. For an axial bar the member force is N = (EA/L)(u2 - u1), where u1 and u2 are the axial displacements of the two ends. For a beam element the end moments and shears are obtained from the flexural stiffness matrix, and for a frame element the full 6 x 6 matrix gives the two forces and the moment at each end. The member forces so obtained automatically satisfy equilibrium and compatibility, because they come directly from the consistent element formulation.
The direct stiffness method handles automatically all the effects that are difficult in the classical methods, such as support settlements, temperature changes, variable member stiffness and three-dimensional behaviour. Settlement is introduced as a prescribed non-zero displacement at a support, temperature effects are added as equivalent joint loads, and variable EI is treated by using the appropriate element matrices for each member. This generality is the reason why the direct stiffness method is the basis of virtually all modern structural analysis software.
Numerical example: A two-member plane truss has member 1 horizontal of stiffness 100 kN/mm and member 2 inclined making 60 degrees with the horizontal of stiffness 50 kN/mm, both meeting at the free joint. Apply a horizontal load of 60 kN at the joint. After assembly the horizontal displacement of the joint works out to u = F / (K11) = 60 / (100 + 50 cos2 60) = 60 / (100 + 12.5) = 60 / 112.5 = 0.533 mm. The member forces follow from the element equations as N1 = 100 x 0.533 = 53.3 kN.
| Element | Size | Stiffness coefficients |
|---|---|---|
| Axial bar | 2 x 2 | k = (EA/L) [1 -1; -1 1] |
| Beam element | 4 x 4 | 12EI/L3, 6EI/L2, 4EI/L, 2EI/L |
| Plane frame element | 6 x 6 | Combination of axial and flexural terms |
| Transformation matrix | 6 x 6 | Cosines and sines of member angle |
| Step | Operation |
|---|---|
| 1 | Idealise structure into elements and nodes |
| 2 | Form element stiffness matrices in local axes |
| 3 | Transform to global axes using T |
| 4 | Assemble global stiffness matrix K |
| 5 | Apply boundary conditions and solve F = K D |
| 6 | Recover member forces from element equations |
flowchart TD
A[Direct Stiffness Method] --> B[Element stiffness matrices]
A --> C[Transformation to global axes]
A --> D[Global stiffness matrix assembly]
A --> E[Boundary conditions]
A --> F[Solve for displacements]
B --> B1[Axial bar EA/L]
B --> B2[Beam 12EI/L3, 6EI/L2, 4EI/L]
B --> B3[Frame 6x6 matrix]
C --> C1[kG = T^T k T]
D --> D1[Superpose at joints]
D --> D2[Symmetric and banded]
E --> E1[Eliminate restrained DOF]
F --> F1[F = K D inversion]
F --> F2[Member forces recovered]
The following diagrams show the axial bar element with its stiffness coefficients and the assembly of two springs in series.
The direct stiffness method represents the culmination of the displacement approach and the foundation of computer-aided structural analysis. In this chapter we have constructed the element stiffness matrices for axial bars and beam elements, transformed them to the global axes, assembled the global stiffness matrix, applied the boundary conditions and solved the system F = K D for the unknown displacements. We have also seen how the member forces are recovered from the element equations and how the method handles settlements and temperature effects automatically. The concepts of symmetry, positive definiteness and bandedness of the stiffness matrix were explained, together with the series and parallel combination rules for spring elements. Although the examination level of this topic is elementary, the ideas are the same as those used in professional analysis software, so a careful study of this chapter gives the candidate both easy marks and a genuine understanding of modern structural analysis. With the classical methods, the energy theorems and the matrix formulations studied together, the candidate is fully equipped for every question that the Theory of Structures paper can ask on structural analysis.