User:Tohline/Appendix/Ramblings/PatrickMotl
From VisTrailsWiki
Discussing Patrick Motl's 2019 Simulations
 Tiled Menu  Tables of Content  Banner Video  Tohline Home Page  
May 1 (from Patrick)
Hi Joel, I hope things are well for you and yours. I did finally have a couple research students this semester that were able to slog their way into unix, programming, etc. far enough to do some useful things. They ran two spherical bipolytropes with my old cylindrical code. These were n = 5 cores with n = 1 envelopes. No density discontinuity. One model is a little below the stability boundary in xi, the other is a little above the stability boundary. What I can see from the evolutions, especially now that I made plots of the entropy, is that they are convectively unstable and that is just a mess with the core convecting into the envelope. Did you happen to have any thoughts on what might be a better case to run? When I get done grading finals I am going to work through the equations with kappa set explicitly in the envelope so the entropy profile is flat and just live with whatever density discontinuity that gives me. cheers, Patrick 
May 4 (from Joel)
Patrick, My initial response to your 1 May email follows. In an effort to make sure we are on the same page when referencing the structural properties and the stability properties of various configurations, my response includes links to various chapters/subsections of my online wikibased book. Thanks for pursuing this problem. I am still very interested in Its solution. All the best, Joel 
Chosen Initial Models
I presume that when you constructed your pair of initial (spherical) models, you used the analytically prescribed properties found in my chapter titled, "BiPolytrope with n_{c} = 5 and n_{e} = 1" and that when you reference the "stability boundary in " you are drawing from the summary (Table 3 and Figure 3) found near the end of this chapter in the subsection titled, "Stability Condition." In particular, based on the information contained in this chapter, I presume that you are assuming that the marginally unstable model along the sequence is the configuration having the properties …
and that your pair of initial models have values of that are somewhat greater than and somewhat smaller than 2.416. If this does not properly describe your choice of initial models, please clarify.
Instability Toward Convection
In my chapter titled, "Axisymmetric Instabilities to Avoid," I discuss — among other things — the Schwarzschild Criterion. Toward the very end of that chapter, in a subsection titled, Modeling Implications and Advice, I specifically describe how convection might arise when modeling spherical polytropic configurations. Would you please read this short subsection and let me know whether you agree with my explanation or not?
In the context of this discussion of the Schwarzschild criterion (i.e., convective instabilities) in polytropes, my question to you is: What value of the adiabatic index, , did you use when you evolved the bipolytrope? Did you use the same index for the entire configuration, or did you use a value in the envelope that is different from the value used in the core?
If you used for the core, then the core should have uniform specific entropy and therefore would be (only) marginally stable against convection. Likewise, if you used for the envelope, it should be (only) marginally stable against convection. Incidentally, these are the two separate values of the adiabatic index that I used when I used a freeenergy analysis to examine stability.
NOTE: In yet another chapter of my book, I discuss the bipolytropic stability analysis that was performed by Murphy & Fiedler (1985b). They examined the stability of bipolytropes having the core/envelope polytropic indexes swapped, that is, their equilibrium models had, . Their stability analysis was performed while assuming that the adiabatic index was throughout the entire configuration. In a short subsection near the beginning of my chapter titled, "Aside Regarding Convectively Unstable Core," I have pointed out that the cores of these models should have all been convectively unstable, according to the Schwarzschild criterion. Please read this short subsection and let me know if you agree with my stated expectation for those models.
Other Approaches to Stability Analysis
After you send me feedback on the comments & questions I have presented, above, I have a good deal more to tell you about my analysis of the stability of our bipolytropic configurations. I am still a bit confused, but I'm pretty sure that the transition from stable to unstable configurations along the occurs at a value of , rather than the value of that I obtained via the freeenergy analysis. But, as I've said, there is a lot to tell you about this.
Other Suggestions
You asked what alternative models might be examined. It might be smarter to first evolve some simpler models, such as pressuretruncated polytropes — not bipolytropes. But we should discuss this after I read your feedback on the above.
May 4 (from Patrick)
May 5 (following a phone conversation with Patrick)
Tying Expressions into H_Book Context
In our wikibased chapter titled, "First Law of Thermodynamics," we have introduced the concept of an entropy tracer, . In the subsubsection of this chapter that is titled, "Substantiation," we show that an expression for the specific entropy of a fluid element is,
In addition, from our wikibased chapter titled, "Ideal Gas Equation of State," we find the relations,



and, 






Hence this expression for the entropy may be rewritten as,
Aside from the factor of that appears on the RHS — more on this below — these are the expressions that Patrick has used to generate the s.ps plot, where the (unlabeled) ordinate is the normalized specific entropy, .
At the end of another subsubsection titled, "Initial Recognition," we also find a relevant expression, namely,
Hence, ignoring the additive constant, in general we may write,






