Changes between Version 5 and Version 6 of u/erica/scratch4
- Timestamp:
- 02/16/16 14:15:13 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/scratch4
v5 v6 9 9 = Accretion Luminosity = 10 10 11 As I discuss in this [https://astrobear.pas.rochester.edu/trac/blog/erica01262016 blog post], using the approximation for accretion luminosity as:11 As discussed [https://astrobear.pas.rochester.edu/trac/blog/erica01262016 here], the following equation for the accretion luminosity: 12 12 13 [[latex($L=\frac{G *M*dm}{r_*dt}$)]]13 [[latex($L=\frac{G M dm}{R dt}$)]] 14 14 15 ddw 15 should be a very good approximation for Astrobear to use. 16 16 17 17 = Tracking accretion luminosity in the code = 18 19 At each time-step i, the luminosity is computed as: 20 21 [[latex($L_i=\frac{G M_i dm_i}{R ~dt}$)]] 22 23 where [[latex($M_i$)]] is the mass of the sink particle at i, [[latex($dm_i$)]] is the total accreted mass for that time-step, [[latex($G$)]] is the gravitational constant in computational units, [[latex($R$)]] is the radius of the star, taken to be 1 solar radius by default, but modifiable by the user at run-time, and [[latex($dt$)]] is the hydro time-step. This luminosity is only computed after the sink particle has grown to have non-zero mass, and then will only be a source of luminosity after surrounding material has been deemed unstable and collapsing inward to the sink particle (i.e. is accreted). 18 24 19 25 == Kernel ==