Verification of TriboSolver against Contact Mechanics Challenge Results
Verification of TriboSolver against Contact Mechanics Challenge Results

Verifying adhesive rough contact requires agreement in area, separation and local stress. We tested TriboSolver against the Contact-Mechanics Challenge, progressing from 4,096 × 4,096 to 32,768 × 32,768 grid points. The largest calculation contains 1,073,741,824 points and converged at the prescribed load and tolerance.
Introduction
Real contact occupies a small fraction of the apparent area of a rough interface. Adhesion adds tensile stresses around contact boundaries, where separation changes over nanometres. A calculation therefore needs to resolve both the broad surface shape and the narrow regions that determine contact formation and detachment.
Adhesion is particularly important in microelectromechanical systems (MEMS) and nanotribology, where surface forces can strongly influence motion, contact area and pull-off. In MEMS, unwanted sticking of contacting components can affect device reliability. DelRio and colleagues showed that van der Waals forces across non-contacting regions can dominate adhesion between sufficiently smooth micromachined surfaces, while contacting asperities become more important as roughness increases. In atomic-force microscopy, adhesion also changes the relation between applied load and the nanoscale tip–sample contact area. Carpick, Ogletree and Salmeron developed a fitting equation for adhesive contact-area and friction-versus-load measurements, illustrating why surface attraction matters when interpreting nanotribological experiments. These examples motivate checking interfacial separation and tensile stress around contact boundaries alongside total contact area. [3] [4]
The Contact-Mechanics Challenge supplies a common surface, material model and loading conditions for comparing predictions of contact area, separation and stress. Its problem definition appeared in 2015, followed by the 2017 paper Meeting the Contact-Mechanics Challenge. We use that prescribed surface realization and compare several quantities, including the same cross-sections plotted in the paper. [1] [2]
This article verifies TriboSolver against the prescribed adhesive contact problem. The calculations combine the Love rectangular-cell elastic formulation with a damped relaxation algorithm and parallel CPU FFTs. Grid refinement is assessed through contact area, mean gap, signed stress, cross-sections and calculation time.
The prescribed contact problem
The model is a frictionless, linearly elastic contact under the small-slope approximation, with a hard wall and short-range exponential adhesion. The periodically repeated square measures 100 µm on each side. Its self-affine roughness has Hurst exponent 0.8, roll-off wavelength 20 µm, short-wavelength cutoff 0.1 µm and RMS surface gradient 1. The reference calculation uses the following physical inputs. [1]
| Quantity | Value |
|---|---|
| Effective elastic contact modulus, E* | 25 MPa |
| Mean applied pressure | 250 kPa |
| Total force on the 100 µm square | 0.0025 N |
| Work of adhesion, w | 50 mJ/m² |
| Adhesive interaction range, ρ | 2.071 nm |
The reference publication reports calculations on 65,536 × 65,536 points, with selected checks at 131,072 × 131,072. Our 32,768² calculation is consequently a large-grid verification against a finer published reference. The paper also reports a 32,768² reference-point calculation for its FFT-based boundary-value contribution. [2]
How the algorithm works
The elastic calculation uses the Love solution integrated over a rectangular source cell to obtain the displacement caused by a cell’s normal traction. The cell compliance is assembled once and transformed into Fourier space. Elastic displacement and stress are then related through spectral multiplication, allowing each application of the elastic operator to use FFTs.
For local separation g, the attractive traction is
The total signed normal stress is the sum of this attractive traction and the non-negative hard-wall reaction. Positive stress denotes compression and negative stress denotes tension. Hard-wall contact requires zero gap and a positive wall reaction.

The field RMS uses the remaining force-balance residual outside valid hard-wall contact, normalized by the traction scale . Relative load error is defined by
Both errors must be at most 10−9. Two successive successful checks must also have the same contact mask and a mean-gap change below 10−15 m. All four reported refinement runs converged with zero rollbacks.
Contact area and mean gap under refinement
The principal scalar comparison is shown below. The published values were extracted from the reference curves in Figures 10 and 12 and interpolated to the prescribed pressure. Their displayed digits identify the extracted values, while the finite precision of the printed figures limits their accuracy.
| Grid | Pitch (nm) | Contact area (%) | Area error (%) | Mean gap (µm) |
|---|---|---|---|---|
| 4,096² | 24.414 | 3.097260 | -5.267 | 0.988079588 |
| 8,192² | 12.207 | 3.150371 | -3.643 | 0.987327028 |
| 16,384² | 6.104 | 3.233974 | -1.085 | 0.986535081 |
| 32,768² | 3.052 | 3.279203 | +0.298 | 0.986054698 |
| Published reference | — | 3.269461 | — | 0.985278224 |

