Nonlinear Finite Element Analysis / Contact mechanics
Gap constraints and active sets
Check unilateral constraints, contact forces and the approximation introduced by penalty stiffness.
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
- General surface contact, search, multipliers, friction coupling and conditioning in an assembled FE model. Only a spring and a rigid stop are implemented.
- 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 notesBy the end of this lesson you should be able to
- Write gap and normal-force complementarity with a consistent sign convention
- Derive exact and penalty solutions for a restrained spring
- Separate equilibrium accuracy from constraint accuracy
What you should already know
- Nonlinear equilibrium and piecewise tangents
- Spring force and potential energy
Start with a gap convention
Consider a point connected to a fixed support by a spring of stiffness k. A positive applied force P moves the point towards a rigid stop initially at clearance g. Its movement is u and the remaining gap is g−u. The stop can push the point away from itself but cannot pull it towards itself. Let N be the positive magnitude of that opposing contact force.
The exact admissibility conditions are g−u≥0, N≥0 and N(g−u)=0. Before engagement the gap is positive and N=0. After engagement u=g and N can increase. Equilibrium is ku+N=P under this convention. All three conditions matter: a balanced solution with a tensile contact force or an overclosed exact gap is inadmissible.
This example has a single fixed contact normal. A surface model must additionally identify candidate pairs, project points, update normals and integrate tractions over an area. Those geometric operations are separate sources of error and are outside the scalar calculation.
What it calculates: Unilateral gap, compressive contact force, complementarity and equilibrium.
Solve the two active sets independently
Assume first that contact is open. Setting N=0 gives u=P/k. This assumption is admissible when P≤kg. Assume instead that contact is closed. Setting u=g gives N=P−kg, admissible when P≥kg. At P=kg both descriptions meet with zero contact force and zero gap.
These formulas are an exact active-set solution for this one-coordinate problem. They are useful as a reference because they require no nonlinear iteration. The derivative of movement with respect to force changes from 1/k to zero at engagement. There is no unique two-sided derivative at that point.
In a larger active-set formulation, the candidate set of constrained points is updated as an inequality test. A multiplier supplies the contact force at an active point. The resulting algebra and constraint stability require care; imposing a displacement on every candidate contact point would incorrectly close initially open gaps.
Replace impenetrability with a penalty law
A penalty law uses N=kp max(u−g,0), where kp has force-per-length units in this point model. The small overclosure generates a compressive restoring force. Open contact retains stiffness k; closed contact has tangent k+kp. The penalty energy is kp max(u−g,0)²/2.
For P>kg, substitution into equilibrium gives u=(P+kp g)/(k+kp). The overclosure is (P−kg)/(k+kp). The computed contact force is smaller than the exact reaction because the ordinary spring carries the extra movement. Increasing kp drives both quantities towards the exact constrained limit.
A surface penalty coefficient has different units when it relates pressure to gap: pressure per length. A value copied directly from a nodal spring without accounting for integration area can introduce a unit error. The laboratory deliberately labels its stiffness ratio kp/k to avoid that ambiguity.
What it calculates: Closed-contact penalty displacement, overclosure and force for P > kg.
Continue with penalty contact and sensitivity.
Sources and specialist review
The FEniCS contact formulation was read for Signorini complementarity and penalty enforcement. The point-spring solution is independently derived. Surface search, pressure distributions, multiplier stability, finite sliding, friction and impact still require specialist implementation and review. The reduced models and worked examples are original. Independent human specialist review remains open. Download the application routines and their mechanics dependency into the same folder to reproduce the calculations. These bounded checks do not qualify a model for design use.