SSC/Structure/BiPolytropes/51RenormaizePart2: Difference between revisions

From jetwiki
Jump to navigation Jump to search
 
(30 intermediate revisions by the same user not shown)
Line 205: Line 205:
</table>
</table>


===Additional Relations===
===One of the Linearized Equations===
From an [[SSC/Perturbations#Summary_Set_of_Linearized_Equations|accompanying discussion]], the linearized "Euler + Poisson Equations" is,
 
<table border="0" align="center" cellpadding="5">
 
<tr>
  <td align="right"><math>\frac{P_0}{\rho_0} \frac{dp}{dr_0}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
(4x + p)g_0 + \omega^2 r_0 x
\, .
</math>
  </td>
</tr>
</table>


====Core====
If we shift to our [[#Basic_Equilibrium_Structure|above-specified, new normalization]] and insert the relation,
The analytically prescribed radial pressure gradient in the core can be obtained as follows.
<math>g_0 = GM_r/r_0^2</math>, we have,


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="5">


<tr>
<tr>
   <td align="right"><math>\frac{d\tilde{M}_r}{d\xi}</math></td>
   <td align="right"><math>\omega^2 \biggl[\frac{r_0}{g_0}\biggr] x + (4x + p)</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl\{
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}
\frac{P_0 r_0}{\rho_0 G M_r}  
\biggl\{
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2}
-
\xi^4 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}  
\biggr\}
\biggr\}
\frac{dp}{d\ln r_0} 
</math>
</math>
   </td>
   </td>
Line 233: Line 245:
   <td align="left">
   <td align="left">
<math>
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}  
\tilde{P}\biggl[K_c^{-10} G^{9} M_\mathrm{tot}^{6} \biggr]^{-1}  
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}  
\tilde{r}\biggl[\biggl( \frac{K_c}{G} \biggr)^{5 / 2} M_\mathrm{tot}^{-2}  \biggr]^{-1}
\biggl\{  
\frac{1}{\tilde\rho}\biggl[\biggl( \frac{K_c}{G} \biggr)^{3 / 2} \frac{1}{M_\mathrm{tot}} \biggr]^{-5}
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\biggl\{
-
\frac{1}{G M_\mathrm{tot}\tilde{M}_r}
\xi^4  
\biggr\}  
\biggr\}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
\frac{dp}{d\ln \xi}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
Line 249: Line 261:
   <td align="left">
   <td align="left">
<math>
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}  
\tilde{P}\biggl[K_c^{10} G^{-9} M_\mathrm{tot}^{-6} \biggr]
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}  
\tilde{r}\biggl[K_c^{-5 / 2}G^{5 / 2} M_\mathrm{tot}^{2} \biggr]
\biggl\{
\frac{1}{\tilde\rho}\biggl[K_c^{- 15 / 2} G^{15 / 2} M_\mathrm{tot}^5 \biggr]
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
\biggl[ G^{-1} M_\mathrm{tot}^{-1}\biggr] \tilde{M}_r^{-1}  
\biggr\}
\frac{dp}{d\ln \xi}
</math>
</math>
   </td>
   </td>
Line 259: Line 271:


<tr>
<tr>
   <td align="right"><math>\Rightarrow ~~~ \frac{d\xi}{d\tilde{M}_r}</math></td>
   <td align="right">&nbsp;</td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}  
\biggl\{
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}  
\tilde{P}  
\biggl\{
\tilde{r}
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\tilde\rho^{-1}
\biggr\} \, .
\tilde{M}_r^{-1}
\biggr\}
\frac{dp}{d\ln \xi} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
Also,
Throughout the core, then,


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="5">


<tr>
<tr>
   <td align="right"><math>\frac{d\tilde{P}}{d\xi}</math></td>
   <td align="right"><math>\omega^2 \biggl[\frac{r_0}{g_0}\biggr] x + (4x + p)</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
- \mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \biggl\{
\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12}  
2\xi\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-4}  
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3}
\biggr\}
\biggl\{
\mathcal{m}_\mathrm{surf}^5 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-10}
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
\biggr\}^{-1}
\biggl[
\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4}  
\biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi
\biggr]\frac{dp}{d\ln \xi}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Hence,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right"><math>\frac{d\tilde{P}}{d\tilde{M}_r}</math></td>
   <td align="right">&nbsp;</td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
- \mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \biggl\{
\frac{\xi}{2}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3}  
2\xi\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-4}  
 
\biggl\{
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggl[ \xi^{-3} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{3/2} \biggr]
\biggr\}
\biggr\}
\cdot
 
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\frac{dp}{d\ln \xi}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\biggl\{
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr\}  
</math>
</math>
   </td>
   </td>
Line 316: Line 333:
   <td align="left">
   <td align="left">
<math>
<math>
- \mathcal{m}_\mathrm{surf}^7 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14} \biggl( \frac{2\pi }{3^3} \biggr)^{1/2}
\frac{1}{2\xi^2}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)  
\frac{1}{\xi}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \, .
\frac{dp}{d\ln \xi} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
Let's relate this to the [[SSC/Stability/InstabilityOnsetOverview#Displacement_Functions_Summary|displacement functions summary]], namely,


For comparison, in [[SSCpt2/SolutionStrategies#Solution_Strategies|hydrostatic balance]] we expect &hellip;
<table border="1" align="center" width="60%" cellpadding="8"><tr><td align="left">
 
<div align="center"><b>Summary &hellip;</b></div>


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>x_P</math></td>
<math>\frac{dP}{dM_r} = \frac{dP}{dr} \cdot \frac{dr}{dM_r}
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>  
<math>
\frac{3(n-1)}{2n}\biggl[1 + \biggl(\frac{n-3}{n-1}\biggr) \biggl( \frac{1}{\xi \theta^{n}}\biggr)
- \frac{GM_r \rho}{r^2} \cdot \frac{1}{4\pi r^2\rho}
\frac{d\theta}{d\xi}\biggr] \, ,</math>
=
- \frac{GM_r }{4\pi r^4}  
</math>
   </td>
   </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>d_P</math></td>
<math>
\Rightarrow ~~~ \frac{d\tilde{P}}{d\tilde{M}_r} = \biggl[ \frac{dP}{dM_r}\biggr] \cdot
\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^6 \biggr]M_\mathrm{tot}
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>  
<math>
-3 \biggl\{1 
- \frac{G M_r }{4\pi r^4}  
-
\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^7 \biggr]
\frac{(n-3)}{2}\biggl[ \frac{1}{\theta^{n+1}} \biggl( \frac{d\theta}{d\xi}\biggr)^2 \biggr] \biggr\}
</math>
\, ,
  </td>
</math></td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>p_P</math></td>
&nbsp;
  <td align="center"><math>=</math></td>
   </td>
  <td align="left"><math>
\biggl( \frac{n+1}{n} \biggr) d_P
\, .
</math></td>
</tr>
</table>
 
</td></tr></table>
 
From the structural solution for [[SSC/Structure/Polytropes#Primary_E-Type_Solution_2|equilibrium,]] <math>n=5</math> polytropes, we know that,
 
<table border="0" align="center" cellpadding="5">
 
<tr>
   <td align="right"><math>\theta</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
- \frac{\tilde{M}_r }{4\pi r^4}  
\biggl(1 + \frac{\xi^2}{3}\biggr)^{-1 / 2}
\biggl[ K_c^{-10} G^{10} M_\mathrm{tot}^8 \biggr]
</math>
</math>
   </td>
   </td>
Line 372: Line 394:


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\Rightarrow ~~~ \frac{d\theta}{d\xi}</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
- \frac{\tilde{M}_r }{4\pi \tilde{r}^4}  
- \frac{\xi}{3}\biggl(1 + \frac{\xi^2}{3}\biggr)^{-3 / 2}
\, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Therefore, for <math>n=5</math> structures,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>x_P</math></td>
&nbsp;
  <td align="center"><math>=</math></td>
  <td align="left"><math>
\frac{6}{5}\biggl[1 - \frac{1}{2}\biggl( \frac{1}{\xi \theta^{5}}\biggr)
\frac{\xi}{3}\biggl(1 + \frac{\xi^2}{3}\biggr)^{-3 / 2}\biggr] </math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
</tr>
   <td align="left">
 
<math>
<tr>
- \frac{1}{4\pi} \mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}  
  <td align="right">&nbsp;</td>
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
   <td align="center"><math>=</math></td>
\cdot
   <td align="left"><math>  
\biggl\{
\frac{6}{5}\biggl[1 - \frac{1}{6}  
\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4}
\biggl(1 + \frac{\xi^2}{3}\biggr)\biggr] </math>
\biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi
\biggr\}^{-4}
</math>
   </td>
   </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>  
<math>
1 - \frac{\xi^2}{15} \, ;
- \biggl\{
\mathcal{m}_\mathrm{surf}^{7} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14}
\biggl(\frac{2^2\pi^2}{3^2}\biggr)
\biggr\}
\frac{1}{4\pi}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \frac{1}{\xi} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
</math>
</math>
   </td>
   </td>
Line 419: Line 436:


<tr>
<tr>
   <td align="right">
   <td align="right"><math>d_P</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>  
- \biggl\{
-3 + 3 \biggl(1 + \frac{\xi^2}{3}\biggr)^3 \frac{\xi^2}{9}\biggl(1 + \frac{\xi^2}{3}\biggr)^{-3}  
\mathcal{m}_\mathrm{surf}^{7} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14}
\biggr\}
\biggl( \frac{2\cdot \pi}{ 3^3 } \biggr)^{1/2} \biggl[ \frac{1}{\xi} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<span id="Takeaway">This matches our earlier expression, as it should. </span>


<table border="1" align="center" cellpadding="8" width="60%"><tr><td align="left">
<div align="center">'''Takeaway Expression'''</div>
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
  <td align="center"><math>=</math></td>
\frac{d\tilde{P}}{d\tilde{M}_r}
  <td align="left"><math>  
-3 + \frac{\xi^2}{3}
\, ;
</math>
</math>
   </td>
   </td>
</tr>
<tr>
  <td align="right"><math>p_P</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>  
<math>
-\frac{18}{5}\biggl[1 - \frac{\xi^2}{9}\biggr]
- \frac{\tilde{M}_r }{4\pi \tilde{r}^4}  
\, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
Hence, we find that,


</td></tr></table>
<table border="0" align="center" cellpadding="5">
 
====Envelope====
Given that, for the envelope,
 
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\omega^2 \biggl[\frac{r_0}{g_0}\biggr] x </math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\tilde{M}_r
\frac{1}{2\xi}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\frac{d(p_P)}{d\xi} - (4x_P + p_P)
</math>
</math>
   </td>
   </td>
</tr>
<tr>
  <td align="right">&nbsp;</td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
<math>
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,</math>&nbsp; &nbsp; &nbsp; and,
\frac{1}{2\xi}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\frac{4\xi}{5}
- 4\biggl[ 1 -  \frac{\xi^2}{15} \biggr]
+ \biggl[ \frac{18}{5}\biggl(1 - \frac{\xi^2}{9}\biggr) \biggr]
</math>
   </td>
   </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\tilde{r}
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\frac{2}{5} - 4 + \frac{4\xi^2}{15}
+ \frac{18}{5} - \frac{2\xi^2}{5}
</math>
</math>
   </td>
   </td>
</tr>
<tr>
  <td align="right">&nbsp;</td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta \, ,</math>
<math>
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\frac{2}{5}
- \frac{2}{5} - \frac{2\xi^2}{15}
</math>
   </td>
   </td>
</tr>
</tr>
</table>
we deduce that,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\frac{d\tilde{P}}{d\tilde{M}_r} = - \frac{\tilde{M}_r}{4\pi \tilde{r}^4}
0 \, .
</math>
</math>
   </td>
   </td>
</tr>
</table>
For completeness, note that the LHS can be rewritten as,
<table border="0" align="center" cellpadding="5">
<tr>
  <td align="right"><math>\omega^2 \biggl\{\frac{r_0}{g_0}\biggr\} x </math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\biggl(\frac{1}{4\pi}\biggr)
\omega^2 x \biggl\{r_0^3 G^{-1} M_r^{-1}\biggr\}  
\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
A\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
\biggl[
\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta
\biggr]^{-4}
</math>
</math>
   </td>
   </td>
Line 510: Line 542:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\biggl(\frac{1}{2^4\pi^2} \cdot \frac{2}{\pi} \cdot 2^4 \pi^4\biggr)^{1 / 2}  
\omega^2 x \biggl\{\tilde{r}^3 \biggl[\biggl( \frac{K_c}{G} \biggr)^{5 / 2} M_\mathrm{tot}^{-2} \biggr]^{-3}G^{-1}
\mathcal{m}_\mathrm{surf}^{7}~ \theta^{7}_i 
\biggl[M_\mathrm{tot}\tilde{M}_r\biggr]^{-1}\biggr\}  
A\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
\biggl[
\biggl( \frac{\mu_e}{\mu_c} \biggr)^{-12} \eta^{-4}
\biggr]
</math>
</math>
   </td>
   </td>
Line 527: Line 553:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\biggl( 2\pi\biggr)^{1 / 2}
\omega^2 x \biggl[ \frac{\tilde{r}^3}{\tilde{M}_r} \biggr] \biggl[ K_c^{-15 / 2} G^{13 / 2}
\mathcal{m}_\mathrm{surf}^{7}~ \theta^{7}_i \biggl( \frac{\mu_e}{\mu_c} \biggr)^{-12} \cdot
M_\mathrm{tot}^5 \biggr]  
\frac{A}{\eta^4}\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
As a cross-check &hellip;
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\frac{d\tilde{P}}{d\eta}
\omega^2 x \biggl[ \frac{\tilde{r}^3}{\tilde{M}_r} \biggr]  \biggl[ K_c^{-15} G^{13} M_\mathrm{tot}^{10} \biggr]^{1 / 2}  
</math>
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
\biggl[2\phi \cdot \frac{d\phi}{d\eta} \biggr]</math>
   </td>
   </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>2\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
<math>
\cdot \frac{A^2}{\eta^3}
\omega^2 x \biggl[ K_c^{-15} G^{13} M_\mathrm{tot}^{10} \biggr]^{1 / 2}
\cdot
\biggl[\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4} \biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi\biggr]^3
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr] \sin(\eta - B) \, ,</math>
\biggl\{ \mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}  
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]\biggr\}^{-1}
</math>
   </td>
   </td>
</tr>
</tr>
</table>
and,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
\frac{d\tilde{M}_r}{d\eta}
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\omega^2 x \biggl[ K_c^{-15} G^{13} M_\mathrm{tot}^{10} \biggr]^{1 / 2}
\frac{d}{d\eta}\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr]  
\biggl[\mathcal{m}_\mathrm{surf}^{-6} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{12} \biggl(\frac{3}{2\pi}\biggr)^{3/2} \xi^3\biggr]
\biggl\{ \mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2} \biggl[ \xi^{-3} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{3/2} \biggr]\biggr\}
</math>
</math>
   </td>
   </td>
Line 591: Line 600:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\biggl(\frac{3}{4\pi}\biggr)
\biggl\{  
\omega^2 x \biggl[ K_c^{-15} G^{13} M_\mathrm{tot}^{10} \biggr]^{1 / 2}  
\eta\sin(\eta-B)
\biggl[\mathcal{m}_\mathrm{surf}^{-5} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{10} \biggr]
\biggr\}  
\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{3/2} \, .
\, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
That is,


<table border="0" align="center" cellpadding="8">
===Rescale for Bonnor-Ebert-Type Analysis===
Let's rescale all these relations in such a way that the mass in the core remains constant along the sequence.
 
<table border="0" align="center" cellpadding="5">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\rho^* \equiv \tilde\rho \nu^5</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\frac{d\tilde{P}}{d\tilde{M}_r}
\rho \biggl[\biggl( \frac{K_c}{G} \biggr)^{3 / 2} \frac{1}{M_\mathrm{tot}} \biggr]^{-5} \biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)^5
\, ;
</math>
</math>
   </td>
   </td>
</tr>
<tr>
  <td align="right"><math>P^* \equiv \tilde{P} \nu^6</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>2\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
<math>
\cdot \frac{A^2}{\eta^3}
P \biggl[K_c^{-10} G^{9} M_\mathrm{tot}^{6} \biggr]  
\cdot
\biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)^6
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr] \sin(\eta - B)
\, ;</math>
\biggl\{
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\biggl[
\eta\sin(\eta-B)
\biggr]
\biggr\}^{-1}
</math>
   </td>
   </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>r^* \equiv \tilde{r} \nu^{-2}</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>(2\pi)^{1/2} \mathcal{m}_\mathrm{surf}^7 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{7}_i
<math>
\cdot \frac{A}{\eta^4}
r \biggl[\biggl( \frac{K_c}{G} \biggr)^{5 / 2} M_\mathrm{tot}^{-2} \biggr]\biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)^{-2}
\cdot
\, ;
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr]  \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<font color="red">Correct!</font>
====Time-Dependent Euler Equation====
We begin with the form of the,
<div align="center">
<span id="PGE:Euler"><font color="#770000">'''Euler Equation'''</font></span><br />