At 32,768² the calculated contact area is 3.279203%, compared with approximately 3.269461% from the published curve. The difference is +0.009742 percentage points, or +0.298% relative to the published contact area. Mean separation is 0.986054698 µm, exceeding the extracted reference by 0.776 nm, or approximately 0.0788%.
Refinement steadily reduces the mean gap over the tested grids. Contact area crosses the extracted reference between 16k and 32k. This crossing and the remaining local stress differences make further refinement informative before assigning a continuum-limit error.

Cross-sections and local stresses
We reproduce the paper’s cross-section at x = 50 µm. Gap is compared over the full 100 µm line, matching Figure 4. Signed normal stress is compared over the selected interval around y = 38–48 µm, matching Figure 5. The normal stress includes both compressive reaction and tensile adhesion in every data set.

To make the error comparison consistent across all four grids, the table below uses the same 4,096-grid positions. The gap interval contains 4,095 in-range points and the stress interval contains 410. Reference curves are interpolated from the digitized paths.
| Grid | Gap RMS error (nm) | Stress RMS error (MPa) |
|---|---|---|
| 4,096² | 13.093 | 1.4375 |
| 8,192² | 12.887 | 1.2830 |
| 16,384² | 12.711 | 1.2561 |
| 32,768² | 12.622 | 1.0469 |
A second comparison restricted to the two finest grids uses their shared 16,384-grid sample positions. On those points, stress-trace RMS error falls from 1.3591 MPa at 16k to 1.0842 MPa at 32k, an improvement of 20.2%. On the native 32k positions the corresponding error is 1.1642 MPa. Sampling matters near the narrow tensile features, so each error is reported with its sampling convention.
The 32k field has a maximum compressive stress of 61.794 MPa and minimum signed stress of −23.883 MPa. The magnitude of the tensile minimum approaches ≈ 24.143 MPa as the grid resolves points immediately outside contact.
The full 16k and 32k fields, compared at their common nodes, differ by 16.33% in stress relative L2 and 0.0443% in gap relative L2. Their contact masks have 98.476% intersection over union, with 134,256 classifications differing across 268,435,456 shared nodes. Local stress therefore remains appreciably sensitive to refinement even as the global quantities draw close to the reference.

Calculation time and memory
Calculations used FP64 arithmetic and PocketFFT on a Windows workstation with an AMD Ryzen 9 PRO 9965 processor, 16 physical cores, 32 logical processors and approximately 125.5 GiB usable RAM. The 4k run used four FFT workers and one adhesion worker. Larger runs used 16 FFT workers and 16 adhesion workers.
| Grid | Accepted steps | FFT / adhesion workers | Per-case wall time | Peak commit (GiB) |
|---|---|---|---|---|
| 4,096² | 7,150 | 4 / 1 | 40 min | 1.76 |
| 8,192² | 10,650 | 16 / 16 | 2 h 08 min | 5.52 |
| 16,384² | 15,200 | 16 / 16 | 14 h 30 min | 22.06 |
| 32,768² | 28,800 | 16 / 16 | 164 h 07 min | 88.22 |

The time column includes the recorded setup, solve, checkpoint and field-output costs. For 32k it adds the 100-step pilot’s 45 min 27 s to the resumed process’s 163 h 21 min 15 s, giving approximately 164 h 7 min. The earlier coarse-grid solves are additional costs. These are recorded runs on a shared workstation, with differing worker configurations, and can guide sizing and planning.
What the convergence history shows

