1 / 23

Extensible Simulation of Planets and Comets

Thesis presentation exploring orbits, Kepler, Newton, and simulator development for graphical simulations of planetary motion.

mullinsk
Download Presentation

Extensible Simulation of Planets and Comets

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Thesis Presentation By: Natalie Wiser-Orozco November 14, 2008 Committee Members: Dr. Keith Schubert Dr. Ernesto Gomez Dr. Richard Botting Extensible Simulation of Planets and Comets

  2. Course Of Action • Understanding The Movement Of Our Solar System • Orbits • Kepler and Newton • Building The Simulator • Gravitational Functions • Graphical Simulation • Extensibility • Application Programming Interface

  3. Orbits • Ellipse – Oval-like shape • Eccentricity determines flatness • How does mass affect orbit?

  4. Attributes of an Ellipse

  5. Shoemaker-Levy 9 and Jupiter • S-L9 discovered on March 24th, 1993 • Split into fragments on July 8th, 1992 • Collided with Jupiter in July of 1994

  6. Johannes Kepler • Lived from 1571 to 1630 • Pioneered modern astronomy by deriving a mathematical model based on detailed observations. • Kepler's three laws of planetary motion.

  7. Kepler's Laws Of Planetary Motion

  8. Sir Isaac Newton • Lived from 1643 to 1727 • Laws of motion • Laws of universal gravitation

  9. Example of orbit as described by Newton • A body in orbit is “falling” towards the body that is at the foci of the orbit's ellipse. • From this, he derived the law of universal gravitation.

  10. Building The Simulator • Implementing the N-Body equation • Developing a graphical simulation • Wrapping it up into a neat package (GUI)‏

  11. N-Body Equation • Explanation of the equation itself. • Implemented the equation in small steps. • Used Runge-Kutta 4th Order ODE solver. • There were some trials and tribulations along the way. • Finally, success!

  12. Explanation of the N-Body Equation N-Body Ordinary Differential Equation Equivalent First-Order System Now suitable for solving with RK4 numeric method.

  13. Small Steps • Started with previous coursework from CS535 • Moved to using data provided by NASA for the initial conditions for a Sun and Earth system.

  14. Trials and Tribulations • I had the equation wrong, yielding inaccurate data. • The Moon orbits the Sun? • Needed to add Earth's initial velocity to the Moon's initial velocity.

  15. Success! • Simple simulations are finally behaving as expected. • Final hurdle – generalizing to be able to calculate trajectories for an arbitrary number of bodies.

  16. Developing a Graphical Simulation • Plotting the bodies • Tracing their trajectories. • Texture mapping • Scene Navigation

  17. Graphical User Interface (GUI)‏

  18. Application Programming Interface (API)‏ • Python • Start with base objects for Bodies and Cameras. • Extend the base classes to accommodate new functionality. • Register the extended classes with the Manager classes. • Scilab • Implement different gravitational functions and numeric methods. • Register these scripts with the Utilities class.

  19. Python API Structure

  20. Scilab API • Register new numeric methods and gravitational functions in the Utilities file, and the GUI handles the rest!

  21. SIMULATION!

  22. TheCode • Is open source and can be found online at: • http://code.google.com/p/extensiblesimulationofplanetsandcomets/ • http://www.otsegoville.com/Thesis

  23. References • Johannes Kepler http://en.wikipedia.org/wiki/Johannes_Kepler Web. • Isaac Newton http://en.wikipedia.org/wiki/Isaac_Newton Web.

More Related