Changes between Version 21 and Version 22 of u/erica/scratch4


Ignore:
Timestamp:
02/16/16 19:53:15 (9 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/scratch4

    v21 v22  
    2121= Tracking accretion luminosity in the code =
    2222
    23 At each time-step i, the luminosity is computed as:
     23At each time step i, the luminosity is computed as:
    2424
    2525[[latex($L_i=\frac{G M_i dm_i}{R ~dt}$)]]
    2626
    27 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.
     27where [[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.
    2828
    2929== Kernel ==
     
    6464[[latex($ source(i,j,k,iaccretion\_energy)= info\%workarray(i,j,k,iaccretion\_energy)*dt_{rad} $)]]
    6565
    66 where we now enter the total ''specific'' (recall k has units of 1/volume) accretion energy into the source function averaged over a radiative timestep. And now, we are ready to begin testing.
     66where we now enter the total ''specific'' (recall k has units of 1/volume) accretion energy into the source function averaged over a radiative time step. And now, we are ready to begin testing.
    6767
    6868== Physical meaning of the accretion energy source term ==