D H: You seem to be knowledgeable, and are surely at least partially correct in recommending Runge Kutta methods. They would not be advocated in so many texts and articles if they did not have advantages over first order methods.
My experiences recently have been as follows.
I am not convinced that anything more sophisticated than second order (if second derivative is known) or 4th order Runge Kutta is required for sufficient precision. I believe that the sophisticated methods were developed prior to ultra fast systems, which allow working with extremely small increments of the independent variable. With very small increments of the independent variable, even first order methods can be reasonably accurate for some types of equations.
Except for extreme initial conditions, I suspect that gravitational systems tend to have orbits with small curvatures, allowing first order methods to obtain excellent precision if small time slices are used.
I cannot believe that your comments about Cartesian coordinates are valid. While cylindrical & spherical coordinates are more convenient for describing gravitational systems, the actual calculations should use Cartesian coordinates due it being very easy to calculate distances between objects and add the force vectors. The distance & vector addition calculations are complex in anything but Cartesian coordinates.
My gravitational simulation software allowed cylindrical, spherical, or Cartesian coordinates for describing initial conditions and displyaing results, but did all the internal computations using Cartesian coordinates.
My experiences recently have been as follows.
- Precision was poor using first order numerical integration for analysis of geodesics on a torus. I had analytical expressions for second derivatives, and did not consider Runge Kutta. The second order integration resulted in excellent precision.
I verified precision by integrating backwards to initial points, which I assume is a good indicator of precision. Do you consider this a valid assumption?
BTW: I had two differential equations defining the torus geodesics: One for Latitude & one for Longitude. Would Runge Kutta be better than second order using known second derivatives?
- First order methods seemed to work very well for gravitational simulation. For my software, I simulated our solar system for many revolutions of the inner planets to verify precision, which seemed seemed good.
I am not convinced that anything more sophisticated than second order (if second derivative is known) or 4th order Runge Kutta is required for sufficient precision. I believe that the sophisticated methods were developed prior to ultra fast systems, which allow working with extremely small increments of the independent variable. With very small increments of the independent variable, even first order methods can be reasonably accurate for some types of equations.
Except for extreme initial conditions, I suspect that gravitational systems tend to have orbits with small curvatures, allowing first order methods to obtain excellent precision if small time slices are used.
I cannot believe that your comments about Cartesian coordinates are valid. While cylindrical & spherical coordinates are more convenient for describing gravitational systems, the actual calculations should use Cartesian coordinates due it being very easy to calculate distances between objects and add the force vectors. The distance & vector addition calculations are complex in anything but Cartesian coordinates.
My gravitational simulation software allowed cylindrical, spherical, or Cartesian coordinates for describing initial conditions and displyaing results, but did all the internal computations using Cartesian coordinates.