Understanding the Step Function at the CoreEnvelope Interface
Now, turning to the accompanying tabular summary of the Radial Profile of Various Physical Variables, we are able to determine how the specific entropy behaves throughout the core and, separately, throughout the envelope in bipolytropes.
CORE: Throughout the core, we see that,
Hence, independent of the radial location, , throughout the core,
ENVELOPE: Throughout the envelope, we see that,
Hence, independent of the radial location, , throughout the envelope,

It is therefore clear that the core is a uniform specificentropy sphere and the envelope is a uniform specificentropy spherical shell, but in general the specific entropy of material in the envelope is different from the specific entropy of material in the core.
According to our freeenergy based evaluation of the stability of bipolytropes having , the marginally unstable model along the sequence has the following properties: ; the red arrow in the following diagram points to this model's position in the parameter plane. In an effort to test whether or not this model does identify the transition from stable to unstable configurations along the sequence, Patrick picked a pair of models (highlighted in green in the following table) that straddle the location of the marginally unstable model, and followed the dynamical evolution of both models using a fully 3D hydrodynamics code. In particular, for the pair of models that Patrick evolved, we find:

These tabulated values of the normalized specific entropy in the core and, separately, in the envelope — also see the plot shown here on the right — appear to be consistent with Patrick's s.ps plot of specific entropy. In particular, this confirms that a step function should appear at the coreenvelope interface and that the specific entropy of the envelope material should be lower than the specific entropy of the core material. Therefore, the Schwarzschild criterion is violated at the interface and we should not have been surprised to see convective motions develop — initially, only at the interface.
Can the Step Function be Flipped or Erased
Assume a MeanMolecularWeight Ratio of Unity
If we continue to examine equilibrium models that have , is there a value of the interface radius, , for which the entropy stepfunction disappears and above which the step function flips? The answer appears to be, "Yes." It occurs along the equilibrium sequence where the normalized specific entropy has the same value in the core and as in the envelope. That is, it occurs when,

Prediction: Any initial model with and will be stable against convection, but will be globally dynamically unstable.
Pick a Different MolecularWeight Ratio
Caution: This subsection contains a derivation that is based on an interpretation of the specific entropy normalization at the interface that may not be physically correct. It needs more thought … After more thought: In order to determine whether the entropy of the envelope is greater than the entropy of the core it would be wise to always plot the specific entropy relative to ; therefore, when the ratio is used to calculate the envelope entropy, , as above, the calculated answer should then be divided by in order to obtain the proper normalization.
In principle, we can determine in a similar fashion the values of that are relevant to equilibrium model sequences having . But in doing this, we must take into account that in most of our above derivations the meanmolecularweight appears in the denominator of the (LHS) expression for the normalized specific entropy. More generally, the prescription for should come from the demand that,















Here are a few examples:

Use the Same Ratio of Specific Heats Throughout
Let's examine the initial model's entropy profile under the assumption that the system is evolved with throughout the bipolytrope. From the above analysis, in this case the relevant general expression for the specific entropy profile should be,





CORE: Given that, throughout the core,
we have,
ENVELOPE: Given that, throughout the envelope,
we have,

Figure 5 
Notice that, because , the specific entropy increases with radius throughout the core, so according to the Schwarzschild criterion the core is stable against convection. However, because , the specific entropy decreases with radius throughout the envelope, so according to the Schwarzschild criterion the envelope must be unstable toward convection.
Note: Murphy & Fiedler (1985b) have examined radial oscillation modes in bipolytropic configurations that have a flipped set of indexes — that is, they studied equilibrium structures having — assuming, as we have examined here, that oscillations in both the core and the envelope are governed by . The chapter of this H_Book in which we discuss the detailed analysis presented by Murphy & Fiedler, we have inserted a short subsection titled, Aside Regarding Convectively Unstable Core, where we point out that the cores of the Murphy & Fiedler models should be convectively unstable whereas their envelopes should be stable against convection.
Eigenvectors of Marginally Unstable Models
In preparation for our examination of the relative stability of bipolytropic structures having — via numerical integration of the LinearAdiabatic Wave Equation (LAWE) — we have demonstrated that we understand technically how to solve this type of eigenvalue problem by quantitatively reproducing related analyses that have been previously published by other groups.
Good Comparisons With Previously Published Studies

