Changes between Version 14 and Version 15 of u/erica/scratch4


Ignore:
Timestamp:
02/16/16 18:43:31 (9 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/scratch4

    v14 v15  
    3333[[latex($\sum \Delta E_i*dV_i=E ~~~~~~(1)$)]]
    3434
    35 where [[latex($E$)]] is the accretion energy from the time step, [[latex($\Delta E_i$)]] is the differential amount of E to be distributed in the ith cell, and [[latex($dV_i$)]] is the volume of the ith cell. As of now, the units don't balance in this equation. When we normalize the kernel, the normalization constant will then have units of 1/volume to satisfy this equation as we will do next.
     35where [[latex($E$)]] is the accretion energy from the time step, [[latex($\Delta E_i$)]] is the differential amount of E to be distributed in the ith cell, and [[latex($dV_i$)]] is the volume of the ith cell. As of now, the units don't balance in this equation. We then need to find a normalization constant that has units of 1/volume, which we will do next.
    3636
    37 Now, we want the amount of E in each cell to drop off smoothly with radius away from the sink. For this we choose a decaying exponential. Let,
     37We want the amount of E in each cell to drop off smoothly with radius away from the sink. For this we choose a decaying exponential. Let,
    3838
    39 [[latex($\Delta E_i= k E e^{-r_i/scale}$)]]
     39[[latex($\Delta E_i= k E e^{-r_i/\sigma} ~~~~~~~(2)$)]]
    4040
    41 To solve for the normalization constant, we insert this into (1):
     41where [[latex($\sigma$)]] is a scaling factor. In the code this scaling factor lets the exponential fall to zero at the boundary of the kernel, and a width that gives ... how to describe this. Now, to solve for the normalization constant, we insert (2) into (1):
    4242
    43 [[latex($\sum k E e^{-r_i/scale}=E$)]]
     43[[latex($\sum k E e^{-r_i/\sigma}dV_i=E$)]]
    4444
    4545
    4646and solve for k:
    4747
    48 [[latex($k= \frac{1}{\sum e^{-r_i/scale} dV_i}$)]]
     48[[latex($k= \frac{1}{\sum e^{-r_i/\sigma} dV_i}$)]]
    4949
     50
     51While the set of equations for the kernel is arbitrary, as we will see in the next section, this normalization constant allows us to easily feed into the source function a ''specific'' accretion energy (i.e. E/V), which is necessary for the code's solvers.
    5052
    5153