Changes between Version 24 and Version 25 of u/erica/SteadyStateAccretionProblemPage


Ignore:
Timestamp:
02/26/19 17:23:50 (6 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/SteadyStateAccretionProblemPage

    v24 v25  
    1111Initial conditions are here: [[attachment:InitialConditions.pdf]]
    1212
    13 === 128^3^, fixed grid ===
     13=== Fixed grid ===
    1414
    15 At this resolution (dx=.03125), the critical radius (rcrit=.0158) is contained within the kernel (r_acc=.125), but below the grid scale (r_min=.027).  (Note r_min is the radius of the nearest cell to the sink particle).  So, the soln doesn't turn over the way it does in the above plots, at this resolution. Instead, the density and radial velocity are monotonic.
     15Fiducial run is at 128^3^. At this resolution (dx=.03125), the critical radius (rcrit=.0158) is contained within the kernel (r_acc=.125), but below the grid scale (r_min=.027).  (Note, r_min is the radial distance between the nearest cell and the sink particle).  So, the soln doesn't turn over the way it does in the above plots, at this resolution. Instead, the density and radial velocity are monotonic.
    1616
    1717A density comparison of the new algorithm (left) vs. the Krumholz algorithm (right):
     
    3535[[Image(vr_SubcritSubsonic.gif​, 25%)]]
    3636
    37 ==== Testing AMR compatibility ====
     37=== Testing AMR compatibility ===
    3838
    39 Image comparing 128^3^ fixed grid (left) vs. 64^3^ + 1 level (right) 20 frames into simulation:
     39Image comparing 128^3^ fixed grid (left) vs. 64^3^ + 1 level (right) 20 frames into simulation (or about 40% the crossing time of a sound wave traveling from the outer fixed boundary to the accretion kernel, i.e. $c_s=1$ in computatinonal units):
    4040
    4141[[Image(AMRcomparisonSubSub.png, 35%)]]
    4242
    43 There are slight differences between the runs (peak density/velocity, e.g.)...
     43There are only slight differences between the runs (peak density/velocity, e.g.), so this looks pretty good...
    4444
    45 ==== Running at higher resolution ====
     45=== Running w/ AMR ===
    4646
    47 At 128^3^ + 1 level, dx_min=0.015625, which means the critical radius (r_crit=.0158) is slightly above the grid scale (r_min=.0135) and contained within the kernel (r_acc=.0625) . (Note r_min is the radius of the nearest cell to the sink particle).
     47To boost runtime speeds, am now switching to testing in AMR...
    4848
    49 Here's a lineout of the initial density, radial velocity, and mach number of this flow:
     49==== 128 + 1 ====
     50At 128^3^ + 1 level, dx_min=0.015625, which means the critical radius (r_crit=.0158) is slightly above the grid scale (r_min=.0135) and contained within the kernel (r_acc=.0625) . (Recall, r_min is the distance of the nearest cell to the sink particle).  In the following, can see comparisons to the Krumholz module at the same resolution..
     51
     52* **Note,** running the code with the Krumholz algorithm produces ''7 frames/minute'' on 24 cores (Bluehive) compared to the new code, which produces ''5 frames/min'' (both using the optimized version of the code, and identical initial conditions). So the new code is slightly slower...
     53
     54Here's the density--
    5055
    5156[[Image(rho_128plus1_subsubsonic0000.1.png, 25%)]]
     
    5358[attachment:rho_128plus1_subsubsonic1.gif  movie]
    5459
     60mach--
     61
    5562[[Image(u_128plus1_subsubsonic0000.1.png, 25%)]]
    5663
    5764[attachment:u_128plus1_subsubsonic.gif movie]
    5865
     66and radial velocity--
    5967
    6068[[Image(vr_128plus1_subsubsonic0000.1.png, 25%)]]