Posts for the month of February 2017

Meeting Update --2/22/17

  • Users
    1. Proposal for Jason's student?
    2. Laurence Sabin
  • WT
    1. New figures added in the paper
Mach number Vs bhttp://www.pas.rochester.edu/~bliu/wireTurbulence/Tracers/Mach.png
Wind/Grid tracer ratio PDF with tracers http://www.pas.rochester.edu/~bliu/wireTurbulence/Tracers/WGratio.png
  1. Tracers and Gaussian 2 Fit for density PDF Redid the Gaussian 2 fit of density PDF with tracers. Tried Gaussian 2 fit with simple test data to understand the GS2 fit parameters, mainly the relations of the sigmas of GS2 and the sigmas of individual component. While

there's no obvious relations between the sigmas, the sample data & fit shows clearly two peaks which matches the individual component peaks. This can't be found in the WT data with tracers. So interpret the Gaussian 2 fit for the WT density PDF as Grid & Wind material probably won't be proper.

redid tracers figure http://www.pas.rochester.edu/~bliu/wireTurbulence/Tracers/GridWind_redo_g2.png
original figure without tracers http://www.pas.rochester.edu/~bliu/wireTurbulence/Figures3/both_g1_4p.png
Test Gaussian 2 fit with simple data http://www.pas.rochester.edu/~bliu/wireTurbulence/Tracers/FootSize_g2Test.png

Update 2/22

  • Also have some analysis of WASP wind asymptoting. Took ram and thermal pressures of wind and set equal to disk pressure at required density at various radii - see Mathematica notebook. For hydrogen extinction, need for HI at , . This temperature is right on the border of H- and ff/bf opacity, so hard to say with certainty, but given the relatively low density it should be fine. (link)
  • Paper is in decent shape. Still needs some editing and a sentence here or there (figures and a few references, as well), but meat is done.

Mapping a modified RGB profile to the grid: modifying the surface and ambient pressure

One of the next steps identified in the last post was to try increasing the ambient pressure to help to prevent the near-surface layers of the star from expanding outward. There are two problems with the (modified) MESA profile near the surface :
1) Due to a sudden drop in pressure as , the pressure scale height drops drastically, quickly becoming unresolvable.
2) The pressure profile is not smooth at ; i.e. is discontinuous across the surface. This could potentially lead to numerical problems.

We comment on (2) at the end of this post; here we focus on (1). Problem (1) can possibly be addressed by increasing the ambient pressure. This would have the affect of moving the effective surface of the star () inward. It is important to be aware how the minimum pressure scale height would be affected. Here I have plotted the pressure vs radius (top) and pressure scale height vs radius (bottom) for both modified and unmodified profiles. Three horizontal lines in the bottom plot show the chosen scale height cutoff, while the horizontal lines in the top plot show the corresponding pressure cutoffs. For example, if we want the minimum scale height to be , then we should set the ambient pressure to dyne/cm. This would cause the pressure to equal the ambient pressure at rather than at .

Given that plot, it seems reasonable to try imposing ambient pressures of , and dyne/cm. (Recall that our resolution for is about .) This was implemented by simply setting the pressure equal to the maximum value of the profile and the specified ambient pressure at each radius. The movies are shown here, with initial and final frames compared below each movie. All units are CGS:
A) set implicitly by AstroBear to a low value: 3d density 1d density 3d pressure 1d pressure 1d
3d density start and end comparison 1d density start and end comparison 3d pressure start and end comparison 1d pressure start and end comparison

B) dyne/cm: 3d density 1d density 3d pressure 1d pressure 1d
3d density start and end comparison 1d density start and end comparison 3d pressure start and end comparison 1d pressure start and end comparison

C) dyne/cm: 3d density 1d density 3d pressure 1d pressure 1d
3d density start and end comparison 1d density start and end comparison 3d pressure start and end comparison 1d pressure start and end comparison

D) dyne/cm: 3d density 1d density 3d pressure 1d pressure 1d
3d density start and end comparison 1d density start and end comparison 3d pressure start and end comparison 1d pressure start and end comparison

Discussion
Density: Comparing run (B) with the fiducial run (A), we see that the density profile ends up deviating more from that at than in run (A). The situation seems to improve as we increase in run ©. Low amplitude density waves are seen outside the star, but the density profile remains reasonably constant. In run (D), density waves outside the star are of lower amplitude than in ©, but the final density profile has been squeezed slightly in comparison with the initial profile (the star appears slightly smaller). The 1D density comparison shows the presence of an unphysical kink in the profile. Here the density wave is propagating inward, and the profile has not yet stabilized. In fact, none of the density profiles have stabilized by the end of the simulation.

Pressure: Increasing can be seen to reduce the expansion of the star's outer layers. On the other hand, the profile in the inner part of the star gets perturbed as pressure disturbances propagate inward.

We see then that imposing an ambient pressure helps to prevent the outer layers from expanding, but also causes larger inward-propagating perturbations.

The sudden transitions in and at the stellar surface (Problem (2) above) should also be addressed. Probably some combination of increasing and smoothing the profile to satisfy mass continuity and hydrostatic equilibrium at all radii (even outside the current stellar surface) is needed. The next step is therefore to think about how to smooth the profile near the surface in a reasonable way.

