An open API service indexing awesome lists of open source software.

https://github.com/srush/torch-mechanics

Amateur experiments with autodiff mechanics simulators
https://github.com/srush/torch-mechanics

Last synced: 4 months ago
JSON representation

Amateur experiments with autodiff mechanics simulators

Awesome Lists containing this project

README

          

# torch-mechanics
Amateur experiments with autodiff mechanics simulators

Goal:

* A mini-golf simulator in torch / torchdynamo
* Method - non-holonomic Lagrangian mechanics with an Euler discretization and Newton steps.

Target:

* https://afqueiruga.github.io/programming/2019/04/15/pendulum_ad.html

To understand

* https://blog.jle.im/entry/hamiltonian-dynamics-in-haskell.html
* https://github.com/MasonProtter/Symbolics.jl
* https://towardsdatascience.com/how-to-turn-physics-into-an-optimization-problem-11b3fbf83062?gi=e0c39ffc162f

ODE part

* https://ocw.mit.edu/courses/18-086-mathematical-methods-for-engineers-ii-spring-2006/e548f1cb5f6c6bc9a5c90ee5180a3b91_am51.pdf

(srush learns physics)