Changes between Version 1 and Version 2 of u/johannjc/scratchpad22


Ignore:
Timestamp:
01/12/17 12:38:27 (8 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/johannjc/scratchpad22

    v1 v2  
    11== Scaling ==
     2
     3
     4The equations in physical units look like
    25
    36$d\tau = n \sigma dl$
    47
    58$\frac{dn}{dt} = n \sigma F$
     9
     10And 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
     16Dividing the first equation gives $n_c \sigma_c dl_c = n \sigma dl = n_c N_s \sigma dl_c L_s$
     17
     18where $N_s$ and $L_s$ are the number density and length scales in the code.
     19
     20This gives $\sigma_c = \sigma N_s L_s$
     21
     22And 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
     26which gives $F_c=F \frac{T_s}{L_s N_s}$
     27
    628
    729
     
    2648
    2749And with a flux of 2e14, we would expect photo-ionization of the column to take 4.5e4 seconds
     50
     51
     52[[Image(ionization.gif)]]