Introduction Astronomy Tools Concepts 1. Electromagnetic Spectrum 2. Atmosphere Limitations 3. Space Observations Equipment 1. Telescopes 2. Radio 3. Space Tools 4. Photography 5. Spectroscopy 6. Computers 7. Advanced Methods 8. Radio Astronomy Basic Mathematics Algebra Statistics Geometry Scientific Notation Log Scales Calculus Physics Concepts - Basic Units of Measure - Mass & Density - Temperature - Velocity & Acceleration - Force, Pressure & Energy - Atoms - Quantum Physics - Nature of Light Formulas - Brightness - Cepheid Rulers - Distance - Doppler Shift - Frequency & Wavelength - Hubble's Law - Inverse Square Law - Kinetic Energy - Luminosity - Magnitudes - Convert Mass to Energy - Kepler & Newton - Orbits - Parallax - Planck's Law - Relativistic Redshift - Relativity - Schwarzschild Radius  - Synodic & Sidereal Periods - Sidereal Time - Small Angle Formula - Stellar Properties  - Stephan-Boltzmann Law - Telescope Related - Temperature - Tidal Forces - Wien's Law Constants Computer Models Additional Resources 1. Advanced Topics 2. Guest Contributions
Science - Computer Models

 Astronomer use something called N-Body simulations to generate a computer model of things like galaxy simulations, dark matter simulations, stellar evolutions and so forth.

The idea behind these simulations are rather simple: create a set of parameters that is used to describe a single object within multiple objects, then program gravitational influences by equal objects, then repeat for remaining objects. Depending on the number of objects, the resulting computation can become prohibitively impossible to do without a computer.

Example: we know the mass and size of a hydrogen atom. We also know that hydrogen is the most abundant element in the Universe. If astronomers program a "cloud" of hydrogen atoms, they can simulate interactions between these atoms to determine the end result - like the birth of a star or the formation of galaxies.

Another example is to create theoretical particles to examine their interactions with known particles - like dark matter and its influence on galaxy formation.

My first N-body computation was to determine the stability of the Gliese 876 planetary system.

Here are some resources to explore computer simulations: