Guide
Choosing and Verifying Contact Formulations in Ansys Mechanical Workbench for Frictional and Bonded Assemblies
Learn how to select Pure Penalty, Augmented Lagrange, or MPC contact formulations in Ansys Mechanical, run a simple two‑block test, and check penetration and convergence to decide the best setting for your structural model.
Published by Tasadduq Burney
25 Jan 2026, 09:59 UTC
4 min57K views0

Desired outcome
Select the most suitable contact formulation (Pure Penalty, Augmented Lagrange, or MPC) for a structural assembly in Ansys Mechanical Workbench and verify that the chosen setting yields acceptable penetration and convergence behavior.
Prerequisites
- Ansys Mechanical Workbench installed (version 2023R2 or later; check the Help for formulation availability).
- A simple assembly ready for contact definition – for example, two rectangular blocks that will touch under a compressive load.
- Write permission to the project folder so the solver can write solve.out and result files.
- Basic familiarity with the Mechanical tree (Contacts, Connections, Analysis Settings).
Focused procedure
- Create the geometry and mesh
- In Workbench, drag a Static Structural system into the project schematic.
- Double‑click the Model cell to open Mechanical.
- Generate or import the two‑block geometry, apply a coarse mesh (e.g., 10 mm element size) to keep the example lightweight, and click Update.
- Define a frictional contact
- In the Connections branch, right‑click Contacts → Contact → Frictional.
- Select the contacting faces of the two blocks.
- With the new contact selected, go to the Details view.
- Choose a contact formulation
- Under Contact Properties locate the Formulation dropdown.
- Set it first to Pure Penalty (the default).
- Note the Penetration Tolerance and Contact Stiffness values; you can leave them at the program‑defined defaults for this comparison.
- Apply loading and solve
- Add a fixed support to the bottom face of the lower block.
- Apply a downward displacement or force on the top face of the upper block (e.g., 1 mm displacement).
- In Analysis Settings, set Maximum Iterations to a reasonable value (e.g., 25) and enable Output Controls → Contact Information.
- Right‑click Solution → Solve.
- Record penetration and convergence data
- After solve completes, open Solution → Contact Tool.
- Check the Maximum Penetration value (reported in model units).
- Open the solver output file (
solve.out) from the project’sfilesfolder; look for lines containing "CONVERGENCE" or "CONTACT" and note any warnings about excessive iterations or non‑convergence.
- Repeat with alternative formulations
- Return to the Details view of the same contact.
- Change Formulation to Augmented Lagrange and repeat steps 4‑5.
- Change it to MPC (only available for bonded or no‑separation contact; for frictional contact the option will be greyed out – this illustrates a limitation).
- If you wish to test MPC, first change the contact type to Bonded (right‑click the contact → Change Type → Bonded) and then repeat the solve.
Expected checks
- Penetration: Pure Penalty typically shows a small but non‑zero maximum penetration (e.g., 0.02 mm). Augmented Lagrange should reduce this value markedly (often < 0.005 mm). MPC for a bonded pair should report zero penetration (within machine precision).
- Convergence warnings: In
solve.out, Pure Penalty may converge in fewer iterations per load step but could show "Contact penetration exceeds tolerance" messages on coarse meshes. Augmented Lagrange may require more iterations but will usually report fewer penetration warnings. MPC will either solve cleanly for bonded contact or fail to solve if applied to a sliding surface (the solver will abort with an over‑constraint error). - Contact pressure distribution: Use the Contact Pressure result to verify that pressures are smooth and physically reasonable; spiky pressures can indicate an unsuitable formulation.
Recovery options (if the chosen formulation does not work)
- Revert the formulation: In the contact Details view, select the previous formulation from the dropdown and resolve.
- Adjust stabilization: Increase Penetration Tolerance or decrease Contact Stiffness for Pure Penalty to reduce artificial stiffness, or increase the Augmented Lagrange penalty factor if available.
- Refine the mesh: A finer mesh often improves convergence for Pure Penalty and reduces the need for Augmented Lagrange.
- Change contact type: If MPC is required for a bonded region but you have sliding, consider using a bonded contact only on the truly tied surfaces and keep frictional contact elsewhere.
Limitations
- Formulation availability varies between Ansys releases; always consult the version‑specific Help (Help → Mechanical → Contact → Formulation) to confirm that MPC, Augmented Lagrange, or Pure Penalty are supported for your contact type.
- MPC formulation enforces constraints exactly and therefore cannot be used with sliding or frictional contact; applying it to such surfaces leads to over‑constraint and solver failure.
- Pure Penalty permits controlled penetration; on very coarse meshes or with large sliding distances this can produce non‑physical results even if the solver reports convergence.
- Augmented Lagrange increases solver work per iteration; for very large models this may noticeably increase solve time.
Practical verification
To confirm that the article’s guidance matches your installation, perform the two‑block test described above:
- Run the model with Pure Penalty and record the maximum penetration (e.g., 0.018 mm) and iteration count per step (e.g., 12).
- Switch to Augmented Lagrange and observe a reduced penetration (e.g., 0.003 mm) with a higher iteration count (e.g., 18).
- If you change the contact to Bonded and select MPC, the penetration should read 0.0 mm and the solver should complete without penetration‑related warnings.
- If any of these observations differ dramatically (e.g., Augmented Lagrange shows higher penetration than Pure Penalty), verify that you are using the correct Ansys release and that the contact properties have not been overridden by analysis settings.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.