top | item 9015605

(no title)

cdwhite | 11 years ago

I'm curious about his use of Runge-Kutta. IANA numerical methods expert, but it seems like this is exactly what symplectic integrators (https://en.wikipedia.org/wiki/Symplectic_integrator) are for. Looks like he gets very good results, but how trustworthy is Runge-Kutta?

From his perspective, of course, using Runge-Kutta makes perfect sense. This is "Huh: I have this tool, and applying it to this problem wouldn't be too hard; would the tool work?", not "I should create a new tool."

ETA: couple of forgotten words.

discuss

order

reidacdc|11 years ago

I agree in general, and it would have been nice to see some plots of some of quantities that should be conserved, e.g. how well does his simulation preserve the initial energy and angular momentum?

Having said that, it is an adaptive RK scheme, and it seems to work pretty well, the article shows that the results match some reference data quite well, and it even captures some quite subtle effects, most notably the influence of the moon.

troubled5|11 years ago

He mentions a 10% error in energy conservation, so not too great.

Probably he should have done research before he started, he would have found one of the several lecture notes that tell you how to integrate orbits. They tell you that symplectic methods are great for time reversible problems.

Or he would have found one of the public codes for integrating the solar system very far into the future.

tjradcliffe|11 years ago

Initial energy is conserved at the 10% level, which is not great.

I really didn't expect the RK4 thing to work at all, and once it was clear it kind of did decided to push on for fun.

tjradcliffe|11 years ago

That was precisely my logic. Maybe I'll build a symplectic integrator in future, but this was a case of "Hey, I've got this hammer, maybe I can drive this screw with it!"