Changes between Version 1 and Version 2 of u/erica/FederrathFeedback


Ignore:
Timestamp:
05/12/15 14:57:28 (10 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/FederrathFeedback

    v1 v2  
    11Adding a precessing, bipolar, 2-component outflow to the sink particle routine, following [http://iopscience.iop.org/0004-637X/790/2/128/pdf/apj_790_2_128.pdf Federrath, et al. 2014]
     2----
     3
     4
     5'''Density injection'''
     6
     7-Define a spherical cone centered on the sink particle of height rsink [[br]]
     8-Prescribe some function that distributes accreted mass over the cone, with some radial and angular dependance[[br]]
     9-Given this is a discretized operation, and the sink is not necessarily positioned at the center of the conical region, the masses in the 2 lobes may be slightly different [[br]]
     10-Thus, compute a correction factor for each of the cells to multiply the mass by when applying it to the cones[[br]]
     11-Rinse and repeat