Multibody Simulation Using sympy, scipy and vpython
summary
A pipeline that builds multibody models symbolically with SymPy (Lagrange and Kane formulations), integrates them in time with SciPy ODE solvers, and visualizes results with VPython and matplotlib. It assembles bodies, joints, forces and constraints, supports external co-simulation inputs, and demonstrates examples like constrained multi‑rod pendulums and a passenger‑car driving simulation; accuracy is acceptable but not yet real‑time, with planned JIT speedups.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:05Multibody simulation
- 6:18Used packages
- 9:34Building blocks of a mechanical system
- 13:30Methods to generate the equations of motion
- 13:55Layout
- 15:06What's new and interesting
- 16:20Coding style
- 28:10Improvements
related talks
28mDerivations, Not Just Simulations: Teaching Applied Mathematics with Scientific Python
47mIPython and Sympy to Develop a Kalman Filter for Multisensor Data Fusion
31mThe universe as balls and springs: molecular dynamics in Python
33mTheoretical physics with sympy
36mA Perfect, Infinite-Precision, Game Physics in Python
25mpypet: A Python Toolkit for Simulations and Numerical Experiments
33mReproducible Molecular Simulations with the Help of Python
30mYou are not a Computer: Python, Dynamical Systems, and Radical Embodied...
