The Chartership Forum

Nonlinear Finite Element Analysis / Nonlinear equilibrium

Residuals and consistent corrections

Write the force imbalance, linearise it consistently and check what the residual can establish.

Lesson review: expert verification remains open

The practical explanations, new worked calculations and numerical practice answers have been checked in the recorded reconstruction pass. Browser checks cover the listed desktop, mobile and interactive states. Original derivations are retained; independent specialist verification remains open.

Checks needed for project use

  • General constitutive algorithmic tangents, mixed force/moment scaling, follower-load linearisation and admissible stability modes. Only scalar conservative equilibrium is solved.
  • Actual browser zoom, screen-reader/additional-browser use and native-fullscreen raster quality remain unqualified.

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 notes

By the end of this lesson you should be able to

  • Derive the Newton correction from the equilibrium residual
  • Distinguish tangent, secant and total potential
  • Define meaningful residual and movement checks with units

What you should already know

  • Module 1 and virtual work
  • Matrix differentiation and constrained degrees of freedom

Define the residual before discussing convergence

Use the convention R(u,λ)=fint(u)−fext(u,λ). Internal force minus external force vanishes at equilibrium on the free degrees of freedom. Other software may reverse that sign. Either convention works if the tangent and correction equation follow it consistently. A sign change in only one of these places makes the iteration move away from equilibrium.

The load factor λ scales a stated reference loading. It is a parameter in a static problem, not automatically physical time. A time-dependent material or a dynamic analysis introduces additional equations and state information. In a general finite-element model, internal forces are assembled from element contributions and external forces may include equivalent nodal loads, imposed movements and configuration-dependent terms.

Apply essential constraints before assessing the free-equation residual. Forces left on restrained degrees of freedom are reactions. Requiring those reactions to vanish would erase the very forces that balance the applied loading. For prescribed non-zero movements, their contribution must enter the free equations through the constrained displacement field.

R(u+Δu)≈R(u)+KtΔu,Kt=∂R∂u,KtΔu=−R\mathbf R(\mathbf u+\Delta\mathbf u)\approx\mathbf R(\mathbf u)+\mathbf K_t\Delta\mathbf u,\qquad\mathbf K_t=\frac{\partial\mathbf R}{\partial\mathbf u},\qquad\mathbf K_t\Delta\mathbf u=-\mathbf R

What it calculates: First-order residual expansion at a fixed load parameter.

Differentiate the residual that is actually evaluated

The tangent must differentiate the implemented force law, including relevant geometric, material, constraint and external-load terms. A matrix borrowed from a different formulation may still produce updates, but its convergence behaviour no longer follows the consistent Newton derivation. In a path-dependent material, the algorithmic tangent must account for the discrete constitutive update used to evaluate stress.

For conservative systems with suitable smoothness and constraints, the residual is the derivative of a total potential and its tangent is a Hessian. Symmetry then follows from that potential structure. Friction, certain follower forces and coupled formulations can require an unsymmetric tangent. Configuration dependence alone is insufficient to decide the issue.

A derivative check is an effective implementation test. Evaluate the residual at u+εv and u−εv and compare their centred difference with Kt v. Vary ε over several orders of magnitude. Large perturbations incur truncation error; extremely small ones amplify round-off. At a contact switch or a yield-surface corner, the smooth centred-derivative assumption may fail and branch-aware checks are needed.

Worked example

One tangent correction from a non-equilibrium state

Given

  • k = 10,000 N/m; a = 100,000,000 N/m³
  • Applied force P = 1,000 N; trial u = 0.010 m

Find

Residual, tangent and the next Newton trial.

    Read the tangent construction

    The short dashed segment shows the tangent at the current trial. Its intersection with the horizontal applied-force line predicts the next displacement; the laboratory also reports that displacement when it falls outside the plotted window. The tangent segment is local, so extending it does not extend the physical constitutive curve.

    Use 1,000 N and 10 mm first: the tangent predicts 30 mm, where the actual internal force is 3,000 N. Then use −1,000 N and −10 mm. The signs reverse and the same overshoot occurs. At zero force and zero displacement, the correction and potential are both zero.

    Internal force, applied load and trial imbalance

    Horizontal: displacement (mm). Vertical: force (kN).

    -7.9-40-3.9-20003.9207.940
    • Internal force
    • Applied force
    • Tangent at the trial
    • Trial residual
    Residual: internal − external (N)
    -800
    Current tangent (N/m)
    40,000
    Newton correction (mm)
    20
    Next trial displacement (mm)
    30
    Total potential (J)
    -9.25

    k = 10 kN/m; a = 100 MN/m³. A tangent prediction can lie outside the displayed ±40 mm window. The readout preserves that value. A small residual establishes equilibrium of this scalar law only.

    Sources and specialist review

    PETSc’s SNES manual was inspected for Newton updates and residual/step stopping criteria; Bower provides the finite-element residual context. General constitutive tangents, mixed-unit scaling and stability assessment still need specialist qualification. These lessons use original scalar derivations and examples. Automated checks establish the stated numerical comparisons within the exposed parameter ranges. Independent specialist review of applicability, teaching treatment and extension to general finite-element systems remains open. Download the standalone SI teaching routines. They require no commercial solver or proprietary source material.