Nonlinear Finite Element Analysis / Contact mechanics
Penalty contact and sensitivity
Derive exact and penalty solutions for a restrained spring. Separate equilibrium accuracy from constraint accuracy.
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 notesWhat you should already know
- Read gap constraints and active sets first.
Worked example
Compare an exact stop with a finite penalty
Given
- k=1 MN/m; g=5 mm; P=10 kN
- kp/k=100
Find
Exact movement/reaction, penalty movement/reaction and the error.
A 1 MN/m spring carries positive force towards a rigid stop. The clearance is g. The exact active-set solution enforces u ≤ g; the penalty comparison permits a small overclosure. No friction or surface mesh is included.
Horizontal: applied force (kN). Vertical: movement towards stop (mm).
- Exact constrained movement
- Penalty movement
- Selected penalty state
- Penalty movement (mm)
- 5.0495
- Exact movement (mm)
- 5
- Penalty contact force (kN)
- 4.9505
- Exact contact force (kN)
- 5
- Overclosure (mm)
- 0.049505
- Force balance error (N)
- < 10⁻⁵
Increasing the penalty stiffness reduces overclosure. It also increases stiffness contrast after contact. Force balance can be accurate while the contact constraint remains approximate.
Choose a penalty through a sensitivity study
Specify an admissible overclosure based on the physical scale and the purpose of the model. For this example, requiring overclosure below δ implies kp≥(P−kg)/δ−k in the active regime. That bound can be calculated directly. In a mesh, a similar estimate must account for local stiffness and the pressure scale.
Very large penalties can create severe stiffness contrasts in an assembled system. This scalar equation has only one unknown, so it cannot demonstrate matrix ill-conditioning by itself. Its change in tangent illustrates the stiffness scale that would enter the larger system. A multi-degree-of-freedom conditioning study would be needed to quantify solver consequences.
Check reaction accuracy and penetration separately as the penalty increases. Also refine the contact discretisation and loading increments. A stable reaction total can conceal a poor pressure distribution, especially near edges or changing contact patches.
Keep normal contact and friction distinct
The normal inequality controls opening and compression. A friction law governs tangential resistance while contact is active. Coulomb friction relates its bound to the current normal force and requires a stick/slip history. Opening commonly removes frictional resistance, but the exact state update must follow the chosen model.
The next lesson isolates a fixed-normal-force frictional interface. Neither example solves general coupled frictional contact. Finite sliding, normal updates, self-contact, impact, friction regularisation and contact-state rollback require dedicated implementation and specialist verification.
For a conservative frictionless penalty model, differentiate its potential to recover force and tangent away from engagement. At the switch, use one-sided checks and inspect the active-set logic. Repeated convergence failure near engagement can result from an inconsistent tangent, an oversized step or genuinely changing constraints.
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.