Can the Euler Method Accurately Solve Orbital Gravity Equations?

Click For Summary
The discussion centers on the use of the Euler Method for solving gravitational differential equations related to orbital mechanics. While the Euler Method is a straightforward numerical approach, it is generally deemed inadequate for accurate orbital calculations due to rapid error propagation, necessitating smaller time steps that are impractical for computation. Participants recommend using higher-order methods like Runge-Kutta, which provide better stability and accuracy for simulating orbits. The conversation also touches on the importance of choosing appropriate time steps and the challenges of maintaining precision in simulations. Ultimately, for reliable orbital simulations, more sophisticated numerical methods are essential.
  • #31
I've been tooling around with this, and found that the method known in some quarters as "Leapfrog" gives pretty good results even with modest computing power. The method is the same as described in Feynman Lectures volume 1 chapter 9. It seems to be the same as what some people call Verlet. There's an excellent discussion here:
http://young.physics.ucsc.edu/115/leapfrog.pdf

For a free iPad app to show the results of the method see here:
https://itunes.apple.com/nz/app/orbit-simulator/id1048345753?mt=8

The main problem I see is that highly elliptical orbits do start to precess, depending on the time step you use. Also when the speed gets very high the orbits develop sharp corners. To get round this you's need smaller steps or a method with adaptive step size, but Leapfrog is well good enough just to play around with.
 
  • Like
Likes Drakkith

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
1K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K