COMMON ENVELOPE SIMULATIONS
New Work
- Did force plots for runs 149 (half m2), 151 (fourth m2), 132 (subgrid accretion).
- Found paper with analytic formula for drag force in presence of density gradient.
- Continued AGB run on stampede 2: problem with code.
- CM relative motion and energy plots for runs 149 & 151 (with Yisheng, ongoing).
- Hubble proposal.
Force
Here are the updated notes on drag force which now include the same figures for the other runs: see notes, especially Fig. 9-12.
Here are the relevant papers with the analytic formula:
- Taam & Bodenheimer 1989, which quotes the formula from Dodd & McCrea 1952
AGB Run
See en_fig_run164.pdf.
Hubble proposal
See ce.pdf.
Next steps
- Finish Hubble Theory proposal and submit by Friday.
- Analysis for drag force work.
- Plot new analytic formula that takes into account density gradient.
- New 2D slices/movie.
- Color as force/volume and contours as density (before I plotted the reverse).
- Subtract out axisymmetric contribution to force/volume at each radius (radius measured from particle 2? particle 1?).
- Put force and velocity vectors on particle 2 in VisIt.
- Do all the same graphs for runs 149, 151 and 132.
- AGB simulation.
- Fix bug that is slowing down code and eventually making it crash.
- Continue to plot a(t) and 2D slices showing bound/unbound gas.
- Runs 149, 151 figures as in Paper II with Yisheng.
- Posters for Baltimore conference.
PN paper draft
Links to a working draft of the paper:
on overleaf:
Update 3/25
AMR Line Transfer Tests
Running the same test seen here, which is IonizationFront module. Parameters are given in Mathematica notebook attached to that page, but for thoroughness:
Variable | Value |
nScale | 5d7 |
TempScale | 1d4 |
lScale | 1.5d10 |
iLineTransfer | 1, 2, or 3, as appropriate |
IonizingFlux | 2d12 |
LyAlphaFlux | ~5.1d13 |
ambientDensity | 1 |
ambientTemp | 1 |
nDim | 3 |
Dependent on test (initial test parameters listed)
lCollisionalIonization | F |
lRecombination | T |
lLymanCooling | F |
lRecombinationCooling | F |
lIonizationHeating | F |
GmX | (256, 1, 1) |
MaxLevel | 0 |
GxBounds | (0, 0, 0, 2d0, 1d-2, 1d-2) |
start_time | 0d0 |
final_time | 5d1 |
final_frame | 500 |
lSkipHydro | T |
Working my way up the test hierarchy.
* Single ray (1D), single processor. Ran for very long simulation time, to give solid point of comparison.
* Multiple rays (2D, GmX(2) = 32, GxBounds(5) = 2.5d-1), single processor (final_time = 1d1, final_frame = 100), refined from x = 0.25 to 0.75.
* Multiple rays (2D), 2 processors (neighbor patch).
* Single ray (1D), single processor, 2 levels in middle-ish (child patch, MaxLevel = 1).
Result of refinement for optical depth
* Multiple rays (2D), single processor, 2 levels (child patch).
* Multiple rays (2D), multiple processors, 2 levels (neighbor(? - may need to force somehow) and child patches).
* Multiple rays (2D), multiple processors, 2 levels (neighbor and child patches), with domain boundary refined.
* Single ray (1D), single processor, for radiation pressure.
* Single ray (1D), single processor, for radiation pressure.
* Compare runs from combination test.
Comments: y and z directions are treated identically, so it's unnecessary to test both "2D" and "3D" cases (note that nDim is always set to 3 in global.data, resolution just set to 1 and size very small in "1D" and "2D" cases). Believe the above set should test all cases in each if statement.
Some working changes have been pushed.
COMMON ENVELOPE SIMULATIONS
New Work
- More analysis on force in fiducial run 143.
- Continued AGB run on stampede 2.
- Finished postprocessing for forces for runs 149, 151 and postprocessing still underway for energy terms.
Force
Here are the new notes on drag force for run 143: notes.
Next steps
- Write Hubble Theory proposal.
- Analysis for drag force work.
- Put force and velocity vectors on particle 2 in 2D plots from previous post.
- Calculate contribution of drag force out to different distances from particle 2.
- Do all the same graphs for runs 149, 151 and 132.
- Continue to run AGB sim and plot results.
- Continue postprocessing work, also postprocessing to get forces in run 132 (sub-grid accretion run).
Update 03/18
PN paper
- Prepared list of references and graphs to show. Writing sections for simulation setup and results. Share on overleaf?
- Forwarded last blog post to Orsola, waiting for her comments.
- High momentum runs are getting slow on Bluehive: 4 frames / 5 days using 120 cores. Maybe end the simulation at different times?
- Currently we have 220 frames (4400 days) for high momentum runs, and 300 frames (6000 days) for low momentum (need another five days for the non-cooling case to get there).
- Movies and graphs from the production runs are now password protected on my PAS server, what I learnt from Yisheng's instruction, same setup as he did.
CEJet
- Made scripts to calculate jet mass loss and boundary outflow. It seems the jet is not turned on, but keep in mind that the recent test runs have only a few frames each, so actually can't make any conclusion from this calculation.
- to-do: add tracer onto the jet.
Update 3/18
AMR line transfer
Jonathan and I worked out the remaining logic last week. Short summary of what we discussed here. Also includes some thoughts on spherical line transfer.
Current to-do list is on AMR_line_transfer_2 branch in linetransfer_control.f90. Will need to clean up git when it's ready.
Other projects
- Radiation pressure
- Needs comments, punching-up of how we address Cherenkov paper
- Charge exchange
- On debugging to-do list, for weird recombination(?) in bottom right hand corner
COMMON ENVELOPE SIMULATIONS
New Work
- Referee report
- Ready to re-submit?
- CEJet module
- Reran tests on bluehive with much low ambient and larger initial separation by factor of two.
- Jet does not turn on! We don't know why.
- Could have something to do with density protections but lowering threshold doesn't solve it.
- AGB run
- Continuing to run the simulation, now up to 185 days. Material is leaving the box so analysis will have to consider fluxes through the boundary.
- See new separation vs time plot below
- Forces
- Wrote post-processing script, tested it against VisIt results (including a frame with the full-resolution data that I managed to obtain before VisIt crashed)
- Now running post-processing script (with reservation on bluehive) on data from fiducial run (143) as well as runs with ½ and ¼ the secondary mass (149 and 151, respectively)
- Before writing the script I tried using parallel visit on stampede as Gabe has done, but still there was insufficient memory, so gave up!
- Alternative energy formalism
- Will write a draft when paper is accepted
- Hubble Theory proposal
- How could it be relevant to Hubble data?
- Explaining post-CE binary separations in single and double degenerate systems?
- Explaining transient objects believed to be CE events?
- How could it be relevant to Hubble data?
- XSEDE allocation
- Need a plan for using the roughly 185,000 node-hours that remain!
- AGB simulation in a very large box leading to PN initial condition?
- Need a plan for using the roughly 185,000 node-hours that remain!
AGB run
Next steps
- Continue to run AGB CE simulation on stampede (3-4 day queue time) and plot results, including movies.
- Analysis of force in runs 143, 149 and 151 using new force data from post-processing.
- Continue to test CEJet module and get rid of the bugs! (with Amy).
- Do post-processing for energy terms for runs 143, 149 and 151, and also unbound mass
- Need to redo fiducial run 143 with new script, which shows slight differences at 1% level to that used in Paper II—this is a small concern, hopefully will help to account for the 5% apparent violation in energy conservation.
PNe Production Runs
A quick glance at the four models — density evolution
panels are not time synchronized
- Top left: Model 1, non-cooling, high-momentum
- Top right: Model 2, non-cooling, low-momentum
- Bottom left: Model 3, DM-cooling, high-momentum
- Bottom right: Model 4, DM-cooling, low-momentum (notice the scaling difference)
Numerical setup: link to Overleaf write-up
Some take-away points
- Outflow is highly supersonic, and creates layers of shock.
- Outflow is highly collimated. Most of the outflow materials are redirected into the top and bottom lobes.
- Top-bottom asymmetry is most dramatically shown in model 4, see the bottom right panel above (or click to show in full-screen).
Movies and plots from the four models:
Table of index
Model # | Description | Last frame # | Days of outflow | Movies | Frames |
1 | Non-cooling, High-momentum | 210 | 1200 | movies | frames |
2 | Non-cooling, Low-momentum | 259 | 2180 | movies | frames |
3 | DM-Cooling, High-momentum | 223 | 1460 | movies | frames |
4 | DM-Cooling, Low-momentum | 300 | 3000 | movies | frames |
Naming rule decoded:
- "ADB" = "adiabatic", no extra cooling in the code
- "DMC" = "DM-cooling", cooling curve applied to T > 30000 K
- "_High"/"_Low" = "high-momentum outflow" or "low-momentum outflow"
- For each model, I plotted the following variables:
- Mach number with contours for selected Mach number
- Mesh and outflow tracer density
- Temperature and contour at 10000 K
- Density, labeled as "rho"
- Density at the orbital disk, labeled as "zrho"
- Numerals indicate certain zoom-in options:
- the entire simulation domain
- core area, focused on the CEE ejecta
- center, slightly zoomed out from the core
- lobes in the early stage
- tall, extended lobes in later stage
Update 03/04
Current work on PN and CEJet
- PN runs: restarting non-cooling this week, cooling low-momentum finished at 6000 days.
- Analyse run time as a function of jets extend (TBD)
- Write up a first draft paper (TBD)
- (With Yisheng) build modulated code doing all the visit plots and movies. Can be use for both PN and CE simulations (in progress)
- Analyse boundary mass loss rate in the jet runs (TBD)
Discuss the CEJet paper, Shilber et al. 2019. (see attachment)
Meeting update
Updates are posted on the accretion project page, here:
https://astrobear.pas.rochester.edu/trac/wiki/u/erica/SteadyStateAccretionProblemPage
Update 3/4
Radiation Pressure
Final measurements made. Here are related plots:
During bubble-out portion
During blowback portion
Charge Exchange
Compiles, runs, and does something. Need to test it — possibly determine steady-state mixing ratio for some density? Also still seeing that excess neutral square behind the ablated planet material. It almost looks like the recombination shadow we see in the other simulations, but since we don't have any ionizing radiation I don't see what would maintain the completely ionized state outside that region (perhaps it's not actually complete?). Could also be from some mixing, or more time spent there by the stellar wind… thoughts?
Uses HD209458b parameters, as given in this post.
Initial state
Final state
AMR line transfer
Made good progress last Wednesday. Latest commit just has a short to-do list, mostly cleanup. Primary functional code left is implementing an MPI derived type for sends and receives of rays, and a custom scatter and gather (because of differing array sizes).
COMMON ENVELOPE SIMULATIONS
New Work
- CE Jet (with Amy)
- Continued AGB run on stampede 2
CE Jet Movies
Movies are in the frame of reference of secondary, with secondary at the center.
Here are the old notes on CE Jets.
Here is the Xsede proposal.
Below we compare two test runs, identical except that the jet is turned on in Run 014, whereas the jet is turned off in Run 015.
The jet model is adapted from Federrath et al. 2014.
For both Run 014 and Run 015, parameters are as in the fiducial run 143 (Model A of Paper 1) except:
Base resolution = 643;
Max AMR level = 4;
Region of maxlevel refinement = sphere of radius 57 Rsun around particle 1 (primary radius is 48 Rsun);
Size of smallest resolution element = 1.1 Rsun.
For Run 014, the jet parameters are:
Jet mass loss rate = 0.02 Msun/yr;
Jet velocity along jet axis = 103 km/s;
Jet temperature = 3000 K;
Jet collimation half opening angle = pi/12;
Jet radius = 64 grid cells.
Other jet runs are similar to Run 014 except with certain differences, mentioned below.
Comparison of Run 015 with Run 014
Density, face-on (left = no jet, right = jet)
Density, edge-on through particles (left = no jet, right = jet)
Density, edge-on view from particle 1 (left = no jet, right = jet)
Comparison of Run 015 with Run 016 (like Run 014 but 100 times the jet mass loss rate)
Density, face-on (left = no jet, right = superstrong jet)
Density, edge-on through particles (left = no jet, right = superstrong jet)
Density, edge-on view from particle 1 (left = no jet, right = superstrong jet)
Comparison of Run 015 with Run 017 (like Run 016 but with ½ the jet radius)
Density, face-on (left = no jet, right = superstrong jet with small radius)
Density, edge-on through particles (left = no jet, right = superstong jet with small radius)
Density, edge-on view from particle 1 (left = no jet, right = superstong jet with small radius)
Comparison of Run 014 with Run 016
Density, face-on (left = jet, right = superstrong jet)
Density, edge-on through particles (left = jet, right = superstrong jet)
Density, edge-on view from particle 1 (left = jet, right = superstrong jet)
Comparison of Run 016 with Run 017
Density, face-on (left = superstrong jet, right = superstrong jet with small radius)
Density, edge-on through particles (left = superstrong jet, right = supersrong jet with small radius)
Density, edge-on view from particle 1 (left = superstrong jet, right = superstrong jet with small radius)
Comparison of Run 014 with Run 018 (like Run 014 but with 1/100 of jet radial velocity
Density, face-on (left = superstrong jet, right = superstrong jet with low velocity)
Density, edge-on through particles (left = superstrong jet, right = supersrong jet with low velocity)
Density, edge-on view from particle 1 (left = superstrong jet, right = superstrong jet with low velocity)
Comparison of Run 018 with Run 019 (like Run 018 but with ½ the jet radius, like Run 017 but with 1/100 of jet radial velocity)
Density, face-on (left = superstrong jet with low velocity, right = superstrong jet with small radius and low velocity)
Density, edge-on through particles (left = superstrong jet with low velocity, right = superstrong jet with small radius and low velocity)
Density, edge-on view from particle 1 (left = superstrong jet with low velocity, right = superstrong jet with small radius and low velocity)
Comparison of Run 017 with Run 019
Density, face-on (left = superstrong jet with small radius, right = superstrong jet with small radius and low velocity)
Density, edge-on through particles (left = superstrong jet with small radius, right = superstrong jet with small radius and low velocity)
Density, edge-on view from particle 1 (left = superstrong jet with small radius, right = superstrong jet with small radius and low velocity)
Comparison of Run 015 with Run 019
Density, face-on (left = no jet, right = superstrong jet with small radius and low velocity)
Density, edge-on through particles (left = no jet, right = superstrong jet with small radius and low velocity)
Density, edge-on view from particle 1 (left = no jet, right = superstrong jet with small radius and low velocity)
Notes on CEJet runs
- Notes on the results
- The late emergence of the jets with lower radius is hard to comprehend. It seems like one quadrant emerges first and then spreads to cover all 4 quadrants.
- It appears that the mass loss rate needs to be quite large or the radial velocity quite small to get an obvious effect on the morphology, but that's also because the radius is too large. We need to understand the dependence on jet radius and whether the effects we're seeing are physical or numerical.
- Notes on the simulations
- Number of resolution elements per softening radius is only 2.2, leading to numerical instability of primary core region.
- Particle orbits are not reliable as their separation increases even in the no jet case, due to insufficient resolution.
- Partly for these reasons, stopped movie around t=7 days.
- The simulations take a few hours to run up to this time with 115 cores on bluehive. Increasing the max AMR level by 1 or 2 should be possible.
- Also, we should start to move away from uniform resolution inside a sphere and toward full AMR.
- It would be good to introduce a tracer into astrobear for the jet material
- The ambient density and pressure could be lowered considerably. (I realized that the whole reason for the high ambient, namely to stabilize the outer layers, is not really relevant because that numerical instability that we saw when the scale height at the surface was not highly resolved was likely mostly due to grid effects when the star was fixed on the grid (e.g. during the damping run). Now we no longer do damping runs anyway. Amy and I have seen that the surface of the primary appears stable, even when the initial separation is increased and for much lower resolution than the fidicial run 143. The lesson seems to be that these pesky grid effects mostly go away when the star moves over the grid since errors accumulate randomly rather than uni-directionally. Bottom line is we should be able to get away with much lower ambient pressure and density, alleviating various headaches…)
- Currently, it is not possible to do restarts from the fiducial run since they used a different version of astrobear and the chombos are not quite compatible (the jet feedback module contains new outputs to the chombo that were not present in the previous version of astrobear used to run the fiducial CE run 143).
- The above item is not really a problem. Anyway, we should do a new fiducial run without jets, with low ambient, more efficient refinement strategy and bigger box.
- We should also try starting the secondary from farther out, as this case is likely to be interesting.
- Notes on the analysis
- It would be good to plot planes parallel to the orbital plane (say 10 Rsun above it) to see the jet cross-section.
- Velocity vectors would be useful.
- Plots of normalized energy density (blue/red for bound/unbound) would be helpful.
- Put circular contour with radius=jet_radius around point particle 2 for reference.
Next steps
- Test CEJet module, e.g. is it adding mass to the grid at the correct rate (Amy).
- Continue to experiment with CEJet module on bluehive.
- Continue to run AGB CE simulation on stampede and plot results.
- Begin writing post-processing to obtain forces from full resolution data sets of Run 143 (fiducial), 149 (half secondary mass of fiducial) and 151 (fourth secondary mass of fiducial), as serial VisIt cannot handle the data sets (parallel VisIt is another option but we weren't successful when we tried to get it to work—anyway postprocessing means that in later simulations these quantities could be calculated on the fly, which would be useful).