wiki:SinkParticlesDevel

Version 5 (modified by Erica Kaminski, 13 years ago) ( diff )

Sink Particles

The Sink Particle algorithm is more or less taken from Federrath et al.

Before each step after overlaps have been applied - each processor searches through each info structure looking for new particles. This requires data out to 4 ghost cells. The processors then gather all of the new particles and the moments of the surrounding cells. Then each processor updates all of its grids by accreting material onto the sink particles. Then the change in particle mass from each processor is accumulated and the particles new properties (mass, mom, etc…) are then updated. The sink particles are then advanced redundantly using a leap-frog integration on every processor.

There are several criteria for creating sink particles. The Truelove criteria states the following must be satisfied:

else artificial fragmentation can occur. Thus, the first criteria is that the density and sound speed in a cell must violate the Truelove criteria:

Regions that satisfy (1) are subject to potential artificial fragmentation.

A cell that violates the truelove criteria must also have converging flow and must be located at the minimum of a potential well within a radius of

In addition to the central cell violating the truelove criteria - the surrounding region must be Jeans unstable or from the virial equation where we have ignored external pressure. This implies that:

For an ideal gas we have or for an isothermal gas.

If we assume a uniform sphere of radius we get

or that

So if a cell satisfies the Truelove criteria - then assuming that it is surrounded by cells of similar density within a radius of it will also be Jeans unstable.

Magnetic fields modify the Jeans stability / virial equation to be where

Finally the region must be gravitationally bound

Note: See TracWiki for help on using the wiki.