Changes between Version 3 and Version 4 of AstroBearObjectTracers


Ignore:
Timestamp:
10/22/12 12:46:31 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearObjectTracers

    v3 v4  
    2323This source term takes the value of the clump density (perturb) and subtracts from it the density of the background density (q(1)), where background here means the ambient object "behind" the clump object. The f is a fading factor that is used within a smoothing region between clump and ambient object. If one is fully within the clump (and outside of the smoothing region), then f=1. The value of the density is then assigned by rho=q(1)+s(1)=perturb. If, on the other hand, one is fully outside of the clump, then f=0, and rho=q(1)+s(1)=q(1). Within the smoothing region, some value between 0 and 1 is used to fade the density between these two objects.
    2424
     25Now, assigning the tracer in this way means that the tracer is initialized with the same value of the density inside of the clump; where there is more density, there is more tracer in a 1:1 ratio. This allows one to easily calculate the amount of ambient material inside a cell by taking rho-tracer after the initial frame.
    2526
    2627