div style="position:absolute;left:0;top:200px;width:100%;height:100%;z-index:100;">

This simulates a 1km x 1km square of the ring, in rotating coordinates. If particles go off the left / right / top / bottom, they appear on the right / left / bottom / top, with offset velocities to mimic the change in frame. I've put friction in between particles in contact with each other, but not gravity. I think the accuracy of the simulation would depend on getting particle-particle interactions exactly right, and that'll be the limiting factor in this simulation.

But it's certainly fun to play with, and the top-level accuracy is there: the rotating frame, the orbital speed, the rotation of saturn, the tidal forces from saturn. The particle number density is roughly right, if you make heavy approximations about the shape of the particle.

I'm open to criticism, especially from people actually simulating this. Paper recommendations will get added to the page.

The simulation itself is running at 500x normal speed: Six seconds in the simulation would be one hour in real time.

Keys: a,s,d,w,q,z are acceleration. Mouse for rotation.





Other Articles:

How to simulate fractal ice crystal growth in Python

This presents python code to draw snowflakes, simulating a diffusion process with Fourier transforms.

Benzene QMC Gallery

A gallery of images from an attempt to model the benzene ground state using a variational and diffusion monte carlo method.

Quantum Mechanics for programmers

A quick demo showing how to make simulations of simple quantum mechanics systems in javascript.




© Hugo2015. Session @sessionNumber