Changes between Version 1 and Version 2 of u/johannjc/injection
- Timestamp:
- 12/15/17 15:10:08 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/johannjc/injection
v1 v2 6 6 5. The angular momentum injected should equal $\vec{J}$ 7 7 8 First, let's consider a simpler example. Let's assume we want to inject a certain amount of mass $M_0$ around a point $\vec{X}$ (in 2D) with a kernel given by $\delta \rho = M K(x)$ where $K(x) = \frac{\exp(-r^2)}{\pi(1-1/e)}$ for $r < 1$. 8 First, let's consider a simpler example. Let's assume we want to inject a certain amount of mass $M_0$ around a point $\vec{X}$ (in 2D) with a kernel given by 9 10 $\delta \rho = M K(x)$ 11 12 where our normalized kernel 13 14 $K(x) = \frac{\exp(-r^2)}{\pi(1-1/e)}$ for $r < 1$. 9 15 10 16 Here $r$ is the distance from a sink particle. 11 17 12 For 18 For a grid with 10 points in x and y over the interval x=[-1,1] y=[-1,1] - and for a sink particle at [.05,.05] the result is 19 20 [[Image(Screen Shot 2017-12-15 at 3.06.47 PM.png)]] 21 22 23 24 [[Image(Screen Shot 2017-12-15 at 3.07.00 PM.png)]] 25 26 [[Image(Screen Shot 2017-12-15 at 3.07.04 PM.png)]]