Changes between Version 19 and Version 20 of 1DPulsedJets


Ignore:
Timestamp:
02/16/12 15:23:26 (13 years ago)
Author:
ehansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • 1DPulsedJets

    v19 v20  
    7171
    7272== 1D Jet Simulations ==
    73 The set up for these simulations is very simple.  The grid is initialized with an [wiki:AmbientObjects ambient object] and a [wiki:WindObjects wind object].  Here are the initial parameters:
     73The set up for these simulations is very simple.  The grid is initialized with an [wiki:AmbientObjects ambient object] and a [wiki:WindObjects wind object].  The goal is to study the effect of magnetic fields on the emission behind shocks in a pulsed jet.
     74[[BR]]
     75=== Resolution Study ===
     76Simulations involving cooling tend to require a lot of resolution.  For this reason, I have been running a simplified version of the 1D Jet simulation to see how resolution affects the dynamics. Here are the initial parameters:
    7477{{{
    7578Ambient:
    7679density = 1000 particles/cc
    77 velocity = 50 km/s
     80velocity = 0 km/s
    7881temperature = 1000 K
    79 By = 30 uG
     82By = 0 uG
    8083
    8184Wind:
    82 density = 1000 particles/cc
     85density = 10000 particles/cc
    8386velocity = 50 km/s (but with a sinusoidal perturbation)
    8487temperature = 1000 K
    85 By = 30 uG
     88By = 0 uG
    8689
    8790Global Data:
    88 Domain length = 0.4 pc
     91Domain length = 30 AU
    8992Final time = 0.01 (computational units)
    90 Resolution: 200 cells in x, 2 cells in y, 2 levels of AMR ===> effectively 800 cells in x
    9193}}}
    92 The ambient is acting as the unperturbed jet, and the velocity perturbations come from the left edge of the domain.  The perturbations range from 0 to 100 km/s, and the period can be adjusted.  The first simulations went through 10 periods, while the second set of simulations only went through 5 periods.  Having a longer period leads to fewer but larger shocks and rarefactions.  This perhaps makes it easier to watch how the perturbations evolve.
     94Note that these runs feature a stationary ambient, and they do not include MHD or jet perturbations.
     95In order to make some predictions based on these initial parameters, we need some equations...
     96[[BR]]
     97==== Important Equations ====
     98A strong shock implies that the mach number M >> 1.  We will also be assuming an ideal gas, so [[latex($\gamma = \frac{5}{3}$)]].  The following equations can be derived from the usual shock jump conditions:
    9399
    94 [[CollapsibleStart(Velocity Lineouts (images))]]
    95 [[Image(nocool_vel0050.png,width=500)]]
    96 [[Image(dm_vel0050.png,width=500)]]
    97 [[Image(neq_vel0050.png,width=500)]]
    98 [[Image(z_vel0050.png,width=500)]]
    99 [[CollapsibleEnd]]
     100[[latex($T_{ps} = \frac{3m_{H}v_{s}^{2}}{16k} \hspace{1 in} (1)$)]]
    100101
    101 [[CollapsibleStart(Velocity Lineouts (movies))]]
    102 [[Image(nocool_vel.gif,width=500)]]
    103 [[Image(dm_vel.gif,width=500)]]
    104 [[Image(neq_vel.gif,width=500)]]
    105 [[Image(z_vel.gif,width=500)]]
    106 [[CollapsibleEnd]]
     102[[latex($v_{s} = \frac{4}{3}v_{ps} \hspace{1in} (2)$)]]
    107103
    108 [[CollapsibleStart(Velocity Lineouts (longer period))]]
    109 [[Image(nocool_vel_lesspert.gif,width=500)]]
    110 [[CollapsibleEnd]]
     104[[latex($n_{ps} = 4n_{a} \hspace{1in} (3)$)]]
     105
     106Where s stands for shock, ps for post-shock, and a for ambient.  T is temperature, v is velocity, n is number density, mH is the mass of a hydrogen atom, and k is Boltzmann's constant.
     107[[BR]]
     108
     109In order to figure out these post-shock values, we need to somehow relate them to the jet.  This is where these equations come in:
     110
     111[[latex($v_{ps} = v_{j}(1 + \eta^{-\frac{1}{2}})^{-1} \hspace{1in} (4)$)]]
     112
     113[[latex($\eta = \frac{n_{j}}{n_{a}} \hspace{1in} (5)$)]]
     114
     115Where j stands for jet, and [[latex($\eta$)]] is basically the density contrast of the jet material to the ambient material.  Now we can combine these equations and constants to come up with an equation for the post-shock temperature in terms of jet parameters:
     116
     117[[latex($T_{ps} \approx (40.41 \mathrm{\frac{K s^{2}}{km^{2}}}) v_{j}^{2} (1+\eta^{-\frac{1}{2}})^{-2} \hspace{1in} (6)$)]]
     118
     119Where vj is more conveniently in units of km/s.  Now we need equations for the characteristic cooling time and cooling length:
     120
     121[[latex($t_{cool} = \frac{3kT_{ps}}{n_{ps}\Lambda} \hspace{1in} (7)$)]]
     122
     123[[latex($l_{cool} = v_{ps} t_{cool} \hspace{1in} (8)$)]]
     124
     125Where [[latex($\Lambda$)]] is the cooling rate in units of cm^3^erg/s.  Using equations (3) and (4), these cooling equations can be rewritten in terms of our known initial parameters, and the post-shock temperature which we will want to have calculated already:
     126
     127[[latex($t_{cool} = \frac{3kT_{ps}}{4n_{a}\Lambda} \hspace{1in} (9)$)]]
     128
     129[[latex($l_{cool} = v_{j}(1 + \eta^{-\frac{1}{2}})^{-1} \frac{3kT_{ps}}{4n_{a}\Lambda} \hspace{1in} (10)$)]]
     130[[BR]]
     131==== Some Predictions ====
     132Based on all these equations, we can make some predictions about the post-shock temperature and what resolution we might want.  Using the aforementioned initial parameters, you get the following predictions:
     133||= Tps (10^3^ K) =||= tcool (10^7^ s) =||= lcool (AU) =||
     134||= 58.3123 =||= 1.26155 =||= 3.20345 =||
     135
     136So for example, if we have a domain that is 30 AU and we want 10 cells per cooling length, then we would need a resolution of about 94 cells.  That doesn't seem too bad, so I will round up to 100 and start from there.