Title: Chaos Simulation - Comets in space Post by: neptunium93 on June 28, 2015, 08:50:54 AM A 3D Simulation written in Pascal.
Comets having fun in space. https://www.youtube.com/watch?v=8tU8P0teX9o (https://www.youtube.com/watch?v=8tU8P0teX9o) Comments welcome! Title: Re: Chaos Simulation - Comets in space Post by: cKleinhuis on June 28, 2015, 12:39:36 PM that is nice, do you inject the particles som random speed to give them motion=?
Title: Re: Chaos Simulation - Comets in space Post by: neptunium93 on June 28, 2015, 02:18:24 PM At the beginning the particles have no speed. There are 800 paricles with random position in a cube. The only force is the gravity of the Newton space between the particles. This will accelerate them. The space is slightly retarded, like a lightweight fluid or gas. If the particles come very close to each other (distance near zero) they will loose their speed - say they are falling into sleep mode. The others will gain speed if they come close together in a certain direction in space. The overall energy of the system stays the same, otherwise the speed would rise expolsive after a time, or all would freeze if there is a loss of energy. Normally the simulation will run for hours if the distance between the particles don't become too far. |