Tag Info

Hot answers tagged

5

I would recommend MPA Garching's Gadget code for cosmological simulations of structure formation. It's primarily gravitational, but I do believe you can include gas effects as well: GADGET computes gravitational forces with a hierarchical tree algorithm (optionally in combination with a particle-mesh scheme for long-range gravitational forces) and ...


2

Horizons Ephemeris generator can give you a planet's position and velocity vectors at a specified time. This is one set of possible options: Clicking Generate Ephemeris on that page will give you position and velocity vectors: Above the position and velocity vectors are the Julian date as well as the more conventional date. Wikipedia can give the ...


1

What language are you writing this simulation in? Is it 2D or 3D? Do you only need positions and velocities for our solar system planets? I've done this exact thing (simulated the solar system in Fortran) and I didn't need exact initial positions, all I needed were initial radii (in AU from the Sun/centre of mass) and initial velocities. Use a random number ...



Only top voted, non community-wiki answers of a minimum length are eligible