Schwarzschild (1941) Taff & Van Horn (1974) Murphy & Fiedler (1985b) Schwarzschild (1941) numerically integrated the LAWE for isolated polytropic spheres to find eigenvectors (i.e., the spatially discrete eigenfunction and corresponding eigenfrequency) for five separate oscillation modes (the fundamental mode, plus the 1^{st}, 2^{nd}, 3^{rd}, and 4^{th} overtones) for models having four different adopted adiabatic indexes . In an accompanying chapter of this H_Book, we demonstrate that we have been able to reproduce in detail Schwarzschild's results for the specific case of .
 Taff & Van Horn (1974) examined radial oscillations in pressuretruncated isothermal spheres, assuming that the configurations remain isothermal during the oscillations. For models having nine different truncation radii — chosen to straddle the position along the equilibrium sequence where the marginally unstable model was expected to arise — they determined and published the fundamentalmode eigenvalues. For three of these models they also determined and published eigenvalues for the first harmonic mode of oscillation; the radial eigenfunctions associated with both the fundamental mode and the first harmonic mode of these three models also has been displayed in their Figure 1. In a separate accompanying discussion, we demonstrate that we have been able to reproduce in detail the subset of eigenfunctions and associated eigenvalues that have been previously published by Taff & Van Horn (1974).
 In their published study of bipolytropes having with , Murphy & Fiedler (1985b) integrated a coupled pair of LAWEs — one for the core and another for the envelope — to determine the eigenfunctions and corresponding eigenvalues of various radial modes of oscillation in more than a dozen different equilibrium models, assuming that during the oscillations, throughout both the core and the envelope. In an accompanying chapter of this H_Book titled, Review of the BiPolytrope Stability Analysis by Murphy & Fiedler (1985b), we show that we have been able to duplicate in quantitative detail the eigenvectors associated with their equilibrium Models 10 and 17.
Building upon this set of successful comparisons with stability analyses published by other groups, we have carried out numerical integrations of the relevant LAWE to identify the eigenvectors associated with the fundamentalmode of radial oscillation in pressuretruncated, polytropic configurations. Details of this analysis are provided in yet another chapter of this H_Book. The following animation sequence illustrates the results of this analysis. As far as we have been able to determine, an analysis of this type has not previously been conducted for pressuretruncated, polytropes.
In a subsection of this separate chapter, we have also shown that, at the maximummass turning point along the pressuretruncated equilibrium sequence — identified by the green circular marker in the lefthand panel of this animation — the fundamentalmode eigenfrequency is precisely zero and the associated eigenfunction is described exactly by the formula for a parabola.
Our Numerical Analysis of Bipolytropes Having (n_{c}, n_{e}) = (5, 1)
In an accompanying discussion we have shown that we can integrate the linear adiabatic wave equation (LAWE) — that is, we effectively have been able to solve the eigenvalue problem — to obtain the eigenvector associated with marginally unstable models along equilibrium sequences for bipolytropes having . The marginally unstable models that have been identified via this more rigorous approach — see the orange triangles in the following figure — fall at different points along each equilibrium sequence than the points that were identified via our freeenergy analysis — see the reddashed demarcation curve. Assuming that the algorithm that we developed to integrate the LAWE was basically errorfree, we trust the model identifications generated via this more rigorous technique.
Our analysis indicates that, along the equilibrium sequence, the coreenvelope interface of the marginally unstable model is located at ; in the following figure, the red arrow points to this location along that sequence. In the brief table that accompanies the figure, we have listed values for the dimensionless specific entropy in the core and, separately, in the envelope, along with the interface location, .

Summary
For three separate equilibrium sequences — specifically, for the cases of — the table on the left, below, identifies the location along the sequence where the model is marginally unstable toward a global, dynamical instability as estimated by the our freeenergy analysis (column 2) and as determined by our numerical integration of the coupled pair of governing LAWEs (column 6). For each identified model, the corresponding values of and are also provided. Additional details can be found in our accompanying discussion of, respectively, our freeenergy analysis and our numerical solution of the relevant eigenvalue problem.

In the figure shown here on the right, the orangedashed curve shows how (table column 6) varies with (table column 1) for marginally unstable models as determined by our numerical eigenvector analysis. The square of the fundamentalmode eigenfrequency is negative for all models above this orangedashed curve, indicating that they should be globally dynamically unstable. The solid blue curve shows how varies with , as derived above. Models above and to the left of this blue curve should be stable against convection at the coreenvelope interface.
May 11 (from Joel)
Patrick, Following our phone conversation earlier this week, I have added a number of paragraphs, derivations, and tables/figures to my VisTrails wiki page — see the above subsection dated, May 5. Here is a quick summary, assuming evolutions are conducted with :
If you set but assume evolutions are conducted with :
Finally, we should consider the following before embarking on more 3D simulations:
Other things to discuss:
I am very interested in discussing all of this with you, if you are interested and when you have the time. Just let me know. Cheers, Joel 
May 14 (from Patrick)
Hi Joel, There are some movies and plots on line at http://patrickmotl.net if you follow the links for bipolytropic stars with n_core = 5 and n_envelope = 1 
Patrick and Joel also had a long phone conversation on this date, 14 May 2019.
© 2014  2019 by Joel E. Tohline 