|
|
Two body elliptical orbit, comparing SWIFT with scipy ODE solver.
|
|
Test particle in circular orbit around a solar mass particle, radius of 3AU
|
|
|
|
|
|
|
|

|
|
Compare SWIFT solution with analytic solution, and the solution from the scipy ODE solver with 10^6 timesteps per orbit.
|
|
|
|
|
|
|
|
Tried to calculate error by finding difference between positions at the time of the snapshots, but it doesn't look like I'm doing this correctly.
|
|
Show the effect of decreasing 'eta'.
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|

|
|
Now solve a similiar problem but replace the central particle with a line of 10 particles, from -0.5 AU to 0.5 AU along the x-axis, with total mass of one solar mass. Initial position and velocity of the orbiting test particle is still the same.
|
|
|
|
|
|
|
|
Did the same thing with an orbit around a line of ten particles.
|
|
Can test the effect of changing both the multipole order and 'eta'
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|

|
|
Now do the same this again but with a triangle of particles, centred on [0.5,0.5,0.5], evenly spaced around a circle of radius 0.3 AU in the x-y plane, this was done to ensure the particles were all in the same cell.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|

|
|

|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ... | |
... | |
| ... | | ... | |