<math>\frac{dv_r}{dt} = - \frac{1}{\rho}\frac{dP}{dr} - \frac{d\Phi}{dr} </math><br />
</div>
that is broadly relevant to studies of radial oscillations in [[SSCpt1/PGE#PGE_for_Spherically_Symmetric_Configurations|spherically symmetric configurations]].  Recognizing from, for example, a [[SSC/Dynamics/FreeFall#Assembling_the_Key_Relations|related discussion]] that, <math>v_r = dr/dt</math>, and that,
<table border="0" align="center" cellpadding="5">
<tr>
<tr>
   <td align="right"><math>\frac{d\Phi}{dr}</math></td>
   <td align="right"><math>M^* \equiv \tilde{M}_r \nu^{-1}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left"><math>\frac{GM_r}{r^2}</math></td>
   <td align="left"><math>\frac{M_r}{M_\mathrm{tot}} \biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)^{-1}\, ;</math></td>
</tr>
</tr>
</table>


we obtain our
<table border="0" align="center" cellpadding="5">
<tr>
<tr>
   <td align="center" colspan="3">
   <td align="right"><math>H^* \equiv \tilde{H} \nu</math></td>
<font color="#770000">'''Desired Form of the Euler Equation'''</font>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
H \biggl[K_c^{-5 / 2} G^{3 / 2} M_\mathrm{tot} \biggr] \biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)
\, ;
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right"><math>\frac{d^2r}{dt^2}</math></td>
   <td align="right"><math>t^* \equiv \tilde{t} \nu^{-5/2}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>\equiv</math></td>
   <td align="left"><math>- \frac{1}{\rho} \frac{dP}{dr} -\frac{GM_r}{r^2} \, .</math></td>
   <td align="left"><math>t \biggl[K_c^{15} G^{-13} M_\mathrm{tot}^{-10} \biggr]^{1 / 4} \biggl(\frac{M_\mathrm{core}}{M_\mathrm{tot}}\biggr)^{-5/2}\, .</math></td>
</tr>
</tr>
</table>
</table>


Given as well that,
===Additional Relations===


<div align="center">
====Core====
{{Math/EQ_SSmassConservation01}}
The analytically prescribed radial pressure gradient in the core can be obtained as follows.
</div>
we see that,
<table border="0" align="center" cellpadding="5">


<tr>
<table border="0" align="center" cellpadding="8">
  <td align="right"><math>\frac{dM_r}{4\pi r^2}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>\rho dr</math></td>
</tr>


<tr>
<tr>
   <td align="right"><math>\Rightarrow ~~~ \frac{d^2r}{dt^2}</math></td>
   <td align="right"><math>\frac{d\tilde{M}_r}{d\xi}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left"><math>- 4\pi r^2 \frac{dP}{dM_r} -\frac{GM_r}{r^2} </math></td>
   <td align="left">
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}
\biggl\{
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2}  
-  
\xi^4 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
\biggr\}
</math>
  </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right"><math>\Rightarrow ~~~ \frac{1}{4\pi r^2}\cdot \frac{d^2r}{dt^2}</math></td>
   <td align="right">&nbsp;</td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left"><math>- \frac{dP}{dM_r} -\frac{GM_r}{4\pi r^4} \, .</math></td>
   <td align="left">
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}  
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}
\biggl\{
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)
-
\xi^4
\biggr\}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
</math>
  </td>
</tr>
</tr>
</table>
<span id="NormalizedEuler">Next,</span> if as [[#Core|above]], we multiply through by <math>\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^7 \biggr]</math>, we obtain the relevant,
<table border="0" align="center" cellpadding="5">


<tr>
<tr>
   <td align="center" colspan="3">
   <td align="right">&nbsp;</td>
<font color="#770000">'''Normalized Euler Equation'''</font>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2}
\biggl\{
3\xi^2 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-5/2}
\biggr\}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right"><math>\frac{1}{4\pi \tilde{r}^2}\cdot \frac{d^2\tilde{r}}{d\tilde{t}^2}</math></td>
   <td align="right"><math>\Rightarrow ~~~ \frac{d\xi}{d\tilde{M}_r}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left"><math>- \frac{d\tilde{P}}{d\tilde{M}_r} -\frac{\tilde{M}_r}{4\pi \tilde{r}^4} \, ,</math></td>
   <td align="left">
<math>
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}  
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}  
\biggl\{
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}  
\biggr\} \, .
</math>
  </td>
</tr>
</tr>
</table>
</table>
where, as a reminder, the dimensionless time is,
Also,
<table border="0" align="center" cellpadding="5">


<tr>
<table border="0" align="center" cellpadding="8">
  <td align="right"><math>\tilde{t}</math></td>
  <td align="center"><math>\equiv</math></td>
  <td align="left"><math>t \biggl[K_c^{15} G^{-13} M_\mathrm{tot}^{-10} \biggr]^{1 / 4} \, .</math></td>
</tr>
</table>
 
 
<table border="1" align="center" width=80%" cellpadding="8">
<tr><td align="left">
<div align="center"><font color="red"><b>CAUTION!</b></font> &nbsp; Regarding Our Chosen Lagrangian Fluid Marker</div>
 
If we were to use <math>\tilde{r}</math> as our primary Lagrangian fluid marker, we would be in a position to analytically specify the function, <math>\tilde{M}_r(\tilde{r})</math>.  Here, however, we will call upon <math>\tilde{M}_r</math> rather than <math>\tilde{r}</math> to serve as the primary Lagrangian fluid marker because mass facilitates our efforts to highlight a variety of important physical properties of bipolytropic configurations. We will therefore need to specify the function, <math>\tilde{r}(\tilde{M}_r)</math> instead of <math>\tilde{M}_r(\tilde{r})</math>.  For the core, this choice does not introduce any particularly difficult computational challenges because we can invert the <math>\tilde{M}_r(\tilde{r})</math> relationship analytically to obtain &hellip; 


<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>\xi^2</math></td>
   <td align="right"><math>\frac{d\tilde{P}}{d\xi}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
3\biggl[ 3\biggl(\frac{c_m}{\tilde{M}_r}\biggr)^{2/3} - 1\biggr]^{-1} \, ,
- \mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \biggl\{
2\xi\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-4}  
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
where,
 
Hence,


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>c_m</math></td>
   <td align="right"><math>\frac{d\tilde{P}}{d\tilde{M}_r}</math></td>
   <td align="center"><math>\equiv</math></td>
   <td align="center"><math>=</math></td>
  <td align="left">
<math>
- \mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \biggl\{
2\xi\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-4}
\biggr\}
\cdot
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\biggl\{
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">&nbsp;</td>
  <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
m_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^2 \biggl(\frac{2\cdot 3}{\pi}\biggr)^{1 / 2} \, .
- \mathcal{m}_\mathrm{surf}^7 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14} \biggl( \frac{2\pi }{3^3} \biggr)^{1/2}
\frac{1}{\xi}\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \, .
</math>
</math>
   </td>
   </td>
Line 763: Line 793:
</table>
</table>


This is not the case for the envelope, however; we will not be able to analytically specify <math>\tilde{r}(\tilde{M}_r)</math>.  This is unfortunate, as a ''numerical'' (rather than analytic) specification will necessarily introduce additional errors into our solution of the displacement function &#8212; which already is a small and error-prone quantity.  We will nevertheless proceed along this line.
For comparison, in [[SSCpt2/SolutionStrategies#Solution_Strategies|hydrostatic balance]] we expect &hellip;
</td></tr>
</table>


==Example Models Along BiPolytrope Sequence 0.3100==
<table border="0" align="center" cellpadding="8">
For the case of <math>(n_c, n_e) = (5, 1)</math> and <math>\mu_e/\mu_c = 0.3100</math>, we consider here the examination of models with three relatively significant values of the core/envelope interface:
<ul>
  <li><font color="darkgreen">'''Model D'''</font>
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (2.06061, 1.1931E+02, 0.16296, 0.13754)</math>: Approximate location along the sequence of the model with the maximum fractional core radius.
  </li>
  <li><font color="darkgreen">'''Model C'''</font>
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (2.69697, 3.0676E+02, 0.15819, 0.19161)</math>: Approximate location along the sequence of the onset of fundamental-mode instability.
  </li>
  <li><font color="darkgreen">'''Model A'''</font>
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (9.0149598, 1.1664E+06, 0.075502255, 0.337217006)</math>: Exact location along the sequence of the model with the maximum fractional core mass.
  </li>
</ul>
 
===Model C Finite-Difference Representation===
Here we examine a discrete representation of a model along the <math>\mu_e/\mu_c = 0.31</math> sequence whose core/envelope interface is located at <math>\xi_i = 2.69697</math>; whose core mass-fraction is <math>\nu = 0.19161</math>; and for which, <math>m_\mathrm{surf} = 2.145465292</math>.
 
====Treatment of the Core====


<table border="1" align="center" cellpadding="8">
<tr>
<tr>
   <td align="center"><b>Table C1</b></td>
   <td align="right">
</tr>
<math>\frac{dP}{dM_r} = \frac{dP}{dr} \cdot \frac{dr}{dM_r}
<tr>
</math>
   <td align="center">[[File:ModelC Table1Again.png|900px|Equilibrium Structure of Model C]]</td>
  </td>
  <td align="center"><math>=</math></td>
   <td align="left">
<math>
- \frac{GM_r \rho}{r^2} \cdot \frac{1}{4\pi r^2\rho}
=
- \frac{GM_r }{4\pi r^4}
</math>
  </td>
</tr>
</tr>
</table>
<font color="red"><b>STEP1:</b></font>&nbsp; &nbsp; Divide the core into <math>(N_c+1)</math> grid lines &#8212; that is, into <math>N_c</math> radial zones &#8212; associating the first "grid line" with the center of the core and the last grid line with the radial location of the core/envelope interface; in <b>Table C1</b>, we have set <math>N_c = 20</math>.  Choosing <math>0 \le \tilde{M}_r \le \nu</math> as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:
<ul>
  <li>
Mass (see column titled <font color="darkgreen">tilde M_r</font> in <b>Table C1</b>): &nbsp; &nbsp; Set <math>(\Delta m)_c = \nu/(N_c)</math>; then, for <math>n = 1 ~\mathrm{thru}~ (N_c + 1)</math>, set <math>\tilde{M}_r = (n - 1)(\Delta m)_c \, .</math>
  </li>
  <li>
Polytropic radial coordinate (see column titled <font color="darkgreen">xi from M_r</font> in <b>Table C1</b>): &nbsp; &nbsp; Given that, <math>c_m = m_\mathrm{surf}^{-1} ( \mu_e/\mu_c)^2 (6/\pi)^{1 / 2} = 0.0619017</math>, determine the value of <math>\xi</math> associated with each gridline's value of <math>\tilde{M}_r</math> from the expression,


<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>\xi</math></td>
   <td align="right">
<math>
\Rightarrow ~~~ \frac{d\tilde{P}}{d\tilde{M}_r} = \biggl[ \frac{dP}{dM_r}\biggr] \cdot
\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^6 \biggr]M_\mathrm{tot}
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
3^{1 / 2}\biggl[ 3\biggl(\frac{c_m}{\tilde{M}_r}\biggr)^{2/3} - 1\biggr]^{-1 / 2} \, .
- \frac{G M_r }{4\pi r^4}  
\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^7 \biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
- \frac{\tilde{M}_r }{4\pi r^4}  
\biggl[ K_c^{-10} G^{10} M_\mathrm{tot}^8 \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
For example, at the 21<sup>st</sup> gridline (associated with the core/envelope interface), this expression gives the expected, <math>\xi_i = 2.69697</math>.
  </li>
  <li>
Given the value of <math>\xi</math> at each gridline, determine the associated values of <math>\tilde{r}, \tilde{\rho}, \tilde{P}</math> &#8212; see the columns in <b>Table C1</b> titled <font color="darkgreen">tilde r, tilde rho, tilde P</font> &#8212; using the appropriate analytic expressions for the ''Core'' [[#VariableProfiles|as provided above]].  For example, at the 21<sup>st</sup> gridline (associated with the core/envelope interface), we find, <math>\tilde{r} = 0.003739</math>, <math>\tilde\rho = 2.5555 \times 10^{5}</math>, and <math>\tilde{P} = 3.0830 \times 10^{6}</math>.


  </li>
<tr>
</ul>
  <td align="right">
 
&nbsp;
<font color="red"><b>STEP2:</b></font>&nbsp; &nbsp; Building upon the results of <font color="red"><b>STEP1</b></font>, determine the value of <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math> at each gridline in the (initially) equilibrium model; see the column of <b>Table C1</b> titled <font color="darkgreen">M/(r pi r^4)</font>.
   </td>
<ul>
   <td align="center"><math>=</math></td>
  <li>
As stated in the [[#Takeaway|above ''Takeaway Expression'']], this will simultaneously provide a precise evaluation of the pressure gradient, <math>d\tilde{P}/d\tilde{M}_r</math>, at each gridline ''when the configuration is in equilibrium.''
  </li>
  <li>
After a perturbation is introduced into the (initially equilibrium) configuration, both the pressure gradient and the quantity, <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, will deviate from their equilibrium values and, quite generally, from each other.  (Actually, <math>\tilde{M}_r</math> will not vary because, by definition, it is our time-invariant Lagrangian fluid marker; but the pressure gradient and the denominator of the second term, <math>4 \pi \tilde{r}^4</math>, will vary.)  Then, as expressed by the [[#NormalizedEuler|above ''Normalized Euler Equation'']], the sum of these two perturbed quantities will dictate the strength and direction of the unbalanced acceleration that will be felt by the Lagrangian fluid element at each gridline.
  </li>
</ul>
 
<font color="red"><b>STEP3:</b></font>&nbsp; &nbsp; Our ''discrete representation'' of <b>Model C</b> will be constructed in such a way as to preserve, at each gridline location, the analytically determined values of the Lagrangian marker, <math>\tilde{M}_r</math>, and the corresponding value of (the initial) <math>\tilde{r}</math>.  In doing so, we must expect that our ''discrete'' evaluation of <math>\tilde\rho</math> and <math>\tilde{P}</math> will differ from values determined in the continuum model.  We choose to adopt the following paths toward evaluation of these two scalar quantities:
<ul>
  <li>
Given that, in <font color="red"><b>STEP1</b></font>, we established a grid on which the <math>\tilde{M}_r</math> spacing between gridlines is uniform, we choose here to evaluate <math>\tilde{P}</math> midway between gridlines and to evaluate the pressure gradient via the (2<sup>nd</sup>-order accurate) expression,
 
<table border="0" align="center" cellpadding="8">
<tr>
   <td align="right"><math>\biggl[\frac{d\tilde{P}}{d\tilde{M}_r}\biggr]_n</math></td>
   <td align="center"><math>\approx</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{\tilde{P}_{n + 1/2} - \tilde{P}_{n - 1/2}}{(\Delta m)_c} \, .
- \frac{\tilde{M}_r }{4\pi \tilde{r}^4}  
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Note that the ''difference'' between the pair of discrete mid-zone values of the pressure that appears in the numerator of the term on the right-hand-side of this expression straddles the discrete grid in such a way that the left-hand-side pressure ''gradient'' is centered on the n<sup>th</sup> gridline.  This is as desired because the pressure ''gradient'' should be compared with <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, which is also evaluated on each gridline.
  </li>
  <li>
We will also evaluate <math>\tilde{\rho}</math> midway between gridlines.  Then, at the center of each ''core'' grid zone, we can use the exact relationship between the normalized pressure and normalized density &#8212; namely,


<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>\tilde{P}_{n+1/2}</math></td>
   <td align="right">
   <td align="center"><math>\approx</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\biggl[\tilde\rho_{n+1/2}\biggr]^{6/5} \, ,
- \frac{1}{4\pi} \mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
\cdot
\biggl\{
\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4}
\biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi
\biggr\}^{-4}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
 
to determine <math>\tilde{P}_{n+1/2}</math> from <math>\tilde{\rho}_{n+1/2}</math> or, after inversion, to determine <math>\tilde{\rho}_{n+1/2}</math> from <math>\tilde{P}_{n+1/2}</math> for all <math>1 \le n \le N_c</math>.
  </li>
</ul>
<font color="red"><b>STEP4:</b></font>&nbsp; &nbsp; By design, the mass contained within every spherical shell of our discrete model is <math>(\Delta m)_c</math> and &#8212; even after a perturbation is introduced &#8212; for all <math>1 \le n \le N_c</math>, the differential volume of the various shells is,
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>(\Delta ~ \mathrm{Vol})_{n+1/2}</math></td>
   <td align="right">
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{4\pi}{3}\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr] \, .
- \biggl\{
\mathcal{m}_\mathrm{surf}^{7} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14}
\biggl(\frac{2^2\pi^2}{3^2}\biggr)
\biggr\}
\frac{1}{4\pi}  
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \frac{1}{\xi} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
 
In an effort to satisfy the continuity equation, throughout our discrete model we will relate the gas density of each spherical shell to the bounding radii of that shell via the expression,
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>\rho_{n+1/2} = \frac{(\Delta m)_c}{(\Delta ~ \mathrm{Vol})_{n+1/2}}</math></td>
   <td align="right">
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{3(\Delta m)_c}{4\pi}\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr]^{-1} \, .
- \biggl\{
\mathcal{m}_\mathrm{surf}^{7} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-14}  
\biggr\}
\biggl( \frac{2\cdot \pi}{ 3^3 } \biggr)^{1/2} \biggl[ \frac{1}{\xi} \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
<ul>
<span id="Takeaway">This matches our earlier expression, as it should. </span>  
  <li>
Values of the normalized density computed in this manner have been recorded in the column titled <font color="darkgreen">rho_FD</font> of <b>Table C1</b>; the subscript "FD" stands for "Finite Difference".  For example, in the shell just before the core/envelope interface <math>(n = 20)</math>, we find <math>\tilde\rho_{n+1/2} = 2.8168 \times 10^{5}</math>.
  </li>
  <li>
We have determined the value of the normalized pressure that corresponds to each of these "Finite Difference" values of the density using the algebraic relation presented above in <font color="red"><b>STEP3</b></font>; their values have been recorded in the column titled <font color="darkgreen">P_FD</font> of <b>Table C1</b>.  For example, in the shell just before the core/envelope interface <math>(n = 20)</math>, we find <math>\tilde{P}_{n+1/2} = [\tilde\rho_{n+1/2}]^{6/5} = 3.4651 \times 10^{6}</math>.
  </li>
  <li>
From our determination of <math>\tilde{P}_{n+1/2}</math> throughout the core, values of the normalized pressure ''gradient'' have been computed in the manner described above in <font color="red"><b>STEP3:</b></font>, and have been recorded in the column titled <font color="darkgreen">(dP/dM)_FD</font> of <b>Table C1</b>. For example, at the <math>n = 20</math> gridline, we find <math>[d\tilde{P}/d\tilde{M}_r]_{n} = -9.281 \times 10^{7}</math>.
  </li>
</ul>


<table border="1" align="center" cellpadding="8" width="60%"><tr><td align="left">
<div align="center">'''Takeaway Expression'''</div>


<font color="red"><b>STEP5:</b></font>&nbsp; &nbsp; Throughout the core, compare evaluation of the finite-difference representation of the (absolute value of the) pressure gradient to an evaluation of the unperturbed and analytically prescribed profile of the quantity, <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>.  The left-hand segment of <b>Figure C1</b> provides such a comparison; actually, for reasons that will become clear later, we have multiplied both quantities by <math>4\pi \tilde{r}^2</math> before plotting.
<table border="0" align="center" cellpadding="8">
 
<tr>
<table border="1" align="center" cellpadding="8" width="80%">
   <td align="right">
<tr>
<math>
   <td align="center"><b>Figure C1</b></td>
\frac{d\tilde{P}}{d\tilde{M}_r}  
</tr>
</math>
<tr>
   </td>
  <td align="center">[[File:ModelC Fig1.png|750px|Finite-Difference Structure of Model C]]</td>
   <td align="center"><math>=</math></td>
</tr>
 
<tr>
  <td align="left">
The smooth, solid curves (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> as a function of <math>\tilde{M}_r</math> throughout the unperturbed <b>Model C</b>.  The solid, circular markers (colored dark orange throughout the core and light orange across the envelope) identify how our finite-difference representation of the pressure gradient &#8212; more specifically, the quantity, <math>(4\pi \tilde{r}^2)|d\tilde{P}/d\tilde{M}_r|_n</math> &#8212; varies with <math>\tilde{M}_r</math> throughout the equilibrium configuration.  We use the difference between these two quantities as a measure of the ''error'' introduced by our specified finite-difference representation of the equilibrium model. For example, the small solid dots and accompanying (interpolated) dashed curve that appear in <b>Figure C1</b> (blue for the core and green for the envelope) show how,
<table border="0" align="center" cellpadding="8">
<tr>
   <td align="right"><math>\mathrm{error}</math></td>
   <td align="center"><math>\equiv</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\mathrm{amp}~ \times \biggl\{ \frac{\tilde{M}_r}{\tilde{r}^2} - (4\pi \tilde{r}^2)\biggl|\frac{d\tilde{P}}{d\tilde{M}_r}\biggr|_n \biggr\} \, ,
- \frac{\tilde{M}_r }{4\pi \tilde{r}^4}  
</math>
</math>
  </td>
</tr>
</table>
varies with mass shell throughout the equilibrium model, after setting <math>\mathrm{amp}~= -50</math>; this data has been recorded in the column titled "<font color="red">Alternate_FD</font> error" in <b>Table C1</b>.
   </td>
   </td>
</tr>
</tr>
</table>
</table>


====Behavior at the Interface====
</td></tr></table>


It is worth pointing out that the second derivative of the pressure (with respect to <math>\tilde{M}_r</math>) exhibits a discontinuous jump at the interface.  Specifically,
====Envelope====
 
Given that, for the envelope,
The smooth, solid curves in <b>Figure C1</b> (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> as a function of <math>\tilde{M}_r</math> throughout the unperturbed <b>Model C</b>.  These curves intersect at the core/envelope interface (marked by the vertical, black dashed line), which means that the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> has the same value whether viewed from the perspective of the core or from the perspective of the envelope.  But, as the figure illustrates, the curves exhibit different slopes at the interface.
 
Quite generally we can write,


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">
Line 946: Line 934:
   <td align="right">
   <td align="right">
<math>
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
\tilde{M}_r
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\frac{1}{\tilde{r}^2}  
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,</math>&nbsp; &nbsp; &nbsp; and,
-
\frac{2\tilde{M}_r}{\tilde{r}^3}\frac{d\tilde{r}}{d\tilde{M}_r}  
=
\frac{1}{\tilde{r}^2}\biggl\{ 1 - 2 \cdot \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r}
\biggr\}
\, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
This means that, for the core,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
\tilde{r}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta \, ,</math>
  </td>
</tr>
</table>
we deduce that,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{d\tilde{P}}{d\tilde{M}_r} = - \frac{\tilde{M}_r}{4\pi \tilde{r}^4}
</math>
</math>
   </td>
   </td>
Line 976: Line 969:
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}^2}  
\biggl(\frac{1}{4\pi}\biggr)
-
\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[ \frac{d\xi}{d\tilde{M}_r} \cdot \frac{d\tilde{r}}{d\xi} \biggr]
A\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
\biggl[
\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta
\biggr]^{-4}
</math>
</math>
   </td>
   </td>
Line 990: Line 986:
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}^2}  
\biggl(\frac{1}{2^4\pi^2} \cdot \frac{2}{\pi} \cdot 2^4 \pi^4\biggr)^{1 / 2}  
-
\mathcal{m}_\mathrm{surf}^{7}~ \theta^{7}_i 
\frac{2\tilde{M}_r}{\tilde{r}^3}  
A\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
\biggl[ \mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}  
\biggl[
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\biggl( \frac{\mu_e}{\mu_c} \biggr)^{-12} \eta^{-4}
\biggl\{
\biggr]
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr\}
\biggr]  
\cdot  
\biggl[ \mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4} \biggl(\frac{3}{2\pi}\biggr)^{1/2} \biggr]
</math>
</math>
   </td>
   </td>
