Trajectory of a Test Mass in a Roche Potential
This Demonstration describes the trajectory of a test mass in the Roche potential of a binary system with masses (the star on the left) and (the compact object on the right). The frame of reference, corotating with the binary system, is noninertial, and the effective potential takes into account both gravitational and centrifugal forces. One of the equipotentials is a distorted figure-eight shape crossing at the Lagrange point . This defines Roche lobes for the two stars, with their shapes determined by the ratio of masses . If the star overflows its Roche lobe, mass flows from the donor star to the accreting compact object through the Lagrange point . The test mass is launched from the green stellar surface as long as its radius is smaller than that of the Roche lobe. The entire Roche potential is mapped in the graphic, with deeper values shown in darker purple.[more]
Since the accretor, possibly a compact object such as a white dwarf or a black hole, is very small on the scale of the diagram, its position is indicated by a black dot, with negligible radial extension.
Since the motion of the test mass is conservative (with no dissipation), its energy must remain constant. Thus, any deviation from its initial value has to be attributed to numerical errors in computation of the trajectory. The relative amplitude of those errors with time can then be monitored in the bottom plot, with the time and the relative deviation from the initial energy. Also, the angular momentum of the test mass is plotted on the lower left.[less]
 Wikipedia. "Roche Lobe." (Sep 16, 2015) en.wikipedia.org/wiki/Roche_lobe.