Computer simulations are used extensively in astronomy, especially when the phenomena in question covers a vast interval of time, like the evolution of the Universe for example.