| 2 | |
| 3 | These simulations follow Ch. 4 of Delamarter '01 and his treatment of the 1D steady radiative shock problem. The purpose of this problem is to check that the cooling source terms are being handled correctly. Here are some useful links: |
| 4 | |
| 5 | [http://www.pas.rochester.edu/~bearclaw/delamarterplots.html AstroBEAR 1.0 test page] |
| 6 | |
| 7 | [http://www.pas.rochester.edu/~bearclaw/paper_library/Delamarter01.pdf Delamarter '01 pdf] |
| 8 | |
| 9 | == Equations == |
| 10 | The shock jump equations for a stationary shock are used to solve for the initial post-shock values. The post-shock velocity v,,2,, can be written as: |
| 11 | |
| 12 | [[latex($v_2 = v_1 \frac{(\gamma - 1)M^2 + 2}{(\gamma + 1)M^2} $)]] |
| 13 | |
| 14 | where v,,1,, is the ambient velocity, and M is the ambient mach number. Remember that the mach number M = v,,1,,/c where c is the ambient sound speed, and [[latex($c = \sqrt{\frac{\gamma P_{1}}{\rho_{1}}}$)]] where P,,1,, is ambient pressure, and [[latex($\rho_{1}$)]] is ambient density. The post-shock density and pressure ([[latex($\rho_{2}$)]] and P,,2,, respectively) can be found by using mass flux and momentum flux conservation across the shock: |
| 15 | |
| 16 | [[latex($\rho_1 v_1 = \rho_2 v_2$)]] |
| 17 | |
| 18 | [[latex($\rho_1 v_1 ^2 + P_1 = \rho_2 v_2 ^2 + P_2$)]] |
| 19 | |
| 20 | These post-shock values become the boundary conditions for the fluid equations in the cooling region: |
| 21 | |
| 22 | [[latex($\rho v = \rho_2 v_2$)]] |
| 23 | |
| 24 | [[latex($\rho v ^2 + P = \rho_2 v_2 ^2 + P_2$)]] |
| 25 | |
| 26 | [[latex($\frac{d}{dx}(\frac{1}{2}\rho v ^3 + \frac{\gamma}{\gamma - 1} P v) = -\Lambda$)]] |
| 27 | |
| 28 | where [[latex($\rho$)]], v, and P represent the density, velocity, and pressure in the cooling region as functions of x, and [[latex($\Lambda$)]] is the cooling rate. |
| 29 | |
| 30 | [[BR]] |
| 31 | == Initial Parameters == |
| 32 | n,,1,, = 60 particles/cc |
| 33 | |
| 34 | v,,1,, = 10^7^ cm/s |
| 35 | |
| 36 | T,,1,, = 10^4^ K |
| 37 | |
| 38 | For analytic cooling, |
| 39 | |
| 40 | [[latex($\Lambda = n^{2} \alpha T^{\beta}$)]] |
| 41 | |
| 42 | where n and T and the number density and temperature in the post-shock region respectively. |
| 43 | |
| 44 | For these simulations, |
| 45 | |
| 46 | [[latex($\beta$)]] = 2 |
| 47 | |
| 48 | [[latex($\alpha$)]] = 1.23786 * 10^-34^ erg*cm^3^/s/K^2^ |
| 49 | |
| 50 | cell length = 2.5 x 10^15^ cm |
| 51 | |
| 52 | problem domain = 400 cells |
| 53 | |
| 54 | final time ~ 4000 years |
| 55 | |
| 56 | [[BR]] |
| 57 | |
| 58 | == Results == |
| 59 | A run with no cooling was done to make sure the post-shock values were correct. With no cooling (adiabatic), the hydrodynamic quantities should jump discontinuously at the shock, and then remain constant while the shock itself remains stationary. Only the first 100 cells of the simulation are shown here. |
| 60 | |
| 61 | || Adiabatic || |
| 62 | || [[Image(ad_press0000.png, width=400)]] || [[Image(ad_temp0000.png, width=400)]] || |
| 63 | ||= [attachment:ad_press.gif Pressure Movie] =||= [attachment:ad_temp.gif Temperature Movie] |
| 64 | || [[Image(ad_rho0000.png, width=400)]] || [[Image(ad_vel0000.png, width=400)]] || |
| 65 | ||= [attachment:ad_rho.gif Density Movie] =||= [attachment:ad_vel.gif Velocity Movie] =|| |
| 66 | |
| 67 | Then, a run with the aforementioned analytic cooling parameters was done. The hydrodynamic quantities will change discontinuously at the shock as before, but then change continuously according to the cooling rate. The ambient temperature is set to be the floor temperature, so that no cooling occurs at or below this temperature. Once the post-shock temperature reaches this floor temperature, the hydrodynamic quantities will remain constant. This is called the quiescent region. Only the first 100 cells of the simulation are shown here. |
| 68 | |
| 69 | || Analytic Cooling || |
| 70 | || [[Image(an_press0000.png, width=400)]] || [[Image(an_temp0000.png, width=400)]] || |
| 71 | ||= [attachment:an_press.gif Pressure Movie] =||= [attachment:an_temp.gif Temperature Movie] |
| 72 | || [[Image(an_rho0000.png, width=400)]] || [[Image(an_vel0000.png, width=400)]] || |
| 73 | ||= [attachment:an_rho.gif Density Movie] =||= [attachment:an_vel.gif Velocity Movie] =|| |
| 74 | |
| 75 | For Dalgarno-McCray (DM) cooling, some of the initial parameters had to be changed. The initial velocity used in the previous simulations would give rise to a post-shock temperature in the unstable region of the DM curve. This led to the radiative instability, and thus unsteady shocks. To avoid this, the initial velocity was lowered to 80 km/s. Also, the cooling rate from the DM curve is much higher than that of the analytic form. In order to see the cooling region, the grid had to be shrunk, resulting in a cell length of 10^13^ cm. |
| 76 | |
| 77 | || DM Cooling || |
| 78 | || [[Image(DM_temp0010.png, width=400)]] || |
| 79 | ||= [attachment:DM_temp.gif Temperature Movie] =|| |
| 80 | |
| 81 | For Non-equilibrium (NEQ) cooling, the length scale had to be adjusted. The shock velocity is the same as the DM case, but the cell length is now 7.75e11 cm. |
| 82 | |
| 83 | || NEQ Cooling || |
| 84 | || [[Image(NEQ_temp0010.png, width=400)]] || |
| 85 | ||= [attachment:NEQ_temp.gif Temperature Movie] =|| |
| 86 | |
| 87 | Z Cooling has the same initial parameters and scaling as the NEQ case. |
| 88 | |
| 89 | || Z Cooling || |
| 90 | || [[Image(Z_temp0010.png, width=400)]] || |
| 91 | ||= [attachment:Z_temp.gif Temperature Movie] =|| |
| 92 | |
| 93 | Here is a fun plot that shows the temperature profiles for DM, NEQ, and Z cooling. This gives you a good idea of the temperature ranges that each type of cooling works in. Also, you can see the differences in the cooling length which is why I would normally change the length scale depending on the type of cooling. |
| 94 | |
| 95 | [[Image(allcool_temp.png,width=400)]] |
| 96 | |
| 97 | |
| 98 | [[BR]] |
| 99 | == Including MHD == |
| 100 | Making these simulations work with MHD was no simple task. Having a magnetic field adds another jump condition, and it makes the equations within the cooling region more complicated. Here are what the equations look like now: |