Skip to content
DimensionLab

SunaDEM & granularNVIDIA GPU · f32 (with compensated position carry)

Two spheres with mirror spins: restitution and no-slip identities

On an NVIDIA RTX A4000, Suna returns the input restitution 0.5 within 2e-5 (gate 0.01) over 17 head-on impacts with spins of 0.175 to 22.9 rad/s (Chung and Ooi 2011, test T7), and the no-slip identities hold to 1.5e-9 and 4.1e-8 (gate 1e-4); f32, 2026-11-20.

Sphere outlines during a T7 contact on CUDA with the carry
Pass
3 of 3 gates met
2e-5Restitution, largest absolute error · gate |x| ≤ 0.01
<1 %
Reference
C. Y. Chung
Hardware
NVIDIA RTX A4000 16 GB
Solver version
Suna 0.1.0+4654b5e7
Grid
17 head-on impacts, sphere radius 0.1 m, 0.2 m/s each, restitution…

Results

Figures from the run.

T7 restitution per spin against the input

T7 restitution per spin against the input

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.

MetricValueGateAllowance usedResult
Restitution, largest absolute errorkey2e-5|x| ≤ 0.01<1 %✓ pass
Tangential contact speed over spin speed, largest1.49e-9|x| ≤ 1e-4<1 %✓ pass
Spin change, largest relative4.08e-8|x| ≤ 1e-4<1 %✓ pass

Setup and reproducibility

Grid and numerics
17 head-on impacts, sphere radius 0.1 m, 0.2 m/s each, restitution 0.5, friction 0.4, 4000 steps per elastic contact time
Solver
Suna 0.1.0+4654b5e7
Hardware
NVIDIA RTX A4000 16 GB
driver 580.119.02, CUDA 12.8
Precision
f32 (with compensated position carry)
Code revision
4654b5e7a658
Physics
DEM & granular · restitution, contact friction, impact, gpu
Run date

References