Line 1,012: Line 1,003:
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}^2}\biggl\{1  
\biggl( 2\pi\biggr)^{1 / 2}  
-
\mathcal{m}_\mathrm{surf}^{7}~ \theta^{7}_i  \biggl( \frac{\mu_e}{\mu_c} \biggr)^{-12} \cdot
2\tilde{M}_r
\frac{A}{\eta^4}\biggl[ \eta\cos(\eta-B) -\sin(\eta-B) \biggr] \cdot
\biggl[ \mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}  
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}  
\frac{1}{3\xi^3 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr]  
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>


<tr>
As a cross-check &hellip;
 
<table border="0" align="center" cellpadding="8">
 
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>
\frac{d\tilde{P}}{d\eta}
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
\frac{1}{\tilde{r}^2}\biggl[ 1
\biggl[2\phi \cdot \frac{d\phi}{d\eta} \biggr]</math>
-
\frac{2}{3 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\biggr]  
</math>
   </td>
   </td>
</tr>
</tr>
Line 1,045: Line 1,034:
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>2\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
\frac{1}{3\tilde{r}^2}\biggl( 1 - \frac{2}{3}\xi^2 \biggr) \, .
\cdot \frac{A^2}{\eta^3}
</math>
\cdot
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr] \sin(\eta - B) \, ,</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
Specifically at the interface (from the perspective of the core),
 
and,
<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">


Line 1,057: Line 1,048:
   <td align="right">
   <td align="right">
<math>
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{core}}
\frac{d\tilde{M}_r}{d\eta}
</math>
</math>
   </td>
   </td>
Line 1,063: Line 1,054:
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{3\tilde{r}_i^2}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr) \, .
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\frac{d}{d\eta}\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<!--
----


<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}  
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}  
\biggl\{  
\biggl\{  
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\eta\sin(\eta-B)
\biggr\}  
\biggr\}  
</math><br />
\, .
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4} \biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi</math><br />
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
</math>
</math>
  </td>
</tr>
</table>
That is,


----
<math>A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\biggl\{
\eta\sin(\eta-B)
\biggr\}
</math><br />
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta </math><br />
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,</math>
----
-->
And for the envelope,
<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">


Line 1,107: Line 1,083:
   <td align="right">
   <td align="right">
<math>
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
\frac{d\tilde{P}}{d\tilde{M}_r}
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>2\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i
\frac{1}{\tilde{r}^2}  
\cdot \frac{A^2}{\eta^3}
-
\cdot
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[ \frac{d\eta}{d\tilde{M}_r} \cdot \frac{d\tilde{r}}{d\eta} \biggr]  
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr] \sin(\eta - B)
\biggl\{
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\biggl[
\eta\sin(\eta-B)
\biggr]  
\biggr\}^{-1}
</math>
</math>
   </td>
   </td>
Line 1,126: Line 1,108:
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>(2\pi)^{1/2} \mathcal{m}_\mathrm{surf}^7 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{7}_i
\frac{1}{\tilde{r}^2}  
\cdot \frac{A}{\eta^4}
-
\cdot
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[
\biggl[ \eta\cos(\eta-B) - \sin(\eta-B) \biggr] \, .
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\biggl\{  
\eta\sin(\eta-B)
\biggr\}  
\biggr]^{-1} \cdot  
\biggl[ \mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2} \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<font color="red">Correct!</font>
====Time-Dependent Euler Equation====
We begin with the form of the,


<tr>
<div align="center">
   <td align="right">
<span id="PGE:Euler"><font color="#770000">'''Euler Equation'''</font></span><br />
&nbsp;
 
  </td>
<math>\frac{dv_r}{dt} = - \frac{1}{\rho}\frac{dP}{dr} - \frac{d\Phi}{dr} </math><br />
</div>
that is broadly relevant to studies of radial oscillations in [[SSCpt1/PGE#PGE_for_Spherically_Symmetric_Configurations|spherically symmetric configurations]].  Recognizing from, for example, a [[SSC/Dynamics/FreeFall#Assembling_the_Key_Relations|related discussion]] that, <math>v_r = dr/dt</math>, and that,
<table border="0" align="center" cellpadding="5">
<tr>
   <td align="right"><math>\frac{d\Phi}{dr}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>\frac{GM_r}{r^2}</math></td>
<math>
\frac{1}{\tilde{r}^2} \biggl\{1
-
\frac{2\tilde{M}_r}{\eta} \biggl[
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}  
\eta\sin(\eta-B)
\biggr]^{-1}
\biggr\}
</math>
  </td>
</tr>
</tr>
</table>


we obtain our
<table border="0" align="center" cellpadding="5">
<tr>
<tr>
   <td align="right">
   <td align="center" colspan="3">
&nbsp;
<font color="#770000">'''Desired Form of the Euler Equation'''</font>
   </td>
   </td>
</tr>
<tr>
  <td align="right"><math>\frac{d^2r}{dt^2}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>- \frac{1}{\rho} \frac{dP}{dr} -\frac{GM_r}{r^2} \, .</math></td>
<math>
\frac{1}{\tilde{r}^2} \biggl\{1
-
\frac{2}{\eta^2}
\biggl[ 1 - \eta\cot(\eta-B) \biggr]
\biggr\} \, .
</math>
  </td>
</tr>
</tr>
</table>
</table>


Now, pulling from [[SSC/Structure/BiPolytropes/Analytic51#Step_6:_Envelope_Solution|our original derivation]], we appreciate that,
Given as well that,
<table border="0" align="center" cellpadding="8">
 
<div align="center">
{{Math/EQ_SSmassConservation01}}
</div>
we see that,
<table border="0" align="center" cellpadding="5">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\frac{dM_r}{4\pi r^2}</math></td>
<math>
   <td align="center"><math>=</math></td>
\eta_i \cot(\eta_i - B)
   <td align="left"><math>\rho dr</math></td>
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="left">
<math>
\eta_i \Lambda_i
</math>
  </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\Rightarrow ~~~ \frac{d^2r}{dt^2}</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>- 4\pi r^2 \frac{dP}{dM_r} -\frac{GM_r}{r^2} </math></td>
<math>
\biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i  \biggr]
\frac{\xi_i}{\sqrt{3}} \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\theta_i^2 \xi_i^2} - 1\biggr]
</math>
  </td>
</tr>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\Rightarrow ~~~ \frac{1}{4\pi r^2}\cdot \frac{d^2r}{dt^2}</math></td>
&nbsp;
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left"><math>- \frac{dP}{dM_r} -\frac{GM_r}{4\pi r^4} \, .</math></td>
<math>
</tr>
\biggl[ 1 - \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr)\biggr]
</table>
</math>
 
<span id="NormalizedEuler">Next,</span> if as [[#Core|above]], we multiply through by <math>\biggl[ K_c^{-10} G^9 M_\mathrm{tot}^7 \biggr]</math>, we obtain the relevant,
<table border="0" align="center" cellpadding="5">
 
<tr>
  <td align="center" colspan="3">
<font color="#770000">'''Normalized Euler Equation'''</font>
   </td>
   </td>
</tr>
<tr>
  <td align="right"><math>\frac{1}{4\pi \tilde{r}^2}\cdot \frac{d^2\tilde{r}}{d\tilde{t}^2}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>- \frac{d\tilde{P}}{d\tilde{M}_r} -\frac{\tilde{M}_r}{4\pi \tilde{r}^4} \, ,</math></td>
</tr>
</tr>
</table>
</table>
where, as a reminder, the dimensionless time is,
<table border="0" align="center" cellpadding="5">


Hence, at the interface (from the perspective of the envelope) we find,
<tr>
  <td align="right"><math>\tilde{t}</math></td>
  <td align="center"><math>\equiv</math></td>
  <td align="left"><math>t \biggl[K_c^{15} G^{-13} M_\mathrm{tot}^{-10} \biggr]^{1 / 4} \, .</math></td>
</tr>
</table>


<table border="0" align="center" cellpadding="8">


<tr>
<table border="1" align="center" width=80%" cellpadding="8">
  <td align="right">
<tr><td align="left">
<math>\biggl\{
<div align="center"><font color="red"><b>CAUTION!</b></font> &nbsp; Regarding Our Chosen Lagrangian Fluid Marker</div>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
 
\biggr\}_{i, \mathrm{env}}
If we were to use <math>\tilde{r}</math> as our primary Lagrangian fluid marker, we would be in a position to analytically specify the function, <math>\tilde{M}_r(\tilde{r})</math>.  Here, however, we will call upon <math>\tilde{M}_r</math> rather than <math>\tilde{r}</math> to serve as the primary Lagrangian fluid marker because mass facilitates our efforts to highlight a variety of important physical properties of bipolytropic configurations. We will therefore need to specify the function, <math>\tilde{r}(\tilde{M}_r)</math> instead of <math>\tilde{M}_r(\tilde{r})</math>.  For the core, this choice does not introduce any particularly difficult computational challenges because we can invert the <math>\tilde{M}_r(\tilde{r})</math> relationship analytically to obtain &hellip; 
</math>
 
   </td>
<table border="0" align="center" cellpadding="8">
<tr>
   <td align="right"><math>\xi^2</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
3\biggl[ 3\biggl(\frac{c_m}{\tilde{M}_r}\biggr)^{2/3} - 1\biggr]^{-1} \, ,
-
\frac{2}{\eta_i^2}
\biggl[ 1 - \eta_i \cot(\eta_i-B) \biggr]
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
where,


<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right">
   <td align="right"><math>c_m</math></td>
&nbsp;
   <td align="center"><math>\equiv</math></td>
  </td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
m_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^2 \biggl(\frac{2\cdot 3}{\pi}\biggr)^{1 / 2} \, .
-
\frac{2}{\eta_i^2}  
\biggl[ \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr) \biggr]
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>


<tr>
This is not the case for the envelope, however; we will not be able to analytically specify <math>\tilde{r}(\tilde{M}_r)</math>.  This is unfortunate, as a ''numerical'' (rather than analytic) specification will necessarily introduce additional errors into our solution of the displacement function &#8212; which already is a small and error-prone quantity.  We will nevertheless proceed along this line.
  <td align="right">
</td></tr>
&nbsp;
</table>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
2 \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i \biggr]^{-2}
\biggl[ \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr) \biggr]
\biggr\}
</math>
  </td>
</tr>


<tr>
==Example Models Along BiPolytrope Sequence 0.3100==
  <td align="right">
For the case of <math>(n_c, n_e) = (5, 1)</math> and <math>\mu_e/\mu_c = 0.3100</math>, we consider here the examination of models with three relatively significant values of the core/envelope interface:
&nbsp;
<ul>
   </td>
   <li><font color="darkgreen">'''Model D'''</font>
  <td align="center"><math>=</math></td>
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (2.06061, 1.1931E+02, 0.16296, 0.13754)</math>: Approximate location along the sequence of the model with the maximum fractional core radius.
   <td align="left">
  </li>
