Computational Engineering / How the stiffness method works
Solving, and recovering what you actually wanted
Recover outputs from a fully reconstructed solution.
Lesson review: expert verification remains open
This lesson has received a full-context editorial review and a check of its technical explanations. Selected arithmetic has been checked separately. This is not independent engineering sign-off.
Checks needed for project use
- A computational engineering reviewer must check algorithms, convergence claims, statistical assumptions and numerical examples beyond the cases explicitly recorded.
- Specialist review of each solver formulation, force-recovery load terms and normalised convergence tolerances remains required.
- Independently check transformations, prescribed displacements, equilibrium, conditioning and recovered actions.
These are educational models and exercises. Check their assumptions before using the results. The full technical content and every diagram have not yet been independently verified.
Concrete and steel calculations retain their stated first-generation Eurocode teaching basis. Use the standards and amendments specified for your project; do not mix generations without an appropriate design basis.
Read the lesson register and outstanding review notesWhy this matters
The displacement solution is the starting point for recovering forces, stresses and reactions. Each recovered quantity needs its own accuracy check.
By the end of this lesson you should be able to
- Describe displacement solution and the subsequent recovery of reactions and element forces
- Recover reactions from the rows that were struck out
- Recover member force from the change in length of a bar
- Explain why stress accuracy can require a finer mesh than displacement accuracy
Extension recovers strain and then axial force
Extend the drawn bar through a prescribed displacement.
Displacement-to-force recovery. Geometry and movement are schematic; use the lesson calculations for numerical results.
- Displacement
- Use relative end movement along the bar axis.
- Recovered force
- Initial strain or element loading would require their additional formulation terms.
Recover the physical outputs
Solve the constrained displacement equations, reconstruct the full vector and evaluate the restrained entries of Ku − f to recover reactions. Element forces follow from their displacement and load terms. Include initial strain, temperature or distributed loads where the formulation requires them.
Check the free-equation residual and complete force and moment balance. State a normalisation so that the residual can be interpreted relative to the load scale. Balance alone does not prove correct supports or intended loading.
Stresses involve displacement gradients and can need finer resolution than overall movement. Check the relevant quantity across refinement. Conditioning describes sensitivity to perturbations; its interpretation depends on scaling, the algorithm and the right-hand side, not just the number of printed digits.
Numerical reference and exercise inputs
Solution and recovery
- 1.Solve Kff uf = ff for zero prescribed displacements, or include −Kfc uc on the right-hand side for non-zero prescribed values.
- 2.Reconstruct the full displacement vector.
- 3.Recover support reactions from the restrained entries of Ku − f.
- 4.Recover element forces from element displacements and the formulation’s load terms. Reactions and element forces can be recovered in either order.
- 5.Check force and moment equilibrium, with consistent signs and units.
For an unloaded axial bar without imposed strain, extension is e = c(u₂ₓ − u₁ₓ) + s(u₂ᵧ − u₁ᵧ), and F = (EA/L)e. Positive F denotes tension here. Temperature, initial strain and distributed element loads require their corresponding load terms.
What it calculates: The forces the supports must supply
- K
- The FULL global stiffness matrix, before reduction (kN/m)
- u
- Full displacement vector, including prescribed values at restrained degrees of freedom (m)
- f
- Applied load vector (kN)
- R
- Reactions, non-zero only at restrained degrees of freedom (kN)
This assumes
- The displacement solution is available for this stiffness-based reaction recovery
- Any load applied directly at a restrained degree of freedom is subtracted, or it will be double-counted
In plain terms: The full matrix is used, not the reduced one. The struck-out rows were never wrong; they were merely not needed to find the displacements. Now they are exactly what is needed to find the reactions.
Worked example
Reading the health of a solve
Given
- A truss model with 240 elements
- Total applied vertical load: 1 840 kN
- Total vertical reaction reported: 1 803 kN
- The model contains four link elements 8 mm long, between members averaging 4 m
Find
Whether these results can be used, and what to do next
Practice
A model applies 2 400 kN of vertical load and reports 2 397 kN of vertical reaction. Express the residual as a percentage of the applied load.
Practice
A reduced stiffness matrix has a condition number of 10⁹. Using the rule that a condition number of 10ᵏ costs about k of the sixteen available significant digits, how many significant digits survive the solve?
Check yourself
Why can stresses require a finer mesh than displacements in displacement-based finite element analysis?
Check yourself
A particular model normally gives a normalised equilibrium residual near 10⁻¹⁴. It now reports 0.05%. What should be investigated?
Check yourself
Why are member forces recovered from displacements rather than solved for directly?
Summary
- Recover outputs from a fully reconstructed solution.
- Check residuals and the full free-body balance.
- Assess accuracy for the response quantity needed.
Sources & further information
NASA NPARC verification and validation tutorial (CFD background on general V&V methods).
Reviewed 19 October 2026: explanations, teaching calculations and figures checked within the recorded course audit. This is not independent engineering approval. Independently check transformations, prescribed displacements, equilibrium, conditioning and recovered actions.
Continue the course
A fixed linear stiffness is only one model. Consider how axial force, instability and mass change the equation system.