50 likes | 146 Views
Simulating Incoming comet in Sun-Jupiter Gravitational Field. Minkyu Kim Astrophysics and Physics University of California, Berkeley. Method. Basically, it is simulation of incoming comet toward Sun-Jupiter gravitational field
E N D
Simulating Incoming comet in Sun-Jupiter Gravitational Field Minkyu Kim Astrophysics and Physics University of California, Berkeley
Method Basically, it is simulation of incoming comet toward Sun-Jupiter gravitational field Comet appears with random mass at initial random position and random velocity but the the direction of velocity is toward Sun-Jupiter system. (for random position, velocity and mass, ‘rand()’ code is used) The gravitational system is only dependent on a simple formula F = -Gm1m2/r = m1a Use ODE method, particularly Runge-Kutta Method for accuracy The detail collision and thermal effects are not simulated.
Video: Escaped Comet Run the command: ‘comet’ For the initial velocity, mass and position of comet, ‘rand()’ code is used for all, so all initial condition is automatically set. For simple case, G = 1, m_sun = 10^7, m_Jupiter = 10^4