<math>
   <li><font color="darkgreen">'''Model C'''</font>
\frac{1}{\tilde{r}_i^2} \biggl\{1
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (2.69697, 3.0676E+02, 0.15819, 0.19161)</math>: Approximate location along the sequence of the onset of fundamental-mode instability.
-
  </li>
\frac{2}{3}
  <li><font color="darkgreen">'''Model A'''</font>
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
<math>(\xi_i, \bar\rho/\rho_c, q, \nu) \approx (9.0149598, 1.1664E+06, 0.075502255, 0.337217006)</math>: Exact location along the sequence of the model with the maximum fractional core mass.
\biggr\} \, .
   </li>
</math>
</ul>
   </td>
</tr>
</table>


<!--
===Model C Finite-Difference Representation===
<table border="0" align="center" cellpadding="5">
Here we examine a discrete representation of a model along the <math>\mu_e/\mu_c = 0.31</math> sequence whose core/envelope interface is located at <math>\xi_i = 2.69697</math>; whose core mass-fraction is <math>\nu = 0.19161</math>; and for which, <math>m_\mathrm{surf} = 2.145465292</math>.
<tr>
 
  <td align="right"><math>\theta_i</math></td>
====Treatment of the Core====
  <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(1+\frac{1}{3}\xi_i^2\biggr)^{-1 / 2} \, ,</math></td>
</tr>


<table border="1" align="center" cellpadding="8">
<tr>
<tr>
  <td align="right"><math>\eta_i</math></td>
   <td align="center"><b>Table C1</b></td>
   <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i \, ,</math></td>
</tr>
</tr>
<tr>
<tr>
  <td align="right"><math>\Lambda_i</math></td>
   <td align="center">[[File:ModelC Table1Again.png|900px|Equilibrium Structure of Model C]]</td>
   <td align="center"><math>=</math></td>
  <td align="left"><math>
\frac{\xi_i}{\sqrt{3}} \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\theta_i^2 \xi_i^2} - 1\biggr]  
\, ,</math></td>
</tr>
</tr>
</table>
</table>
-->


<table border="1" align="center" cellpadding="8" width="80%">
<font color="red"><b>STEP1:</b></font>&nbsp; &nbsp; Divide the core into <math>(N_c+1)</math> grid lines &#8212; that is, into <math>N_c</math> radial zones &#8212; associating the first "grid line" with the center of the core and the last grid line with the radial location of the core/envelope interface; in <b>Table C1</b>, we have set <math>N_c = 20</math>.  Choosing <math>0 \le \tilde{M}_r \le \nu</math> as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:
<tr>
<ul>
   <td align="center"><b>Figure C2</b></td>
   <li>
</tr>
Mass (see column titled <font color="darkgreen">tilde M_r</font> in <b>Table C1</b>): &nbsp; &nbsp; Set <math>(\Delta m)_c = \nu/(N_c)</math>; then, for <math>n = 1 ~\mathrm{thru}~ (N_c + 1)</math>, set <math>\tilde{M}_r = (n - 1)(\Delta m)_c \, .</math>
<tr>
  </li>
  <td align="center">[[File:ModelC Fig2.png|750px|Model C Slopes at Interface]]</td>
  <li>
</tr>
Polytropic radial coordinate (see column titled <font color="darkgreen">xi from M_r</font> in <b>Table C1</b>): &nbsp; &nbsp; Given that, <math>c_m = m_\mathrm{surf}^{-1} ( \mu_e/\mu_c)^2 (6/\pi)^{1 / 2} = 0.0619017</math>, determine the value of <math>\xi</math> associated with each gridline's value of <math>\tilde{M}_r</math> from the expression,


<tr>
  <td align="left">
A pair of line-segments with arrowheads has been added to Figure C1: 
<ul>
  <li>The red arrow is tangent to the solid blue curve at the core/envelope interface; its slope is,
<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right">
   <td align="right"><math>\xi</math></td>
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{core}}
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{3\tilde{r}_i^2}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr) = -9.177751 \times 10^{4}\, .
3^{1 / 2}\biggl[ 3\biggl(\frac{c_m}{\tilde{M}_r}\biggr)^{2/3} - 1\biggr]^{-1 / 2} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
For example, at the 21<sup>st</sup> gridline (associated with the core/envelope interface), this expression gives the expected, <math>\xi_i = 2.69697</math>.
   </li>
   </li>
   <li>The green arrow is tangent to the solid green curve at the core/envelope interface; its slope is,  
   <li>
<table border="0" align="center" cellpadding="8">
Given the value of <math>\xi</math> at each gridline, determine the associated values of <math>\tilde{r}, \tilde{\rho}, \tilde{P}</math> &#8212; see the columns in <b>Table C1</b> titled <font color="darkgreen">tilde r, tilde rho, tilde P</font> &#8212; using the appropriate analytic expressions for the ''Core'' [[#VariableProfiles|as provided above]].  For example, at the 21<sup>st</sup> gridline (associated with the core/envelope interface), we find, <math>\tilde{r} = 0.003739</math>, <math>\tilde\rho = 2.5555 \times 10^{5}</math>, and <math>\tilde{P} = 3.0830 \times 10^{6}</math>.


  </li>
</ul>
<font color="red"><b>STEP2:</b></font>&nbsp; &nbsp; Building upon the results of <font color="red"><b>STEP1</b></font>, determine the value of <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math> at each gridline in the (initially) equilibrium model; see the column of <b>Table C1</b> titled <font color="darkgreen">M/(r pi r^4)</font>.
<ul>
  <li>
As stated in the [[#Takeaway|above ''Takeaway Expression'']], this will simultaneously provide a precise evaluation of the pressure gradient, <math>d\tilde{P}/d\tilde{M}_r</math>, at each gridline ''when the configuration is in equilibrium.''
  </li>
  <li>
After a perturbation is introduced into the (initially equilibrium) configuration, both the pressure gradient and the quantity, <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, will deviate from their equilibrium values and, quite generally, from each other.  (Actually, <math>\tilde{M}_r</math> will not vary because, by definition, it is our time-invariant Lagrangian fluid marker; but the pressure gradient and the denominator of the second term, <math>4 \pi \tilde{r}^4</math>, will vary.)  Then, as expressed by the [[#NormalizedEuler|above ''Normalized Euler Equation'']], the sum of these two perturbed quantities will dictate the strength and direction of the unbalanced acceleration that will be felt by the Lagrangian fluid element at each gridline.
  </li>
</ul>
<font color="red"><b>STEP3:</b></font>&nbsp; &nbsp; Our ''discrete representation'' of <b>Model C</b> will be constructed in such a way as to preserve, at each gridline location, the analytically determined values of the Lagrangian marker, <math>\tilde{M}_r</math>, and the corresponding value of (the initial) <math>\tilde{r}</math>.  In doing so, we must expect that our ''discrete'' evaluation of <math>\tilde\rho</math> and <math>\tilde{P}</math> will differ from values determined in the continuum model.  We choose to adopt the following paths toward evaluation of these two scalar quantities:
<ul>
  <li>
Given that, in <font color="red"><b>STEP1</b></font>, we established a grid on which the <math>\tilde{M}_r</math> spacing between gridlines is uniform, we choose here to evaluate <math>\tilde{P}</math> midway between gridlines and to evaluate the pressure gradient via the (2<sup>nd</sup>-order accurate) expression,
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right">
   <td align="right"><math>\biggl[\frac{d\tilde{P}}{d\tilde{M}_r}\biggr]_n</math></td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{env}}
\frac{\tilde{P}_{n + 1/2} - \tilde{P}_{n - 1/2}}{(\Delta m)_c} \, .
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
</tr>
   <td align="left">
</table>
Note that the ''difference'' between the pair of discrete mid-zone values of the pressure that appears in the numerator of the term on the right-hand-side of this expression straddles the discrete grid in such a way that the left-hand-side pressure ''gradient'' is centered on the n<sup>th</sup> gridline.  This is as desired because the pressure ''gradient'' should be compared with <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, which is also evaluated on each gridline.
  </li>
  <li>
We will also evaluate <math>\tilde{\rho}</math> midway between gridlines.  Then, at the center of each ''core'' grid zone, we can use the exact relationship between the normalized pressure and normalized density &#8212; namely,
 
<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\tilde{P}_{n+1/2}</math></td>
   <td align="center"><math>\approx</math></td>
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
\biggl[\tilde\rho_{n+1/2}\biggr]^{6/5} \, ,
-
\frac{2}{3}
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
\biggr\} =-4.552725\times 10^5\, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
   </li>  
to determine <math>\tilde{P}_{n+1/2}</math> from <math>\tilde{\rho}_{n+1/2}</math> or, after inversion, to determine <math>\tilde{\rho}_{n+1/2}</math> from <math>\tilde{P}_{n+1/2}</math> for all <math>1 \le n \le N_c</math>.
   </li>
</ul>
</ul>
They illustrate that the ''slope'' of the function, <math>\tilde{M}_r/\tilde{r}^2</math>, has a discontinuous jump at the interface.  Given that,  
<span id="STEP4"><font color="red"><b>STEP4:</b></font>&nbsp; &nbsp; By design,</span> the mass contained within every spherical shell of our discrete model is <math>(\Delta m)_c</math> and &#8212; even after a perturbation is introduced &#8212; for all <math>1 \le n \le N_c</math>, the differential volume of the various shells is,  
<table border="0" align="center" cellpadding="5">
<table border="0" align="center" cellpadding="8">
<tr>
<tr>
   <td align="right"><math>\frac{d\tilde{P}}{d\tilde{M}_r} </math></td>
   <td align="right"><math>(\Delta ~ \mathrm{Vol})_{n+1/2}</math></td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left"><math>- \frac{\tilde{M}_r}{\tilde{r}^2} \, ,</math></td>
   <td align="left">
</tr>
<math>
\frac{4\pi}{3}\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr] \, .
</math>
  </td>
</tr>
</table>
</table>
in the <b>Model C</b> equilibrium configuration, this also illustrates that this bipolytropic model has a discontinuous jump in the ''second-derivative'' of the pressure (with respect to <math>\tilde{M}_r</math>) at the core/envelope interface.
In an effort to satisfy the continuity equation, throughout our discrete model we will relate the gas density of each spherical shell to the bounding radii of that shell via the expression,
<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\rho_{n+1/2} = \frac{(\Delta m)_c}{(\Delta ~ \mathrm{Vol})_{n+1/2}}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{3(\Delta m)_c}{4\pi}\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr]^{-1} \, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>


<table border="1" width="80%" align="center" cellpadding="8"><tr><td align="left">
<div align="center"><font color="red"><b>ASIDE</b></font></div>


Note that this discontinuity will disappear in a model for which the two slopes have the same value, that is, when,
Unperturbed &hellip;


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\frac{3(\Delta m)_c}{4\pi \rho_{n+1/2}}</math></td>
<math>
\frac{1}{3}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr)
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\biggl\{1
\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr]
-
\frac{2}{3}  
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
\biggr\}
</math>
</math>
   </td>
   </td>
Line 1,404: Line 1,381:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
\Rightarrow ~~~ 1 - \frac{2}{3}\xi_i^2
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
3
\biggl[ \tilde{r}_{n+1/2} + \frac{\Delta \tilde{r}}{2} \biggr]^3
-
-  
2
\biggl[ \tilde{r}_{n+1/2} - \frac{\Delta \tilde{r}}{2} \biggr]^3
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
</math>
</math>
   </td>
   </td>
Line 1,421: Line 1,393:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
\Rightarrow ~~~ \xi_i^2
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>\tilde{r}_{n+1/2}^3 \biggl\{
3  
\biggl[ 1 + \frac{\Delta \tilde{r}}{2\tilde{r}_{n+1/2}} \biggr]^3
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}
-  
+
\biggl[ 1 - \frac{\Delta \tilde{r}}{2\tilde{r}_{n+1/2}} \biggr]^3
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\xi_i^2
\biggr\}
</math>
</math>
   </td>
   </td>
Line 1,438: Line 1,406:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
   <td align="center"><math>\approx</math></td>
\Rightarrow ~~~ \biggl(\frac{\mu_e}{\mu_c}\biggr)\xi_i^2
   <td align="left">
</math>
<math>\tilde{r}_{n+1/2}^3 \biggl\{
  </td>
\biggl[ 1 + \frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}} \biggr]
   <td align="center"><math>=</math></td>
-
   <td align="left">
\biggl[ 1 - \frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}} \biggr]
<math>
\biggr\}
3  
+
\xi_i^2
</math>
</math>
   </td>
   </td>
Line 1,454: Line 1,419:


<tr>
<tr>
   <td align="right">
   <td align="right">&nbsp;</td>
<math>
\Rightarrow ~~~ \biggl(\frac{\mu_e}{\mu_c} - 1\biggr)\xi_i^2
</math>
  </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>=</math></td>
   <td align="left">
   <td align="left">
<math>
<math>3\Delta \tilde{r} \cdot \tilde{r}_{n+1/2}^2 \, .  
3 \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
This will never occur in this bipolytropic model.


<table border="1" align="center" width="80%" cellpadding="5"><tr><td align="left">
 
<div align="center"><b>Evaluation of the Logarithmic Derivative</b><br /><math>d\ln \tilde{r}/d\ln \tilde{M}_r</math></div>
----
At the [[#Behavior_at_the_Interface|beginning of this subsection]], we demonstrated that, quite generally,
 
 
Perturbed &hellip;


<table border="0" align="center" cellpadding="8">
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\frac{1}{\tilde\rho_0}\biggl[1 + \frac{\delta \tilde\rho}{\tilde\rho_0}\biggr]^{-1} \frac{3(\Delta m)_c}{4\pi}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
\tilde{r}^3_{n+1}\biggl[1 + \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}\biggr]^3
-
\tilde{r}^3_{n}\biggl[1 + \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]^3
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
</tr>
 
<tr>
  <td align="right"><math>\Rightarrow ~~~
\frac{1}{\tilde\rho_0}\biggl[1 - \frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr] \frac{3(\Delta m)_c}{4\pi}</math>
  </td>
   <td align="center"><math>\approx</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{\tilde{r}^2}\biggl\{ 1 - 2 \cdot \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r}
\tilde{r}^3_{n+1}\biggl[1 + 3\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}\biggr]
\biggr\}
-
\, .
\tilde{r}^3_{n}\biggl[1 + 3\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
It is therefore the case that, at the interface and from the perspective of the core,
<table border="0" align="center" cellpadding="8">


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\Rightarrow ~~~
<math>
\frac{1}{\tilde\rho_0}\frac{3(\Delta m)_c}{4\pi}
\biggl\{ \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r} \biggr\}_{i, \mathrm{core}}
-
\frac{1}{\tilde\rho_0}\biggl[\frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr] \frac{3(\Delta m)_c}{4\pi}
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>\approx</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{3}\biggl(1 + \frac{\xi_i^2}{3}\biggr) \, ;
\tilde{r}^3_{n+1}
+
\tilde{r}^3_{n+1}\biggl[3\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}\biggr]
-
\tilde{r}^3_{n}
-
\tilde{r}^3_{n}\biggl[3\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
while, at the interface but from the perspective of the envelope,


<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\Rightarrow ~~~
-
\frac{1}{\tilde\rho_0}\biggl[\frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr] \frac{(\Delta m)_c}{4\pi}
</math>
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\tilde{r}^3_{n+1}\biggl[\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}\biggr]
-
\tilde{r}^3_{n}\biggl[\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]
</math>
  </td>
</tr>


<tr>
<tr>
   <td align="right">
   <td align="right"><math>\Rightarrow ~~~
<math>
-
\biggl\{ \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r} \biggr\}_{i, \mathrm{env}}
\biggl[\frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr]
</math>
</math>
   </td>
   </td>
   <td align="center"><math>=</math></td>
   <td align="center"><math>\approx</math></td>
   <td align="left">
   <td align="left">
