The thing is that I am actually interested in the gas dynamics, assuming that these two objects orbit in some stratified medium. So I also account for the effect of the mass distribution on the trajectories of both particles (i.e. of particle 2 and of the non-inertial orbiting frame) as well as...
Thanks. Unfortunately, I have to consider the problem in the non-inertial frame orbiting with M1, for technical numerical reasons. I believe that your equation is the same as the one I wrote in #1. My problem may thus be mostly related to my numerical resolution of the equation...
I see what you mean. I am in fact using a leapfrog integrator to numerically compute the position of object 2, with dt << 1, so in theory it should work (but it doesn't..).
Thanks for your reply. I agree, and this is what confuses me...
Let's say that I want to compute the trajectory of object 2 in such frame, I would have something roughly like that:
r2(t+1) = r2(t) + vr2*dt
where
vr2(t+1)= vr2(t) + ar2(t)*dt .
As vr(t=0) = 0 and ar2 < 0, r2 decreases...
Hi,
I am interested in a system where two point mass objects 1 & 2 are orbiting each other. I want to compute the trajectory of object 2 in the orbiting but non-rotating frame centered on object 1. For some reason this confuses me...
Let r2 be the position of object 2 in such orbiting frame...