VPNBody: Download
Home > Download
First, visit http://www.vpython.org and download the latest versions of the Python interpreter and the VPython libraries. Follow the installation instructions provided at that web site.
Second, download the following zipped archive and unzip the files to your hard-drive.
- VPNBody version 2.1 (zipped archive; 24 KB)
Several files are included in the zipped archive. In the following list, bold indicates a code file, and italic indicates an input files.
- vpnb.py-- the main (top-level) program file.
- vpnb_simulation.py-- defines the simulation class.
- vpnb_body.py-- defines the body class (instantiates a star and planets).
- vpnb_system.py-- defines the system class.
- vpnb_visual.py-- defines the window and display object classes.
- vpnb_math.py -- provides mathematical functions.
- EarthJupiter.txt-- input file for the Sun, Earth, and Jupiter. Follow this link for a detailed explanation of input files using this file as the example.
- InnerPlanets.txt-- input file for the Sun, Mercury, Venus, Earth, and Mars.
- OuterPlanets.txt-- input file for the Sun, Jupiter, Saturn, Uranus, Neptune, and Pluto.
- OuterPlanets_50.txt-- input for the outer planets (Jupiter to Pluto), but each planet is given 50 times its actual mass.
- FourBody.txt-- input file for the Sun, Venus, Earth, and Jupiter.
- JupiterMoons.txt-- input file for Jupiter and the Galilean moons (Io, Europa, Ganymede, and Callisto).
- HD38529.txt-- input file for the exosystem HD38529, which a very massive Jupiter-like planet. A fictional (?) Earth-like planet is included, using the real Earth's orbital parameters.
- RogueStar_Inner.txt--a 0.5-solar mass star enters the inner solar system.
Follow this link to get started using VPNBody.