New answers tagged

2

With forward Euler, you're simply out of luck. Because of the way the scheme is constructed, you always make an error in momentum in the same direction, which then compounds, leading to exponential behavior. You need a symplectic integrator, the simplest being leapfrog, or any other Verlet integrator. These still won't conserve momentum on a timestep to ...



Top 50 recent answers are included