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

Dynamics of connected rigid bodies in a perfect fluid

Taeyoung Lee, Melvin Leok, N. Harris McClamroch

This paper, published in 2008, presents a robust mathematical framework for simulating the complex 3D motion of articulated bodies—like a robotic fish—moving through a fluid. By combining advanced geometry with classical mechanics, the authors developed a "structure-preserving" numerical tool that remains physically accurate even over long simulation periods where standard methods typically fail.

TL;DR

The authors developed a 3D analytical model and a specialized "Lie group variational integrator" to simulate connected rigid bodies (like a multi-segment robotic fish) in a perfect fluid. Unlike standard simulation methods that "drift" and lose physical accuracy over time, this integrator preserves the system's geometric properties, energy behavior, and momentum.

What Problem Does This Paper Address?

Simulating fish locomotion is a notorious "fluid-structure interaction" challenge. A fish's body deforms, and those internal muscular forces translate into external propulsion through the surrounding water.

Most existing mathematical models were limited to 2D (planar) motion or relied on "slender body theory," which ignores the thickness of the fish. Furthermore, when engineers try to simulate these systems using standard numerical tools (like the common Runge-Kutta methods), they run into a geometric wall: rotation matrices lose their "orthogonality" (they stop being proper rotations), and the system's total energy artificially increases or decreases over time. This makes long-term study of swimming efficiency or maneuverability nearly impossible.

Methods

The researchers tackled this using two main components:

  1. The Analytical Model: They modeled the fish as a chain of rigid ellipsoids connected by 3-degree-of-freedom ball joints. To handle the fluid without the massive computational cost of simulating every water molecule, they assumed a "perfect fluid" (incompressible and irrotational). This allowed them to account for the fluid's effect simply by adding "added inertia" terms to the rigid bodies' mass matrices.
  2. The Lie Group Variational Integrator (LGVI): This is the paper's core technical contribution. Instead of using standard coordinates (like Euler angles, which suffer from mathematical singularities called "gimbal lock"), they performed calculations directly on Lie groups ($SE(3)$ and $SO(3)$). By deriving the integrator from a discrete version of Hamilton’s principle, they ensured the simulation naturally respects the laws of physics—specifically conservation of momentum and the symplectic structure of Hamiltonian dynamics.

Datasets

This is a theoretical and computational mechanics paper, so it does not use external experimental datasets. Instead, the authors validated their approach using a numerical benchmark: a simulation of three connected ellipsoids performing a complex rotational maneuver in a fluid.

Key Insights and Ideas

  • Geometry Matters: By treating the configuration space as a Lie group manifold, the authors avoided the "coordinate mess" that usually plagues 3D rotations. The simulation stays on the manifold by design, rather than using "projection" steps to fix errors after they happen.
  • Fluid as "Extra Mass": The insight that a perfect fluid can be represented entirely through added inertia matrices allows for a high-fidelity 3D model that is still computationally efficient enough for control design.
  • Long-term Stability: Because the integrator is "variational," it doesn't suffer from the artificial energy dissipation or gain seen in non-geometric integrators. This makes it a "reliable numerical simulation tool" for studying qualitative behaviors like steady-state swimming.

Key Results

The authors compared their LGVI against a standard high-order Runge-Kutta method (RK45) in a 100-second simulation:

  • Energy Conservation: The LGVI's total energy oscillated slightly but stayed near the initial value without any long-term drift. In contrast, the RK45 method showed significant energy deviation.
  • Momentum Preservation: The LGVI preserved the "momentum map" (linear and angular momentum) exactly, while the standard method drifted.
  • Numerical Precision: The orthogonality error (the measure of how much a rotation matrix "warps") was kept below $10^{-13}$ for the LGVI, effectively machine precision.
  • Divergent Trajectories: The two methods provided compatible results only for a very short initial period; after that, the standard method's accumulated errors led to a completely different (and physically incorrect) trajectory.

Limitations and Future Work

The primary limitation is the "Perfect Fluid" assumption. Real water has viscosity and creates vortices (eddies) behind a swimming fish, which are crucial for generating thrust. While the "added mass" approach captures the qualitative feel of swimming, it misses the complex wake dynamics that a real fish exploits.

The authors suggest that future work could involve:

  • Incorporating more complex fluid models (like those involving vorticity) while maintaining the geometric integration framework.
  • Using this model to solve optimal control problems, such as finding the most energy-efficient way for a multi-jointed robot to turn or accelerate.

Summary updated

BibTeX
@inproceedings{lee2009dynamics,
  author = {Taeyoung Lee and Melvin Leok and N. Harris McClamroch},
  title = {{Dynamics of connected rigid bodies in a perfect fluid}},
  booktitle = {ACC},
  year = {2009},
  doi = {10.1109/acc.2009.5159850},
}

Loading related content...

Figure