Simulation Lectures
Monday, May 3rd, 2010I designed a series of three lectures for my fellow astronomy / astrophysics students here at UC Riverside. The purpose of the lectures was two-fold:
- To introduce the students to the essentials of N-body methods and computational fluid dynamics.
- To motivate me to study the subject in more detail and breadth.
Having finished preparing for the lectures, I can say that the second goal has definitely been met. Two of the three lectures were presented last week and the feedback has been positive, so it seems that the first goal was also met. Tomorrow is the third and last lecture of the series. After that, I will be able to spend time focusing on my research project once again!
The PDF presentation can be found at http://www.idius.net/lectures/N-body-methods.pdf.


. Then the Fourier transform of the density is computed using FFT (requiring the number of mesh elements in each dimension to be a power of two). Then a fast Fourier transformed Green’s function is multiplied by the transformed RHS of the above equation and the inverse transform is computed to calculate the potential
at the mesh points. Once the potential is known everywhere, finite difference methods can be used to calculate the acceleration of each particle and then the velocities and positions are updated.