JournalMay 3 I am finished with the talk, what remains to be done is tweak a few parts of the code and add some comments. The website I used for my talk can be found here April 30 I have spent most of my time on the final presentation and the final paper, I also did a bit of debugging, my init function was giving me some trouble but it seems to be fine now after a quick fix. My new interface can be found here April 28 I have been looking into some Java optimization with no luck. I have tried running the applet on the apple cluster in the E&I lab just to see how much faster it would run, and it behaved as I expected, there was no dramatic increase in performance. April 24 I have expanded the code to include oct-trees for a possible 3d simulation. I have been working on the final presentation slides. April 20 Finished setting up some basic galaxies that the user can now choose from, I based these on some ideas that were proposed in a number of papers I read. I finished the QuadtreeBuild function and it seems to work fine. I also have a basic user interface going.April 17 Finished my treForce function, I am now working on setting up a basic demo of the project to show next week, it will probably resemble my first demo, this time using the tree structure and a variable number of bodies. My Todo list is looking good, everything is on track and I should be fine with the time that is left. The only thing that worries me is having realistic conditions so that I can get results that resemble the evolution of a real galaxy. I will be working on that after my demo. Here is a look at what is done and needs to be done from my todo list:
April 10 Started coding the TreeForce function: This function will compute gravitational force on a particle through a post-order traversal of the quadtree. I am having to look back to the work I did in my Algorithms and Data Structures class to remember how to write a post order tree traversal. It is actually quite fun. April 3 Have been researching initial conditions for the galaxy simulator. I have lots of papers which describe the initial velocities and rotations they used, so I am basing my simulation off of these results. In order to model a galaxy, one needs to set up the particles in such a way as to most resemble a configuration in a real disk galaxy. This means that particles need to be started on a circular orbit, with some comparatively small radial velocity distributions. March 29 Coded the basic tree data type: The tree data type forms the base of this simulation; it contains some data (a body and a quadrant), plus four references to other quad-trees. At the moment I am respresnting it as a Java class: public class QTree { March 26 Codeed quadrant data type: Given a body, we must determine in which subdivision of the plane it lies. Thus, an essential component of the project consists in creating a data type Quad to represent a square subdivision of the plane. At the moment I store the lower left endpoint of the square and the length of one of its sides.March 24 Finished implementing the basic body class. The Body data type represents both individual bodies and groups of bodies . I had a older version that I used for my PP demo, so I just updates it to include CM's and groups of bodies. March 12-21 I have been coding the Runge-Kutta integration scheme as well as the Euler method. An essential part of the algorithm will be that of the integrator, so I have put special care in coding these pieces. The integrator of the galaxy simulator should be able to advance particles in a specified potential field. This potential can result of a combination of self- gravitating system and an analytic background potential. Several schemes can be employed, ranging from minimal computational cost and poor accuracy to high computational cost and high accuracy. Refined a piece of code that calculates centers of mass of the particles. March 10,2004 In order to model a galaxy, one needs to set up the particles in such a way as to most resemble a configuration in a real disk galaxy. This means that particles need to be started on a circular orbit, with some comparatively small radial velocity distributions. I have put a good deal of effort in researching possible initial conditions for the galaxy simulator. There are a number of good papers out there that I will be using as a starting point. March 8, 2004 Started writing project proposal. Working on the gant chart has really helped me decompose my project into modules. It has also made me confident in that the bulk of the project is already done. March 1, 2004 I am planning on reporting the following information for next weekend. Gravitational N-body Problems Particle-Particle (PP): The simplest and naive method. Accumulate forces by finding the force F(i,j) of particle j on particle i, integrate the equations of motion (including accumulated forces), update the time counter and repeat for the next time step. I have set up a simple demo as java applet of a particle-particle 3 body problem. My functions are: void init() calcDistance(int idx_i, int idx_j) public void run() {
*I am toying with the idea of having a RMAX as well for when objects are to far. Although this is straight-forward, a constant time-step in the integration could lead to overflow errors - this can be avoided with a numerical integration scheme that uses variable time-steps that cuts down the time-step when the particles are near each other and increase the time-step when they are far away from each other. Computationally it is also expensive: O(N2) operations are required to evaluate the forces on all N particles. Particle mesh: February 25, 2004 February 17, 2004 I continue to work on survey. Frustrated with some bibliographic information that I lost. February 10, 2004 Have spent most of my time writing the survey paper. Having to put down all my research on paper has cleared up my thoughts and information I have learned. February 2, 2004 Worked on my Bibliography February 1, 2004 Working on organizing my bibliographic information so that I can present next meeting. Yesterday I spent a good 4 hours reading a book that I had ordered on Amazon.com: The Gravitational Million-Body Problem : A Multidisciplinary Approach to Star Cluster Dynamics. The book describes the gravitational million-body problem as a model for understanding the dynamics of rich star clusters. The author describes the theory astronomers need for studying globular star clusters. After introducing the million-body problem from various view-points, the book seems to systematically develop the tools needed for studying the million-body problems in nature, and introduces the most important theoretical models. I think the book will be of use to me in that it introduces me to the broad issues in the field I am working in.
January 26, 2004 After having looked at several projects that involved n-body simulations, I am a bit worried at the fact that I don't count with the computation power that these projects had at their disposal. Most of these projects executed their code in parallel or on super computers: The evolution of dark-matter dominated cosmological halos. By: Alvarez, Marcelo; Shapiro, Paul R.; Martel, Hugo. AIP Conference Proceedings, 2001, Vol. 586 Issue 1, p143, 3p; (AN 6178836) The equilibrium structure of cosmological halos. By: Iliev, Ilian T.; Shapiro, Paul R.. AIP Conference Proceedings, 2001, Vol. 586 Issue 1, p146, 3p; (AN 6178835) I might find that simulating a galaxy with 300,000 points will end up being to complicated. Perhaps I need to find a better way to abstract the galaxy or drastically reduce the number of points. January 23, 2004 Have looked into projects that seem related to what I am interested in (simulating a cosmological phenomenon using a n-body technique). There seems to be a good amount of literature in the area yet at the same time there seems to be many things that remain unexplored. January 20, 2004 Have been reading articles in both Physics and Computer science related journals that describe problems and projects concerning n-body simulation techniques. Following are the articles I have found interesting: The n-centre problem of celestial mechanics for large energies. By: Knauf, Andreas. Journal of the European Mathematical Society, 2002, Vol. 4 Issue 1, p1, 114p; (AN 6446828) Stratified reduction of many-body kinetic energy operators. By: Iwai, Toshihiro; Yamaoka, Hidetaka. Journal of Mathematical Physics, Oct2003, Vol. 44 Issue 10, p4411, 25p; DOI: 10.1063/1.1602160; (AN 10876394) Molecular dynamics simulations of Hg[sup 2+] in aqueous solution including N-body effects. By: Kritayakornupong, Chinapong; Rode, Bernd M.. Journal of Chemical Physics, 3/15/2003, Vol. 118 Issue 11, p5065, 6p; (AN 9208485) Periodic Solutions of the N-Body Problem (Book). By: Easton, Robert; O'Malley Jr., Robert E.. SIAM Review, Sep2002, Vol. 44 Issue 3, p486, 2p; (AN 7264723)
January 18, 2004 I am intrested in simulating galaxy formation using
the n-body technique.
January 17, 2004 January 15, 2004
|