Changes between Version 1 and Version 2 of u/johannjc/scratchpad22
- Timestamp:
- 01/12/17 12:38:27 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/johannjc/scratchpad22
v1 v2 1 1 == Scaling == 2 3 4 The equations in physical units look like 2 5 3 6 $d\tau = n \sigma dl$ 4 7 5 8 $\frac{dn}{dt} = n \sigma F$ 9 10 And in computational units 11 12 $d\tau = n_c \sigma_c dl_c$ 13 14 $\frac{dn_c}{dt_c} = n_c \sigma_c F_c$ 15 16 Dividing the first equation gives $n_c \sigma_c dl_c = n \sigma dl = n_c N_s \sigma dl_c L_s$ 17 18 where $N_s$ and $L_s$ are the number density and length scales in the code. 19 20 This gives $\sigma_c = \sigma N_s L_s$ 21 22 And dividing the second equation by the first, gives 23 24 $N_s/T_s = N_s \frac{1}{N_s L_s} \frac{F}{F_c}$ 25 26 which gives $F_c=F \frac{T_s}{L_s N_s}$ 27 6 28 7 29 … … 26 48 27 49 And with a flux of 2e14, we would expect photo-ionization of the column to take 4.5e4 seconds 50 51 52 [[Image(ionization.gif)]]