SunaDEM & granularCPU · f64
Sphere released on an incline: rolling and sliding against rigid-body mechanics (CPU)
Suna's CPU implementation reproduces rigid-body mechanics for a sphere on an incline (friction 0.3, no rolling resistance): acceleration within 1e-4 at 20 deg (rolling, gate 5e-3) and 1e-13 at 60 deg (sliding), contact slip 5e-4 (gate 1e-3) and spin-up rate error 1.2e-4 (gate 5e-3); f64, 2026-11-21.

- Reference
- Sphere on an incline without rolling resistance: rolls with a = 5/7 g sin theta if tan theta <= 7/2 mu
- Hardware
- x86-64 server CPU
- Solver version
- Suna 0.1.0+c3c1a3be
- Grid
- One sphere of radius 5 mm on a plane under tilted gravity, incline…
Results
Figures from the run.
sphere on an incline: speed vs rigid-body theory

Metrics and gates
Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Acceleration at 20 deg (rolling), relative errorkey | -1e-4 | |x| ≤ 0.005 | 2 % | ✓ pass |
| Contact slip at 20 deg (rolling), relative | 4.98e-4 | |x| ≤ 0.001 | 50 % | ✓ pass |
| Acceleration at 60 deg (sliding), relative error | -1.01e-13 | |x| ≤ 0.005 | <1 % | ✓ pass |
| Spin-up rate at 60 deg (sliding), relative error | -1.15e-4 | |x| ≤ 0.005 | 2 % | ✓ pass |
Setup and reproducibility
- Grid and numerics
- One sphere of radius 5 mm on a plane under tilted gravity, incline 20 and 60 deg, friction 0.3, no rolling resistance, fits over 0.05-0.5 s
- Solver
- Suna 0.1.0+c3c1a3be
- Hardware
- x86-64 server CPU
- Precision
- f64
- Code revision
- c3c1a3bea1d4
- Physics
- DEM & granular · incline, rolling, sliding friction, granular, cpu
- Run date
References
- Analytic solution
Sphere on an incline without rolling resistance: rolls with a = 5/7 g sin theta if tan theta <= 7/2 mu, else slides with a = g (sin theta - mu cos theta); J. Ai, J.-F. Chen, J. M. Rotter, J. Y. Ooi, Assessment of rolling resistance models in discrete element simulations, Powder Technol. 206 (2011)
doi:10.1016/j.powtec.2010.09.030In the Physics Atlas - Published benchmark
R. Zhang et al., Chrono DEM-Engine: a discrete element method dual-GPU simulator with customizable contact forces and element shape, Comput. Phys. Commun. 300 (2024) 109196 (source of the test case)
doi:10.1016/j.cpc.2024.109196In the Physics Atlas


