# Linearization of the Fluid Equations

The system of equations to describe a fluid with pressure and self-gravity are the following:

A equilibrium solution to this non-linear system of PDE's is easily given by:

However, note that this is the source of the infamous 'Jeans Swindle', as plugging this equilibrium solution into the Euler equation implies that ** phi is a constant** ( ), in contradiction with Poisson's equation. Ignoring this though, we can do a standard linear analysis on these equations to check for stability of small perturbations. As usual, a linear analysis 1) transforms the original non-linear system into a solvable linear system, and 2) provides valuable insight into the basic physics within the fluid.

Inducing a small linear perturbation to the equilibrium solution gives the following:

Plugging these solutions into the above system of equations leads to the Jeans Instability as described as follows.

# The Jeans Instability

Linear perturbative analyis on the self-gravitating fluid equations under the assumption of infinite, constant density (

), static ( ) background results in the following 2nd order PDE in the density perturbation ( ):

where

is the sound speed.This is a wave equation, so we propose a solution of the form:

where the wave number k is given by

, with specifying the perturbation oscillation wave length, and is the angular frequency of oscillation given by . Plugging this into the wave equation above gives the following dispersion relation:

When

or

is real, and the density perturbation has the form:

which is oscillatory. Thus the density perturbation propagates through the medium as a sound wave, i.e. pressure gradients are strong enough to support the medium against self-gravitational collapse. On the other hand, when

or

we see that

is imaginary. This implies that there is an exponential growth or decay factor multiplying the oscillatory in the solution for . That is,

Taking the real part, we have:

Thus, the perturbation takes on a form that is oscillatory in x and exponential in time.

# The Jeans Length

To get the critical length scale (aka Jeans length) for the oscillations, we write the oscillatory condition

Substituting

for k and solving for we have

That is, for wavelengths smaller than

, the perturbation is stable to collapse. You can think of this wavelength as length scales over which the average . The critical length is known as the Jeans length and is given by:

# Unstable Modes

What we'd like to do now is determine, for which frequencies is the perturbation *unstable* (exponentially growing). In order to determine this we can rewrite into a more intuitive form.

Taking the positive root and plugging into

, we see

which gives

Thus we have found the explicit form of the density perturbation. For

, the density perturbation will be unstable and grow exponentially with time. For , the density perturbation is oscillatory, and will travel through the medium as a sound wave. (Given this analytical expression, one can compute the growth rate explicitly with AstroBEAR. That is, by seeding the grid with this density perturbation with self gravity turned off, one can visualize this perturbation function over time. To test the code's self-gravity, one could seed the grid with the density perturbation without the exponential factor (i.e. only sinusoidal density perturbation), turn self-gravity on, and see if the density grows with a rate that matches that of the analytical solution.)Now, the growth rate of these modes is given by

and so the characteristic timescale for exponential growth, that is the time in which the perturbation increases by a factor of e, is given by

# High lambda limit

From

it is easy to see that in the limit

for finite

(i.e. pressure gradients are null/gravity dominates), the characteristic collapse time becomes

where

is the freefall time for a spherical region of uniform gas. It is interesting that if you calculated the proportionality constant, you'd see that .# Writing a module to test self-gravity using the Jeans Instability

I go through the procedure of setting up the problem on this page here.

# References

**Note:**See TracWiki for help on using the wiki.