<math>
<math>
\frac{1}{3}\biggl(1 + \frac{\xi_i^2}{3}\biggr)\biggl( \frac{\mu_e}{\mu_c} \biggr)^{-1}  
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
\, .
\biggl\{
\tilde{r}^3_{n+1}\biggl[\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}\biggr]
-
\tilde{r}^3_{n}\biggl[\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>


</td></tr></table>
<tr>
 
  <td align="right">
====Treatment of the Envelope====
&nbsp;
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
\biggl\{\tilde{r}_{n+1/2}^3\biggl[1 + \frac{\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\tilde{r}_{n+1/2}^3\biggl[1 - \frac{\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
\biggl\{\tilde{r}_{n+1/2}^3\biggl[1 + \frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\tilde{r}_{n+1/2}^3\biggl[1 - \frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}
\biggr\}
</math>
  </td>
</tr>


<table border="1" align="center" cellpadding="8">
<tr>
<tr>
   <td align="center"><b>Table C2</b></td>
   <td align="right">
</tr>
&nbsp;
<tr>
  </td>
   <td align="center">[[File:ModelC Table2.png|1000px|Equilibrium Structure of Model C Envelope]]</td>
  <td align="center"><math>\approx</math></td>
</tr>
   <td align="left">
</table>
<math>
 
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
<font color="darkgreen"><b>STEP11:</b></font>&nbsp; &nbsp; Divide the envelope into <math>(N_e+1)</math> grid lines &#8212; that is, into <math>N_e</math> radial zones &#8212; associating the first "grid line" with the location of the core/envelope interface and the last grid line with the radial location of the surface of the bipolytropic configuration; in <b>Table C2</b>, we have set <math>N_e = 20</math>.   Choosing <math>\nu \le \tilde{M}_r \le 1</math> as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:
\biggl\{
<ul>
\tilde{r}_{n+1/2}^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
+
\tilde{r}_{n+1/2}^3\biggl[\frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\tilde{r}_{n+1/2}^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}
+
\tilde{r}_{n+1/2}^3\biggl[\frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
\biggl\{
\tilde{r}_{n+1/2}^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\tilde{r}_{n+1/2}^3
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}
+
\tilde{r}_{n+1/2}^3\biggl[\frac{3\Delta \tilde{r}}{2\tilde{r}_{n+1/2}}\biggr]
\biggl[ \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
+
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{4\pi \tilde\rho_0 \tilde{r}_{n+1/2}^3}{(\Delta m)_c}
\biggl\{
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n} \biggr\}
+
\frac{4\pi \tilde\rho_0 }{(\Delta m)_c}
\biggl[3\Delta \tilde{r} \cdot \tilde{r}^2_{n+1/2}\biggr]
\biggl[ \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
+
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]\frac{1}{2} \, .
</math>
  </td>
</tr>
</table>
 
----
 
Combined &hellip;
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right"><math>\frac{3(\Delta m)_c}{4\pi \rho_{n+1/2}}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>3\Delta \tilde{r} \cdot \tilde{r}_{n+1/2}^2 
</math>
  </td>
</tr>
 
<tr>
  <td align="right"><math>\Rightarrow ~~~
-
\biggl[\frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr]
</math>
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{4\pi \tilde\rho_0 \tilde{r}_{n+1/2}^3}{(\Delta m)_c}
\biggl\{
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n} \biggr\}
+
3\biggl[ \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
+
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]\frac{1}{2}
</math>
  </td>
</tr>
 
<tr>
  <td align="right"><math>\Rightarrow ~~~
\frac{4\pi \tilde\rho_0 \tilde{r}_{n+1/2}^3}{(\Delta m)_c}
\biggl\{
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
-
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n} \biggr\}
</math>
  </td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
-
3\biggl[ \biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n+1}
+
\biggl( \frac{\delta \tilde{r}}{\tilde{r}} \biggr)_{n}\biggr]\frac{1}{2}
-
\biggl[\frac{\delta \tilde{\rho}}{\tilde\rho_0}\biggr]
\, .
</math>
  </td>
</tr>
 
</table>
This should be compared with the [[SSC/Perturbations#Continuity_Equation|more traditional derivation of the linearized continuity equation]], which gives,
<table border="0" cellpadding="5" align="center">
<tr>
  <td align="right">
<math>4\pi \rho_0 r_0^3 \frac{dx}{dm}  </math>
  </td>
  <td align="center">
<math>\approx</math>
  </td>
  <td align="left">
<math>- 3 x - d \, .</math>
  </td>
</tr>
</table>
 
 
</td></tr></table>
 
<ul>
  <li>
Values of the normalized density computed in this manner have been recorded in the column titled <font color="darkgreen">rho_FD</font> of <b>Table C1</b>; the subscript "FD" stands for "Finite Difference".  For example, in the shell just before the core/envelope interface <math>(n = 20)</math>, we find <math>\tilde\rho_{n+1/2} = 2.8168 \times 10^{5}</math>.
  </li>
  <li>
We have determined the value of the normalized pressure that corresponds to each of these "Finite Difference" values of the density using the algebraic relation presented above in <font color="red"><b>STEP3</b></font>; their values have been recorded in the column titled <font color="darkgreen">P_FD</font> of <b>Table C1</b>.  For example, in the shell just before the core/envelope interface <math>(n = 20)</math>, we find <math>\tilde{P}_{n+1/2} = [\tilde\rho_{n+1/2}]^{6/5} = 3.4651 \times 10^{6}</math>.
  </li>
  <li>
From our determination of <math>\tilde{P}_{n+1/2}</math> throughout the core, values of the normalized pressure ''gradient'' have been computed in the manner described above in <font color="red"><b>STEP3:</b></font>, and have been recorded in the column titled <font color="darkgreen">(dP/dM)_FD</font> of <b>Table C1</b>.  For example, at the <math>n = 20</math> gridline, we find <math>[d\tilde{P}/d\tilde{M}_r]_{n} = -9.281 \times 10^{7}</math>.
  </li>
</ul>
 
 
<font color="red"><b>STEP5:</b></font>&nbsp; &nbsp; Throughout the core, compare evaluation of the finite-difference representation of the (absolute value of the) pressure gradient to an evaluation of the unperturbed and analytically prescribed profile of the quantity, <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>.  The left-hand segment of <b>Figure C1</b> provides such a comparison; actually, for reasons that will become clear later, we have multiplied both quantities by <math>4\pi \tilde{r}^2</math> before plotting.
 
<table border="1" align="center" cellpadding="8" width="80%">
<tr>
  <td align="center"><b>Figure C1</b></td>
</tr>
<tr>
  <td align="center">[[File:ModelC Fig1.png|750px|Finite-Difference Structure of Model C]]</td>
</tr>
 
<tr>
  <td align="left">
The smooth, solid curves (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> as a function of <math>\tilde{M}_r</math> throughout the unperturbed <b>Model C</b>.  The solid, circular markers (colored dark orange throughout the core and light orange across the envelope) identify how our finite-difference representation of the pressure gradient &#8212; more specifically, the quantity, <math>(4\pi \tilde{r}^2)|d\tilde{P}/d\tilde{M}_r|_n</math> &#8212; varies with <math>\tilde{M}_r</math> throughout the equilibrium configuration.  We use the difference between these two quantities as a measure of the ''error'' introduced by our specified finite-difference representation of the equilibrium model. For example, the small solid dots and accompanying (interpolated) dashed curve that appear in <b>Figure C1</b> (blue for the core and green for the envelope) show how,
<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\mathrm{error}</math></td>
  <td align="center"><math>\equiv</math></td>
  <td align="left">
<math>
\mathrm{amp}~ \times \biggl\{ \frac{\tilde{M}_r}{\tilde{r}^2} - (4\pi \tilde{r}^2)\biggl|\frac{d\tilde{P}}{d\tilde{M}_r}\biggr|_n \biggr\} \, ,
</math>
  </td>
</tr>
</table>
varies with mass shell throughout the equilibrium model, after setting <math>\mathrm{amp}~= -50</math>; this data has been recorded in the column titled "<font color="red">Alternate_FD</font> error" in <b>Table C1</b>.
  </td>
</tr>
</table>
 
====Behavior at the Interface====
 
It is worth pointing out that the second derivative of the pressure (with respect to <math>\tilde{M}_r</math>) exhibits a discontinuous jump at the interface.  Specifically,
 
The smooth, solid curves in <b>Figure C1</b> (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> as a function of <math>\tilde{M}_r</math> throughout the unperturbed <b>Model C</b>.  These curves intersect at the core/envelope interface (marked by the vertical, black dashed line), which means that the quantity, <math>\tilde{M}_r/\tilde{r}^2</math> has the same value whether viewed from the perspective of the core or from the perspective of the envelope.  But, as the figure illustrates, the curves exhibit different slopes at the interface.
 
Quite generally we can write,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}
-
\frac{2\tilde{M}_r}{\tilde{r}^3}\frac{d\tilde{r}}{d\tilde{M}_r}
=
\frac{1}{\tilde{r}^2}\biggl\{ 1 - 2 \cdot \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r}
\biggr\}
\, .
</math>
  </td>
</tr>
</table>
 
This means that, for the core,
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}
-
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[ \frac{d\xi}{d\tilde{M}_r} \cdot \frac{d\tilde{r}}{d\xi} \biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}
-
\frac{2\tilde{M}_r}{\tilde{r}^3}
\biggl[ \mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\biggl\{
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr\}
\biggr]
\cdot
\biggl[ \mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4} \biggl(\frac{3}{2\pi}\biggr)^{1/2}  \biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}\biggl\{1
-
2\tilde{M}_r
\biggl[ \mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\frac{1}{3\xi^3 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr]
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}\biggl[ 1
-
\frac{2}{3 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)
\biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{3\tilde{r}^2}\biggl( 1 - \frac{2}{3}\xi^2 \biggr) \, .
</math>
  </td>
</tr>
</table>
Specifically at the interface (from the perspective of the core),
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{core}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{3\tilde{r}_i^2}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr) \, .
</math>
  </td>
</tr>
</table>
 
 
<!--
----
 
 
<math>
\mathcal{m}_\mathrm{surf} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-2}
\biggl( \frac{\pi }{2\cdot 3} \biggr)^{1/2}
\biggl\{
\frac{1}{3\xi^2 }\biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{5/2}
\biggr\}
</math><br />
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{4} \biggl(\frac{3}{2\pi}\biggr)^{1/2} \xi</math><br />
<math>
\mathcal{m}_\mathrm{surf}^{-1} \biggl(\frac{\mu_e}{\mu_c}\biggr)^{2}
\biggl( \frac{2\cdot 3}{\pi } \biggr)^{1/2} \biggl[ \xi^3 \biggl( 1 + \frac{1}{3}\xi^2 \biggr)^{-3/2} \biggr]
</math>
 
----
 
<math>A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\biggl\{
\eta\sin(\eta-B)
\biggr\}
</math><br />
<math>\mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2}\eta </math><br />
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,</math>
----
 
-->
 
And for the envelope,
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}
-
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[ \frac{d\eta}{d\tilde{M}_r} \cdot \frac{d\tilde{r}}{d\eta} \biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}
-
\frac{2\tilde{M}_r}{\tilde{r}^3} \biggl[
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\biggl\{
\eta\sin(\eta-B)
\biggr\}
\biggr]^{-1} \cdot
\biggl[ \mathcal{m}_\mathrm{surf}^{-2} \biggl( \frac{\mu_e}{\mu_c} \biggr)^{3} \theta^{-2}_i (2\pi)^{-1/2} \biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2} \biggl\{1
-
\frac{2\tilde{M}_r}{\eta} \biggl[
A \mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
\eta\sin(\eta-B)
\biggr]^{-1}
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2} \biggl\{1
-
\frac{2}{\eta^2}
\biggl[ 1 - \eta\cot(\eta-B) \biggr]
\biggr\} \, .
</math>
  </td>
</tr>
</table>
 
Now, pulling from [[SSC/Structure/BiPolytropes/Analytic51#Step_6:_Envelope_Solution|our original derivation]], we appreciate that,
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\eta_i \cot(\eta_i - B)
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\eta_i \Lambda_i
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i  \biggr]
\frac{\xi_i}{\sqrt{3}} \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\theta_i^2 \xi_i^2} - 1\biggr]
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\biggl[ 1 - \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr)\biggr]
</math>
  </td>
</tr>
</table>
 
Hence, at the interface (from the perspective of the envelope) we find,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>\biggl\{
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
\biggr\}_{i, \mathrm{env}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
\frac{2}{\eta_i^2}
\biggl[ 1 - \eta_i \cot(\eta_i-B) \biggr]
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
\frac{2}{\eta_i^2}
\biggl[ \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr) \biggr]
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
2 \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i \biggr]^{-2}
\biggl[ \theta_i^2 \xi_i^2 \biggl(\frac{\mu_e}{\mu_c}\biggr) \biggr]
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
\frac{2}{3}
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
\biggr\} \, .
</math>
  </td>
</tr>
</table>
 
<!--
<table border="0" align="center" cellpadding="5">
<tr>
  <td align="right"><math>\theta_i</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(1+\frac{1}{3}\xi_i^2\biggr)^{-1 / 2} \, ,</math></td>
</tr>
 
<tr>
  <td align="right"><math>\eta_i</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3} \theta_i^2 \xi_i \, ,</math></td>
</tr>
 
<tr>
  <td align="right"><math>\Lambda_i</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>
\frac{\xi_i}{\sqrt{3}} \biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\theta_i^2 \xi_i^2} - 1\biggr]
\, ,</math></td>
</tr>
</table>
-->
 
<table border="1" align="center" cellpadding="8" width="80%">
<tr>
  <td align="center"><b>Figure C2</b></td>
</tr>
<tr>
  <td align="center">[[File:ModelC Fig2.png|750px|Model C Slopes at Interface]]</td>
</tr>
 
<tr>
  <td align="left">
A pair of line-segments with arrowheads has been added to Figure C1: 
<ul>
  <li>The red arrow is tangent to the solid blue curve at the core/envelope interface; its slope is,
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{core}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{3\tilde{r}_i^2}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr) = -9.177751 \times 10^{4}\, .
</math>
  </td>
</tr>
</table>
  </li>
  <li>The green arrow is tangent to the solid green curve at the core/envelope interface; its slope is,
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\biggl\{ \frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]\biggr\}_{i,\mathrm{env}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}_i^2} \biggl\{1
-
\frac{2}{3}
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
\biggr\} =-4.552725\times 10^5\, .
</math>
  </td>
</tr>
</table>
  </li>
</ul>
They illustrate that the ''slope'' of the function, <math>\tilde{M}_r/\tilde{r}^2</math>, has a discontinuous jump at the interface.  Given that,
<table border="0" align="center" cellpadding="5">
<tr>
  <td align="right"><math>\frac{d\tilde{P}}{d\tilde{M}_r} </math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>- \frac{\tilde{M}_r}{\tilde{r}^2} \, ,</math></td>
</tr>
</table>
in the <b>Model C</b> equilibrium configuration, this also illustrates that this bipolytropic model has a discontinuous jump in the ''second-derivative'' of the pressure (with respect to <math>\tilde{M}_r</math>) at the core/envelope interface.
  </td>
</tr>
</table>
 
 
Note that this discontinuity will disappear in a model for which the two slopes have the same value, that is, when,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{1}{3}\biggl( 1 - \frac{2}{3}\xi_i^2 \biggr)
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\biggl\{1
-
\frac{2}{3}
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
<math>
\Rightarrow ~~~ 1 - \frac{2}{3}\xi_i^2
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
3
-
2
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\biggl(1+\frac{1}{3}\xi_i^2\biggr)
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
<math>
\Rightarrow ~~~ \xi_i^2
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
3
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}
+
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\xi_i^2
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
<math>
\Rightarrow ~~~ \biggl(\frac{\mu_e}{\mu_c}\biggr)\xi_i^2
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
3
+
\xi_i^2
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
<math>
\Rightarrow ~~~ \biggl(\frac{\mu_e}{\mu_c} - 1\biggr)\xi_i^2
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
3 \, .
</math>
  </td>
</tr>
</table>
This will never occur in this bipolytropic model.
 
<table border="1" align="center" width="80%" cellpadding="5"><tr><td align="left">
<div align="center"><b>Evaluation of the Logarithmic Derivative</b><br /><math>d\ln \tilde{r}/d\ln \tilde{M}_r</math></div>
At the [[#Behavior_at_the_Interface|beginning of this subsection]], we demonstrated that, quite generally,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\frac{d}{d\tilde{M}_r} \biggl[ \frac{\tilde{M}_r}{\tilde{r}^2} \biggr]
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{\tilde{r}^2}\biggl\{ 1 - 2 \cdot \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r}
\biggr\}
\, .
</math>
  </td>
</tr>
</table>
It is therefore the case that, at the interface and from the perspective of the core,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\biggl\{ \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r} \biggr\}_{i, \mathrm{core}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{3}\biggl(1 + \frac{\xi_i^2}{3}\biggr) \, ;
</math>
  </td>
</tr>
</table>
while, at the interface but from the perspective of the envelope,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\biggl\{ \frac{d\ln \tilde{r}}{d\ln \tilde{M}_r} \biggr\}_{i, \mathrm{env}}
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{1}{3}\biggl(1 + \frac{\xi_i^2}{3}\biggr)\biggl( \frac{\mu_e}{\mu_c} \biggr)^{-1}
\, .
</math>
  </td>
</tr>
</table>
 
</td></tr></table>
 
====Treatment of the Envelope====
 
<table border="1" align="center" cellpadding="8">
<tr>
  <td align="center"><b>Table C2</b></td>
</tr>
<tr>
  <td align="center">[[File:ModelC Table2.png|1000px|Equilibrium Structure of Model C Envelope]]</td>
</tr>
</table>
 
<font color="darkgreen"><b>STEP11:</b></font>&nbsp; &nbsp; Divide the envelope into <math>(N_e+1)</math> grid lines &#8212; that is, into <math>N_e</math> radial zones &#8212; associating the first "grid line" with the location of the core/envelope interface and the last grid line with the radial location of the surface of the bipolytropic configuration; in <b>Table C2</b>, we have set <math>N_e = 20</math>.  Choosing <math>\nu \le \tilde{M}_r \le 1</math> as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:
<ul>
  <li>
Mass (see 1<sup>st</sup> column titled <font color="darkgreen">tilde M_r</font> in <b>Table C2</b>): &nbsp; &nbsp; Set <math>(\Delta m)_e = (1-\nu)/(N_e)</math>; then, for <math>n = 1 ~\mathrm{thru}~ (N_e + 1)</math>, set <math>\tilde{M}_r = \nu + (n - 1)(\Delta m)_e \, .</math>
  </li>
  <li>
First and last polytropic radial coordinates:  In the [[#VariableProfiles|above summary of various physical variable profiles]], we have provided expressions for the envelope's polytropic radial coordinate at the core/envelope interface <math>(\eta_i)</math> and at the surface <math>(\eta_s)</math>.  Evaluating these expressions for <b>Model C</b>, we find,
<table border="0" align="center" cellpadding="5">
 
<tr>
  <td align="right"><math>\eta_i</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3}  \xi_i \biggl(1+\frac{1}{3}\xi_i^2\biggr)^{-1} = 0.42286 \, ,</math></td>
</tr>
 
<tr>
  <td align="right"><math>\eta_s</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>
\frac{\pi}{2} + \eta_i + \tan^{-1}\biggl\{
\frac{\xi_i}{\sqrt{3}}
\biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\xi_i^2}\biggl(1+\frac{1}{3}\xi_i^2\biggr) - 1\biggr]
\biggr\} = 2.67311 
\, ,</math>
</td>
</tr>
</table>
These two values appear, respectively, as the first and last numbers in the (2<sup>nd</sup>) column of <b>Table C2</b>, titled <font color="darkgreen">eta_guess</font>.
  </li>
  <li>