The largest case converged after 28,800 accepted steps. Field-equilibrium RMS first passed 10−9 at step 23,300, while the load criterion continued to control termination. At the final endpoint the field RMS was 1.53 × 10−11 and relative load error was 9.72 × 10−10. Independent block summation of the exported stress field gives mean pressure 250,000.0000125 Pa. The native sequential accumulation and independent block sum differ by approximately 10−9 relative to the imposed force, making global summation accuracy relevant at this grid size.
A standard verification case for future releases
The 4096 × 4096 adhesive case is retained as a standard TriboSolver verification case. Before each future version is released, it must reproduce the archived contact area, mean gap, signed stress fields and contact mask using the same inputs, initialization and convergence criteria. Full calculation time is measured and compared on the reference workstation with a recorded CPU configuration. The archived solution and timing record provide a fixed baseline for checking both accuracy and performance.
Conclusions
The Contact-Mechanics Challenge provides a demanding numerical verification of adhesive rough contact. TriboSolver completed a converged 32,768² Love calculation at 250 kPa, using a 10−9 tolerance. The resulting area and gap approach the published values, and the stress cross-section improves over the 16k result.
The run also quantifies the practical cost of that refinement. Approximately 164 hours and 88 GiB peak process commit were required on the tested workstation. Further development should combine faster spectral calculations with robust convergence control and finer checks of local adhesive stress. The archived inputs, fields, timings and cross-sections provide a reference for evaluating those changes.
Reproduce the 4096² use case in TriboSolver
TriboSolver users can reproduce the results. In this section, we provide the surface generator, prescribed surface data and a native input file for the 4096 × 4096 adhesive case. The input retains the fixed initialization used for this comparison.
The downloads include the prescribed surface data, a Python reconstruction script and the original supplied C++ generator. The Python version requires NumPy, and the C++ version requires FFTW3. The native 4096 × 4096 TriboSolver input is supplied in 12 download parts to fit the hosting service’s transfer limit. Download and extract every part into the same folder, then follow the included instructions to restore the input archive. Open its .tribo.json file using File → Load Inputs. The full surface and fixed initial gap are embedded. The input requires a TriboSolver version with the Love spectral relaxation option in Numerical Settings.
The input sets a 100 µm square, 250 kPa mean pressure, 25 MPa effective contact modulus, 50 mJ/m² work of adhesion, 2.071 nm interaction range and 10−9 tolerance. Select Love spectral relaxation in Settings → Numerical settings, retain the supplied initialization and run the adhesive contact calculation. The numerical settings also provide the relaxation control and iteration budget. Compare the contact area, mean gap and signed stress with the 4096² row above; record the full calculation time and processor configuration.
Download the surface generator and prescribed surface data (30 MiB ZIP)
Download the native 4096² input — part 1 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 2 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 3 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 4 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 5 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 6 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 7 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 8 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 9 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 10 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 11 of 12 (up to 26 MiB ZIP)
Download the native 4096² input — part 12 of 12 (up to 26 MiB ZIP)
References and reproducibility
[1] M. H. Müser and W. B. Dapp, The contact mechanics challenge: Problem definition (2015). arXiv:1512.02403.
[2] M. H. Müser et al., Meeting the Contact-Mechanics Challenge, Tribology Letters 65, 118 (2017). DOI 10.1007/s11249-017-0900-2. Bibliographic record.
[3] F. W. DelRio, M. P. de Boer, J. A. Knapp, E. D. Reedy Jr, P. J. Clews and M. L. Dunn, The role of van der Waals forces in adhesion of micromachined surfaces, Nature Materials 4, 629–634 (2005). DOI 10.1038/nmat1431.
[4] R. W. Carpick, D. F. Ogletree and M. Salmeron, A General Equation for Fitting Contact Area and Friction vs Load Measurements, Journal of Colloid and Interface Science 211, 395–400 (1999). DOI 10.1006/jcis.1998.6027.
All simulation maps and convergence plots in this article were generated from the archived calculations. Published reference traces and scalar values were extracted from PDF vector paths calibrated to the printed axes in Figures 4, 5, 10 and 12. Error measures refer to those extracted data. Display maps use block averages and the featured detail uses regular sampling, while contact areas are counted from the full-resolution masks.
Download the grid-results table, cross-section CSV files and reference-data notes.