NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Convex Formulation of Compliant Contact between Filaments and Rigid Bodies

Weijie Li, Glen ChouarXiv 2025 · DOI

Abstract

We present a computational framework for simulating filaments interacting with rigid bodies through contact. Filaments are challenging to simulate due to their codimensionality, i.e., they are one-dimensional structures embedded in three-dimensional space. Existing methods often assume that filaments remain permanently attached to rigid bodies. Our framework unifies discrete elastic rod (DER) modeling, a pressure field patch contact model, and a convex contact formulation to accurately simulate frictional interactions between slender filaments and rigid bodies - capabilities not previously achievable. Owing to the convex formulation of contact, each time step can be solved to global optimality, guaranteeing complementarity between contact velocity and impulse. We validate the framework by assessing the accuracy of frictional forces and comparing its physical fidelity against baseline methods. Finally, we demonstrate its applicability in both soft robotics, such as a stochastic filament-based gripper, and deformable object manipulation, such as shoelace tying, providing a versatile simulator for systems involving complex filament-filament and filament-rigid body interactions.

Introduction

Simulating slender, flexible objects like ropes, cables, and shoelaces is a significant challenge in robotics and computer graphics. These "filaments" are essentially 1D structures embedded in a 3D world, leading to complex dynamics involving massive deformations, self-contact, and frequent making/breaking of contact with external rigid bodies. Standard physics engines often struggle with these scenarios, leading to unrealistic slipping or "tunneling," where objects pass through one another due to numerical instability or simplified contact models.

This paper introduces a novel simulation framework built on the Drake simulator that addresses these issues by unifying Discrete Elastic Rod (DER) mechanics with a pressure field patch contact model and a convex contact solver. This combination allows for highly accurate, physically faithful simulations of complex tasks like knot tying and robotic manipulation.

Methodology

The framework integrates three core components to ensure stability and physical accuracy:

  1. Discrete Elastic Rod (DER) Mechanics: Filaments are modeled using DERs, which efficiently capture stretching, twisting, and bending energies. The authors derived corrected analytical Jacobian and Hessian expressions for the DER internal energy to ensure high-fidelity dynamics during implicit time integration.
  2. Pressure Field Patch Contact: Traditional point-contact models often fail for soft filaments, causing violent force fluctuations. By adapting a pressure field model, the framework creates "patch" contacts. This distributes forces over an area, capturing lateral compliance and enabling the stable friction necessary for delicate manipulation.
  3. Convex Contact Solver: The authors reformulate frictional contact—traditionally a non-convex Nonlinear Complementarity Problem (NCP)—into a convex approximation. Using a Semi-Analytic Primal (SAP) solver, the framework guarantees global optimality at each time step, ensuring that contact velocity and impulse are perfectly complementary.

Validation and Results

The framework was validated through several rigorous benchmarks and manipulation scenarios. A key test was the Capstan Effect, where the simulator accurately reproduced the theoretical exponential force amplification of a rope wrapped around a cylinder. This confirms the accuracy of the underlying frictional model.

Validation of the frictional model via the Capstan effect, showing close agreement between simulation and theoretical predictions.

In knot-tightening experiments, the proposed method successfully prevented tunneling, a common failure in energy-based contact models where internal elastic energy overpowers contact penalties. The convex solver strictly enforces non-penetration, capturing the real-world "snap-through buckling" observed in tightening knots.

Comparison of knot tightening: (a) real-world reference, (b) the proposed method successfully capturing the geometry, and (c-d) baseline methods failing due to tunneling or unrealistic deformation.

Further applications demonstrated the framework's versatility:

  • Robotic Shoelace Tying: Simulated bimanual arms successfully tied a shoelace, a task that failed with standard point-contact models due to gripper slippage.
  • Crowned Pulley: The DER model correctly captured the self-centering behavior of a flat belt on a convex pulley, a scenario where even volumetric Finite Element Methods (FEM) often fail due to artificial mesh stiffening.
  • Soft Robotics: The system simulated a complex stochastic filament-based gripper with over 6,000 degrees of freedom.

Performance and Future Work

While the framework provides unprecedented physical fidelity, it is computationally intensive. Profiling indicates that the SAP solver accounts for over 50% of the total runtime, primarily due to the Cholesky decomposition step. Additionally, preventing tunneling requires small time steps (typically $10^{-3}$ to $10^{-4}$ seconds). Future work will focus on parallelization strategies for the solver and the development of adaptive time-stepping to improve simulation speed during periods of sparse contact.

Summary updated

BibTeX
@misc{li2025convex,
  author = {Weijie Li and Glen Chou},
  title = {{A Convex Formulation of Compliant Contact between Filaments and Rigid Bodies}},
  year = {2025},
  eprint = {2509.13434},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.13434},
  howpublished = {arXiv},
}
Figure