wiki:u/erica/JeansTest

Version 2 (modified by Erica Kaminski, 11 years ago) ( diff )

Computing the Jeans Length

The first step in setting up this problem was to consider the Jeans Length for a given ambient density and temperature. Recall,

I used the ambient density and temperature of the BP case for the Bonnor Ebert runs. This gave

Using the isothermal sound speed of,

where Kb is the boltzmann constant and mH is the mass of hydrogen, I calculated

Setting up the problem domain

I decided on a 1D grid (a string of cells in x) that was much greater than the Jeans length:

The Jeans Length needed to be resolved to prevent artificial fragmentation, so

Choosing 1550 cells in the x direction (small computational cost given 1D sim) satisfies this by having

so there are about 35 cells/ Jeans length.

Seeding the perturbation, analytic solution

The code

Attachments (13)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.