solar system formation 2d

2d balls with friction and gravitations
642 Downloads
Aktualisiert 22. Nov 2011

Lizenz anzeigen

http://simulations.narod.ru/
There are 400 balls in 2d that has finite size and can pass trough each other with friction. At distances more than size they have gravitation forces. Initially system rotated slightly as global. Code well vectorized, bsxfun used.

The result of simulation is here:
http://www.youtube.com/watch?v=JhVeoHtBmkY

It is possible to see sun formation but no planets. Probably because to few points used (not enough computation power).

run test2.m to start simulation and recodring to history file. set history file name in history_viewer_cluster.m and run history_viewer_cluster.m

Zitieren als

Maxim Vedenyov (2024). solar system formation 2d (https://www.mathworks.com/matlabcentral/fileexchange/33878-solar-system-formation-2d), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Gravitation, Cosmology & Astrophysics finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0