Changes between Version 13 and Version 14 of AstroBearObjectTracers
- Timestamp:
- 10/22/12 12:51:52 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AstroBearObjectTracers
v13 v14 23 23 This 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. 24 24 25 Now, 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.25 Now, 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. 26 26 27 27