Update 1
It occurred to me that another possible way to get around the problem of the scale height dropping to low values near the surface is to simply truncate the stellar profile at some value. I did this by truncating the profile where the pressure drops below dyne/cm. This happens at about (so the star loses 8 of its radial extent). The movies are shown here, with initial and final frames compared below each movie. All units are CGS:
E) set implicitly by AstroBear to a low value and cut off profile at dyne/cm: 3d density 1d density 3d pressure 1d pressure
3d density start and end comparison 1d density start and end comparison 3d pressure start and end comparison 1d pressure start and end comparison

Outgoing pressure and density waves are visible. Note also that the ambient values of pressure and density set implicitly by AstroBear are larger than in Model (A), approximately by the factor . The results are not very encouraging… and we conclude that truncating the star just below the surface does not seem to offer any signficant benefit.

Update 2
After discussing with Eric, one idea that came up was to try a model like (D) but with the density also held constant where the pressure is held constant. This would avoid having a small (unresolvable density scale height). This makes the situation worse, probably because it is the pressure gradient that determines the force, so might as well keep the density profile as realistic as possible.
F) set to dyne/cm and set to a constant in the same region: 1d

Mapping a modified RGB profile to the grid: first results

As explained in the previous blog entry, the next step was to map the modified RGB profile to the AstroBear grid. In this blog entry I report the initial results.

From the statement in Ohlmann+16c that it is necessary to resolve the softening length by about 10 grid cells, we had estimated a minimum resolution of about or cells, for the case , with the outer radius of the star. For the case , the minimum resolution would be or cells.

Another constraint to satisfy is to resolve the scale height . We estimated that the scale height needs to be resolved by at least few grid cells, to avoid unreasonably large fluctuations in the Mach number. Near to the surface of the star , becomes very very small, and, moreover, suffers a discontinuity at , where the star transitions suddenly to the ambient medium. So resolving the scale height at the surface is numerically unfeasible (we return to this issue below). The scale height may also be too small to resolve near the transition radius . A plot of the pressure scale height vs. radius for the RGB profile, showing both original MESA and modified profiles, is available here for the case and here for the case . Note that the unphysical behaviour of near the transition radius and noise in for are probably consequences of how the IDL routine used to differentiate the pressure profile handles the different sampling in radius for (obtained using modified Lane-Emden) and (MESA). This is not expected to cause a problem in AstroBear, which interpolates the inputted profile for the AstroBear grid. For , the minimum value near is at , whereas for , the minimum value near is at . With a resolution of , we resolve by at least a few cells for , which may be sufficient. For , and resolution, is only marginally resolved by cell, which is apparently insufficient (see results below).

We now present plots for the density from each of the following simulations:

A) Fiducial run: resolution ( resolution), modified RGB profile with , box size cm . 3d, 1d
B) Low res run: resolution ( resolution) but otherwise same as (A). 3d, 1d
C) High res run: resolution ( resolution) but otherwise same as (A) ( was attempted but protections caused the simulation to terminate). 3d, 1d
D) No iteration over core mass run: , so not fully self-consistent (see previous blogs), otherwise same as (A). 3d, 1d
E) Small softening length run: instead of , otherwise same as (A). 3d, 1d
F) No spline run: Spline softening of potential not employed in AstroBear, otherwise same as (A). 3d, 1d
G) Original MESA profile but with spline potential run: No modification to profile, but otherwise same as (A). 3d, 1d
H) Direct MESA run: No modification to profile, nor is spline softening employed, otherwise same as (A). 3d, 1d

I also made side-by-side movies of the fiducial run (on the left) and an alternative run (on the right), for easy comparison:
i) (A) and (B) 3d, 1d
ii) (A) and © 3d, 1d
iii) (A) and (D) 3d, 1d
iv) (A) and (E) 3d, 1d

Discussion
From the above plots we can conclude:
I) The fiducial run (A) is quite stable at the center, as expected, but there is still a slight drop in the central density during the run. This might be alleviated by using higher resolution, but run ©, with slightly higher resolution, shows only a marginal increase in stability.
II) In all the runs, the SURFACE of the star becomes unstable on the local dynamical time, as expected.
III) A resolution of is needed for approximate stability at the center, as expected.
IV) The run (E) is NOT quite stable at the center when using the same resolution as for the fiducial model. This is not surprising because both and are smaller in this model, so not as well-resolved.
V) The iteration procedure used for the particle mass to ensure that is equal to the MESA value makes a small but noticeable difference to the stability and final profile of the star (see the 1d plot comparison in (iii) above). If this step is not included, the density profile develops an unphysical kink at .

Next steps
Some logical next steps are:
1) Figure out a viable method for reducing and smoothing out the pressure gradient at the surface. This will involve specifying an ambient value and/or an extension of the profiles for . This involves coming up with some different methods, testing them, and comparing the results.
2) Once (1) is implemented, protections should no longer be a problem, so higher resolution (e.g. ) could be tested.
3) It will then be useful to make other plots to study, e.g. the degree to which hydrostatic equilibrium is being satisfied, or the local Mach number of any residual motions.
4) If the star is reasonably stable after these steps, then AMR can be implemented and tested.
5) If damping of residual motions is still needed, it can first be implemented as in Ohlmann+16c.