Changes between Version 3 and Version 4 of SinkParticlesDevel
- Timestamp:
- 08/10/11 13:14:27 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SinkParticlesDevel
v3 v4 5 5 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. 6 6 7 There are several criteria for creating sink particles. The first is that the density and sound speed in a cell must violate the Truelove criteria: 7 There are several criteria for creating sink particles. The Truelove criteria states the following must be satisfied: 8 9 {{{ 10 #!latex 11 $ \lambda_J=\left( \frac{\pi c_s^2}{G\rho} \right )^{1/2} > ~4\Delta x $ 12 }}} 13 14 else artificial fragmentation can occur. Thus, the first criteria is that the density and sound speed in a cell must violate the Truelove criteria: 8 15 {{{ 9 16 #!latex