All other polytropic radial coordinates (see the "<math>N_e - 1</math>" numerical values that are highlighted in yellow in the column titled <font color="darkgreen">eta_guess</font> in <b>Table C2</b>): &nbsp; &nbsp; Next, we need to determine what value of <math>\eta</math> is associated with each Lagrangian fluid marker (''i.e.,'' each gridline) that lies between the interface and the surface.  Referring again to the  [[#VariableProfiles|above summary of various physical variable profiles]], we can determine analytically the value of <math>\tilde{M}_r</math> that is associated with any selected value of <math>\eta</math>, via the relation,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\tilde{M}_r(\eta)
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,
</math>
  </td>
</tr>
</table>
but what we really need is to invert this relation to obtain <math>\eta(\tilde{M}_r)</math>.  Unfortunately, unlike our experience with the core, for which we were able to invert the <math>\tilde{M}_r(\xi)</math> relation to obtain an analytic prescription for <math>\xi(\tilde{M}_r)</math> &#8212; see <font color="red"><b>STEP1</b></font> above &#8212; here, we are unable to analytically invert our <math>\tilde{M}_r(\eta)</math> expression.
 
Instead, for each gridline we ''guessed'' the value of <math>\eta</math> which, when plugged into the <math>\tilde{M}_r(\eta)</math> expression, would give the value of <math>\tilde{M}_r</math> that was already assigned to that gridline; by trial-and-error, we revised our guess for <math>\eta</math> until the desired value of the normalized mass (see the column titled <font color="darkgreen">tilde M_r</font>) was obtained (usually, to 6 or 7 digit accuracy).  <b>Table C2</b> provides the following record:  At each gridline, our final/best iterative "guess" for <math>\eta</math> is highlighted in yellow in the (2<sup>nd</sup>) column titled <font color="darkgreen">eta_guess</font>; the value of <math>\tilde{M}_r</math> that is obtained by plugging this "best guess" value of <math>\eta</math> into the <math>\tilde{M}_r(\eta)</math> relation is recorded in the (3<sup>rd</sup>) column titled <font color="darkgreen">M_r from eta</font>; and the (4<sup>th</sup>) column titled <font color="darkgreen">error</font> shows the fractional difference between this value and the desired value &#8212; as was our goal, all measured errors are zero, to at least six significant digits.
  </li>
  <li>
Given the "best guess" value of <math>\eta</math> at each gridline, determine the associated values of <math>\tilde{r}(\eta), \tilde{\rho}(\eta), \tilde{P}(\eta)</math> &#8212; see the (5<sup>th</sup>, 6<sup>th</sup>, and 7<sup>th</sup>) columns in <b>Table C2</b> titled <font color="darkgreen">tilde r, tilde rho, tilde P</font> &#8212; using the appropriate analytic expressions for the ''Envelope'' [[#VariableProfiles|as provided above]].  For example, at the 20<sup>th</sup> gridline (associated with the first gridline just inside the surface) where our "best guess" is <math>\eta = 2.3765850</math>, we find, <math>\tilde{r} = 0.021014</math>, <math>\tilde\rho = 5.29458 \times 10^{3}</math>, and <math>\tilde{P} = 1.37706 \times 10^{4}</math>.
  </li>
</ul>
 
 
<font color="darkgreen"><b>STEP12:</b></font>&nbsp; &nbsp; As was done above, in <font color="red"><b>STEP2</b></font>, for the core, determine here for the envelope the value of <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math> at each gridline in the (initially) equilibrium model; see the (8<sup>th</sup>) column of <b>Table C2</b> titled <font color="darkgreen">M/(r pi r^4)</font>.
 
 
<font color="darkgreen"><b>STEP13:</b></font>&nbsp; &nbsp; As was done in <font color="red"><b>STEP3</b></font> for the core &#8212; but, here, for the envelope &#8212; we choose to evaluate <math>\tilde{P}</math> midway between gridlines and to evaluate the pressure gradient via the (2<sup>nd</sup>-order accurate) expression,
 
<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\biggl[\frac{d\tilde{P}}{d\tilde{M}_r}\biggr]_n</math></td>
  <td align="center"><math>\approx</math></td>
  <td align="left">
<math>
\frac{\tilde{P}_{n + 1/2} - \tilde{P}_{n - 1/2}}{(\Delta m)_e} \, .
</math>
  </td>
</tr>
</table>
Notice that the denominator on the right-hand-side of this expression is <math>(\Delta m)_e</math> (for the envelope) rather than <math>(\Delta m)_c</math> (for the core).  And, as with our treatment of the core, the ''difference'' between the pair of discrete mid-zone values of the pressure that appears in the numerator of this right-hand-side term straddles the discrete grid in such a way that the left-hand-side pressure ''gradient'' is centered on the n<sup>th</sup> gridline. 
 
At the center of each ''envelope'' grid zone, we can use the exact relationship between the normalized pressure and normalized density &#8212; namely,
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right"><math>\frac{\tilde{P}_{n+1/2}}{ [\tilde\rho_{n+1/2}]^{2} }</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\mathcal{m}_\mathrm{surf}^6 \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-12} \theta^{6}_i \phi^{2}
\biggl\{
\mathcal{m}_\mathrm{surf}^5 \biggl( \frac{\mu_e}{\mu_c} \biggr)^{-9} \theta^{5}_i \phi
\biggr\}^{-2}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">&nbsp;</td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{6} (\mathcal{m}_\mathrm{surf}\theta_i)^{-4}
</math>
  </td>
</tr>
 
<tr>
  <td align="right"><math>\Rightarrow ~~~ \tilde{P}_{n+1/2}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\biggl(\frac{\mu_e}{\mu_c}\biggr)^{6} (\mathcal{m}_\mathrm{surf}\theta_i)^{-4} \biggl[\tilde\rho_{n+1/2} \biggr]^{2}
</math>
  </td>
</tr>
</table>
&#8212; to determine <math>\tilde{P}_{n+1/2}</math> from <math>\tilde{\rho}_{n+1/2}</math> or, after inversion, to determine <math>\tilde{\rho}_{n+1/2}</math> from <math>\tilde{P}_{n+1/2}</math> for all <math>1 \le n \le N_e</math>.
 
<font color="darkgreen"><b>STEP14:</b></font>&nbsp; &nbsp; Akin to our treatment of the core (<font color="red"><b>STEP4</b></font>), the mass contained within every spherical shell of our discrete model of the ''envelope'' is <math>(\Delta m)_e</math> and,
in an effort to satisfy the continuity equation, throughout our discrete model we will relate the gas density of each spherical shell to the bounding radii of that shell via the expression,
<table border="0" align="center" cellpadding="8">
<tr>
  <td align="right"><math>\rho_{n+1/2} = \frac{(\Delta m)_e}{(\Delta ~ \mathrm{Vol})_{n+1/2}}</math></td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>
\frac{3(\Delta m)_e}{4\pi}\biggl[ \tilde{r}^3_{n+1} - \tilde{r}^3_{n}\biggr]^{-1} \, .
</math>
  </td>
</tr>
</table>
<ul>
  <li>
Values of the normalized density computed in this manner have been recorded in the (9<sup>th</sup>) column titled <font color="darkgreen">rho_FD</font> of <b>Table C2</b>.  For example, in the first shell just inside the surface <math>(n = 20)</math>, we find <math>\tilde\rho_{n+1/2} = 2.458565 \times 10^{3}</math>.
  </li>
  <li>
We have determined the value of the normalized pressure that corresponds to each of these "Finite Difference" values of the density using the algebraic relation presented just above; their values have been recorded in the (10<sup>th</sup>) column titled <font color="darkgreen">P_FD</font> of <b>Table C2</b>.  For example, in the first shell just inside the surface <math>(n = 20)</math>, we find <math>\tilde{P}_{n+1/2} = 4.91237\times 10^{-4} [\tilde\rho_{n+1/2}]^{2} = 2.96930 \times 10^{3}</math>.
  </li>
  <li>
From our determination of <math>\tilde{P}_{n+1/2}</math> throughout the envelope, values of the normalized pressure ''gradient'' have been computed in the manner described above in <font color="darkgreen"><b>STEP13</b></font>, and have been recorded in the (11<sup>th</sup>) column titled <font color="darkgreen">(dP/dM)_FD</font> of <b>Table C2</b>.  For example, at the <math>n = 20</math> gridline, we find <math>[d\tilde{P}/d\tilde{M}_r]_{n} = -4.549 \times 10^{5}</math>.
  </li>
</ul>
 
 
<font color="darkgreen"><b>STEP15:</b></font>&nbsp; &nbsp; Throughout the envelope, compare evaluation of the finite-difference representation of the (absolute value of the) pressure gradient to an evaluation of the unperturbed and analytically prescribed profile of the quantity, <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>.  The right-hand segment of <b>Figure C1</b> provides such a comparison; actually, for reasons that will become clear later, we have multiplied both quantities by <math>4\pi \tilde{r}^2</math> before plotting.
 
 
 
<table border="1" align="center" cellpadding="8" width="80%">
<tr>
  <td align="center"><b>Figure C3</b></td>
</tr>
<tr>
  <td align="center">[[File:ModelC Fig3.png|750px|Finite-Difference Structure of Model C with 41 gridlines]]</td>
</tr>
 
<tr>
  <td align="left">
Same as <b>Figure C2</b>, except higher resolution with <math>N_e = N_c = 40</math>.
  </td>
</tr>
</table>
varies with mass shell throughout the equilibrium model, after setting <math>\mathrm{amp}~= -50</math>; this data has been recorded in the column titled "<font color="red">Alternate_FD</font> error" in <b>Table C1</b>.
  </td>
</tr>
</table>
 
===Model C Perturbations===
 
====Moving from the Center, Outward through the Core====
 
<ol>
  <li>
Remembering that the "gridline" with n = 1 is at the center of the configuration, specify value of <math>(\delta r)_n</math> at n = 2.
  </li>
  <li>
Determine <math>(\delta \rho)_{1.5}</math>, which is the first radial zone.
  </li>
  <li>
Determine <math>(\delta P)_{1.5}</math> from the core's equation of state.
  </li>
  <li>
Evaluate the pressure gradient at n = 2 by calculating <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, appreciating that <math>\tilde{r}_2 = (r_0 + \delta r)_2</math>.
  </li>
  <li>
Knowing the pressure gradient at the n = 2 gridline, and the perturbed pressure at n = 1.5, determine <math>(\delta P)_{2.5}</math>.
   </li>
   <li>
   <li>
Mass (see 1<sup>st</sup> column titled <font color="darkgreen">tilde M_r</font> in <b>Table C2</b>): &nbsp; &nbsp; Set <math>(\Delta m)_e = (1-\nu)/(N_e)</math>; then, for <math>n = 1 ~\mathrm{thru}~ (N_e + 1)</math>, set <math>\tilde{M}_r = \nu + (n - 1)(\Delta m)_e \, .</math>
Determine <math>(\delta \rho)_{2.5}</math> from the core's equation of state.
   </li>
   </li>
   <li>
   <li>
First and last polytropic radial coordinates:  In the [[#VariableProfiles|above summary of various physical variable profiles]], we have provided expressions for the envelope's polytropic radial coordinate at the core/envelope interface <math>(\eta_i)</math> and at the surface <math>(\eta_s)</math>.  Evaluating these expressions for <b>Model C</b>, we find,
Knowing <math>(\delta \rho)_{2.5}</math> and <math>(\delta r)_n</math> at n = 2, determine <math>(\delta r)_n</math> at n = 3.
<table border="0" align="center" cellpadding="5">
 
<tr>
  <td align="right"><math>\eta_i</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>\biggl(\frac{\mu_e}{\mu_c}\biggr)~ \sqrt{3}  \xi_i \biggl(1+\frac{1}{3}\xi_i^2\biggr)^{-1} = 0.42286 \, ,</math></td>
</tr>
 
<tr>
  <td align="right"><math>\eta_s</math></td>
  <td align="center"><math>=</math></td>
  <td align="left"><math>  
\frac{\pi}{2} + \eta_i + \tan^{-1}\biggl\{
\frac{\xi_i}{\sqrt{3}}
\biggl[ \biggl(\frac{\mu_e}{\mu_c}\biggr)^{-1}\frac{1}{\xi_i^2}\biggl(1+\frac{1}{3}\xi_i^2\biggr) - 1\biggr]
\biggr\} = 2.67311 
\, ,</math>
</td>
</tr>
</table>
These two values appear, respectively, as the first and last numbers in the (2<sup>nd</sup>) column of <b>Table C2</b>, titled <font color="darkgreen">eta_guess</font>.
   </li>
   </li>
   <li>
   <li>
All other polytropic radial coordinates (see the "<math>N_e - 1</math>" numerical values that are highlighted in yellow in the column titled <font color="darkgreen">eta_guess</font> in <b>Table C2</b>): &nbsp; &nbsp; Next, we need to determine what value of <math>\eta</math> is associated with each Lagrangian fluid marker (''i.e.,'' each gridline) that lies between the interface and the surface.  Referring again to the  [[#VariableProfiles|above summary of various physical variable profiles]], we can determine analytically the value of <math>\tilde{M}_r</math> that is associated with any selected value of <math>\eta</math>, via the relation,
Evaluate the pressure gradient at n = 3 by calculating <math>\tilde{M}_r/(4\pi \tilde{r}^4)</math>, appreciating that <math>\tilde{r}_3 = (r_0 + \delta r)_3</math>.
 
<table border="0" align="center" cellpadding="8">
 
<tr>
  <td align="right">
<math>
\tilde{M}_r(\eta)
</math>
  </td>
  <td align="center"><math>=</math></td>
  <td align="left">
<math>\mathcal{m}_\mathrm{surf}^{-1}~ \theta^{-1}_i \biggl( \frac{2}{\pi} \biggr)^{1/2}
A\biggl[ \sin(\eta-B) - \eta\cos(\eta-B) \biggr] \, ,
</math>
  </td>
</tr>
</table>
but what we really need is to invert this relation to obtain <math>\eta(\tilde{M}_r)</math>.  Unfortunately, unlike our experience with the core, for which we were able to invert the <math>\tilde{M}_r(\xi)</math> relation to obtain an analytic prescription for <math>\xi(\tilde{M}_r)</math> &#8212; see <font color="red"><b>STEP1</b></font> above &#8212; here, we are unable to analytically invert our <math>\tilde{M}_r(\eta)</math> expression.
 
Instead, for each gridline we ''guessed'' the value of <math>\eta</math> which, when plugged into the <math>\tilde{M}_r(\eta)</math> expression, would give the value of <math>\tilde{M}_r</math> that was already assigned to that gridline; by trial-and-error, we revised our guess for <math>\eta</math> until the desired value of the normalized mass (see the column titled <font color="darkgreen">tilde M_r</font>) was obtained (usually, to 6 or 7 digit accuracy).  <b>Table C2</b> provides the following record:  At each gridline, our final/best iterative "guess" for <math>\eta</math> is highlighted in yellow in the (2<sup>nd</sup>) column titled <font color="darkgreen">eta_guess</font>; the value of <math>\tilde{M}_r</math> that is obtained by plugging this "best guess" value of <math>\eta</math> into the <math>\tilde{M}_r(\eta)</math> relation is recorded in the (3<sup>rd</sup>) column titled <font color="darkgreen">M_r from eta</font>; and the (4<sup>th</sup>) column titled <font color="darkgreen">error</font> shows the fractional difference between this value and the desired value &#8212; as was our goal, all measured errors are zero, to at least six significant digits.
   </li>
   </li>
   <li>
   <li>
Given the "best guess" value of <math>\eta</math> at each gridline, determine the associated values of <math>\tilde{r}(\eta), \tilde{\rho}(\eta), \tilde{P}(\eta)</math> &#8212; see the (5<sup>th</sup>, 6<sup>th</sup>, and 7<sup>th</sup>) columns in <b>Table C2</b> titled <font color="darkgreen">tilde r, tilde rho, tilde P</font> &#8212; using the appropriate analytic expressions for the ''Envelope'' [[#VariableProfiles|as provided above]].  For example, at the 20<sup>th</sup> gridline (associated with the first gridline just inside the surface) where our "best guess" is <math>\eta = 2.3765850</math>, we find, <math>\tilde{r} = 0.021014</math>, <math>\tilde\rho = 5.29458 \times 10^{3}</math>, and <math>\tilde{P} = 1.37706 \times 10^{4}</math>.
Knowing the pressure gradient at the n = 3 gridline, and the perturbed pressure at n = 2.5, determine <math>(\delta P)_{3.5}</math>.
 
   </li>
   </li>
</ul>
</ol>
Repeat from #6 &hellip; until we've determined <math>(\delta r)_n</math> at n = 21, that is, the perturbation at the core/envelope interface.  Also, go ahead and evaluate the perturbed pressure gradient at the interface; ultimately we need this pressure gradient (as viewed from the perspective of the core) to match the pressure gradient as viewed from then perspective of the envelope.


=See Also=
=See Also=

Latest revision as of 18:59, 26 October 2023

Radial Oscillations in (nc,ne) = (5,1) Bipolytropes

Logically, this chapter extends the discussion — specifically the subsection titled, Try Again — found in the "Ramblings" chapter in which we introduced a total-mass-based renormalization of models along sequences of (nc,ne)=(5,1) bipolytropes.

Building Each Model

Basic Equilibrium Structure

Most of the details underpinning the following summary relations can be found here.

New Normalization
ρ~ ρ[(KcG)3/21Mtot]5;
P~ P[Kc10G9Mtot6];
r~ r[(KcG)5/2Mtot2],
M~r MrMtot;
H~ H[Kc5/2G3/2Mtot];
t~ t[Kc15G13Mtot10]1/4.

Note:  For an n = 5 polytrope (like our bipolytrope's core), the units of the polytropic constant, Kc, are [length13masstime10]1/5.

Quantity

Core
0ξξi


θ=[1+13ξ2]1/2
dθdξ=ξ3[1+13ξ2]3/2

Envelope
ηiηηs


ϕ=A[sin(ηB)η]
dϕdη=Aη2[sin(ηB)ηcos(ηB)]

r~

𝓂surf2(μeμc)4(32π)1/2ξ

𝓂surf2(μeμc)3θi2(2π)1/2η

ρ~

𝓂surf5(μeμc)10(1+13ξ2)5/2

𝓂surf5(μeμc)9θi5ϕ

P~

𝓂surf6(μeμc)12(1+13ξ2)3

𝓂surf6(μeμc)12θi6ϕ2

M~r

𝓂surf1(μeμc)2(23π)1/2[ξ3(1+13ξ2)3/2]

𝓂surf1θi1(2π)1/2(η2dϕdη)

Note that, for a given specification of the molecular-weight ratio, μe/μc, and the interface location, ξi,

θi = (1+13ξi2)1/2,
ηi = (μeμc)3θi2ξi,
Λi = ξi3[(μeμc)11θi2ξi21],
A = ηi(1+Λi2)1/2,
B = ηiπ2+tan1(Λi),
ηs = π+B=π2+ηi+tan1(Λi),

in which case,

𝓂surf = (2π)1/2Aηsθi,
ρ~c =

𝓂surf5(μeμc)10,

νMcoreMtot = (μeμc)23[ξi3θi4Aηs],
qrcoreR = (μeμc)3[ξiθi2ηs].

One of the Linearized Equations

From an accompanying discussion, the linearized "Euler + Poisson Equations" is,

P0ρ0dpdr0 =

(4x+p)g0+ω2r0x.

If we shift to our above-specified, new normalization and insert the relation, g0=GMr/r02, we have,

ω2[r0g0]x+(4x+p) =

{P0r0ρ0GMr}dpdlnr0

  =

P~[Kc10G9Mtot6]1r~[(KcG)5/2Mtot2]11ρ~[(KcG)3/21Mtot]5{1GMtotM~r}dpdlnξ

  =

P~[Kc10G9Mtot6]r~[Kc5/2G5/2Mtot2]1ρ~[Kc15/2G15/2Mtot5][G1Mtot1]M~r1dpdlnξ

  =

{P~r~ρ~1M~r1}dpdlnξ.

Throughout the core, then,

ω2[r0g0]x+(4x+p) =

𝓂surf6(μeμc)12(1+13ξ2)3{𝓂surf5(μeμc)10(1+13ξ2)5/2𝓂surf1(μeμc)2(23π)1/2[ξ3(1+13ξ2)3/2]}1[𝓂surf2(μeμc)4(32π)1/2ξ]dpdlnξ

  =

ξ2(1+13ξ2)3{(1+13ξ2)5/2[ξ3(1+13ξ2)3/2]}dpdlnξ

  =

12ξ2(1+13ξ2)dpdlnξ.

Let's relate this to the displacement functions summary, namely,

Summary …
xP = 3(n1)2n[1+(n3n1)(1ξθn)dθdξ],
dP = 3{1(n3)2[1θn+1(dθdξ)2]},
pP = (n+1n)dP.

From the structural solution for equilibrium, n=5 polytropes, we know that,

θ =

(1+ξ23)1/2

dθdξ =

ξ3(1+ξ23)3/2.

Therefore, for n=5 structures,

xP = 65[112(1ξθ5)ξ3(1+ξ23)3/2]
  = 65[116(1+ξ23)]
  = 1ξ215;
dP =

3+3(1+ξ23)3ξ29(1+ξ23)3

  = 3+ξ23;
pP = 185[1ξ29].

Hence, we find that,

ω2[r0g0]x =

12ξ(1+13ξ2)d(pP)dξ(4xP+pP)

  =

12ξ(1+13ξ2)4ξ54[1ξ215]+[185(1ξ29)]

  =

(1+13ξ2)254+4ξ215+1852ξ25

  =

(1+13ξ2)25252ξ215

  =

0.

For completeness, note that the LHS can be rewritten as,

ω2{r0g0}x =

ω2x{r03G1Mr1}

  =

ω2x{r~3[(KcG)5/2Mtot2]3G1[MtotM~r]1}

  =

ω2x[r~3M~r][Kc15/2G13/2Mtot5]

  =

ω2x[r~3M~r][Kc15G13Mtot10]1/2

  =

ω2x[Kc15G13Mtot10]1/2[𝓂surf2(μeμc)4(32π)1/2ξ]3{𝓂surf1(μeμc)2(23π)1/2[ξ3(1+13ξ2)3/2]}1

  =

ω2x[Kc15G13Mtot10]1/2[𝓂surf6(μeμc)12(32π)3/2ξ3]{𝓂surf(μeμc)2(π23)1/2[ξ3(1+13ξ2)3/2]}

  =

(34π)ω2x[Kc15G13Mtot10]1/2[𝓂surf5(μeμc)10](1+13ξ2)3/2.

Rescale for Bonnor-Ebert-Type Analysis

Let's rescale all these relations in such a way that the mass in the core remains constant along the sequence.

ρ*ρ~ν5 =

ρ[(KcG)3/21Mtot]5(McoreMtot)5;

P*P~ν6 =

P[Kc10G9Mtot6](McoreMtot)6;

r*r~ν2 =

r[(KcG)5/2Mtot2](McoreMtot)2;

M*M~rν1 = MrMtot(McoreMtot)1;
H*H~ν =

H[Kc5/2G3/2Mtot](McoreMtot);

t*t~ν5/2 t[Kc15G13Mtot10]1/4(McoreMtot)5/2.

Additional Relations

Core

The analytically prescribed radial pressure gradient in the core can be obtained as follows.

dM~rdξ =

𝓂surf1(μeμc)2(23π)1/2{3ξ2(1+13ξ2)3/2ξ4(1+13ξ2)5/2}

  =

𝓂surf1(μeμc)2(23π)1/2{3ξ2(1+13ξ2)ξ4}(1+13ξ2)5/2

  =

𝓂surf1(μeμc)2(23π)1/2{3ξ2(1+13ξ2)5/2}

dξdM~r =

𝓂surf(μeμc)2(π23)1/2{13ξ2(1+13ξ2)5/2}.

Also,

dP~dξ =

𝓂surf6(μeμc)12{2ξ(1+13ξ2)4}

Hence,

dP~dM~r =

𝓂surf6(μeμc)12{2ξ(1+13ξ2)4}𝓂surf(μeμc)2(π23)1/2{13ξ2(1+13ξ2)5/2}

  =

𝓂surf7(μeμc)14(2π33)1/21ξ(1+13ξ2)3/2.

For comparison, in hydrostatic balance we expect …

dPdMr=dPdrdrdMr

=

GMrρr214πr2ρ=GMr4πr4

dP~dM~r=[dPdMr][Kc10G9Mtot6]Mtot

=

GMr4πr4[Kc10G9Mtot7]

 

=

M~r4πr4[Kc10G10Mtot8]

 

=

M~r4πr~4

 

=

14π𝓂surf1(μeμc)2(23π)1/2[ξ3(1+13ξ2)3/2]{𝓂surf2(μeμc)4(32π)1/2ξ}4

 

=

{𝓂surf7(μeμc)14(22π232)}14π(23π)1/2[1ξ(1+13ξ2)3/2]

 

=

{𝓂surf7(μeμc)14}(2π33)1/2[1ξ(1+13ξ2)3/2].

This matches our earlier expression, as it should.

Takeaway Expression

dP~dM~r

=

M~r4πr~4

Envelope

Given that, for the envelope,

M~r

=

𝓂surf1θi1(2π)1/2A[sin(ηB)ηcos(ηB)],      and,

r~

=

𝓂surf2(μeμc)3θi2(2π)1/2η,

we deduce that,

dP~dM~r=M~r4πr~4

=

(14π)𝓂surf1θi1(2π)1/2A[ηcos(ηB)sin(ηB)][𝓂surf2(μeμc)3θi2(2π)1/2η]4

 

=

(124π22π24π4)1/2𝓂surf7θi7A[ηcos(ηB)sin(ηB)][(μeμc)12η4]

 

=

(2π)1/2𝓂surf7θi7(μeμc)12Aη4[ηcos(ηB)sin(ηB)]

As a cross-check …

dP~dη

=

𝓂surf6(μeμc)12θi6[2ϕdϕdη]

 

=

2𝓂surf6(μeμc)12θi6A2η3[ηcos(ηB)sin(ηB)]sin(ηB),

and,

dM~rdη

=

A𝓂surf1θi1(2π)1/2ddη[sin(ηB)ηcos(ηB)]

 

=

A𝓂surf1θi1(2π)1/2{ηsin(ηB)}.

That is,

dP~dM~r

=

2𝓂surf6(μeμc)12θi6A2η3[ηcos(ηB)sin(ηB)]sin(ηB){A𝓂surf1θi1(2π)1/2[ηsin(ηB)]}1

 

=

(2π)1/2𝓂surf7(μeμc)12θi7Aη4[ηcos(ηB)sin(ηB)].

Correct!

Time-Dependent Euler Equation

We begin with the form of the,

Euler Equation

dvrdt=1ρdPdrdΦdr

that is broadly relevant to studies of radial oscillations in spherically symmetric configurations. Recognizing from, for example, a related discussion that, vr=dr/dt, and that,

dΦdr = GMrr2

we obtain our

Desired Form of the Euler Equation

d2rdt2 = 1ρdPdrGMrr2.

Given as well that,

dMrdr=4πr2ρ

we see that,

dMr4πr2 = ρdr
d2rdt2 = 4πr2dPdMrGMrr2
14πr2d2rdt2 = dPdMrGMr4πr4.

Next, if as above, we multiply through by [Kc10G9Mtot7], we obtain the relevant,

Normalized Euler Equation

14πr~2d2r~dt~2 = dP~dM~rM~r4πr~4,

where, as a reminder, the dimensionless time is,

t~ t[Kc15G13Mtot10]1/4.


CAUTION!   Regarding Our Chosen Lagrangian Fluid Marker

If we were to use r~ as our primary Lagrangian fluid marker, we would be in a position to analytically specify the function, M~r(r~). Here, however, we will call upon M~r rather than r~ to serve as the primary Lagrangian fluid marker because mass facilitates our efforts to highlight a variety of important physical properties of bipolytropic configurations. We will therefore need to specify the function, r~(M~r) instead of M~r(r~). For the core, this choice does not introduce any particularly difficult computational challenges because we can invert the M~r(r~) relationship analytically to obtain …

ξ2 =

3[3(cmM~r)2/31]1,

where,

cm

msurf1(μeμc)2(23π)1/2.

This is not the case for the envelope, however; we will not be able to analytically specify r~(M~r). This is unfortunate, as a numerical (rather than analytic) specification will necessarily introduce additional errors into our solution of the displacement function — which already is a small and error-prone quantity. We will nevertheless proceed along this line.

Example Models Along BiPolytrope Sequence 0.3100

For the case of (nc,ne)=(5,1) and μe/μc=0.3100, we consider here the examination of models with three relatively significant values of the core/envelope interface:

  • Model D (ξi,ρ¯/ρc,q,ν)(2.06061,1.1931E+02,0.16296,0.13754): Approximate location along the sequence of the model with the maximum fractional core radius.
  • Model C (ξi,ρ¯/ρc,q,ν)(2.69697,3.0676E+02,0.15819,0.19161): Approximate location along the sequence of the onset of fundamental-mode instability.
  • Model A (ξi,ρ¯/ρc,q,ν)(9.0149598,1.1664E+06,0.075502255,0.337217006): Exact location along the sequence of the model with the maximum fractional core mass.

Model C Finite-Difference Representation

Here we examine a discrete representation of a model along the μe/μc=0.31 sequence whose core/envelope interface is located at ξi=2.69697; whose core mass-fraction is ν=0.19161; and for which, msurf=2.145465292.

Treatment of the Core

Table C1
Equilibrium Structure of Model C

STEP1:    Divide the core into (Nc+1) grid lines — that is, into Nc radial zones — associating the first "grid line" with the center of the core and the last grid line with the radial location of the core/envelope interface; in Table C1, we have set Nc=20. Choosing 0M~rν as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:

  • Mass (see column titled tilde M_r in Table C1):     Set (Δm)c=ν/(Nc); then, for n=1thru(Nc+1), set M~r=(n1)(Δm)c.
  • Polytropic radial coordinate (see column titled xi from M_r in Table C1):     Given that, cm=msurf1(μe/μc)2(6/π)1/2=0.0619017, determine the value of ξ associated with each gridline's value of M~r from the expression,
    ξ =

    31/2[3(cmM~r)2/31]1/2.

    For example, at the 21st gridline (associated with the core/envelope interface), this expression gives the expected, ξi=2.69697.

  • Given the value of ξ at each gridline, determine the associated values of r~,ρ~,P~ — see the columns in Table C1 titled tilde r, tilde rho, tilde P — using the appropriate analytic expressions for the Core as provided above. For example, at the 21st gridline (associated with the core/envelope interface), we find, r~=0.003739, ρ~=2.5555×105, and P~=3.0830×106.

STEP2:    Building upon the results of STEP1, determine the value of M~r/(4πr~4) at each gridline in the (initially) equilibrium model; see the column of Table C1 titled M/(r pi r^4).

  • As stated in the above Takeaway Expression, this will simultaneously provide a precise evaluation of the pressure gradient, dP~/dM~r, at each gridline when the configuration is in equilibrium.
  • After a perturbation is introduced into the (initially equilibrium) configuration, both the pressure gradient and the quantity, M~r/(4πr~4), will deviate from their equilibrium values and, quite generally, from each other. (Actually, M~r will not vary because, by definition, it is our time-invariant Lagrangian fluid marker; but the pressure gradient and the denominator of the second term, 4πr~4, will vary.) Then, as expressed by the above Normalized Euler Equation, the sum of these two perturbed quantities will dictate the strength and direction of the unbalanced acceleration that will be felt by the Lagrangian fluid element at each gridline.

STEP3:    Our discrete representation of Model C will be constructed in such a way as to preserve, at each gridline location, the analytically determined values of the Lagrangian marker, M~r, and the corresponding value of (the initial) r~. In doing so, we must expect that our discrete evaluation of ρ~ and P~ will differ from values determined in the continuum model. We choose to adopt the following paths toward evaluation of these two scalar quantities:

  • Given that, in STEP1, we established a grid on which the M~r spacing between gridlines is uniform, we choose here to evaluate P~ midway between gridlines and to evaluate the pressure gradient via the (2nd-order accurate) expression,
    [dP~dM~r]n

    P~n+1/2P~n1/2(Δm)c.

    Note that the difference between the pair of discrete mid-zone values of the pressure that appears in the numerator of the term on the right-hand-side of this expression straddles the discrete grid in such a way that the left-hand-side pressure gradient is centered on the nth gridline. This is as desired because the pressure gradient should be compared with M~r/(4πr~4), which is also evaluated on each gridline.

  • We will also evaluate ρ~ midway between gridlines. Then, at the center of each core grid zone, we can use the exact relationship between the normalized pressure and normalized density — namely,
    P~n+1/2

    [ρ~n+1/2]6/5,

    to determine P~n+1/2 from ρ~n+1/2 or, after inversion, to determine ρ~n+1/2 from P~n+1/2 for all 1nNc.

STEP4:    By design, the mass contained within every spherical shell of our discrete model is (Δm)c and — even after a perturbation is introduced — for all 1nNc, the differential volume of the various shells is,

(ΔVol)n+1/2 =

4π3[r~n+13r~n3].

In an effort to satisfy the continuity equation, throughout our discrete model we will relate the gas density of each spherical shell to the bounding radii of that shell via the expression,

ρn+1/2=(Δm)c(ΔVol)n+1/2 =

3(Δm)c4π[r~n+13r~n3]1.

ASIDE

Unperturbed …

3(Δm)c4πρn+1/2 =

[r~n+13r~n3]

  =

[r~n+1/2+Δr~2]3[r~n+1/2Δr~2]3

  =

r~n+1/23{[1+Δr~2r~n+1/2]3[1Δr~2r~n+1/2]3}

 

r~n+1/23{[1+3Δr~2r~n+1/2][13Δr~2r~n+1/2]}

  =

3Δr~r~n+1/22.




Perturbed …

1ρ~0[1+δρ~ρ~0]13(Δm)c4π =

r~n+13[1+(δr~r~)n+1]3r~n3[1+(δr~r~)n]3

1ρ~0[1δρ~ρ~0]3(Δm)c4π

r~n+13[1+3(δr~r~)n+1]r~n3[1+3(δr~r~)n]

1ρ~03(Δm)c4π1ρ~0[δρ~ρ~0]3(Δm)c4π

r~n+13+r~n+13[3(δr~r~)n+1]r~n3r~n3[3(δr~r~)n]

1ρ~0[δρ~ρ~0](Δm)c4π

r~n+13[(δr~r~)n+1]r~n3[(δr~r~)n]

[δρ~ρ~0]

4πρ~0(Δm)c{r~n+13[(δr~r~)n+1]r~n3[(δr~r~)n]}

 

4πρ~0(Δm)c{r~n+1/23[1+Δr~2r~n+1/2]3(δr~r~)n+1r~n+1/23[1Δr~2r~n+1/2]3(δr~r~)n}

 

4πρ~0(Δm)c{r~n+1/23[1+3Δr~2r~n+1/2](δr~r~)n+1r~n+1/23[13Δr~2r~n+1/2](δr~r~)n}

 

4πρ~0(Δm)c{r~n+1/23(δr~r~)n+1+r~n+1/23[3Δr~2r~n+1/2](δr~r~)n+1r~n+1/23(δr~r~)n+r~n+1/23[3Δr~2r~n+1/2](δr~r~)n}

 

4πρ~0(Δm)c{r~n+1/23(δr~r~)n+1r~n+1/23(δr~r~)n+r~n+1/23[3Δr~2r~n+1/2][(δr~r~)n+1+(δr~r~)n]}

 

4πρ~0r~n+1/23(Δm)c{(δr~r~)n+1(δr~r~)n}+4πρ~0(Δm)c[3Δr~r~n+1/22][(δr~r~)n+1+(δr~r~)n]12.


Combined …

3(Δm)c4πρn+1/2 =

3Δr~r~n+1/22

[δρ~ρ~0]

4πρ~0r~n+1/23(Δm)c{(δr~r~)n+1(δr~r~)n}+3[(δr~r~)n+1+(δr~r~)n]12

4πρ~0r~n+1/23(Δm)c{(δr~r~)n+1(δr~r~)n}

3[(δr~r~)n+1+(δr~r~)n]12[δρ~ρ~0].

This should be compared with the more traditional derivation of the linearized continuity equation, which gives,

4πρ0r03dxdm

3xd.


  • Values of the normalized density computed in this manner have been recorded in the column titled rho_FD of Table C1; the subscript "FD" stands for "Finite Difference". For example, in the shell just before the core/envelope interface (n=20), we find ρ~n+1/2=2.8168×105.
  • We have determined the value of the normalized pressure that corresponds to each of these "Finite Difference" values of the density using the algebraic relation presented above in STEP3; their values have been recorded in the column titled P_FD of Table C1. For example, in the shell just before the core/envelope interface (n=20), we find P~n+1/2=[ρ~n+1/2]6/5=3.4651×106.
  • From our determination of P~n+1/2 throughout the core, values of the normalized pressure gradient have been computed in the manner described above in STEP3:, and have been recorded in the column titled (dP/dM)_FD of Table C1. For example, at the n=20 gridline, we find [dP~/dM~r]n=9.281×107.


STEP5:    Throughout the core, compare evaluation of the finite-difference representation of the (absolute value of the) pressure gradient to an evaluation of the unperturbed and analytically prescribed profile of the quantity, M~r/(4πr~4). The left-hand segment of Figure C1 provides such a comparison; actually, for reasons that will become clear later, we have multiplied both quantities by 4πr~2 before plotting.

Figure C1
Finite-Difference Structure of Model C

The smooth, solid curves (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, M~r/r~2 as a function of M~r throughout the unperturbed Model C. The solid, circular markers (colored dark orange throughout the core and light orange across the envelope) identify how our finite-difference representation of the pressure gradient — more specifically, the quantity, (4πr~2)|dP~/dM~r|n — varies with M~r throughout the equilibrium configuration. We use the difference between these two quantities as a measure of the error introduced by our specified finite-difference representation of the equilibrium model. For example, the small solid dots and accompanying (interpolated) dashed curve that appear in Figure C1 (blue for the core and green for the envelope) show how,

error

amp×{M~rr~2(4πr~2)|dP~dM~r|n},

varies with mass shell throughout the equilibrium model, after setting amp=50; this data has been recorded in the column titled "Alternate_FD error" in Table C1.

Behavior at the Interface

It is worth pointing out that the second derivative of the pressure (with respect to M~r) exhibits a discontinuous jump at the interface. Specifically,

The smooth, solid curves in Figure C1 (blue for the core and green for the envelope) show the analytically prescribed behavior of the quantity, M~r/r~2 as a function of M~r throughout the unperturbed Model C. These curves intersect at the core/envelope interface (marked by the vertical, black dashed line), which means that the quantity, M~r/r~2 has the same value whether viewed from the perspective of the core or from the perspective of the envelope. But, as the figure illustrates, the curves exhibit different slopes at the interface.

Quite generally we can write,

ddM~r[M~rr~2]

=

1r~22M~rr~3dr~dM~r=1r~2{12dlnr~dlnM~r}.

This means that, for the core,

ddM~r[M~rr~2]

=

1r~22M~rr~3[dξdM~rdr~dξ]

 

=

1r~22M~rr~3[𝓂surf(μeμc)2(π23)1/2{13ξ2(1+13ξ2)5/2}][𝓂surf2(μeμc)4(32π)1/2]

 

=

1r~2{12M~r[𝓂surf(μeμc)2(π23)1/213ξ3(1+13ξ2)5/2]}

 

=

1r~2[123(1+13ξ2)]

 

=

13r~2(123ξ2).

Specifically at the interface (from the perspective of the core),

{ddM~r[M~rr~2]}i,core

=

13r~i2(123ξi2).


And for the envelope,

ddM~r[M~rr~2]

=

1r~22M~rr~3[dηdM~rdr~dη]

 

=

1r~22M~rr~3[A𝓂surf1θi1(2π)1/2{ηsin(ηB)}]1[𝓂surf2(μeμc)3θi2(2π)1/2]

 

=

1r~2{12M~rη[A𝓂surf1θi1(2π)1/2ηsin(ηB)]1}

 

=

1r~2{12η2[1ηcot(ηB)]}.

Now, pulling from our original derivation, we appreciate that,

ηicot(ηiB)

=

ηiΛi

 

=

[(μeμc)3θi2ξi]ξi3[(μeμc)11θi2ξi21]

 

=

[1θi2ξi2(μeμc)]

Hence, at the interface (from the perspective of the envelope) we find,

{ddM~r[M~rr~2]}i,env

=

1r~i2{12ηi2[1ηicot(ηiB)]}

 

=

1r~i2{12ηi2[θi2ξi2(μeμc)]}

 

=

1r~i2{12[(μeμc)3θi2ξi]2[θi2ξi2(μeμc)]}

 

=

1r~i2{123(μeμc)1(1+13ξi2)}.


Figure C2
Model C Slopes at Interface

A pair of line-segments with arrowheads has been added to Figure C1:

  • The red arrow is tangent to the solid blue curve at the core/envelope interface; its slope is,

    {ddM~r[M~rr~2]}i,core

    =

    13r~i2(123ξi2)=9.177751×104.

  • The green arrow is tangent to the solid green curve at the core/envelope interface; its slope is,

    {ddM~r[M~rr~2]}i,env

    =

    1r~i2{123(μeμc)1(1+13ξi2)}=4.552725×105.

They illustrate that the slope of the function, M~r/r~2, has a discontinuous jump at the interface. Given that,

dP~dM~r = M~rr~2,

in the Model C equilibrium configuration, this also illustrates that this bipolytropic model has a discontinuous jump in the second-derivative of the pressure (with respect to M~r) at the core/envelope interface.


Note that this discontinuity will disappear in a model for which the two slopes have the same value, that is, when,

13(123ξi2)

=

{123(μeμc)1(1+13ξi2)}

123ξi2

=

32(μeμc)1(1+13ξi2)

ξi2

=

3(μeμc)1+(μeμc)1ξi2

(μeμc)ξi2

=

3+ξi2

(μeμc1)ξi2

=

3.

This will never occur in this bipolytropic model.

Evaluation of the Logarithmic Derivative
dlnr~/dlnM~r

At the beginning of this subsection, we demonstrated that, quite generally,

ddM~r[M~rr~2]

=

1r~2{12dlnr~dlnM~r}.

It is therefore the case that, at the interface and from the perspective of the core,

{dlnr~dlnM~r}i,core

=

13(1+ξi23);

while, at the interface but from the perspective of the envelope,

{dlnr~dlnM~r}i,env

=

13(1+ξi23)(μeμc)1.

Treatment of the Envelope

Table C2
Equilibrium Structure of Model C Envelope

STEP11:    Divide the envelope into (Ne+1) grid lines — that is, into Ne radial zones — associating the first "grid line" with the location of the core/envelope interface and the last grid line with the radial location of the surface of the bipolytropic configuration; in Table C2, we have set Ne=20. Choosing νM~r1 as the principal Lagrangian coordinate, and using the available analytic expressions, assign values to the following physical quantities at each grid line:

  • Mass (see 1st column titled tilde M_r in Table C2):     Set (Δm)e=(1ν)/(Ne); then, for n=1thru(Ne+1), set M~r=ν+(n1)(Δm)e.
  • First and last polytropic radial coordinates: In the above summary of various physical variable profiles, we have provided expressions for the envelope's polytropic radial coordinate at the core/envelope interface (ηi) and at the surface (ηs). Evaluating these expressions for Model C, we find,
    ηi = (μeμc)3ξi(1+13ξi2)1=0.42286,
    ηs = π2+ηi+tan1{ξi3[(μeμc)11ξi2(1+13ξi2)1]}=2.67311,

    These two values appear, respectively, as the first and last numbers in the (2nd) column of Table C2, titled eta_guess.

  • All other polytropic radial coordinates (see the "Ne1" numerical values that are highlighted in yellow in the column titled eta_guess in Table C2):     Next, we need to determine what value of η is associated with each Lagrangian fluid marker (i.e., each gridline) that lies between the interface and the surface. Referring again to the above summary of various physical variable profiles, we can determine analytically the value of M~r that is associated with any selected value of η, via the relation,

    M~r(η)

    =

    𝓂surf1θi1(2π)1/2A[sin(ηB)ηcos(ηB)],

    but what we really need is to invert this relation to obtain η(M~r). Unfortunately, unlike our experience with the core, for which we were able to invert the M~r(ξ) relation to obtain an analytic prescription for ξ(M~r) — see STEP1 above — here, we are unable to analytically invert our M~r(η) expression.

    Instead, for each gridline we guessed the value of η which, when plugged into the M~r(η) expression, would give the value of M~r that was already assigned to that gridline; by trial-and-error, we revised our guess for η until the desired value of the normalized mass (see the column titled tilde M_r) was obtained (usually, to 6 or 7 digit accuracy). Table C2 provides the following record: At each gridline, our final/best iterative "guess" for η is highlighted in yellow in the (2nd) column titled eta_guess; the value of M~r that is obtained by plugging this "best guess" value of η into the M~r(η) relation is recorded in the (3rd) column titled M_r from eta; and the (4th) column titled error shows the fractional difference between this value and the desired value — as was our goal, all measured errors are zero, to at least six significant digits.

  • Given the "best guess" value of η at each gridline, determine the associated values of r~(η),ρ~(η),P~(η) — see the (5th, 6th, and 7th) columns in Table C2 titled tilde r, tilde rho, tilde P — using the appropriate analytic expressions for the Envelope as provided above. For example, at the 20th gridline (associated with the first gridline just inside the surface) where our "best guess" is η=2.3765850, we find, r~=0.021014, ρ~=5.29458×103, and P~=1.37706×104.


STEP12:    As was done above, in STEP2, for the core, determine here for the envelope the value of M~r/(4πr~4) at each gridline in the (initially) equilibrium model; see the (8th) column of Table C2 titled M/(r pi r^4).


STEP13:    As was done in STEP3 for the core — but, here, for the envelope — we choose to evaluate P~ midway between gridlines and to evaluate the pressure gradient via the (2nd-order accurate) expression,

[dP~dM~r]n

P~n+1/2P~n1/2(Δm)e.

Notice that the denominator on the right-hand-side of this expression is (Δm)e (for the envelope) rather than (Δm)c (for the core). And, as with our treatment of the core, the difference between the pair of discrete mid-zone values of the pressure that appears in the numerator of this right-hand-side term straddles the discrete grid in such a way that the left-hand-side pressure gradient is centered on the nth gridline.

At the center of each envelope grid zone, we can use the exact relationship between the normalized pressure and normalized density — namely,

P~n+1/2[ρ~n+1/2]2 =

𝓂surf6(μeμc)12θi6ϕ2{𝓂surf5(μeμc)9θi5ϕ}2

  =

(μeμc)6(𝓂surfθi)4

P~n+1/2 =

(μeμc)6(𝓂surfθi)4[ρ~n+1/2]2

— to determine P~n+1/2 from ρ~n+1/2 or, after inversion, to determine ρ~n+1/2 from P~n+1/2 for all 1nNe.

STEP14:    Akin to our treatment of the core (STEP4), the mass contained within every spherical shell of our discrete model of the envelope is (Δm)e and, in an effort to satisfy the continuity equation, throughout our discrete model we will relate the gas density of each spherical shell to the bounding radii of that shell via the expression,

ρn+1/2=(Δm)e(ΔVol)n+1/2 =

3(Δm)e4π[r~n+13r~n3]1.

  • Values of the normalized density computed in this manner have been recorded in the (9th) column titled rho_FD of Table C2. For example, in the first shell just inside the surface (n=20), we find ρ~n+1/2=2.458565×103.
  • We have determined the value of the normalized pressure that corresponds to each of these "Finite Difference" values of the density using the algebraic relation presented just above; their values have been recorded in the (10th) column titled P_FD of Table C2. For example, in the first shell just inside the surface (n=20), we find P~n+1/2=4.91237×104[ρ~n+1/2]2=2.96930×103.
  • From our determination of P~n+1/2 throughout the envelope, values of the normalized pressure gradient have been computed in the manner described above in STEP13, and have been recorded in the (11th) column titled (dP/dM)_FD of Table C2. For example, at the n=20 gridline, we find [dP~/dM~r]n=4.549×105.


STEP15:    Throughout the envelope, compare evaluation of the finite-difference representation of the (absolute value of the) pressure gradient to an evaluation of the unperturbed and analytically prescribed profile of the quantity, M~r/(4πr~4). The right-hand segment of Figure C1 provides such a comparison; actually, for reasons that will become clear later, we have multiplied both quantities by 4πr~2 before plotting.


Figure C3
Finite-Difference Structure of Model C with 41 gridlines

Same as Figure C2, except higher resolution with Ne=Nc=40.

varies with mass shell throughout the equilibrium model, after setting amp=50; this data has been recorded in the column titled "Alternate_FD error" in Table C1.

Model C Perturbations

Moving from the Center, Outward through the Core

  1. Remembering that the "gridline" with n = 1 is at the center of the configuration, specify value of (δr)n at n = 2.
  2. Determine (δρ)1.5, which is the first radial zone.
  3. Determine (δP)1.5 from the core's equation of state.
  4. Evaluate the pressure gradient at n = 2 by calculating M~r/(4πr~4), appreciating that r~2=(r0+δr)2.
  5. Knowing the pressure gradient at the n = 2 gridline, and the perturbed pressure at n = 1.5, determine (δP)2.5.
  6. Determine (δρ)2.5 from the core's equation of state.
  7. Knowing (δρ)2.5 and (δr)n at n = 2, determine (δr)n at n = 3.
  8. Evaluate the pressure gradient at n = 3 by calculating M~r/(4πr~4), appreciating that r~3=(r0+δr)3.
  9. Knowing the pressure gradient at the n = 3 gridline, and the perturbed pressure at n = 2.5, determine (δP)3.5.

Repeat from #6 … until we've determined (δr)n at n = 21, that is, the perturbation at the core/envelope interface. Also, go ahead and evaluate the perturbed pressure gradient at the interface; ultimately we need this pressure gradient (as viewed from the perspective of the core) to match the pressure gradient as viewed from then perspective of the envelope.

See Also

Tiled Menu

Appendices: | VisTrailsEquations | VisTrailsVariables | References | Ramblings | VisTrailsImages | myphys.lsu | ADS |