Changes between Version 50 and Version 51 of u/erica/CoreCollapseBlog


Ignore:
Timestamp:
04/17/18 15:31:07 (7 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/CoreCollapseBlog

    v50 v51  
    1 == 4/15/18 ==
     1= 4/15/18 =
    22
    33Fixed the AMR criteria so that just the inner regions of the sphere are refined and moved to modeling the collapse in 3D, simulating an octant of the domain (running the full cube or an octant didn't make a noticeable difference in the behavior of the boundaries).
    44
    5 Running the code for 2 freefall times using the initial peak density of the sphere (~50 milliseconds):
     5Running the code for 2 freefall times using the initial peak density of the sphere (~50 milliseconds), where the freefall time is given by:
    66
    77$t_{ff}\approx .5 \frac{1}{\sqrt{G \rho}}$
     8
     9=== Domain and IC's ===
    810
    911|| $T_{sim}$ || $.6 (CU) \approx 2 ~tff$ ||
    1012|| Hydro BC's ||Outflow only (stepping on outer density and temp) on outward facing sides, reflecting on inside faces||
    1113|| Poisson BC's || Multipole on outward facing sides, reflecting on inner ||
    12 || Self-gravity || On ||
    1314|| Lx = Ly = Lz (CU) || [0, 2] ||
    1415|| Clump radius (CU) || R_clump = 1  (CU) ||
     
    1819|| Eff. resolution (CU) || dx = .001953125 (CU) ||
    1920|| Eff. resolution (cm) || dx = 1.43e+7 (cm) ||
     21|| Mtot (total mass in box) || Mbox = 5 solar masses ||
     22|| Msphere || Msphere = 3 solar masses ||
    2023
    21 Things to still work-on:
     24=== Physics ===
     25
     26|| EOS || Ideal gas ||
     27|| $\gamma$ || 5/3 ||
     28|| Cooling || Not turned on -- need to add neutrino source term cooling ||
     29|| Self-gravity || On ||
     30
     31=== Things to still work-on ===
    2232
    2333-Sink particle initialization to match progenitor mass?[[br]]
     
    2737-Add magnetic fields
    2838
    29 ==== Post-interpolation onto Mesh: Checking HSE ====
     39=== Results ===
    3040
    31 As shown below, the profiles generated by AstroBEAR's HSE module closely match the input progenitor profiles, which are in HSE. Interpolation onto the grid for the hydro simulation can be closer or further from these initial profiles depending on resolution as the following line plot shows:
     41==== Checking HSE after interpolation of profile onto mesh: ====
     42
     43As shown below (post from 3/15), the profiles generated by AstroBEAR's HSE module closely match the input progenitor profiles, which are in HSE. How well the simulation data matches the input progenitor profile following Interpolation onto the mesh then depends on the resolution. The following line plot shows that increasing the resolution by a factor of 8 (blue curve) improves the accuracy of the HSE solver -- the sphere reaches HSE over much smaller region in the higher resolution case rather than the lower resolution run. It seems HSE is achieved by about 30 grid cells on the finest mesh -- thus, want to minimize the physical distance these cells take up within the sphere.
    3244
    3345[[Image()]]
    3446
    35 At a resolution of ~, the sphere is very close to HSE within .1 of its radius.
     47At an effective resolution of ~$dx = .0019$, the sphere is very close to HSE within .1 of its radius.
    3648
    37 == 3/15/ 18 ==
     49= 3/15/ 18 =
    3850
    3951Running the same setup but at 8x higher resolution gives profiles that more closely match the input progenitor density:
     
    5971I also might need to adjust $\gamma$ in these simulations to more closely match the progenitor peak temperature of T=7e+9. $\gamma = 1.667$ in this simulation setup.
    6072
    61 == 3/15/18 ==
     73= 3/15/18 =
    6274
    6375Have a working 2D solution on the grid —
     
    92104The run files used to produce this simulation are attached as "*.*_mar15"
    93105
    94 == 3/5/18 ==
     106= 3/5/18 =
    95107
    96108The HSE module takes as input:
     
    103115[[Image(Screen Shot 2018-03-01 at 9.50.04 AM.png,50%)]]
    104116
    105 == 2/28/18 ==
     117= 2/28/18 =
    106118
    107119To get the progenitor profiles from excel into a fortran readable format for astrobear, open the desired sheet and go to save as. Select “MS-DOS formatted text (.txt)”.
     
    109121The input file for the code needs to have the number of entries as a header, the next line specifies column values and units, and the following nentries lines have the values of the progenitor separated by spaces. (See example attached to this page).
    110122
    111 == 2/26/18 ==
     123= 2/26/18 =
    112124
    113125The Lane Emden equation non-dimensionalizes the HSE equation in an attempt to find analytic solutions. However, analytic solutions only exist for certain values of the polytropic index. Thus, if we are looking for numerical solutions, we can instead just start with the equation of HSE in spherical coordinates and discretize it:
     
    124136
    125137
    126 == 2/7/18 ==
     138= 2/7/18 =
    127139
    128140Fryer sent progenitor data. The density, pressure, temperature, and velocity profiles of this progenitor look like:
     
    153165
    154166
    155 == 2/5/18 ==
     167= 2/5/18 =
    156168
    157169We would like to model the progenitor of a core collapse supernova in astrobear. The project will be a parameter study to explore the role of magnetic fields and turbulent perturbations on the collapsing core.