How Do We Find Interesting Things in Very Large Simulations?

It’s a growing problem in computational astrophysics.  Hydrodynamic simulations (say of giant molecular clouds and star forming regions) are getting very large.  When we want to analyse them and find interesting features to compare to the physical Universe, simply searching them “by eye” is becoming an enormous task.

One simple solution to this is to farm out the problem to citizen scientists, essentially doing the “by eye” hundreds of thousands of times in a few days.  This technique is great if you can break up the simulation into easily viewable chunks for each citizen scientist to look at.  But what if you can’t do this, or you don’t have access to millions of enthusiastic people?

We must rely on algorithms to solve this problem.  Luckily cosmologists came across similar issues in N-Body simulations of dark matter.  These simulations have slightly less physics inside, and hence grew to large sizes much quicker, which was essential to modelling the growth of structure on cosmic scales.  They used something called tensor classification to analyse the mass distribution.

The distribution of dark matter in the Millennium Simulation.  Tensor classification helps cosmologists identify filamentary regions, and the knots where filaments collide to form dense clusters of galaxies

This is a technique which relies on computing a rank 2 tensor, a matrix, which contains information about how the simulation changes with position over all 3 dimensions.

For example, we can compute a tidal tensor, which is two derivatives of the gravitational potential.  This measures how the gravitational force changes as a function of position.  Manipulation of the tensor (finding its eigenvalues and eigenvectors) allows us to say what shapes and geometries the gravitational force is trying to build.  Is it making pancake-like sheets? Rope-like filaments? Or is it squeezing everything into a sphere? Or, is it doing none of this, creating a void?

This technique gives cosmologists useful information about the filamentary structure of dark matter on very large scales.  In a recent paper, I investigated how these N-Body methods (where the only force active is gravity) could be ported into hydrodynamic calculations (where pressure forces, radiation and perhaps magnetic fields also play a role).

As we work with smoothed particle hydrodynamics (SPH), which also simulates a fluid using particles, these methods are easy to apply, with the advantage that there are less free parameters in the calculation.

And it has some stunning uses.  Want to find the spiral arms in a self-gravitating disc? Presto:



Want to trace the blast wave of a supernova as it travels through interstellar gas? Sure:



It is also quite good at detecting filaments in molecular clouds, but the results aren’t quite as impressive – yet.  Most recently, we’ve been using the technique on simulations of entire galaxies, and we’re starting to see how material flows in and out of spiral arms, which helps to produce molecular clouds.

We’ve really only just begun using tensor classification for problems like this, and there are some great possibilities for analysing magnetic field structures in a similar way.

I have some very exciting plans for this technique, so stay tuned for further updates!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s