Difference between revisions of "User:Tohline/AxisymmetricConfigurations/PoissonEq"

From VistrailsWiki
Jump to navigation Jump to search
 
(151 intermediate revisions by the same user not shown)
Line 1: Line 1:
__FORCETOC__  
__FORCETOC__  
<!-- __NOTOC__ will force TOC off -->
<!-- __NOTOC__ will force TOC off -->
=Solving the Poisson Equation Numerically=
=Solving the (Multi-dimensional) Poisson Equation Numerically=




{{LSU_HBook_header}}
{{LSU_HBook_header}}


==Overview==


The set of [[User:Tohline/PGE#Principal_Governing_Equations|Principal Governing Equations]] that serves as the foundation of our study of the structure, stability, and dynamical evolution of self-gravitating fluids contains an equation of motion (the ''Euler'' equation) that includes an acceleration due to local gradients in the (Newtonian) gravitational potential, <math>~\Phi</math>.  As has been pointed out in an [[User:Tohline/SR/PoissonOrigin#Origin_of_the_Poisson_Equation|accompanying chapter that discusses the origin of the Poisson equation]], the mathematical definition of this acceleration is fundamentally drawn from Isaac Newton's inverse-square law of gravitation, but takes into account that our fluid systems are not point-mass sources but, rather, are represented by a continuous ''distribution'' of mass via the function, <math>~\rho(\vec{x},t)</math>.  As indicated, in our study, <math>~\rho</math> may depend on time as well as space.  The acceleration felt at any point in space is obtained by integrating over the accelerations exerted by each differential mass element.  As has been explicitly demonstrated in, respectively, [[User:Tohline/SR/PoissonOrigin#Step_1|Step 1]] and [[User:Tohline/SR/PoissonOrigin#Step_3|Step 3]] of the same accompanying chapter, at any point in time the spatial variation of the gravitational potential, <math>~\Phi(\vec{x})</math>, may be determined from <math>~\rho(\vec{x})</math> via either an ''integral'' or a ''differential'' equation as follows:
The set of [[User:Tohline/PGE#Principal_Governing_Equations|Principal Governing Equations]] that serves as the foundation of our study of the structure, stability, and dynamical evolution of self-gravitating fluids contains an equation of motion (the ''Euler'' equation) that includes an acceleration due to local gradients in the (Newtonian) gravitational potential, <math>~\Phi</math>.  As has been pointed out in an [[User:Tohline/SR/PoissonOrigin#Origin_of_the_Poisson_Equation|accompanying chapter that discusses the origin of the Poisson equation]], the mathematical definition of this acceleration is fundamentally drawn from Isaac Newton's inverse-square law of gravitation, but takes into account that our fluid systems are not ensembles of point-mass sources but, rather, are represented by a continuous ''distribution'' of mass via the function, <math>~\rho(\vec{x},t)</math>.  As indicated, in our study, <math>~\rho</math> may depend on time as well as space.  The acceleration felt at any point in space may be obtained by integrating over the accelerations exerted by each differential mass element.  Alternatively &#8212; and more commonly &#8212; as has been explicitly demonstrated in, respectively, [[User:Tohline/SR/PoissonOrigin#Step_1|Step 1]] and [[User:Tohline/SR/PoissonOrigin#Step_3|Step 3]] of the same accompanying chapter, at any point in time the spatial variation of the gravitational potential, <math>~\Phi(\vec{x})</math>, is determined from <math>~\rho(\vec{x})</math> via either an ''integral'' or a ''differential'' equation as follows:




<div align="center">
<div align="center">
<table border="1" cellpadding="8" align="center" width="80%">
<table border="1" cellpadding="8" align="center" width="80%">
<tr><th align="center" colspan="2"><font size="+1">Table 1: &nbsp;Poisson Equation</font></th></tr>
<tr><th align="center" colspan="2"><font size="+0">Table 1: &nbsp;Poisson Equation</font></th></tr>
<tr>
<tr>
   <th align="center">Integral Expression</th>
   <th align="center">Integral Representation</th>
   <th align="center">Differential Expression</th>
   <th align="center">Differential Representation </th>
</tr>
</tr>
<tr>
<tr>
Line 41: Line 42:




While it is possible in some restricted situations to determine analytic expressions for the matched pair of functions, <math>~\Phi </math> and <math>~\rho</math>,  that satisfy the Poisson equation, modeling the vast majority of interesting astrophysical problems requires the develop of a numerical scheme to solve the Poisson equation.  In what follows, our aim is twofold:  (a) To recount &#8212; in a reasonable amount of detail &#8212; the steps that we have taken over the past, approximately forty years to develop more and more accurate and efficient ways to solve the Poisson equation in full three-dimensional generality; and (b) To list, if not summarize, alternative techniques that have been successfully employed by other research groups over the years.
While it is possible in some restricted situations to determine analytic expressions for the matched pair of functions, <math>~\Phi </math> and <math>~\rho</math>,  that satisfy the Poisson equation, modeling the vast majority of interesting astrophysical problems requires the develop of a numerical scheme to solve the Poisson equation.  In what follows, our aim is twofold:  (a) To recount &#8212; in a reasonable amount of detail &#8212; the steps that we have taken over the past, approximately forty years to develop more and more accurate and efficient ways to solve the Poisson equation in full three-dimensional generality; and (b) to list/summarize alternative techniques that have been successfully employed by other research groups over the years.


==Our Approach==
<table border="0" align="center" cellpadding="5" width="100%">
<tr>
<td align="center">
  <table border="1"><tr><td align="center" bgcolor="red">&nbsp; &nbsp; &nbsp;</td></tr></table>
</td>
<td align="left" colspan="2">Dimensionality &hellip;</td>
<td align="left">2D &nbsp; or &nbsp; 3D</td>
</tr>


===Influenced by Black &amp; Bodenheimer (1975)===
<tr>
<td align="center">
  <table border="1"><tr><td align="center" bgcolor="lightgreen">&nbsp; &nbsp; &nbsp;</td></tr></table>
</td>
<td align="left" colspan="2">Computational Mesh Used for ''Differential Representation'' &hellip;</td>
<td align="left">[Car]tesian &nbsp; [Cyl]indrical &nbsp; [Sph]erical &nbsp; Gridless ([Lag]rangian)</td>
</tr>


[http://adsabs.harvard.edu/abs/1975ApJ...199..619B D. C. Black &amp; P. Bodenheimer (1975, ApJ, 199, 619 - 632)] published a detailed description of the numerical techniques that they implemented in order to model, in two dimensions, the dynamical collapse of ''axisymmetric'' interstellar gas clouds.  Among the techniques was their method of solving, in cylindrical coordinates, the two-dimensional (2D) Poisson equation. As is acknowledged in the last paragraph of their paper, Black &amp; Bodenheimer were introduced "to the pitfalls of two-dimensional hydrodynamics" by Drs. J. LeBlanc and J. Wilson who, at the time, were both staff scientists at the Lawrence Livermore Laboratory.  In 1976, having completed my formal graduate-level course work in the astronomy program at UC, Santa Cruz, Peter Bodenheimer (on the faculty of Lick Observatory and UC, Santa Cruz) asked me if I would be interested in working with him and David Black (a planetary scientist at NASA, Ames Research Center) on the development of a fully three-dimensional (3D) hydrodynamics code to study, not only the collapse, but also the fragmentation of self-gravitating gas clouds.  I jumped at the opportunity.  As a result, an effort to model the process of spontaneous cloud fragmentation became the focus of my doctoral dissertation research.   
<tr>
<td align="center">
  <table border="1"><tr><td align="center" bgcolor="yellow">&nbsp; &nbsp; &nbsp;</td></tr></table>
</td>
<td align="left" colspan="2">Green's Function for ''Integral Representation'' &hellip;</td>
<td align="left">[Sph]erical &nbsp; [Tor]oidal &nbsp; Gridless ([Lag]rangian)</td>
</tr>
</table>
 
For each chosen problem, a research group must decide/specify, at a minimum: &nbsp; (1) The ''dimensionality'' of the problem; that is, whether the study will be restricted to 2D (e.g., axisymmetric) systems or whether the problem will be tackled in its full 3D complexity. (2) Whether the gravitational potential ''inside'' the mass distribution will be determined by solving the ''integral representation'' or the ''differential representation'' of the Poisson equation and, if the latter, in what coordinate frame (e.g., cylindrical or spherical) the differential operator and the computational mesh will be based.  (Note that even when the interior solution is obtained by evaluating the ''differential representation'' of the Poisson equation, the ''integral representation'' will likely be employed to evaluate the potential on a boundary that lies outside the mass distribution.)  (3) Which Green's function representation of the term, <math>~|\vec{x}^{~'} - \vec{x}|^{-1}</math>, will be used if/when the ''integral representation'' is evaluated.  As the numerical techniques employed by each research group are introduced, below, a small red/green/yellow boxed icon has been interlaced with the text in an effort to highlight, up front, which choices the group has made.
 
==Our Approach &#8212; Initially Heavily Influenced by Black &amp; Bodenheimer (1975)==
 
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 2D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Cyl &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Sph &nbsp;</td>
</tr></table>
</td></tr></table>
[http://adsabs.harvard.edu/abs/1975ApJ...199..619B D. C. Black &amp; P. Bodenheimer (1975, ApJ, 199, 619 - 632)] published a detailed description of the numerical techniques that they implemented in an effort to model, in two dimensions, the dynamical collapse of ''axisymmetric'' interstellar gas clouds.  Among the techniques was their method of solving, in cylindrical coordinates, the ''differential representation'' of the two-dimensional (2D) Poisson equation. Values of the potential along the outer boundaries of their cylindrical mesh were obtained by employing a spherical-harmonic expansion of the Green's function to evaluate the ''integral representation'' of the Poisson equation.
 
As is acknowledged in the last paragraph of their paper, Black &amp; Bodenheimer were introduced "to the pitfalls of two-dimensional hydrodynamics" by Drs. J. LeBlanc and J. Wilson who, at the time, were both staff scientists at the Lawrence Livermore Laboratory.  In 1976, having completed my formal graduate-level course work in the astronomy program at UC, Santa Cruz, Peter Bodenheimer (on the faculty of Lick Observatory and UC, Santa Cruz) asked me if I would be interested in working with him and David Black (a planetary scientist at NASA, Ames Research Center) on the development of a fully three-dimensional (3D) hydrodynamics code to study, not only the collapse, but also the fragmentation of self-gravitating gas clouds.  I jumped at the opportunity.  As a result, an effort to model the process of spontaneous cloud fragmentation became the focus of my doctoral dissertation research.   


Borrowing from the [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)] work, I decided to solve the set of 3D [[User:Tohline/PGE#Principal_Governing_Equations|principal governing equations]] on a cylindrical coordinate <math>~(\varpi, \theta, z)</math> mesh:
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 3D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Cyl &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Sph &nbsp;</td>
</tr></table>
</td></tr></table>
Borrowing from the [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)] work, I decided to solve the set of 3D [[User:Tohline/PGE#Principal_Governing_Equations|principal governing equations]] on a cylindrical coordinate <math>~(\varpi, \phi, z)</math> mesh:
* whose outermost radial and vertical boundaries were placed entirely outside of the mass distribution (by way of illustration, see the green-dashed lines in Figure 1);
* whose outermost radial and vertical boundaries were placed entirely outside of the mass distribution (by way of illustration, see the green-dashed lines in Figure 1);
* that exhibited reflection symmetry through the <math>~(z = 0)</math> equatorial plane ;
* that exhibited reflection symmetry through the <math>~(z = 0)</math> equatorial plane ;
Line 67: Line 110:
   </table>
   </table>
</td></tr></table>
</td></tr></table>
<font color="darkblue">'''Mesh Choice''':</font> In retrospect, I am still comfortable with the choice that was made, at the time, of a cylindrical coordinate mesh with uniform spacing in the azimuthal-coordinate direction.  When expressed in terms of cylindrical coordinates &#8212; as opposed to cartesian coordinates, for example &#8212; the azimuthal component of the Euler equation offers a natural means by which the conservation of angular momentum can be monitored, if not enforced.  And, by enabling the implementation of FFTs &#8212; hence, providing the ability to rapidly transform functions, like <math>~\Phi(\theta)</math> and <math>~\rho(\theta)</math>, back and forth between ''real'' space and ''Fourier'' space &#8212; a uniform descritization of the  azimuthal grid facilitates the development of an efficient 3D Poisson solver as well as tools to straightforwardly analyze the behavior &#8212; e.g., the exponential growth &#8212; of individual nonaxisymmetric modes.
<span id="MeshChoice"><font color="darkblue">'''Mesh Choice''':</font> In retrospect,</span> I am still comfortable with the choice that was made, at the time, of a cylindrical coordinate mesh with uniform spacing in the azimuthal-coordinate direction.  When expressed in terms of cylindrical coordinates &#8212; as opposed to cartesian coordinates, for example &#8212; the azimuthal component of the Euler equation offers a natural means by which the conservation of angular momentum can be monitored, if not enforced.  And, by enabling the implementation of [https://en.wikipedia.org/wiki/Fast_Fourier_transform FFTs] &#8212; hence, providing the ability to rapidly transform functions, like <math>~\Phi(\phi)</math> and <math>~\rho(\phi)</math>, back and forth between ''real'' space and ''Fourier'' space &#8212; a uniform descritization of the  azimuthal grid facilitated the development of an efficient 3D Poisson solver as well as tools to straightforwardly analyze the behavior &#8212; e.g., the exponential growth &#8212; of individual nonaxisymmetric modes.
</td></tr>
</td></tr>
</table>
</table>
Line 73: Line 116:
----
----


Also, following the lead of [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)], a hybrid scheme was developed to solve the Poisson equation.  As defined in Table 1 above, the ''integral'' expression was evaluated at grid locations along the outermost radial and vertical boundaries &#8212; illustrated by the dashed green lines displayed in Figure 1 &#8212; by integrating over the "pink" mass distribution lying inside of these grid boundaries.  Separately, the ''differential'' expression was used to evaluate the potential at all ''interior'' grid locations; this differential expression was supplemented by the implementation of [https://en.wikipedia.org/wiki/Neumann_boundary_condition ''Neumann'' boundary conditions] (reflection symmetry) along the equatorial plane, and by using the values of the potential just determined along the outermost grid boundaries to provide [https://en.wikipedia.org/wiki/Dirichlet_boundary_condition ''Dirichlet'' boundary conditions] along those grid boundaries.


====Determining Values of the Potential on the Mesh Boundary====
Also, following the lead of [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)], a hybrid scheme was developed to solve the Poisson equation.  As defined in Table 1 above, its ''integral representation'' was evaluated at grid locations along the outermost radial and vertical boundaries &#8212; illustrated by the dashed green lines displayed in Figure 1 &#8212; by integrating over the "pink" mass distribution lying inside of these grid boundaries.  Separately, the ''differential'' form of the Poisson equation was used to evaluate the potential at all ''interior'' grid locations; this differential expression was supplemented by the implementation of [https://en.wikipedia.org/wiki/Neumann_boundary_condition ''Neumann'' boundary conditions] (reflection symmetry) along the equatorial plane, and by using the values of the potential just determined along the outermost grid boundaries to provide [https://en.wikipedia.org/wiki/Dirichlet_boundary_condition ''Dirichlet'' boundary conditions] along those grid boundaries.
Let's determine the potential, <math>~\Phi_B</math>, at all points along the ''boundary'' of the cylindrical coordinate mesh by evaluating Table 1's ''integral expression'' for the Poisson equation.  


=====Using a Spherical Harmonic Expansion=====
===Determining Values of the Potential on the Mesh Boundary===
Let's determine the potential, <math>~\Phi_B</math>, at all points along the ''boundary'' of the cylindrical coordinate mesh by evaluating Table 1's ''integral representation'' of the Poisson equation.


Following the lead of [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)], we will insert into this integral relation the Green's function expression for <math>~|\vec{x} - \vec{x}^{~'}|^{-1} </math> as given in terms of ''Spherical Harmonics'', <math>~Y_{\ell m}</math>, which in turn can be written in terms of ''Associated Legendre Functions.''  [[#Ylm|Table 2, below]], provides the primary details.
====Using a Spherical Harmonic Expansion====
=====Full Three-Dimensional Generality=====
 
Following the lead of [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)], we will insert into this integral relation the Green's function expression for <math>~|\vec{x}^{~'}- \vec{x} |^{-1} </math> as given in terms of ''Spherical Harmonics'', <math>~Y_{\ell m}</math>, which in turn can be written in terms of ''Associated Legendre Functions.''  [[#Ylm|Table 2, below]], provides the primary details.


Written in the context of a spherical coordinate system we have,
Written in the context of a spherical coordinate system we have,
Line 152: Line 197:
</table>
</table>


If the distance from the origin, <math>~r</math>, of a boundary point (''i.e.'', any point lying along the dashed green lines in Figure 1) is greater than the distance from the origin, <math>~r^'</math>, of ''all'' of the (pink) mass elements, the second integral can be completely ignored.  We have, then, an expression that we will henceforth refer to as,
If the distance from the origin, <math>~r</math>, of a boundary point (''i.e.'', any point lying along the dashed green lines in Figure 1) is greater than the distance from the origin, <math>~r^'</math>, of ''all'' of the (pink) mass elements, the second integral can be completely ignored.  We have, then, an expression that will henceforth be referred to as,
<!-- OLD COMMENT
<!-- OLD COMMENT
In making this last step, we have moved the radial distance with its associated exponent, <math>~(r_>)^{-(\ell+1)}</math>, outside of the mass integral.  At the same time, we have left the alternate radial distance along with its associated exponent, <math>~(r_<)^\ell</math>, inside the integral and, accordingly, have labeled it with a "prime" to emphasize its association with the integral.  This has been done under the assumption that ''every'' (pink) mass element (tagged by a "primed" coordinate) lies closer to the coordinate origin than ''every'' point on the boundary (dashed green lines).  The integral must be split into two parts with the locations (inside or outside of the integral) of <math>~r_></math> and <math>~r_<</math> swapped in the second part of the integral if, in any case, the point on the boundary lies closer to the coordinate origin than ''any'' (pink) mass element(s).
In making this last step, we have moved the radial distance with its associated exponent, <math>~(r_>)^{-(\ell+1)}</math>, outside of the mass integral.  At the same time, we have left the alternate radial distance along with its associated exponent, <math>~(r_<)^\ell</math>, inside the integral and, accordingly, have labeled it with a "prime" to emphasize its association with the integral.  This has been done under the assumption that ''every'' (pink) mass element (tagged by a "primed" coordinate) lies closer to the coordinate origin than ''every'' point on the boundary (dashed green lines).  The integral must be split into two parts with the locations (inside or outside of the integral) of <math>~r_></math> and <math>~r_<</math> swapped in the second part of the integral if, in any case, the point on the boundary lies closer to the coordinate origin than ''any'' (pink) mass element(s).
Line 180: Line 225:
<tr>
<tr>
   <td align="center" colspan="3">
   <td align="center" colspan="3">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 137, Eq. (4.2)
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 137, Eq. (4.2)<br />
[<b>[[User:Tohline/Appendix/References#BLRY07|<font color="red">BLRY07</font>]]</b>], p. 238, Eqs. (7.53) - (7.54)
   </td>
   </td>
</tr>
</tr>
Line 206: Line 252:
</table>
</table>


Note that, as a consequence of assuming that our configurations have equatorial-plane symmetry, the weighted integral over the mass distribution necessarily goes to zero anytime the sum of the two indexes, <math>~(\ell + m)</math>, is an odd number.  This is because, in each of these situations, the <math>~Y_{\ell m}</math> includes an overall factor of <math>~\cos\theta</math>, which necessarily switches signs between the two hemispheres.  After setting <math>~\ell_\mathrm{max}=4</math> &#8212; and dropping all terms in the summation for which the index sum, <math>~(\ell + m)</math>, is odd &#8212; this expression becomes precisely the relation that was used to determine the ''boundary'' values of the gravitational potential in our earliest set of simulations; see, for example, [http://adsabs.harvard.edu/abs/1978PhDT.........6T Tohline (1978)], [http://adsabs.harvard.edu/abs/1980ApJ...235..866T Tohline (1980)], and [http://adsabs.harvard.edu/abs/1980ApJ...242..209B Bodenheimer, Tohline, &amp; Black (1980)].
Note that, as a consequence of assuming that our configurations have equatorial-plane symmetry, the weighted integral over the mass distribution necessarily goes to zero anytime the sum of the two indexes, <math>~(\ell + m)</math>, is an odd number.  This is because, in each of these situations &#8212; again, see [[#Ylm|Table 2, below]] for details &#8212; the <math>~Y_{\ell m}</math> includes an overall factor of <math>~\cos\theta</math>, which necessarily switches signs between the two hemispheres.  After setting <math>~\ell_\mathrm{max}=4</math> &#8212; and dropping all terms in the summation for which the index sum, <math>~(\ell + m)</math>, is odd &#8212; this expression becomes precisely the relation that was used to determine the ''boundary'' values of the gravitational potential in our earliest set of simulations; see, for example, [http://adsabs.harvard.edu/abs/1978PhDT.........6T Tohline (1978)], [http://adsabs.harvard.edu/abs/1980ApJ...235..866T Tohline (1980)], and [http://adsabs.harvard.edu/abs/1980ApJ...242..209B Bodenheimer, Tohline, &amp; Black (1980)].


=====Simplification for 2D, Axisymmetric Systems=====
=====Simplification for 2D, Axisymmetric Systems=====
Line 252: Line 298:
</tr>
</tr>
</table>
</table>
where, <math>~d^3x^' = 2\pi \varpi^' d\varpi^' dz^'</math>.  This is precisely the same as equation (5) from [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)].
where, <math>~d^3x^' = 2\pi \varpi^' d\varpi^' dz^'</math>.  This is precisely the same as equation (5) from [http://adsabs.harvard.edu/abs/1975ApJ...199..619B Black &amp; Bodenheimer (1975)]; see also, equations (8) and (9) in [http://adsabs.harvard.edu/abs/1999ApJ...527...86C Cohl &amp; Tohline (1999)].


=====Multipole Moments=====
====Using Toroidal Functions====
======Setup======


Following the discussion presented in &sect;4.1 of [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], it is sometimes useful to rewrite [[#PotentialA|''Form A'' of the boundary potential]] as,
=====In 3D=====
<table border="0" align="center">
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 3D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Cyl &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Tor &nbsp;</td>
</tr></table>
</td></tr></table>
NOTE:  Throughout this chapter subsection, text that appears in a dark green font has been taken ''verbatim'' from [http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)].
 
[[#MeshChoice|As mentioned above]], from the beginning of my research activities &#8212; following the lead of Black &amp; Bodenheimer &#8212; it has seemed reasonable to me that numerical simulations of time-evolving, rotationally flattened fluid systems should be carried out on a cylindrical, rather than cartesian, coordinate mesh.  When modeling rotationally flattened configurations, a cylindrical mesh has even seemed preferable to a ''spherical'' coordinate mesh because the "top" grid boundary (horizontal green-dashed line segment in [[#MeshChoice|Figure 1]]) can straightforwardly be dropped to a <math>~z</math>-coordinate location that is smaller than the <math>~\varpi</math>-coordinate location of the "side" grid boundary  (vertical green-dashed line segment in [[#MeshChoice|Figure 1]]), thereby reducing the number of grid cells &#8212; and, correspondingly reducing the cost of modeling the less interesting, ''vacuum'' region &#8212; outside of the fluid system.  [See, however, [[#Boss_.281980.29|Boss (1980)]] for an alternate point of view.]  At the same time, however, it has not seemed reasonable to determine the values of the potential along the (cylindrical-grid) boundary by adopting a Green's function that is expressed in terms ''spherical harmonics''.
 
Over a period of approximately twenty years, off and on, my research group considered <font color="darkgreen">whether it might be advantageous in our numerical simulations to cast the Green's function in a cylindrical coordinate system. The "familiar" expression for the cylindrical Green's function expansion can be found in variety of references (see [<b>[[User:Tohline/Appendix/References#MF53|<font color="red">MF53</font>]]</b>]; [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)]</font>), and for convenience is [[#Familiar_Expression_for_the_Cylindrical_Green.27s_Function_Expansion|repeated below]].  <font color="darkgreen">It is expressible in terms of an infinite sum over the azimuthal quantum number <math>~m</math> and an infinite integral over products of Bessel functions of various orders multiplied by an exponential function. </font>  Note that [http://adsabs.harvard.edu/abs/1985ApJ...290...75V J. V. Villumsen (1985, ApJ, 290, 75 - 85)] attempted to solve the potential problem in this manner; <font color="darkgreen">he presents a technique in which each infinite integral over products of Bessel functions is evaluated numerically using a Gauss-Legendre integrator &hellip; He then emphasizes the obvious problem that, because of the infinite integrals involved, a calculation of the potential via this straightforward application of the familiar cylindrical Green's function expansion is numerically much more difficult than a calculation of the potential using a ''spherical'' Green's function expansion.</font>
 
<font color="red"><b>Eureka!</b></font> Via his dogged efforts and an extraordinarily in-depth investigation of this problem, [[User:Tohline/Appendix/Ramblings/CCGF#Compact_Cylindrical_Green_Function_.28CCGF.29|in 1999 Howard S. Cohl discovered]] that, in cylindrical coordinates, the relevant Green's function can be written in a much more compact and much more practical form. Specifically, he realized that,
<table border="0" align="center" cellpadding="5">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B(r,\theta,\phi)</math>
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 268: Line 327:
   <td align="left">
   <td align="left">
<math>~  
<math>~  
-4\pi
\frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi) \, ,
\sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)\, ,
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
where,<br />
<div align="center"><math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'} \, ,</math><br /><br />
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 88, Eqs. (15) &amp; (16)<br />
See also: [http://adsabs.harvard.edu/abs/2007AmJPh..75..724S Selvaggi, Salon &amp; Chari (2007)] &sect;II, eq. (5)<br />
and the [https://dlmf.nist.gov/14.19#ii DLMF's definition of Toroidal Functions], <math>~Q_{m - 1 / 2}^{0}</math>
</div>
and, <math>~Q_{m - 1 / 2}</math> is the zero-order, half-(odd)integer degree, Llegendre function of the second kind &#8212; also referred to as a ''toroidal'' function of zeroth order; see [[#Toroidal_Functions|additional details, below]].  Hence, anywhere along the boundary of our cylindrical-coordinate mesh, a valid expression for the gravitational potential is,


<span id="MultipoleMoments">where we have introduced what is commonly referred to as the,
<table border="0" align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
<td align="center" colspan="3">
<font color="#770000">'''Multipole Moments of the Mass Distribution'''</font>
</td>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{\ell m}</math>
<math>~ \Phi_B(\varpi,\phi,z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~\equiv</math>
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~  
\int (r^')^\ell  Y_{\ell m}^*(\theta^', \phi^')
-G \int \frac{1}{|\vec{x}^{~'} - \vec{x}|} ~\rho(\vec{x}^{~'}) d^3x^'  
~\rho(r^', \theta^', \phi^') d^3x^'  
\, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
  <td align="center" colspan="3">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 137, Eq. (4.3)
  </td>
</tr>
</table>
When written explicitly in terms of cartesian coordinates &#8212; see Table 2, above, for each of the <math>~Y_{\ell m}</math> expressions &#8212; the first few of these moments are:
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{00}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 316: Line 363:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{\sqrt{4\pi}}
<math>~  
\int \rho(\vec{x}^{~'}) d^3x^' \, ;
-G \int \biggl\{
\frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi)
\biggr\}~
\rho(\varpi^',\phi^',z^') \varpi^' d\varpi^' d\phi^' dz^'  
</math>
</math>
   </td>
   </td>
Line 324: Line 374:
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{11}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 330: Line 380:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~  
\int r^'  \biggl[ Y_{11}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^'
-\frac{G}{\pi \sqrt{\varpi}} \int \rho(\varpi^',\phi^',z^') \sqrt{\varpi^'} d\varpi^' d\phi^' dz^'   
\sum_{m=0}^{\infty} \epsilon_m \cos[m(\phi - \phi^')] Q_{m- 1 / 2}(\chi) \, ,
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
  <td align="center" colspan="3">
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 88, Eq. (18)
  </td>
</tr>
</table>
where, <math>~\epsilon_m</math> is the Neumann factor, that is, <math>~\epsilon_0=1</math> and <math>~\epsilon_m = 2</math> for <math>~m\ge 1</math>.  Following this discovery, most of my research group's 3D numerical modeling of self-gravitating fluids has been conducted using ''Toroidal functions'' instead of ''Spherical Harmonics'' to evaluate the boundary potential on our cylindrical-coordinate meshes; see, for example, [http://adsabs.harvard.edu/abs/2002ApJS..138..121M P. M. Motl, J. E. Tohline &amp; J. Frank (2002)]; [http://adsabs.harvard.edu/abs/2005ApJ...625L.119O C. D. Ott, S. Ou, J. E. Tohline &amp; A. Burrows (2005)]; [http://adsabs.harvard.edu/abs/2006ApJ...643..381D M. C. R. D'Souza, P. M. Motl, J. E. Tohline, &amp; J. Frank (2006)]; and [http://adsabs.harvard.edu/abs/2012ApJS..199...35M D. C. Marcello &amp; J. E. Tohline (2012)].
=====For Axisymmetric Systems=====
As was done, [[#Simplification_for_2D.2C_Axisymmetric_Systems|above]], in the context of our discussion of a spherical-harmonics-based expression for the boundary potential, let's consider how this toroidal-function-based expression for the boundary potential can be simplified when examining 2D (axisymmetric) rather than fully 3D systems.  In axisymmetric systems, by definition, physical variables exhibit no variation in the azimuthal coordinate direction.  Hence, in the expression for <math>~\Phi_B</math>:
* the azimuthal coordinate, <math>~\phi</math>, need not appear explicitly as an independent variable, so the integral over this angular coordinate immediately gives, <math>~2\pi</math>;
* the index, <math>~m</math>, must be set to zero, so there is no summation over this index; and,
* drawing from the [[#Toroidal_Functions|additional details provided in Table 5, below]] the single surviving toroidal function is, <math>~Q_{-1 / 2}</math>, which can be rewritten in terms of the complete elliptic integral of the first kind.
As a result of these simplifications, anywhere along the boundary of our cylindrical-coordinate mesh, a valid expression for the ''axisymmetric'' gravitational potential is,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B(\varpi,z)\biggr|_{2D}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 343: Line 412:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~  
- ~\int r^'  \biggl[ \sqrt{\frac{3}{8\pi}}\sin\theta ~\biggl(\cos\phi^' - i\sin\phi^' \biggr) \biggr]~\rho(\vec{x}^{~'}) d^3x^'
-\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'}
Q_{- 1 / 2}(\chi)  
</math>
</math>
   </td>
   </td>
Line 356: Line 426:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~  
- \sqrt{\frac{3}{8\pi}}~\int r^'  \biggl[ \frac{\sqrt{(x^')^2+(y^')^2}}{r^'}  
-\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'}
~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr]
\mu K(\mu) \, ,
~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
  <td align="center" colspan="3">
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 89, Eqs. (31) &amp; (32)
  </td>
</tr>
</table>
where,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\mu </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
<math>~\equiv</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\biggl[ \frac{2}{1+\chi} \biggr]^{1 / 2} =
- \sqrt{\frac{3}{8\pi}}~\int (x^' - iy^')
\biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2}
~\rho(\vec{x}^{~'}) d^3x^'
\, .
\, ;
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Actually, this expression for the potential is not only valid along the outer boundaries of the computational mesh, but ''anywhere'' inside or outside of the mass distribution.
===Extension from 2D to 3D===
An extension from 2D to 3D was accomplished by using separate, finite Fourier series expansion to represent the azimuthal dependence of <math>~\rho</math> and <math>~\Phi</math>.  This allowed us to decouple the ''differential'' expression for the Poisson equation into a finite number of independent Fourier modes, and to straightforwardly solve a finite set of 2D Helmholtz equations, instead of solving a single 2D Poisson equation.
==Intermediate==
<table border="1" width="95%" align="center" cellpadding="10"><tr><td align="left">
Much of the material enclosed in this ''text box'' has been drawn from &sect;3.1 of Jackson (1975).
In spherical coordinates, <math>~(r,\theta,\phi)</math>, the Poisson equation takes the form,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{1,- 1}</math>
<math>~4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 387: Line 478:
   <td align="left">
   <td align="left">
<math>~
<math>~
+ \sqrt{\frac{3}{8\pi}}~\int (x^' + iy^')
\frac{1}{r} \frac{\partial^2}{\partial r^2} (r\Phi)
~\rho(\vec{x}^{~'}) d^3x^'
+ \frac{1}{r^2 \sin\theta} \frac{\partial}{\partial\theta} \biggl( \sin\theta \frac{\partial\Phi}{\partial\theta}\biggr)
\, ;
+ \frac{1}{r^2 \sin^2\theta} \frac{\partial^2\Phi}{\partial\phi^2} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
As it turns out, the potential &#8212; which, generally, is a function of all three coordinates &#8212; can be written as the product of three functions, each of which is a function of only one coordinate.  To demonstrate this, specifically suppose that,
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{10}</math>
<math>~\Phi(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 403: Line 497:
   <td align="left">
   <td align="left">
<math>~
<math>~
\int r^'  \biggl[ Y_{10}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^'
\frac{U( r )}{r} P(\theta)Q(\phi) \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
Then the differential form of the Poisson equation can be rewritten as,
<table border="0" cellpadding="5" align="center">
 
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 416: Line 514:
   <td align="left">
   <td align="left">
<math>~
<math>~
\int r^\biggl[ \sqrt{\frac{3}{4\pi}}~\cos\theta^' \biggr]~\rho(\vec{x}^{~'}) d^3x^'
\frac{PQ}{r} \frac{d^2U}{dr^2}
+ \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)
+ \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 428: Line 529:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr]  \biggl\{
\sqrt{\frac{3}{4\pi}} \int z^' \rho(\vec{x}^{~'}) d^3x^' \, ;
\frac{PQ}{r} \frac{d^2U}{dr^2}
+ \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
+ \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2}
\biggr\}
</math>
</math>
   </td>
   </td>
Line 436: Line 540:
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{22}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 443: Line 547:
   <td align="left">
   <td align="left">
<math>~
<math>~
\int (r^')^2 \biggl[ Y_{22}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
\biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2}
+ \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
+ \frac{1}{Q} \frac{d^2Q}{d\phi^2} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Setting, <math>~Q = e^{\pm im\phi}</math>, gives,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \biggl[ \frac{r^3 \sin^2\theta}{ UP e^{\pm i m\phi }} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 456: Line 567:
   <td align="left">
   <td align="left">
<math>~
<math>~
\int (r^')^2 \biggl\{ \frac{1}{4}\sqrt{\frac{15}{2\pi}} ~\sin^2\theta^' ~\biggl[\cos(2\phi^') - i\sin(2\phi^')\biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^'
\biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2}  
+ \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
-m^2
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 }{ UP e^{\pm i m\phi}} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 468: Line 582:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
<math>~
\int (r^')^2  \biggl\{ \frac{(x^')^2+(y^')^2}{(r^')^2} ~\biggl[\frac{ (x^')^2 - (y^')^2 -
\biggl( \frac{r^2 }{U} \biggr) \frac{d^2U}{dr^2}  
2i ( x^' y^' )}{(x^')^2+(y^')^2} \biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^'
+ \biggl[ \frac{1}{P\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
- \frac{m^2}{\sin^2\theta} \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Now, if for each selected pair of the integer indexes, <math>~(\ell, m)</math>, the function <math>~P</math> is identified as the associated Legendre function, <math>~P_\ell^m</math>, as defined above in Table 2, then the set of terms inside the square brackets on the right-hand-side of this last expression can be set equal to <math>~[-\ell(\ell + 1)]</math> because every associated Legendre function satisfies the differential equation,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \frac{1}{P_\ell^m \sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP_\ell^m}{d\theta}\biggr) + \ell(\ell+1) - \frac{m^2}{\sin^2\theta}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 482: Line 603:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}
<math>~
\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ;
0 \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Rewriting our adopted ''separable'' expression for the potential as the sum over all possible <math>~(\ell,m)</math>-component solutions, that is,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{2,-2}</math>
<math>~\Phi(r,\theta,\phi) = \sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell [\Phi(r,\theta,\phi)]_{\ell m}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 495: Line 621:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
<math>~
\int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ;
\sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell  \frac{U_{\ell m}( r )}{r} P_\ell^m(\theta)Q_m(\phi) \, ,
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
a solution to the Poisson equation then imposes the requirement that, for each <math>~(\ell,m)</math> pair,
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{21}</math>
<math>~
\biggl( \frac{r^2 }{U_{\ell m}} \biggr) \frac{d^2U_{\ell m} }{dr^2} - \ell(\ell+1)
</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 509: Line 642:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~ \biggl[ \frac{r^3 }{ U_{\ell m} P_\ell^m e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} </math>
\int (r^')^2 \biggl[ Y_{21}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Rightarrow ~~~
\frac{1}{r} \frac{d^2U_{\ell m} }{dr^2} - \biggl[ \frac{\ell(\ell+1)}{r^2} \biggr]\frac{U_{\ell m} }{r}
</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 522: Line 656:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~ \biggl[ \frac{1}{ P_\ell^m e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} \, .</math>
- \sqrt{\frac{15}{8\pi}} \int (r^')^2 \biggl[ \sin\theta^' \cos\theta^' (\cos\phi^' -i\sin\phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
  <td align="right">
 
&nbsp;
</td></tr></table>
   </td>
 
   <td align="center">
 
==Other Approaches==
 
===Deupree (1974)===
 
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 2D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Sph &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Tor &nbsp;</td>
</tr></table>
</td></tr></table>
 
<table border="0" cellpadding="3" align="center" width="75%">
<tr><td align="left">
<font color="#009999">
"The fully nonlinear, nonradial, nonadiabatic calculation of stellar oscillations has not as yet been attempted by anyone, to the best of the author's knowledge.  Only Deupree (1974b, 1975) so far seems to have taken some steps in this direction.  He has carried out numerical calculations of the nonlinear axisymmetric oscillations in the adiabatic ([http://adsabs.harvard.edu/abs/1974ApJ...194..393D Deupree 1974b]) and nonadiabatic ([http://adsabs.harvard.edu/abs/1975ApJ...198..419D Deupree 1975]) approximations, with apparently encouraging results."</font>
</td></tr>
<tr><td align="right">
&#8212; Drawn from &sect;3.5 of the review article by [http://adsabs.harvard.edu/abs/1976ARA%26A..14..247C J. P. Cox (1976, ARAA, 14, 247 - 273)]
</td></tr></table>
 
Apparently, [http://adsabs.harvard.edu/abs/1974ApJ...194..393D R. G. Deupree (1974, ApJ, 194, 393 - 402)] was the first astronomer to employ self-gravitating, numerical hydrodynamic techniques to model ''nonlinear, nonradial stellar pulsations.''  He chose to carry out his simulations on a spherical coordinate mesh with his earliest simulations being restricted to the examination of 2D (axisymmetric) configurations.  The outer boundary of his computational grid was identified as (see his &sect;IIb) <font color="darkgreen">a spherical surface completely exterior to the star.</font>
 
====His Derived Expression for the Boundary Potential====
In designing an algorithm to solve the Poisson equation, [http://adsabs.harvard.edu/abs/1974ApJ...194..393D Deupree (1974)] considered <font color="darkgreen">the major difficulty [to be] the evaluation of the potential boundary conditions.</font>  He decided to determine the boundary potential via an evaluation of the ''integral representation'' of the Poisson equation; <font color="darkgreen">once the boundary conditions [were] specified, the potential inside the star [was] evaluated by [employing] the [http://adsabs.harvard.edu/abs/1964ApJ...139..306H Henyey method]</font> to solve the ''differential representation'' of the Poisson equation. The assumption of azimuthal symmetry meant that, for example, the density was specified at various meridional-plane locations, <math>~\rho(r,\theta)</math>, with <font color="darkgreen">each zone [being] considered as a uniform density circular ring.</font>  He argued that <font color="darkgreen">the potential of [each such] ring at any point on the spherical boundary [could] easily be evaluated by</font> treating it as an infinitesimally thin ring of mass, <math>~\delta M = 2\pi a \rho ~\delta A</math> &#8212; where, <math>~\delta A</math> <font color="darkgreen">is the cross-sectional area of the [grid] zone, and <math>~a</math> is the radius of [that] ring</font> &#8212; then drawing upon the analytic analysis described by [https://archive.org/details/foundationsofpot033485mbp Kellogg (1929)] or, equivalently, by [https://www.amazon.com/Theory-Potential-W-D-Macmillan/dp/0486604861/ref=sr_1_2?s=books&ie=UTF8&qid=1503444466&sr=1-2&keywords=the+theory+of+the+potential MacMillan (1958; originally 1930)].  Then, <font color="darkgreen">the total potential at the boundary is the sum of the potentials from all of the [meridional-plane] zones.</font>
 
----
 
<table border="0" align="center" cellpadding="5" width="80%"><tr><td align="left">
Note that, over the years, a number of other research groups have adopted this same approach to evaluate the gravitational potential of axisymmetric mass distributions &#8212; that is, summing up the potential contributions due to an ensemble of "infinitesimally thin rings."  But none appear to have recognized Deupree's earlier, pioneering investigation.  See, for example, the brief reviews that we have written regarding the related investigations by:  [[#Stahler_.281983.29|Stahler (1983)]], [[User:Tohline/Apps/DysonWongTori#Bannikova_et_al._.282011.29|Bannikova et al. (2011)]], and [[User:Tohline/Apps/DysonWongTori#Fukushima_.282016.29|Fukushima (2016)]].
</td></tr></table>
 
----
 
More specifically, equation (16) from [http://adsabs.harvard.edu/abs/1974ApJ...194..393D Deupree (1974)] states that the differential contribution to the boundary potential due to each infinitesimally thin ring is,
<div align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
  <td align="right">
<math>~\delta\Phi_B</math>
   </td>
   <td align="center">
<math>~=</math>
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~
- \sqrt{\frac{15}{8\pi}} \int (r^')^2
- \frac{2G(2\pi a\rho ~\delta A)}{\pi p} \int_0^{\pi/2} \frac{d\psi}{[\cos^2\psi + (q/p)^2\sin^2\psi]^{1 / 2}} \, ,
\biggl[ \frac{z^' \sqrt{(x^')^2+(y^')^2}}{(r^')^2}  
~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr]
~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
</div>
 
where, <math>~q</math> is the shortest distance between the ring and the boundary point, and <math>~p</math> is the longest distance.  (Note that, in order to match our conventions, we have inserted the negative sign along with a leading factor of <math>~G</math>.)  Referencing our accompanying [[User:Tohline/Apps/DysonWongTori#DeupreeReference|detailed analysis of the potential due to a thin ring]], and adopting the variable mappings, <math>~p \leftrightarrow \rho_1</math> and <math>~q \leftrightarrow \rho_2</math>, we see that Deupree's expression is indeed identical to the expression for the potential derived by [https://www.amazon.com/Theory-Potential-W-D-Macmillan/dp/0486604861/ref=sr_1_2?s=books&ie=UTF8&qid=1503444466&sr=1-2&keywords=the+theory+of+the+potential MacMillan (1958)].
<!--
<div align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Phi</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 551: Line 731:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~- \biggl( \frac{2GM}{\pi} \biggr) \int_0^{\pi/2} \frac{d\omega}{[\rho_1^2 \cos^2\omega + \rho_2^2\sin^2\omega]^{1 / 2}} \, .</math>
- \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^') 
~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
-->
Recognizing, [[User:Tohline/Apps/DysonWongTori#RingPotential|as did MacMillan]], that the definite integral in this expression is related to the complete elliptic integral of the first kind, and introducing the ratio of lengths, <math>~c \equiv p/q</math>, Deupree's expression for the (differential contribution to the) potential can be rewritten as,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{2,-1}</math>
<math>~\delta\Phi_B</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 565: Line 749:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\frac{2G (2\pi a\rho ~\delta A) c}{\pi p} \int_0^{\pi/2} \frac{d\psi}{ \sqrt{1 - k^2 \sin^2\psi }} </math>
+ \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^') 
~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
   </td>
   </td>
</tr>
</tr>
Line 574: Line 755:
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~q_{20}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 580: Line 761:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~- \biggl[ \frac{2G (2\pi a\rho ~\delta A) c}{\pi p} \biggr] K(k)  \, ,</math>
\int (r^')^2 \biggl[ Y_{20}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
</table>
where, <math>~K(k)</math> is the [http://mathworld.wolfram.com/EllipticIntegraloftheFirstKind.html complete elliptic integral of the first kind] for the modulus, <math>~k = \sqrt{1-c^2}</math>.
====Comparison With Other Related Derivations====
Now, given that Deupree chose to construct and evolve his models using a spherical coordinate system, he would have specified the relevant lengths, <math>~p</math> and <math>~q</math>, and each ring's differential cross-section, <math>~\delta A</math>, in terms of spherical coordinates.  In an effort to more clearly illustrate the connection between Deupree's expression for the (differential contribution to the) boundary potential and the expression for the boundary potential that we have [[#For_Axisymmetric_Systems|derived above for axisymmetric systems]], we will insert expressions for these terms that apply, instead, to a cylindrical-coordinate mesh.
Following the same line of reasoning as has been presented in our [[User:Tohline/Apps/DysonWongTori#CylindricalLocation|accompanying discussion of MacMillan's work]], if the meridional-plane locations of the infinitesimally thin ring and the desired point on the boundary are, respectively, <math>~(\varpi^',z^')</math> and <math>~(\varpi,z)</math>, we see that,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~k = \sqrt{1 - c^2}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 593: Line 782:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~ \biggl[\frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2 }\biggr]^{1 / 2} \, ,</math>
\int (r^')^2  \biggl[ \sqrt{\frac{5}{16\pi}} (3\cos^2\theta^' - 1) \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
and,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\frac{c}{p}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 606: Line 799:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\sqrt{\frac{5}{16\pi}}
<math>~\biggl[(\varpi + \varpi^')^2 + (z - z^')^2 \biggr]^{- 1 / 2} = \frac{k}{\sqrt{4\varpi \varpi^'}} \, .</math>
\int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
</div>
Hence &#8212; after acknowledging that, in cylindrical coordinates, the radius of each "infinitesimally thin ring" is, <math>~a = \varpi^'</math>, and the differential cross-section of each ring is, <math>~\delta A = \delta\varpi^' \delta z^'</math> &#8212; Deupree's expression for the (differential contribution to the) potential may be rewritten as,


For the cases that correspond to positive values of the index, <math>~m</math>, this set of ''multipole moment'' expressions exactly matches the set of expressions presented as equations (4.4), (4.5), and (4.6) in [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)].  (Jackson's equation 4.7 explains how to map these expressions to the cases corresponding to negative values of the index, <math>~m</math>.)  Let's now look at various pieces of the boundary potential, each piece for a separate value of the index, <math>~\ell</math>.
<table border="0" cellpadding="5" align="center">


======First Term======
First (term with <math>~\ell = 0</math>):
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 0}</math>
<math>~\delta\Phi_B(\varpi,z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 626: Line 816:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{G (2\pi a \rho ~\delta A) }{\pi } \biggl[ \frac{k }{\sqrt{\varpi \varpi^'}} \biggr]  K(k) </math>
-4\pi
\biggl[ q_{00} \biggr] \frac{ Y_{00}(\theta,\phi)}{r}  
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
Line 640: Line 828:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{2G (\delta M) }{\pi } \cdot \frac{K(k) }{ \sqrt{(\varpi + a)^2 + (z - z^')^2 }}  \, ,  </math>
-4\pi G 
\biggl[ \frac{1}{\sqrt{4\pi}}
\int \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{\sqrt{4\pi}~r}   
</math>
   </td>
   </td>
</tr>
</tr>
</table>
or it may be rewritten as,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\delta\Phi_B(\varpi,z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 655: Line 844:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{G (2\pi a \rho ~\delta A) }{\pi } \biggl[ \frac{k }{\sqrt{\varpi \varpi^'}} \biggr] K(k) </math>
-\frac{GM}{r} \, .  
</math>
   </td>
   </td>
</tr>
</tr>
</table>


======Second Term======
Second (terms with <math>~\ell = 1</math>):
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 1}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 673: Line 856:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{2G }{\sqrt{\varpi}} \biggl[ \delta\varpi^' \delta z^' \rho(\varpi^', z^') \sqrt{\varpi^'} k K(k) \biggr] \, .</math>
-\frac{4\pi G}{3} 
\sum_{m=-1}^{+1} \biggl[ q_{1 m}\biggr] \frac{Y_{1 m}(\theta,\phi)}{r^2}
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Notice that the first of these two rewritten expressions aligns perfectly with our "[[User:Tohline/Appendix/Equation_templates#Other_Equations_with_Assigned_Templates|key equation]]" that gives the gravitational potential of an axisymmetric torus in the thin ring (TR) approximation, namely,
<table border="0" align="center" cellpadding="10"><tr><td align="center">
{{ User:Tohline/Math/EQ TRApproximation }}
</td>
<td align="center" rowspan="2">[[File:FlatColorContoursCropped.png|225px|link=User:Tohline/Apps/DysonWongTori#ThinRingContours]]</td>
</tr></table>
(See our [[User:Tohline/Apps/DysonWongTori#ThinRingContours|accompanying discussion]] for more information on the meridional-plane contour plot that is displayed to the right of this equation.)  Next, referring back to the expression that was [[#For_Axisymmetric_Systems|derived above for axisymmetric systems from a toroidal-function-based Green's function]], namely,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B(\varpi,z)\biggr|_{2D}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 688: Line 879:
   <td align="left">
   <td align="left">
<math>~  
<math>~  
-\frac{4\pi G}{3r^2} 
-\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'}
\biggl\{  
\mu K(\mu) \, ,
\biggl[ q_{1,- 1}\biggr] Y_{1, -1}(\theta,\phi)
+ \biggl[ q_{1 0}\biggr] Y_{1 0}(\theta,\phi)  
+ \biggl[ q_{1 1}\biggr] Y_{1 1}(\theta,\phi)  
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
  <td align="center" colspan="3">
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 89, Eqs. (31) &amp; (32)
  </td>
</tr>
</table>
where,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\mu </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 705: Line 900:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{4\pi G}{3r^2}
\biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2}
\biggl\{  
\, ,
\biggl[ + \frac{3}{8\pi}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x - iy) }{r}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
we see that the second of these rewritten expressions for Deupree's <math>~\delta\Phi_B</math> aligns perfectly with our derived expression for the differential contribution to the potential of any axisymmetric mass distribution.  It is therefore fair to say that the expression that Deupree used to determine the gravitational potential along the boundary of his modeled configurations is derivable from a 3D Green's function that is written in terms of ''toroidal functions''.
===Cook (1977)===
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 3D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Cyl &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Cyl &nbsp;</td>
</tr></table>
</td></tr></table>
Key results from [https://www.osti.gov/servlets/purl/7294335 T. L. Cook's (1977) doctoral dissertation] &#8212; titled, ''Three-Dimensional Dynamics of Protostellar Evolution'' &#8212; were published as [http://adsabs.harvard.edu/abs/1978ApJ...225.1005C T. L. Cook &amp; F. H. Harlow (1978, ApJ, 225, 1005 - 1020)]. Cook's three-dimensional hydrodynamic simulations were conducted on a cylindrical-coordinate mesh.  While few details of the technique used to solve the Poisson equation are provided in the ApJ article, &sect;II.B of [https://www.osti.gov/servlets/purl/7294335 Cook's (1977) dissertation] explains that values of the gravitational potential across the ''interior'' regions of the mesh were obtained by solving the ''differential representation'' of the Poisson equation, subject to the boundary conditions at each boundary point, calculated by "performing a numerical integration over all mass points" using the ''integral representation'' of the Poisson equation, namely,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B(\varpi,\phi,z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~  
+ \biggl[ \frac{3}{4\pi} \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{z}{r}
-G \int \frac{1}{|\vec{x}^{~'} - \vec{x}|} ~\rho(\vec{x}^{~'}) d^3x^' \, ,
+ \biggl[ \frac{3}{8\pi}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x + iy) }{r}
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
with,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\frac{1}{|\vec{x}^{~'} - \vec{x}|}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 735: Line 945:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{G}{r^3} 
\biggl[ \varpi^2 + (\varpi^')^2 - 2\varpi \varpi^' \cos|\phi - \phi^'| + (z - z^')^2 \biggr]^{- 1 / 2} \, .
\biggl\{
\biggl[ \frac{1}{2}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x - iy)
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="center" colspan="3">
&nbsp;
[https://www.osti.gov/servlets/purl/7294335 Cook (1977)], p. 15, Eq. (II-16)<br />
See also: [http://adsabs.harvard.edu/abs/2007AmJPh..75..724S Selvaggi, Salon &amp; Chari (2007)] &sect;II, eq. (2)
   </td>
   </td>
  <td align="center">
</tr>
&nbsp;
</table>
  </td>
 
  <td align="left">
(Note that the leading factor of the gravitational constant, <math>~G</math>, does not appear explicitly in Cook's equation II-16, although it should.)  Presumably the coordinate locations of the boundary cells, <math>~(\varpi,\phi,z)</math>, were in no case coincident with the coordinate locations of any of the ''interior'' grid cells, <math>~(\varpi^',\phi^',z^')</math>, so there was no danger that the integration would encounter a singularity as a consequence of the distance, <math>~|\vec{x}^{~'} - \vec{x}|</math>, being zero.
<math>~  
 
+ \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z
===Norman and Wilson (1978)===
+ \biggl[ \frac{1}{2}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x + iy)
 
\biggr\}
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
</math>
<table border="1" cellpadding="5" align="left"><tr>
  </td>
<td align="center" bgcolor="red">&nbsp; 3D &nbsp;</td>
</tr>
<td align="center" bgcolor="lightgreen">&nbsp; Cyl &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Sph &nbsp;</td>
</tr></table>
</td></tr></table>


Following the discussion presented in &sect;4.1 of [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], it is sometimes useful to rewrite [[#PotentialA|''Form A'' of the boundary potential]] as,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 767: Line 981:
   <td align="left">
   <td align="left">
<math>~  
<math>~  
-\frac{G}{r^3}  
-4\pi G   
\biggl\{  
\sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, ,
\biggl[ \int (x^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x )
+ \biggl[ \int (y^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (y )
+ \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</table>
<span id="MultipoleMoments">where we have introduced what is commonly referred to as the,
<table border="0" cellpadding="5" align="center">
<tr>
<td align="center" colspan="3">
<font color="#770000">'''Multipole Moments of the Mass Distribution'''</font>
</td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~</math>
<math>~q_{\ell m}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
<math>~\equiv</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~- \frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr]</math>
<math>~
\int (r^')^\ell  Y_{\ell m}^*(\theta^', \phi^')
~\rho(r^', \theta^', \phi^') d^3x^'
\, .
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="center" colspan="3">
[https://en.wikipedia.org/wiki/Center_of_mass#A_continuous_volume where]:
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 137, Eq. (4.3)
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
\vec{x}_\mathrm{com} \equiv \frac{1}{M} \int ~\vec{x}^{~'} \rho(\vec{x}^{~'}) d^3x^'\, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>


======Third Term======
When written explicitly in terms of cartesian coordinates &#8212; see [[#Ylm|Table 2, below]], for each of the relevant <math>~Y_{\ell m}</math> expressions &#8212; the first few of these moments have the functional representations [[#Multipole_Moments_of_the_Mass_Distribution|derived below]].  For the cases that correspond to positive values of the index, <math>~m</math>, the set of ''multipole moment'' expressions that have been included in our [[#qlm|Table 3 summary]] exactly matches the set of expressions presented as equations (4.4), (4.5), and (4.6) in [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)].  (Jackson's equation 4.7 explains how to map these expressions to the cases corresponding to negative values of the index, <math>~m</math>.) 
Third (terms with <math>~\ell = 2</math>):
 
<span id="PhiSeriesExpansion">Let's now look at various terms in the summed expression for the boundary potential</span> with each term expressing the contribution for a separate value of the index, <math>~\ell</math>.  Isolating the first three terms from all the rest, for example, we have,
 
<table border="0" align="center">
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>
<math>~ \Phi_B(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 813: Line 1,031:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~ \Phi_B(r,\theta,\phi) \biggr|_{\ell=0} +~ \Phi_B(r,\theta,\phi)\biggr|_{\ell=1} + ~\Phi_B(r,\theta,\phi)\biggr|_{\ell=2}  
-\frac{4\pi G}{5r^3} \biggl\{
-~4\pi G  
\biggl[ q_{2, -2} \biggr] Y_{2,-2} + \biggl[ q_{2, 2} \biggr] Y_{2,2}   
\sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)\, .
+ \biggl[ q_{2,-1} \biggr] Y_{2, -1} + \biggl[ q_{2,1} \biggr] Y_{2, 1}  
+ \biggl[ q_{20} \biggr] Y_{20} \biggr\}   
</math>
</math>
   </td>
   </td>
</tr>
</tr>
 
</table>
We recognize, first, that as we consider boundary points that lie farther and farther away from the mass distribution, the magnitude of the first <math>(\ell = 0)</math> term drops off as <math>~r^{-1}</math> &#8212; the expected behavior of the potential outside of a point mass; the second <math>~(\ell=1)</math> term drops off as <math>~r^{-3}</math>; and the third <math>~(\ell=2)</math> term drops off as <math>~r^{-5}</math>.  Below, we have evaluated in more detail the behavior of these first three terms.  This evaluation gives us the,
<table border="0" align="center">
<tr>
<td align="center" colspan="3">
<font color="#770000">'''Boundary Potential Written in Terms of Multipole Moments '''</font>
</td>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 831: Line 1,054:
   <td align="left">
   <td align="left">
<math>~  
<math>~  
-\frac{4\pi G}{5r^3} \biggl\{
~-~~\frac{GM}{r}
\biggl[ \frac{1}{4}\sqrt{\frac{15}{2\pi}}
~~- ~~\frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr]
\int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}} \sin^2\theta e^{-2i\phi}
~~-~~\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr]
+ \biggl[\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
~~-~~4\pi G \sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, ,
\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}\sin^2\theta e^{2i\phi}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
where, as defined below, <math>~\vec{x}_\mathrm{com}</math> is the [[#Second_Term|center-of-mass location]], and <math>~Q_{i,j} </math> is the [[#QuadrupoleMomentTensor|traceless quadrupole moment tensor]].
If a modeled mass-density distribution, <math>~\rho( \vec{x}^{~'})</math>, has been configured such that the center-of-mass of the system coincides with the origin of the coordinate system &#8212; that is, if it has been configured such that <math>~\vec{x}_\mathrm{com} = 0</math> &#8212; then the second term in this series can be set to zero.  If, in addition, all terms having <math>~\ell \ge 3</math> are ignored because their values drop off rapidly with distance &#8212; specifically, inverse distance to the <math>~(2\ell + 1)</math> power &#8212; then a reasonably good approximation for the potential on the boundary of the modeled system is given by the expression,
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \Phi_B</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~\approx</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~  
+ \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{-i\phi}
-\frac{GM}{r}
+ \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{i\phi}
~-\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
  <td align="right">
 
&nbsp;
This is precisely the relation that was adopted by [http://adsabs.harvard.edu/abs/1978ApJ...224..497N M. L. Norman &amp; J. R. Wilson (1978, ApJ, 224, 497 - 511)] when, in the context of star formation, they modeled the ''Fragmentation of Isothermal Rings''  &#8212; see specifically their equation (18).
 
===Boss (1980)===
 
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 3D &nbsp;</td>
<td align="center" bgcolor="lightgreen">&nbsp; Sph &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Sph &nbsp;</td>
</tr></table>
</td></tr></table>
 
Building upon equations (5) and (7) from [http://adsabs.harvard.edu/abs/1980ApJ...236..619B A. P. Boss (1980, ApJ, 236, 619 - 627)] &#8212; see also Jackson's equation (3.58) &#8212; we can write,
<div align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
  <td align="right">
<math>~\Phi(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
+ \biggl[ \sqrt{\frac{5}{16\pi}}
\sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \Phi_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, ,
\int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{5}{16\pi}} (3\cos^2\theta - 1)
\biggr\
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
and,
<div align="center">
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 877: Line 1,125:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{4\pi G}{5r^3} \biggl\{
\sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \rho_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, ,
\frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) - i\sin(2\phi) \biggr]
+ \frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) + i\sin(2\phi) \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
where the coefficients in the series expansion of <math>~\rho</math> can each be obtained from the known spatial density distribution via the integral expression,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\rho_{\ell m}(r)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
+  \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[ \cos\phi - i\sin\phi \biggr]
\int d\Omega Y_{\ell m}^*(\theta,\phi) \rho(r,\theta,\phi) \, ,
+ \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[ \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[ \cos\phi + i\sin\phi \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
and the differential solid angle is,
<div align="center">
<math>~d\Omega \equiv \sin\theta d\theta d\phi \, .</math>
</div>
===Stahler (1983)===
<table border="0" cellpadding="5" width="100%" align="center"><tr><td align="left">
<table border="1" cellpadding="5" align="left"><tr>
<td align="center" bgcolor="red">&nbsp; 2D &nbsp;</td>
<td align="center" bgcolor="yellow">&nbsp; Tor &nbsp;</td>
</tr></table>
</td></tr></table>
[http://adsabs.harvard.edu/abs/1983ApJ...268..155S Stahler (1983a)] used a [[User:Tohline/AxisymmetricConfigurations/HSCF#Introduction|self-consistent-field]] technique to construct equilibrium sequences of rotationally flattened, isothermal gas clouds.  At each iteration step, the method that he adopted to evaluate the gravitational potential along the outer boundary of his computational mesh was essentially the same as the method used by [http://adsabs.harvard.edu/abs/1974ApJ...194..393D Deupree (1974)] &#8212; see our [[#Deupree_.281974.29|above description]] &#8212; to model the time-dependent behavior of pulsating stars.  It appears as though Stahler was unaware of Deupree's earlier development of this method to evaluate the boundary potential, as Deupree's (1974) paper is not among Stahler's list of references. 
<!--
In the chapter of this H_Book that focuses on a discussion of [[User:Tohline/Apps/DysonWongTori|Dyson-Wong tori]], we have included the expression for the [[User:Tohline/Apps/DysonWongTori#RingPotential|gravitational potential of a thin ring]] of mass, <math>~M</math>, that passes through the meridional plane at coordinate location, <math>~(\varpi^', z^') = (a, 0)</math>, as derived, for example, by [https://archive.org/details/foundationsofpot033485mbp O. D. Kellogg (1929)] and by [https://www.amazon.com/Theory-Potential-W-D-Macmillan/dp/0486604861/ref=sr_1_2?s=books&ie=UTF8&qid=1503444466&sr=1-2&keywords=the+theory+of+the+potential W. D. MacMillan (1958; originally, 1930)], namely,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Phi(\varpi, z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
+ \frac{5}{2^4\pi\biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl( \frac{3z^2 - r^2}{r^2} \biggr)
- \biggl[ \frac{2GMc}{\pi\rho_1}\biggr] K(k)
\biggr\} 
</math>
</math>
   </td>
   </td>
Line 923: Line 1,194:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{4G}{r^5} \biggl\{
- \biggl[ \frac{2GM}{\pi } \biggr]\frac{1}{\sqrt{(\varpi+a)^2 + z^2}} \times K(k) \, ,
\frac{3}{2^5 }
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 - 2i xy\biggr]
+ \frac{3}{2^5 }  
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 + 2i xy \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
where,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~k</math>
  </td>
</td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
\frac{3z}{2^3}  \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[x - i y \biggr]
\biggl[ \frac{4a\varpi }{(\varpi+a)^2 + z^2} \biggr]^{1 / 2}  \, .
+ \frac{3z}{2^3} \biggl[ \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[x + i y \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
   <td align="right">
</div>
&nbsp;
-->
In describing [http://adsabs.harvard.edu/abs/1983ApJ...268..155S Stahler's (1983a)] method, we will first draw upon our "[[User:Tohline/Appendix/Equation_templates#Other_Equations_with_Assigned_Templates|key equation]]" that gives the gravitational potential of an axisymmetric torus in the thin ring (TR) approximation, namely,
<table border="0" align="center" cellpadding="10"><tr><td align="center">
{{ User:Tohline/Math/EQ TRApproximation }}
</td>
<td align="center" rowspan="2">[[File:FlatColorContoursCropped.png|225px|link=User:Tohline/Apps/DysonWongTori#ThinRingContours]]</td>
</tr></table>
(See our [[User:Tohline/Apps/DysonWongTori#ThinRingContours|accompanying discussion]] for more information on the meridional-plane contour plot that is displayed to the right of this equation.)  Stahler has argued that a reasonably good approximation to the gravitational potential due to any extended axisymmetric mass distribution can be obtained by adding up the contributions due to many ''thin rings'' &#8212; <math>~\delta M(\varpi^', z^')</math>  being the appropriate differential mass contributed by each ring element &#8212; positioned at various meridional coordinate locations throughout the mass distribution.  According to his independent derivation, the differential contribution to the potential, <math>~\delta\Phi_g(\varpi, z)</math>, due to each differential mass element is (see his equation 11 and the explanatory text that follows it):
<div align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
   <td align="right">
<math>~\delta\Phi_g(\varpi,z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
\biggl( \frac{3z^2 - r^2}{2^4} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr]  
- \biggl[\frac{2G}{\pi \varpi^'}\biggr] \frac{\delta M}{[(\alpha + 1)^2 + \beta^2]^{1 / 2}}
\biggr\}
\times K\biggl\{ \biggl[ \frac{4\alpha}{(\alpha+1)^2 + \beta^2} \biggr]^{1 / 2} \biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
 
<!--
<tr>
<tr>
   <td align="right">
   <td align="right">
Line 969: Line 1,255:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{G}{2r^5} \biggl\{
- \biggl[\frac{2G}{\pi }\biggr] \frac{\delta M}{[(\varpi^' \alpha + \varpi^')^2 + (\varpi^' \beta)^2]^{1 / 2}}
\frac{3( x^2 - y^2 )}{2^2 }
\times K\biggl\{ \biggl[ \frac{4\alpha (\varpi^')^2}{(\varpi^' \alpha+\varpi^')^2 + (\varpi^' \beta)^2} \biggr]^{1 / 2} \biggr\}
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' + \int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+ \frac{3i xy}{2 }
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' -  \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
-->
<tr>
<tr>
   <td align="right">
   <td align="right">
Line 983: Line 1,267:
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
+  3xz  \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' + \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^'\biggr] 
- \biggl[\frac{2G}{\pi }\biggr] \frac{\delta M}{[(\varpi + \varpi^')^2 + (z^' - z)^2]^{1 / 2}}
+ 3i yz\biggl[ \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' - \int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr
\times K\biggl\{ \biggl[ \frac{4\varpi^' \varpi}{(\varpi +\varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} \biggr\} \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
   <td align="right">
</div>
&nbsp;
Stahler's expression for each ''thin ring'' contribution is clearly the same as our "key equation" expression for <math>~\Phi_\mathrm{TR}</math> if the individual ring being considered cuts through the meridional plane at <math>~(\varpi^', z^') = (a, 0)</math>.
 
In the context of our [[#For_Axisymmetric_Systems|above discussion of a Green's function expression written in terms of toroidal functions]], we have shown that the exact integral expression for the gravitational potential due to any axisymmetric mass-density distribution, <math>~\rho(\varpi^', z^')</math>, is,
<div align="center">
<table border="0" cellpadding="5" align="center">
 
<tr>
   <td align="right">
<math>~\Phi(\varpi, z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{2G}{\varpi^{1 / 2}} \int\int (\varpi^')^{1 / 2} \mu K(\mu) \rho(\varpi^', z^') d\varpi^' dz^' \, ,</math>
+  \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
where,
<div align="center">
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\mu^2</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,015: Line 1,309:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
-\frac{G}{2r^5} \biggl\{
\biggl[\frac{4\varpi^' \varpi}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr] \, .
\frac{3( x^2 - y^2 )}{2^2 }
\biggl[ \int [2(x^')^2 -  2(y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]  
+ \frac{3i xy}{2 }
\biggl[\int -4i x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
Recognizing that, for axisymmetric structures, the differential mass element is, <math>~dM^' = 2\pi \rho(\varpi^', z^') \varpi^' d\varpi^' dz^'</math>, this integral expression may be rewritten as,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~\Phi(\varpi, z)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{2G}{\varpi^{1 / 2}} \int\int (\varpi^')^{1 / 2} \mu K(\mu) \biggl[ \frac{dM^'}{2\pi \varpi^'} \biggr]  </math>
+  3xz  \biggl[\int 2x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
   </td>
+ 3i yz\biggl[ \int -2iy^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+  \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr]  
\biggr\}  
</math>
   </td>
</tr>
</tr>


Line 1,049: Line 1,340:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{G}{\pi} \int\int \biggl[ \frac{1}{\varpi^'\varpi}\biggr]^{1 / 2} \biggl[\frac{4\varpi^' \varpi}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} K(\mu) dM^' </math>
-\frac{G}{2r^5} \biggl\{
\frac{3( x^2 - y^2 )}{2}  
\biggl[ \int [(x^')^2 (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]  
+ 6 xy \biggl[\int x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
Line 1,062: Line 1,349:
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~- \frac{2G}{\pi} \int\int  \biggl[\frac{1}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} K(\mu) dM^'  \, .</math>
+  6xz  \biggl[\int x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 6yz\biggl[ \int y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} \, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
</div>
We see that our expression for the differential contribution to the potential exactly matches [http://adsabs.harvard.edu/abs/1983ApJ...268..155S Stahler's (1983a)].  It is therefore fair to say that Stahler's expression for the gravitational potential is derivable from a 3D Green's function that is written in terms of toroidal functions.  We note that, in his study of axisymmetric systems, Stahler made the decision to evaluate the gravitational potential both inside as well as outside of the mass distribution using the same integral expression.


Rearranging terms, we have,
==Constructing Two-Dimensional, Axisymmetric Structures==
As has been explained in [[User:Tohline/AxisymmetricConfigurations/SolutionStrategies#Technique|an accompanying discussion]], our objective is to solve an ''algebraic'' expression for hydrostatic balance,
<div align="center">
<math>~H + \Phi + \Psi = C_0</math> ,
</div>


<table border="0" align="center">
in conjunction with the Poisson equation in a form that is appropriate for two-dimensional, axisymmetric systems, namely,
<tr>
<div align="center">
  <td align="right">
<math>~
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>
\frac{1}{\varpi} \frac{\partial }{\partial\varpi} \biggl[ \varpi \frac{\partial \Phi}{\partial\varpi} \biggr] + \frac{\partial^2 \Phi}{\partial z^2} = 4\pi G \rho .
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]  
+ 2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
</math>
  </td>
</div>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{3( x^2 - y^2 )}{2}
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
+ \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>


===Steps to Follow===
<table border="0" width="33%" align="right" cellpadding="5"><tr><td align="center">
<table border="1" cellpadding="5" align="center">
<tr><td align="center">
Annotation of<br /> Figure 1 from [http://adsabs.harvard.edu/abs/1986ApJS...61..479H I. Hachisu (1986)]<p></p>
</td></tr>
<tr><td>
[[File:HSCF_MeridionalPlaneGrid03.png|center|250px|HSCF Meridional Plane]]</td></tr>
<tr><td align="left">One quadrant of a meridional-plane cross-section (pink) through: (a) spheroidal structure; (b) toroidal structure.  A green, dashed rectangular grid boundary is also illustrated.</td></tr></table>
</td></tr></table>
<ol>
  <li>'''Choose a particular [[User:Tohline/SR#Barotropic_Structure|barotropic equation of state]].''' &nbsp; More specifically, functionally define the density-enthalpy relationship, <math>~\rho(H)</math>, and identify what value, <math>~H_\mathrm{surface}</math>, the enthalpy will have at the surface of your configuration.  For example, if a ''polytropic'' equation of state is adopted, <math>~H_\mathrm{surface} = 0</math> is a physically reasonable prescription.</li>
  <li>Choosing from, for example, a list of astrophysically relevant ''[[User:Tohline/AxisymmetricConfigurations/SolutionStrategies#Simple_Rotation_Profile_and_Centrifugal_Potential|simple rotation profiles]],'' '''specify the corresponding functional form of the centrifugal potential''', <math>~\Psi(\varpi)</math>, that will define the radial distribution of specific angular momentum in your equilibrium configuration.  If the choice is uniform rotation, then <math>~\Psi = - \varpi^2 \omega_0^2/2 \, ,</math> where <math>~\omega_0</math> is a constant to be determined.</li>
  <li>On your chosen computational lattice &#8212; for example, on a cylindrical-coordinate mesh &#8212; '''identify two boundary points''', A and B, that will lie on the surface of your equilibrium configuration.  These two points should remain fixed in space during the HSCF iteration cycle and ultimately will confine the volume and define the geometry of the derived equilibrium object.  Note that, by definition, the enthalpy at these two points is, <math>~H_A = H_B = H_\mathrm{surface}</math>.</li>
  <li>Throughout the volume of your computational lattice, ''' ''guess'' a trial distribution of the mass density,''' <math>~\rho(\varpi,z)</math>, such that no material falls outside a volume defined by the two boundary points, A and B, that were identified in Step #3.  Usually an initially uniform density distribution will suffice to start the SCF iteration.</li>
  <li>Via ''some'' accurate numerical algorithm, '''solve the Poisson equation''' to determine the gravitational potential, <math>~\Phi(\varpi,z)</math>, throughout the computational lattice corresponding to the trial mass-density distribution that was specified in Step #4 (or in Step #9).</li>
  <li>From the gravitational potential determined in Step #5, '''identify the values of <math>~\Phi_A</math> and <math>~\Phi_B</math>''' at the two boundary points that were selected in Step #3.</li>
  <li>From the "known" values of the enthalpy (Step #3) and the gravitational potential (Step #6) at the two selected surface boundary points A and B, '''determine the values of the constants, <math>~C_0</math> and <math>~\omega_0</math>,''' that appear in the algebraic equation that defines hydrostatic equilibrium.</li>
  <li>From the most recently determined values of the gravitational potential, <math>~\Phi(\varpi,z)</math> (Step #5), and the values of the two constants, <math>~C_0</math> and <math>~\omega_0</math> just determined (Step #7), '''determine the enthalpy distribution throughout the computational lattice.'''</li>
  <li>From <math>~H(\varpi,z)</math> and the selected barotropic equation of state (Step #1), '''calculate an "improved guess" of the density distribution,''' <math>~\rho(\varpi,z)</math>, throughout the computational lattice.</li>
  <li>'''Has the model converged to a satisfactory equilibrium solution?'''  (Usually a satisfactory solution has been achieved when the derived model parameters &#8212; for example, the values of <math>~C_0</math> and <math>~\omega_0</math> &#8212; change very little between successive iterations and the viral error is sufficiently small.)
  <ul>
<li>If the answer is, "NO": &nbsp; Repeat steps 5 through 10.</li>
<li>If the answer is, "YES": &nbsp; Stop iteration.</li>
  </ul>
  </li>
</ol>
=Special Functions &amp; Other Broadly Used Representations=
==Spherical Harmonics and Associated Legendre Functions==
<div align="center" id="Ylm">
<table border="1" cellpadding="8" align="center" width="80%">
<tr>
<th align="center" colspan="2"><font size="+0">Table 2: <br />Green's Function in Terms of Associated Legendre Functions,
<math>~P_\ell^m(\cos\theta)</math>, <br />and the Spherical Harmonics, <math>~Y_{\ell m}(\theta,\phi)</math></font></th>
</tr>
<tr>
  <td align="left" colspan="2">
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'} |}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~  
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{4\pi}{2\ell+1} \biggl[ \frac{r_<^\ell}{r_>^{\ell+1}} \biggr] Y_{\ell m}^*(\theta^', \phi^') Y_{\ell m}(\theta,\phi)</math>
+\frac{3( x^2  )}{2}  
  </td>
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]  
</tr>
\biggl( \frac{x^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</table>
</math>
<div align="center">
[https://archive.org/details/ClassicalElectrodynamics2nd J. D. Jackson (1975, 2<sup>nd</sup> Edition)], Eq. (3.70)<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 656, Eq. (1C-31)
</div>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="left" rowspan="2">
&nbsp;
Note:<br />
  </td>
<div align="center"><math>~Y_{\ell m}(\theta,\phi) = \biggl[ \frac{(2\ell + 1 )(\ell - m)!}{4\pi(\ell + m)!} \biggr]^{1 / 2} P_\ell^m(\cos\theta)e^{im\phi}</math><br /><br />
  <td align="center">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.53)<br />
&nbsp;
[https://dlmf.nist.gov/14.30#i DLMF] &sect;14.30i<br />
  </td>
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-27)<br /><br />
  <td align="left">
<math>~Y_{\ell,-m}(\theta,\phi) = (-1)^{m}Y_{\ell m}^*(\theta,\phi)</math><br />
<math>~  
</div>
-\frac{3( y^2 )}{2}  
 
\biggl[ \int [(x^')^2 - (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]  
 
- \biggl( \frac{y^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr]  
----
</math>
 
 
<div align="center"><math>~P_{\ell}^m(x) = (-1)^m (1-x^2)^{m/2} ~ \frac{d^m}{dx^m} P_\ell(x)</math><br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.49)<br />
[https://dlmf.nist.gov/14.6#i DLMF] &sect;14.6i<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-20)<br />
[<b>[[User:Tohline/Appendix/References#T78|<font color="red">T78</font>]]</b>], p. 481, Eq. (C.5)
</div>
 
 
----
 
 
<div align="center"><math>~P_{\ell}(x) = \frac{1}{2^\ell \ell !} ~ \frac{d^\ell}{dx^\ell} (x^2 - 1)^\ell</math><br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.16)<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-21)
</div>
   </td>
   </td>
  <th align="center">Leading Legendre Functions
<div align="center">
[https://archive.org/details/FieldTheoryHandbookMoonAndSpencer P. Moon &amp; D. E. Spencer (1971)], p. 205<br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.15)<br />
[https://dlmf.nist.gov/18.5#iv DLMF] &sect;18.5iv<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-25)
</div>
  </th>
</tr>
</tr>
<tr>
  <td align="center" rowspan="1">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_0(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~1</math>
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
   </td>
\biggr\} 
</math>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_1(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,180: Line 1,494:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~x</math>
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_2(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\tfrac{1}{2}(3x^2 - 1)</math>
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_3(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\tfrac{1}{2}(5x^3 - 3x)</math>
+\frac{( x^2  )}{2}  
\biggl[ \int [3(x^')^2 -  3(y^')^2-3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_4(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\tfrac{1}{8}(35x^4 - 30x^2 + 3)</math>
+\frac{( y^2 )}{2}  
\biggl[ \int [3(x^')^2 - 3(y^')^2 -3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_5(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,239: Line 1,538:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\tfrac{1}{8}(63x^5 - 70x^3 + 15x)</math>
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+ 2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~P_6(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\tfrac{1}{16}(231x^6 - 315x^4 + 105x^2 - 5)</math>
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr]    
   </td>
</math>
</tr>
</table>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <th align="center" colspan="2">Leading Spherical Harmonics
&nbsp;
<div align="center">
  </td>
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], &sect;3.5<br />
  <td align="center">
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 656, Eq. (1C-33)<br />
&nbsp;
[<b>[[User:Tohline/Appendix/References#T78|<font color="red">T78</font>]]</b>], p. 482, Eqs. (C.7)  - (C.16)
  </td>
</div>
  <td align="left">
   </th>
<math>~
+\frac{( x^2  )}{2}
\biggl[ \int [3(x^')^2 - 3(y^')^2-3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
</tr>
</tr>
<tr>
  <td align="left" rowspan="1">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{00} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\frac{1}{\sqrt{4\pi}}</math>
+\frac{( y^2 )}{2}
\biggl[ \int [-3(x^')^2 +  3(y^')^2 -3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{1,\pm 1} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,298: Line 1,588:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\mp \sqrt{\frac{3}{8\pi}} ~\sin\theta ~e^{\pm i\phi}</math>
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{10} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\sqrt{\frac{3}{4\pi}} ~\cos\theta </math>
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+\frac{( x^2  )}{2}  
\biggl[ \int [6(x^')^2  - 2(r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{2,\pm 2} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\frac{1}{4} \sqrt{\frac{15}{2\pi}} ~\sin^2\theta ~e^{\pm 2i\phi}</math>
+\frac{( y^2 )}{2}  
\biggl[ \int [6(y^')^2 - 2(r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{2, \pm 1} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,345: Line 1,621:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\mp \sqrt{\frac{15}{8\pi}} ~\sin\theta \cos\theta ~e^{\pm i\phi}</math>
-\frac{G}{2r^5} \biggl\{
   </td>
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{20} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
&nbsp;
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\sqrt{\frac{5}{4\pi}} ~(\tfrac{3}{2}\cos^2\theta - \tfrac{1}{2})</math>
+ x^2
\biggl[ \int [3(x^')^2  - (r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ y^2
\biggl[ \int [3(y^')^2  - 2(r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
   </td>
   </td>
</tr>
</tr>
</table>
  </td>
  <td align="left" rowspan="1">


<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
&nbsp;
<math>~Y_{3,\pm 3} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,380: Line 1,649:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\mp \frac{1}{4} \sqrt{\frac{35}{4\pi}} ~\sin^3\theta  ~e^{\pm 3i\phi}</math>
-\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, ,
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<tr>
<span id="QuadrupoleMomentTensor">where,</span> following [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], we have introduced the,
  <td align="right">
<table border="0" cellpadding="5" align="center">
<math>~Y_{3, \pm 2} </math>
 
  </td>
<tr>
  <td align="center">
<td align="center" colspan="3">
<math>~=</math>
<font color="#770000">'''Traceless Quadrupole Moment Tensor'''</font>
  </td>
</td>
  <td align="left">
<math>~\frac{1}{4}\sqrt{\frac{105}{2\pi}} ~\sin^2\theta \cos\theta ~e^{\pm 2i\phi}</math>
  </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Q_{i,j}</math>
<math>~Y_{3, \pm 1} </math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~\equiv</math>
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\mp \frac{1}{4}\sqrt{\frac{21}{4\pi}} ~\sin\theta (5\cos^2\theta - 1) ~e^{\pm i\phi}</math>
\int [ 3(x_i^') (x_j^') - (r^')^2 \delta_{ij} ] \rho(\vec{x}^{~'}) d^3x^' \, .
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="center" colspan="3">
   <td align="right">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 138, Eq. (4.9)<br />
<math>~Y_{30} </math>
[http://adsabs.harvard.edu/abs/1978ApJ...224..497N M. L. Norman &amp; J. R. Wilson (1978)], p. 501, Eq. (19)<br />
  </td>
  <td align="center">
<math>~=</math>
   </td>
   </td>
</tr>
  <td align="left">
</table>
<math>~\sqrt{\frac{7}{4\pi}} ~(\tfrac{5}{2}\cos^3\theta - \tfrac{3}{2}\cos\theta) </math>
  </td>
</tr>
</table>
 
----


======Summary======


In summary, then, we have the,
Note that, for all cases where <math>~m=0</math> :<br />
<table border="0" align="center">
<div align="center"><math>~Y_{\ell 0}(\theta,\phi) = \sqrt{\frac{(2\ell + 1 )}{4\pi} } ~P_\ell(\cos\theta)</math><br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.57)
</div>
  </td>
</tr>
</table>
</div>
 
==Multipole Expansions==
 
===Mass Multipole Moments===
 
As an extension of the [[#MultipoleMoments|above discussion of]]
<table border="0" cellpadding="5" align="center">
 
<tr>
<tr>
<td align="center" colspan="3">
<td align="center" colspan="3">
<font color="#770000">'''Boundary Potential Written in Terms of Multipole Moments '''</font>
<font color="#770000">'''Multipole Moments of the Mass Distribution'''</font>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B(r,\theta,\phi)</math>
<math>~q_{\ell m}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
<math>~\equiv</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
~-~~\frac{GM}{r}
\int (r^')^\ell  Y_{\ell m}^*(\theta^', \phi^')
~~- ~~\frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr]
~\rho(r^', \theta^', \phi^') d^3x^'
~~-~~\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr]
\, ,
~~-~~4\pi G  \sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)}  \, .
</math>
</math>
  </td>
</tr>
<tr>
  <td align="center" colspan="3">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 137, Eq. (4.3)
   </td>
   </td>
</tr>
</tr>
</table>
</table>
here we evaluate a set of the leading order mass-multipole moments in terms of their cartesian-coordinate representations.
<div align="center">
<table border="0" cellpadding="5" align="center">


If a modeled mass-density distribution, <math>~\rho( \vec{x}^{~'})</math>, has been configured such that the center-of-mass of the system coincides with the origin of the coordinate system &#8212; that is, if it has been configured such that <math>~\vec{x}_\mathrm{com} = 0</math> &#8212; then the second term in this series can be set to zero.  If, in addition, all terms having <math>~\ell \ge 3</math> are ignored because their values drop off rapidly with distance &#8212; specifically, inverse distance to the <math>~(2\ell + 1)</math> power &#8212; then a reasonably good approximation for the potential on the boundary of the modeled system is given by the expression,
<table border="0" align="center">
<tr>
<td align="center" colspan="3">
<font color="#770000">'''Boundary Potential Written in Terms of Multipole Moments '''</font>
</td>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \Phi_B</math>
<math>~q_{00}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~\approx</math>
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~\frac{1}{\sqrt{4\pi}}
-\frac{GM}{r}
\int \rho(\vec{x}^{~'}) d^3x^' \, ;
~-\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
This is precisely the relation that was adopted by [http://adsabs.harvard.edu/abs/1978ApJ...224..497N M. L. Norman &amp; J. R. Wilson (1978, ApJ, 224, 497 - 511)] when, in the context of star formation, they modeled the ''Fragmentation of Isothermal Rings''  &#8212; see specifically their equation (18).
=====Using Toroidal Functions=====


<!-- NEW TABLE 3 -->
<div align="center">
<table border="1" cellpadding="8" align="center" width="80%">
<tr>
<tr>
<th align="center" colspan="2"><font size="+1">Table 3: &nbsp;Green's Function in Terms of<br />Half-Integer Degree Legendre Functions of the 2<sup>nd</sup> Kind, <math>~Q_{m-1 / 2}(\chi)</math><br />(also referred to as Toroidal Functions)</font></th>
  <td align="right">
<math>~q_{11}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\int r^'  \biggl[ Y_{11}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
  </td>
</tr>
</tr>
<tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
   <td align="left">
   <td align="left">
<table border="0" align="center">
<math>~
- ~\int r^'  \biggl[ \sqrt{\frac{3}{8\pi}}\sin\theta ~\biggl(\cos\phi^' - i\sin\phi^' \biggr) \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
  </td>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,486: Line 1,785:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~  
<math>~
\frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi)
- \sqrt{\frac{3}{8\pi}}~\int r^'  \biggl[ \frac{\sqrt{(x^')^2+(y^')^2}}{r^'}
~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr]
~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<tr>
where:<br />
   <td align="right">
<div align="center"><math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'}</math><br /><br />
&nbsp;
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 88, Eqs. (15) &amp; (16)<br />
See also the [https://dlmf.nist.gov/14.19#ii DLMF's definition of Toroidal Functions], <math>~Q_{m - 1 / 2}^{0}</math>
</div>
   </td>
</tr>
</table>
</div>
 
===Extension from 2D to 3D===
 
An extension from 2D to 3D was accomplished by using separate, finite Fourier series expansion to represent the azimuthal dependence of <math>~\rho</math> and <math>~\Phi</math>.  This allowed us to decouple the ''differential'' expression for the Poisson equation into a finite number of independent Fourier modes, and to straightforwardly solve a finite set of 2D Helmholtz equations, instead of solving a single 2D Poisson equation.
 
 
==Other Approaches==
 
<table border="1" width="95%" align="center" cellpadding="10"><tr><td align="left">
Much of the material enclosed in this ''text box'' has been drawn from &sect;3.1 of Jackson (1975).
 
In spherical coordinates, <math>~(r,\theta,\phi)</math>, the Poisson equation takes the form,
<table border="0" cellpadding="5" align="center">
 
<tr>
  <td align="right">
<math>~4\pi G \rho(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,524: Line 1,801:
   <td align="left">
   <td align="left">
<math>~
<math>~
\frac{1}{r} \frac{\partial^2}{\partial r^2} (r\Phi)  
- \sqrt{\frac{3}{8\pi}}~\int (x^' - iy^')
+ \frac{1}{r^2 \sin\theta} \frac{\partial}{\partial\theta} \biggl( \sin\theta \frac{\partial\Phi}{\partial\theta}\biggr)
~\rho(\vec{x}^{~'}) d^3x^'
+ \frac{1}{r^2 \sin^2\theta} \frac{\partial^2\Phi}{\partial\phi^2} \, .
\, ;
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
As it turns out, the potential &#8212; which, generally, is a function of all three coordinates &#8212; can be written as the product of three functions, each of which is a function of only one coordinate.  To demonstrate this, specifically suppose that,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Phi(r,\theta,\phi)</math>
<math>~q_{1,- 1}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,543: Line 1,816:
   <td align="left">
   <td align="left">
<math>~
<math>~
\frac{U( r )}{r} P(\theta)Q(\phi) \, .
+ \sqrt{\frac{3}{8\pi}}~\int (x^' + iy^')
~\rho(\vec{x}^{~'}) d^3x^'
\, ;
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Then the differential form of the Poisson equation can be rewritten as,
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~4\pi G \rho(r,\theta,\phi)</math>
<math>~q_{10}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,560: Line 1,832:
   <td align="left">
   <td align="left">
<math>~
<math>~
\frac{PQ}{r} \frac{d^2U}{dr^2}
\int r^\biggl[ Y_{10}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^'
+ \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
+ \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,575: Line 1,844:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr] \biggl\{
<math>~
\frac{PQ}{r} \frac{d^2U}{dr^2}
\int r^' \biggl[ \sqrt{\frac{3}{4\pi}}~\cos\theta^' \biggr]~\rho(\vec{x}^{~'}) d^3x^'
+ \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
+ \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2}
\biggr\}
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
Line 1,593: Line 1,858:
   <td align="left">
   <td align="left">
<math>~
<math>~
\biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2}
\sqrt{\frac{3}{4\pi}} \int z^' \rho(\vec{x}^{~'}) d^3x^' \, ;
+ \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
</math>
+ \frac{1}{Q} \frac{d^2Q}{d\phi^2} \, .
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Setting, <math>~Q = e^{\pm im\phi}</math>, gives,
<table border="0" cellpadding="5" align="center">


<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \biggl[ \frac{r^3 \sin^2\theta}{ UP e^{\pm i m\phi }} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
<math>~q_{22}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,613: Line 1,872:
   <td align="left">
   <td align="left">
<math>~
<math>~
\biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2}
\int (r^')^2 \biggl[ Y_{22}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
+ \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
-m^2
</math>
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 }{ UP e^{\pm i m\phi}} \biggr] 4\pi G \rho(r,\theta,\phi)</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,629: Line 1,885:
   <td align="left">
   <td align="left">
<math>~
<math>~
\biggl( \frac{r^2 }{U} \biggr) \frac{d^2U}{dr^2}
\int (r^')^2 \biggl\{ \frac{1}{4}\sqrt{\frac{15}{2\pi}} ~\sin^2\theta^' ~\biggl[\cos(2\phi^') - i\sin(2\phi^')\biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^'
+ \biggl[ \frac{1}{P\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr)  
- \frac{m^2}{\sin^2\theta} \biggr] \, .
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Now, if for each selected pair of the integer indexes, <math>~(\ell, m)</math>, the function <math>~P</math> is identified as the associated Legendre function, <math>~P_\ell^m</math>, as defined above in Table 2, then the set of terms inside the square brackets on the right-hand-side of this last expression can be set equal to <math>~[-\ell(\ell + 1)]</math> because every associated Legendre function satisfies the differential equation,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~ \frac{1}{P_\ell^m \sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP_\ell^m}{d\theta}\biggr) + \ell(\ell+1) - \frac{m^2}{\sin^2\theta}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,649: Line 1,897:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}
0 \, .
\int (r^')^2  \biggl\{ \frac{(x^')^2+(y^')^2}{(r^')^2}  ~\biggl[\frac{ (x^')^2 - (y^')^2 -
2i ( x^' y^' )}{(x^')^2+(y^')^2} \biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
Rewriting our adopted ''separable'' expression for the potential as the sum over all possible <math>~(\ell,m)</math>-component solutions, that is,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Phi(r,\theta,\phi) = \sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell [\Phi(r,\theta,\phi)]_{\ell m}</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,667: Line 1,911:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
\sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell  \frac{U_{\ell m}( r )}{r} P_\ell^m(\theta)Q_m(\phi) \, ,
\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
a solution to the Poisson equation then imposes the requirement that, for each <math>~(\ell,m)</math> pair,
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~
<math>~q_{2,-2}</math>
\biggl( \frac{r^2 }{U_{\ell m}} \biggr) \frac{d^2U_{\ell m} }{dr^2} - \ell(\ell+1)
</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,688: Line 1,924:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~ \biggl[ \frac{r^3 }{ U_{\ell m} P_\ell^m  e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} </math>
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
\int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
   </td>
   </td>
</tr>
</tr>
Line 1,694: Line 1,932:
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Rightarrow ~~~
<math>~q_{21}</math>
\frac{1}{r} \frac{d^2U_{\ell m} }{dr^2} - \biggl[ \frac{\ell(\ell+1)}{r^2} \biggr]\frac{U_{\ell m} }{r}
</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,702: Line 1,938:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~ \biggl[ \frac{1}{ P_\ell^m  e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} \, .</math>
<math>~
\int (r^')^2  \biggl[ Y_{21}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</td></tr></table>
===Boss (1980)===
Building upon equations (5) and (7) from [http://adsabs.harvard.edu/abs/1980ApJ...236..619B A. P. Boss (1980, ApJ, 236, 619 - 627)] &#8212; see also Jackson's equation (3.58) &#8212; we can write,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\Phi(r,\theta,\phi)</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,723: Line 1,952:
   <td align="left">
   <td align="left">
<math>~
<math>~
\sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \Phi_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, ,
- \sqrt{\frac{15}{8\pi}} \int (r^')^2  \biggl[ \sin\theta^' \cos\theta^' (\cos\phi^' -i\sin\phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
and,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\rho(r,\theta,\phi)</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,742: Line 1,965:
   <td align="left">
   <td align="left">
<math>~
<math>~
\sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \rho_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, ,
- \sqrt{\frac{15}{8\pi}} \int (r^')^2 
\biggl[ \frac{z^' \sqrt{(x^')^2+(y^')^2}}{(r^')^2}  
~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr]
~\rho(\vec{x}^{~'}) d^3x^'
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</div>
where the coefficients in the series expansion of <math>~\rho</math> can each be obtained from the known spatial density distribution via the integral expression,
<div align="center">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~\rho_{\ell m}(r)</math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,761: Line 1,981:
   <td align="left">
   <td align="left">
<math>~
<math>~
\int d\Omega Y_{\ell m}^*(\theta,\phi) \rho(r,\theta,\phi) \, ,
- \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^')
~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<tr>
</div>
  <td align="right">
and the differential solid angle is,
<math>~q_{2,-1}</math>
<div align="center">
  </td>
<math>~d\Omega \equiv \sin\theta d\theta d\phi \, .</math>
  <td align="center">
</div>
<math>~=</math>
 
  </td>
==Constructing Two-Dimensional, Axisymmetric Structures==
  <td align="left">
As has been explained in [[User:Tohline/AxisymmetricConfigurations/SolutionStrategies#Technique|an accompanying discussion]], our objective is to solve an ''algebraic'' expression for hydrostatic balance,
<div align="center">
<math>~H + \Phi + \Psi = C_0</math> ,
</div>
 
in conjunction with the Poisson equation in a form that is appropriate for two-dimensional, axisymmetric systems, namely,
<div align="center">
<math>~
<math>~
\frac{1}{\varpi} \frac{\partial }{\partial\varpi} \biggl[ \varpi \frac{\partial \Phi}{\partial\varpi} \biggr] + \frac{\partial^2 \Phi}{\partial z^2} = 4\pi G \rho .
+ \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^') 
~\rho(\vec{x}^{~'}) d^3x^' \, ;
</math>
</math>
</div>
  </td>
</tr>


===Steps to Follow===
<tr>
<table border="0" width="33%" align="right" cellpadding="5"><tr><td align="center">
  <td align="right">
<table border="1" cellpadding="5" align="center">
<math>~q_{20}</math>
<tr><td align="center">
  </td>
Annotation of<br /> Figure 1 from [http://adsabs.harvard.edu/abs/1986ApJS...61..479H I. Hachisu (1986)]<p></p>
  <td align="center">
</td></tr>
<math>~=</math>
<tr><td>
  </td>
[[File:HSCF_MeridionalPlaneGrid03.png|center|250px|HSCF Meridional Plane]]</td></tr>
   <td align="left">
<tr><td align="left">One quadrant of a meridional-plane cross-section (pink) through: (a) spheroidal structure; (b) toroidal structure.  A green, dashed rectangular grid boundary is also illustrated.</td></tr></table>
<math>~
</td></tr></table>
\int (r^')^2  \biggl[ Y_{20}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^'  
<ol>
</math>
  <li>'''Choose a particular [[User:Tohline/SR#Barotropic_Structure|barotropic equation of state]].''' &nbsp; More specifically, functionally define the density-enthalpy relationship, <math>~\rho(H)</math>, and identify what value, <math>~H_\mathrm{surface}</math>, the enthalpy will have at the surface of your configuration.  For example, if a ''polytropic'' equation of state is adopted, <math>~H_\mathrm{surface} = 0</math> is a physically reasonable prescription.</li>
   </td>
   <li>Choosing from, for example, a list of astrophysically relevant ''[[User:Tohline/AxisymmetricConfigurations/SolutionStrategies#Simple_Rotation_Profile_and_Centrifugal_Potential|simple rotation profiles]],'' '''specify the corresponding functional form of the centrifugal potential''', <math>~\Psi(\varpi)</math>, that will define the radial distribution of specific angular momentum in your equilibrium configuration.  If the choice is uniform rotation, then <math>~\Psi = - \varpi^2 \omega_0^2/2 \, ,</math> where <math>~\omega_0</math> is a constant to be determined.</li>
</tr>
  <li>On your chosen computational lattice &#8212; for example, on a cylindrical-coordinate mesh &#8212; '''identify two boundary points''', A and B, that will lie on the surface of your equilibrium configuration. These two points should remain fixed in space during the HSCF iteration cycle and ultimately will confine the volume and define the geometry of the derived equilibrium object.  Note that, by definition, the enthalpy at these two points is, <math>~H_A = H_B = H_\mathrm{surface}</math>.</li>
<tr>
  <li>Throughout the volume of your computational lattice, ''' ''guess'' a trial distribution of the mass density,''' <math>~\rho(\varpi,z)</math>, such that no material falls outside a volume defined by the two boundary points, A and B, that were identified in Step #3.  Usually an initially uniform density distribution will suffice to start the SCF iteration.</li>
   <td align="right">
  <li>Via ''some'' accurate numerical algorithm, '''solve the Poisson equation''' to determine the gravitational potential, <math>~\Phi(\varpi,z)</math>, throughout the computational lattice corresponding to the trial mass-density distribution that was specified in Step #4 (or in Step #9).</li>
&nbsp;
  <li>From the gravitational potential determined in Step #5, '''identify the values of <math>~\Phi_A</math> and <math>~\Phi_B</math>''' at the two boundary points that were selected in Step #3.</li>
   </td>
  <li>From the "known" values of the enthalpy (Step #3) and the gravitational potential (Step #6) at the two selected surface boundary points A and B, '''determine the values of the constants, <math>~C_0</math> and <math>~\omega_0</math>,''' that appear in the algebraic equation that defines hydrostatic equilibrium.</li>
  <li>From the most recently determined values of the gravitational potential, <math>~\Phi(\varpi,z)</math> (Step #5), and the values of the two constants, <math>~C_0</math> and <math>~\omega_0</math> just determined (Step #7), '''determine the enthalpy distribution throughout the computational lattice.'''</li>
  <li>From <math>~H(\varpi,z)</math> and the selected barotropic equation of state (Step #1), '''calculate an "improved guess" of the density distribution,''' <math>~\rho(\varpi,z)</math>, throughout the computational lattice.</li>
  <li>'''Has the model converged to a satisfactory equilibrium solution?'''  (Usually a satisfactory solution has been achieved when the derived model parameters &#8212; for example, the values of <math>~C_0</math> and <math>~\omega_0</math> &#8212; change very little between successive iterations and the viral error is sufficiently small.)
   <ul>
<li>If the answer is, "NO": &nbsp; Repeat steps 5 through 10.</li>
<li>If the answer is, "YES": &nbsp; Stop iteration.</li>
  </ul>
  </li>
</ol>
 
=Special Functions=
 
==Spherical Harmonics and Associated Legendre Functions==
 
 
<div align="center" id="Ylm">
<table border="1" cellpadding="8" align="center" width="80%">
<tr>
<th align="center" colspan="2"><font size="+0">Table 2: <br />Green's Function in Terms of Associated Legendre Functions,
<math>~P_\ell^m(\cos\theta)</math>, <br />and the Spherical Harmonics, <math>~Y_{\ell m}(\theta,\phi)</math></font></th>
</tr>
<tr>
  <td align="left" colspan="2">
<table border="0" align="center">
<tr>
   <td align="right">
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'} |}</math>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
<math>~=</math>
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{4\pi}{2\ell+1} \biggl[  \frac{r_<^\ell}{r_>^{\ell+1}} \biggr] Y_{\ell m}^*(\theta^', \phi^') Y_{\ell m}(\theta,\phi)</math>
<math>~
\int (r^')^\biggl[ \sqrt{\frac{5}{16\pi}} (3\cos^2\theta^' - 1) \biggr]~\rho(\vec{x}^{~'}) d^3x^'  
</math>
   </td>
   </td>
</tr>
</tr>
</table>
<tr>
<div align="center">
  <td align="right">
[https://archive.org/details/ClassicalElectrodynamics2nd J. D. Jackson (1975, 2<sup>nd</sup> Edition)], Eq. (3.70)<br />
&nbsp;
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 656, Eq. (1C-31)
  </td>
</div>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~\sqrt{\frac{5}{16\pi}}
\int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \, .
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
</table>
  <td align="left" rowspan="2">
Note:<br />
<div align="center"><math>~Y_{\ell m}(\theta,\phi) = \biggl[ \frac{(2\ell + 1 )(\ell - m)!}{4\pi(\ell + m)!} \biggr]^{1 / 2} P_\ell^m(\cos\theta)e^{im\phi}</math><br /><br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.53)<br />
[https://dlmf.nist.gov/14.30#i DLMF] &sect;14.30i<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-27)<br /><br />
<math>~Y_{\ell,-m}(\theta,\phi) = (-1)^{m}Y_{\ell m}^*(\theta,\phi)</math><br />
</div>
</div>




----
<div align="center" id="qlm">
<table border="1" align="center" cellpadding="8" width="80%">
<tr><th>Table 3: &nbsp; Summary of Cartesian Expressions for Leading Mass-Multipole Moments</th></tr>


<tr><td align="left">
<table border="0" cellpadding="5" align="center">


<div align="center"><math>~P_{\ell}^m(x) = (-1)^m (1-x^2)^{m/2} ~ \frac{d^m}{dx^m} P_\ell(x)</math><br />
<tr>
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.49)<br />
   <td align="right">
[https://dlmf.nist.gov/14.6#i DLMF] &sect;14.6i<br />
<math>~q_{0, 0}</math>
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-20)<br />
[<b>[[User:Tohline/Appendix/References#T78|<font color="red">T78</font>]]</b>], p. 481, Eq. (C.5)
</div>
 
 
----
 
 
<div align="center"><math>~P_{\ell}(x) = \frac{1}{2^\ell \ell !} ~ \frac{d^\ell}{dx^\ell} (x^2 - 1)^\ell</math><br />
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.16)<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-21)
</div>
  </td>
  <th align="center">Leading Legendre Functions
<div align="center">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.15)<br />
[https://dlmf.nist.gov/18.5#iv DLMF] &sect;18.5iv<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 655, Eq. (1C-25)
</div>
  </th>
</tr>
<tr>
  <td align="center" rowspan="1">
<table border="0" cellpadding="5" align="center">
<tr>
   <td align="right">
<math>~P_0(x)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,895: Line 2,059:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~1</math>
<math>~\frac{1}{\sqrt{4\pi}}
\int \rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_1(x)</math>
<math>~q_{1,\pm 1}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,906: Line 2,073:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~x</math>
<math>~
\mp \sqrt{\frac{3}{8\pi}}~\int (x^' \mp iy^')
~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_2(x)</math>
<math>~q_{1,0}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,917: Line 2,088:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\tfrac{1}{2}(3x^2 - 1)</math>
<math>~
\sqrt{\frac{3}{4\pi}} \int z^' \rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_3(x)</math>
<math>~q_{2,\pm 2}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,928: Line 2,102:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\tfrac{1}{2}(5x^3 - 3x)</math>
<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}}  
\int (x^' \mp iy^')^2~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_4(x)</math>
<math>~q_{2,\pm 1}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,939: Line 2,116:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\tfrac{1}{8}(35x^4 - 30x^2 + 3)</math>
<math>~
\mp \sqrt{\frac{15}{8\pi}} \int z^'(x^' \mp iy^')
~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_5(x)</math>
<math>~q_{2,0}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,950: Line 2,131:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\tfrac{1}{8}(63x^5 - 70x^3 + 15x)</math>
<math>~\sqrt{\frac{5}{16\pi}}
\int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^'
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</td></tr></table>
</div>
===Contributions to the Gravitational Potential in Terms of Multipole Moments===
Expanding on the [[#PhiSeriesExpansion|above discussion of the gravitational potential, written as a series expansion in terms of mass-multipole moments and spherical harmonics]],
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~P_6(x)</math>
<math>~ \Phi_B(r,\theta,\phi)</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,961: Line 2,154:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\tfrac{1}{16}(231x^6 - 315x^4 + 105x^2 - 5)</math>
<math>~ \Phi_B(r,\theta,\phi) \biggr|_{\ell=0} +~ \Phi_B(r,\theta,\phi)\biggr|_{\ell=1} + ~\Phi_B(r,\theta,\phi)\biggr|_{\ell=2}
-~4\pi G 
\sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)}  \, ,
</math>
   </td>
   </td>
</tr>
</tr>
</table>
</table>
  </td>
here we evaluate the first three, leading order terms.
</tr>


<tr>
====First Term====
  <th align="center" colspan="2">Leading Spherical Harmonics
First (term with <math>~\ell = 0</math>):
<div align="center">
<table border="0" align="center">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], &sect;3.5<br />
[<b>[[User:Tohline/Appendix/References#BT87|<font color="red">BT87</font>]]</b>], p. 656, Eq. (1C-33)<br />
[<b>[[User:Tohline/Appendix/References#T78|<font color="red">T78</font>]]</b>], p. 482, Eqs. (C.7)  - (C.16)
</div>
  </th>
</tr>
<tr>
  <td align="left" rowspan="1">
 
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{00} </math>
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 0}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 1,989: Line 2,174:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{\sqrt{4\pi}}</math>
<math>~  
-4\pi G 
\biggl[ q_{00}  \biggr] \frac{ Y_{00}(\theta,\phi)}{r}  
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{1,\pm 1} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,000: Line 2,188:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\mp \sqrt{\frac{3}{8\pi}} ~\sin\theta ~e^{\pm i\phi}</math>
<math>~  
-4\pi G 
\biggl[ \frac{1}{\sqrt{4\pi}}
\int \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{\sqrt{4\pi}~r}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{10} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,011: Line 2,203:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\sqrt{\frac{3}{4\pi}} ~\cos\theta </math>
<math>~  
-\frac{GM}{r} \, . 
</math>
   </td>
   </td>
</tr>
</tr>
</table>
====Second Term====
Second (terms with <math>~\ell = 1</math>):
<table border="0" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{2,\pm 2} </math>
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 1}</math>
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,022: Line 2,221:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{4} \sqrt{\frac{15}{2\pi}} ~\sin^2\theta ~e^{\pm 2i\phi}</math>
<math>~  
-\frac{4\pi G}{3} 
\sum_{m=-1}^{+1} \biggl[ q_{1 m}\biggr] \frac{Y_{1 m}(\theta,\phi)}{r^2}
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{2, \pm 1} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,033: Line 2,235:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\mp \sqrt{\frac{15}{8\pi}} ~\sin\theta \cos\theta ~e^{\pm i\phi}</math>
<math>~  
-\frac{4\pi G}{3r^2} 
\biggl\{  
\biggl[ q_{1,- 1}\biggr] Y_{1, -1}(\theta,\phi)
+ \biggl[ q_{1 0}\biggr] Y_{1 0}(\theta,\phi)
+ \biggl[ q_{1 1}\biggr] Y_{1 1}(\theta,\phi)
\biggr\}  
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{20} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,044: Line 2,253:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\sqrt{\frac{5}{4\pi}} ~(\tfrac{3}{2}\cos^2\theta - \tfrac{1}{2})</math>
<math>~  
-\frac{4\pi G}{3r^2} 
\biggl\{  
\biggl[ + \frac{3}{8\pi}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x - iy) }{r}
</math>
   </td>
   </td>
</tr>
</tr>
</table>
  </td>
  <td align="left" rowspan="1">
<table border="0" cellpadding="5" align="center">
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{3,\pm 3} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
&nbsp;
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\mp \frac{1}{4} \sqrt{\frac{35}{4\pi}} ~\sin^3\theta  ~e^{\pm 3i\phi}</math>
<math>~  
+ \biggl[ \frac{3}{4\pi} \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{z}{r}
+ \biggl[ \frac{3}{8\pi}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x + iy) }{r}
\biggr\}  
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{3, \pm 2} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
Line 2,072: Line 2,283:
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\frac{1}{4}\sqrt{\frac{105}{2\pi}} ~\sin^2\theta \cos\theta ~e^{\pm 2i\phi}</math>
<math>~  
-\frac{G}{r^3}
\biggl\{  
\biggl[ \frac{1}{2}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x - iy)
</math>
   </td>
   </td>
</tr>
</tr>
<tr>
<tr>
   <td align="right">
   <td align="right">
<math>~Y_{3, \pm 1} </math>
&nbsp;
   </td>
   </td>
   <td align="center">
   <td align="center">
<math>~=</math>
&nbsp;
   </td>
   </td>
   <td align="left">
   <td align="left">
<math>~\mp \frac{1}{4}\sqrt{\frac{21}{4\pi}} ~\sin\theta (5\cos^2\theta - 1) ~e^{\pm i\phi}</math>
<math>~  
   </td>
+ \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z
</tr>
+ \biggl[ \frac{1}{2}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x + iy)
<tr>
\biggr\}  
   <td align="right">
</math>
<math>~Y_{30} </math>
   </td>
  </td>
</tr>
   <td align="center">
 
<math>~=</math>
<tr>
   </td>
   <td align="right">
   <td align="left">
&nbsp;
<math>~\sqrt{\frac{7}{4\pi}} ~(\tfrac{5}{2}\cos^3\theta - \tfrac{3}{2}\cos\theta) </math>
  </td>
  </td>
   <td align="center">
</tr>
<math>~=</math>
</table>
   </td>
 
   <td align="left">
----
<math>~  
 
-\frac{G}{r^3}
 
\biggl\{  
Note that, for all cases where <math>~m=0</math> :<br />
\biggl[ \int (x^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x )
<div align="center"><math>~Y_{\ell 0}(\theta,\phi) = \sqrt{\frac{(2\ell + 1 )}{4\pi} } ~P_\ell(\cos\theta)</math><br />
+ \biggl[ \int (y^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (y )  
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], Eq. (3.57)
+ \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z
</div>
\biggr\}
   </td>
</math>
</tr>
  </td>
</tr>
<tr>
  <td align="right">
<math>~</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~- \frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr]</math>
  </td>
</tr>
<tr>
  <td align="right">
[https://en.wikipedia.org/wiki/Center_of_mass#A_continuous_volume where]:
  </td>
  <td align="center">
&nbsp;
  </td>
   <td align="left">
<math>~
\vec{x}_\mathrm{com} \equiv \frac{1}{M} \int ~\vec{x}^{~'} \rho(\vec{x}^{~'}) d^3x^'\, .
</math>
  </td>
</tr>
</table>
 
====Third Term====
 
Third (terms with <math>~\ell = 2</math>):
<table border="0" align="center">
<tr>
  <td align="right">
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{4\pi G}{5r^3} \biggl\{
\biggl[ q_{2, -2} \biggr] Y_{2,-2}  + \biggl[ q_{2, 2} \biggr] Y_{2,2} 
+ \biggl[ q_{2,-1} \biggr] Y_{2, -1} + \biggl[ q_{2,1} \biggr] Y_{2, 1}
+ \biggl[ q_{20} \biggr] Y_{20} \biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{4\pi G}{5r^3} \biggl\{
\biggl[ \frac{1}{4}\sqrt{\frac{15}{2\pi}}
\int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}}  \sin^2\theta e^{-2i\phi}
+ \biggl[\frac{1}{4}\sqrt{\frac{15}{2\pi}}
\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}}  \sin^2\theta e^{2i\phi}
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{-i\phi}
+ \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{i\phi}
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ \biggl[ \sqrt{\frac{5}{16\pi}}
\int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{5}{16\pi}} (3\cos^2\theta - 1) 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{4\pi G}{5r^3} \biggl\{
\frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) - i\sin(2\phi) \biggr]
+ \frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) + i\sin(2\phi) \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[ \cos\phi - i\sin\phi \biggr]
+ \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[ \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[ \cos\phi + i\sin\phi \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ \frac{5}{2^4\pi}  \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl( \frac{3z^2 - r^2}{r^2} \biggr) 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{4G}{r^5} \biggl\{
\frac{3}{2^5 }
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 - 2i xy\biggr]
+ \frac{3}{2^5 }
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 + 2i xy \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  \frac{3z}{2^3}  \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[x - i y \biggr]
+ \frac{3z}{2^3} \biggl[ \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr]  \biggl[x + i y \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  \biggl( \frac{3z^2 - r^2}{2^4} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
\frac{3( x^2 - y^2 )}{2^2 }
\biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' + \int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+ \frac{3i xy}{2 }
\biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' -  \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  3xz  \biggl[\int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' + \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^'\biggr] 
+ 3i yz\biggl[ \int z^'(x^' - iy^')  ~\rho(\vec{x}^{~'}) d^3x^' - \int z^'(x^' + iy^')  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
\frac{3( x^2 - y^2 )}{2^2 }
\biggl[ \int [2(x^')^2 -  2(y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
+ \frac{3i xy}{2 }
\biggl[\int -4i x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  3xz  \biggl[\int 2x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 3i yz\biggl[ \int -2iy^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+  \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
\frac{3( x^2 - y^2 )}{2}
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
+ 6 xy \biggl[\int x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+  6xz  \biggl[\int x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 6yz\biggl[ \int y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+  \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}  \, .
</math>
  </td>
</tr>
</table>
 
Rearranging terms, we have,
 
<table border="0" align="center">
<tr>
  <td align="right">
<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{3( x^2 - y^2 )}{2}
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
+ \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{3( x^2  )}{2}
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
-  \biggl( \frac{x^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
-\frac{3( y^2 )}{2}
\biggl[ \int [(x^')^2 -  (y^')^2]~\rho(\vec{x}^{~'}) d^3x^'  \biggr]
- \biggl( \frac{y^2}{2} \biggr) \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\} 
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{( x^2  )}{2}
\biggl[ \int [3(x^')^2 -  3(y^')^2-3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{( y^2 )}{2}
\biggl[ \int [3(x^')^2 -  3(y^')^2 -3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{( x^2  )}{2}
\biggl[ \int [3(x^')^2 -  3(y^')^2-3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{( y^2 )}{2}
\biggl[ \int [-3(x^')^2 +  3(y^')^2 -3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+\frac{( x^2  )}{2}
\biggl[ \int [6(x^')^2  - 2(r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+\frac{( y^2 )}{2}
\biggl[ \int [6(y^')^2  - 2(r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \biggl\{
2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr]
+  2xz  \biggl[\int 3x^' z^'  ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
</math>
  </td>
</tr>
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
&nbsp;
  </td>
  <td align="left">
<math>~
+ x^2
\biggl[ \int [3(x^')^2  - (r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ y^2
\biggl[ \int [3(y^')^2  - 2(r^')^2  ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
+ z^2 \biggl[  \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] 
\biggr\}
</math>
  </td>
</tr>
 
<tr>
  <td align="right">
&nbsp;
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
-\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, ,
</math>
  </td>
</tr>
</table>
<span id="QuadrupoleMomentTensor">where,</span> following [https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], we have introduced the,
<table border="0" cellpadding="5" align="center">
 
<tr>
<td align="center" colspan="3">
<font color="#770000">'''Traceless Quadrupole Moment Tensor'''</font>
</td>
</tr>
<tr>
  <td align="right">
<math>~Q_{i,j}</math>
  </td>
  <td align="center">
<math>~\equiv</math>
  </td>
  <td align="left">
<math>~
\int [ 3(x_i^') (x_j^') - (r^')^2 \delta_{ij} ] \rho(\vec{x}^{~'}) d^3x^' \, .
</math>
  </td>
</tr>
<tr>
  <td align="center" colspan="3">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], p. 138, Eq. (4.9)<br />
[http://adsabs.harvard.edu/abs/1978ApJ...224..497N M. L. Norman &amp; J. R. Wilson (1978)], p. 501, Eq. (19)<br />
  </td>
</tr>
</table>
 
==Familiar Expression for the Cylindrical Green's Function Expansion==
<div align="center" id="CylindricalGreenFunction">
<table border="1" cellpadding="8" align="center" width="80%">
<tr>
<th align="center"><font size="+0">Table 4: &nbsp;Cylindrical-Coordinate Green's Function Expansion</font></th>
</tr>
<tr>
  <td align="left">
<table border="0" align="center" cellpadding="5">
<tr>
  <td align="right">
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')} \int_0^\infty dk ~J_m(k\varpi) ~J_m(k\varpi^') e^{-k(z_> - z_<)}
</math>
  </td>
</tr>
</table>
where <math>~J_m</math> is an order <math>~m</math> Bessel function of the first kind.<br />
<div align="center">
[https://archive.org/details/ClassicalElectrodynamics2nd Jackson (1975)], exercise [3.14]<br />
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 88, Eq. (3)
</div>
  </td>
</tr>
</table>
</div>
 
==Toroidal Functions==
 
<!-- NEW TABLE 3 -->
<div align="center" id="Toroidal">
<table border="1" cellpadding="8" align="center" width="80%">
<tr>
<th align="center"><font size="+0">Table 5: &nbsp;Green's Function in Terms of<br />Zero Order, Half-(Odd)Integer Degree, Associated Legendre Functions of the Second Kind, <math>~Q^0_{m-1 / 2}(\chi)</math><br />(also referred to as Toroidal Functions)</font></th>
</tr>
<tr>
  <td align="left">
<table border="0" align="center" cellpadding="5">
<tr>
  <td align="right">
<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi)
</math>
  </td>
</tr>
</table>
where:<br />
<div align="center"><math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'}</math><br /><br />
[http://adsabs.harvard.edu/abs/1999ApJ...527...86C H. S. Cohl &amp; J. E. Tohline (1999)], p. 88, Eqs. (15) &amp; (16)<br />
See also the [https://dlmf.nist.gov/14.19#ii DLMF's definition of Toroidal Functions], <math>~Q_{m - 1 / 2}^{0}</math>
</div>
  </td>
</tr>
 
<tr>
  <td align="left">
Note that, according to, for example, equation (8.731.5) of Gradshteyn &amp; Ryzhik (1994),
<div align="center">
<math>~Q^0_{-m - 1 / 2}(\chi) = Q^0_{m- 1 / 2}(\chi) \, .</math>
</div>
Hence, the Green's function can straightforwardly be rewritten in terms of a simpler summation over just ''non-negative'' values of the index, <math>~m</math>.
  </td>
</tr>
 
<tr>
  <td align="left">
Referencing equations (8.13.3) and (8.13.7), respectively, of Abramowitz &amp; Stegun (1965), we see that for the smallest two values of the ''non-negative'' index, <math>~m</math>, the function, <math>~Q_{m- 1 / 2}(\chi)</math>, can be rewritten in terms of, the more familiar, complete elliptic integrals of the first and second kind.  Specifically,
<table border="0" cellpadding="1" align="center" width="100%">
 
<tr>
  <td align="left" colspan="3">
for <math>~m = 0</math>,
  </td>
</tr>
<tr>
  <td align="right">
<math>~Q_{m- 1 / 2}(\chi) ~\rightarrow~ Q_{-1 / 2}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\mu K(\mu) \, ,
</math>
  </td>
</tr>
<tr>
  <td align="left" colspan="3">
and, for <math>~m = 1</math>,
  </td>
</tr>
 
<tr>
  <td align="right">
<math>~Q_{m- 1 / 2}(\chi) ~\rightarrow~ Q_{+ 1 / 2}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\chi \mu K(\mu) - (1+\chi)\mu E(\mu) \, ,
</math>
  </td>
</tr>
<tr>
  <td align="left" colspan="3">
where,
  </td>
</tr>
<tr>
  <td align="right">
<math>~\mu \equiv \biggl[ \frac{2}{1+\chi} \biggr]^{1 / 2}</math>
  </td>
  <td align="center">
<math>~=</math>
  </td>
  <td align="left">
<math>~
\biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2}
\, .
</math>
  </td>
</tr>
</table>
----
 
<div align="center">
Excerpt from p. 337 of [https://books.google.com/books?id=MtU8uP7XMvoC&printsec=frontcover&dq=Abramowitz+and+stegun&hl=en&sa=X&ved=0ahUKEwialra5xNbaAhWKna0KHcLAASAQ6AEILDAA#v=onepage&q=Abramowitz%20and%20stegun&f=false M. Abramowitz &amp; I. A. Stegun (1995)]
<!--, ''Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables''-->
</div>
[[File:AbramowitzStegun ToroidalFunctions2.png|center|700px|Abramowitz &amp; Stegun (1965)]]
  </td>
</tr>
 
<tr>
  <td align="left">
Finally, equation (8.5.3) from Abramowitz &amp; Stegun (1965) or equation (8.832.4) of Gradshteyn &amp; Ryzhik (1994) &#8212; also see equation (2) of [http://adsabs.harvard.edu/abs/2000JCoPh.161..204G Gil, Segura &amp; Temme (2000)] &#8212; provide the recurrence relation for all other values of the index, <math>~m</math>.  Specifically, for all <math>~m \ge 2</math>,
<div align="center">
<math>~Q_{m - 1 / 2}(\chi) = 4\biggl[\frac{m-1}{2m-1}\biggr] \chi Q_{m- 3 / 2}(\chi)
- \biggl[ \frac{2m-3}{2m-1}\biggr] Q_{m- 5 / 2}(\chi) \, .</math>
</div>
----
 
<div align="center">
Excerpt from p. 490 of [https://dl-acm-org.libezp.lib.lsu.edu/citation.cfm?id=365474&picked=prox W. Guatschi (1965, Communications of the ACM, vol. 8, issue 8, 488 - 492)]
</div>
[[File:ToroidalRecurrenceRelation.png|center|500px|Guatschi (1965, Communications of the ACM, 8, 488 - 492)]]
  </td>
</tr>
</table>
</div>
 
=Related Discussions=
 
==Toroidal Functions==
 
* [http://adsabs.harvard.edu/abs/2007AmJPh..75..724S J. Selvaggi, S. Salon, &amp; M. V. K. Chari (2007, American Journal of Physics, 75, 724 - 727)] &#8212; ''An Application of Toroidal Functions in Electrostatics''
* [http://adsabs.harvard.edu/abs/2000JCoPh.161..204G A. Gil, J. Segura &amp; N. M. Temme (2000, Journal of Computational Physics, 161, 204 - 217)] &#8212; ''Computing Toroidal Functions for Wide Ranges of the Parameters''
* [http://adsabs.harvard.edu/abs/2000CoPhC.124..104S J. Segura &amp; A. Gil (2000, Computer Physics Communications, 124, 104 - 122)] &#8212; '' Evaluation of Toroidal Harmonics''
* [http://adsabs.harvard.edu/abs/1997JMP....38.3679B J. W. Bates (1997, Journal of Mathematical Physics, vol. 38, issue 7, 3679-3691)] &#8212; ''On Toroidal Green's Functions''
* [https://dl-acm-org.libezp.lib.lsu.edu/citation.cfm?id=365474&picked=prox W. Guatschi (1965, Communications of the ACM, 8, 488 - 492)] &#8212; ''Algorithms  (Algorithm 259): Legendre Functions for Arguments Larger than One''
<table border="0" align="center" width="92%">
<tr><td align="left">
Note that, in this Guatschi (1965) article, a description of the "<b>procedure</b> <i>toroidal</i>" begins on p. 490, near the bottom of the right-hand column.
</td></tr>
</table>
</table>
</div>
* [https://www.jstor.org/stable/2369515?seq=1#page_scan_tab_contents A. B. Basset (1893, American Journal of Mathematics, vol. 15, No. 4, pp. 287 - 302)] &#8212; ''On Toroidal Functions''
* [http://www.jstor.org/stable/109363?seq=1#page_scan_tab_contents W. M. Hicks (1881, Philosophical Transactions of the Royal Society of London, vol. 172, pp. 609 - 652)] &#8212; ''On Toroidal Functions''


=Related Discussions=
==Reviews==
==Reviews==



Latest revision as of 04:14, 28 May 2018

Solving the (Multi-dimensional) Poisson Equation Numerically

Whitworth's (1981) Isothermal Free-Energy Surface
|   Tiled Menu   |   Tables of Content   |  Banner Video   |  Tohline Home Page   |

Overview

The set of Principal Governing Equations that serves as the foundation of our study of the structure, stability, and dynamical evolution of self-gravitating fluids contains an equation of motion (the Euler equation) that includes an acceleration due to local gradients in the (Newtonian) gravitational potential, <math>~\Phi</math>. As has been pointed out in an accompanying chapter that discusses the origin of the Poisson equation, the mathematical definition of this acceleration is fundamentally drawn from Isaac Newton's inverse-square law of gravitation, but takes into account that our fluid systems are not ensembles of point-mass sources but, rather, are represented by a continuous distribution of mass via the function, <math>~\rho(\vec{x},t)</math>. As indicated, in our study, <math>~\rho</math> may depend on time as well as space. The acceleration felt at any point in space may be obtained by integrating over the accelerations exerted by each differential mass element. Alternatively — and more commonly — as has been explicitly demonstrated in, respectively, Step 1 and Step 3 of the same accompanying chapter, at any point in time the spatial variation of the gravitational potential, <math>~\Phi(\vec{x})</math>, is determined from <math>~\rho(\vec{x})</math> via either an integral or a differential equation as follows:


Table 1:  Poisson Equation
Integral Representation Differential Representation

<math>~ \Phi(\vec{x})</math>

<math>~=</math>

<math>~ -G \int \frac{\rho(\vec{x}^{~'})}{|\vec{x}^{~'} - \vec{x}|} d^3x^' \, .</math>

LSU Key.png

<math>\nabla^2 \Phi = 4\pi G \rho</math>


While it is possible in some restricted situations to determine analytic expressions for the matched pair of functions, <math>~\Phi </math> and <math>~\rho</math>, that satisfy the Poisson equation, modeling the vast majority of interesting astrophysical problems requires the develop of a numerical scheme to solve the Poisson equation. In what follows, our aim is twofold: (a) To recount — in a reasonable amount of detail — the steps that we have taken over the past, approximately forty years to develop more and more accurate and efficient ways to solve the Poisson equation in full three-dimensional generality; and (b) to list/summarize alternative techniques that have been successfully employed by other research groups over the years.

     
Dimensionality … 2D   or   3D
     
Computational Mesh Used for Differential Representation [Car]tesian   [Cyl]indrical   [Sph]erical   Gridless ([Lag]rangian)
     
Green's Function for Integral Representation [Sph]erical   [Tor]oidal   Gridless ([Lag]rangian)

For each chosen problem, a research group must decide/specify, at a minimum:   (1) The dimensionality of the problem; that is, whether the study will be restricted to 2D (e.g., axisymmetric) systems or whether the problem will be tackled in its full 3D complexity. (2) Whether the gravitational potential inside the mass distribution will be determined by solving the integral representation or the differential representation of the Poisson equation and, if the latter, in what coordinate frame (e.g., cylindrical or spherical) the differential operator and the computational mesh will be based. (Note that even when the interior solution is obtained by evaluating the differential representation of the Poisson equation, the integral representation will likely be employed to evaluate the potential on a boundary that lies outside the mass distribution.) (3) Which Green's function representation of the term, <math>~|\vec{x}^{~'} - \vec{x}|^{-1}</math>, will be used if/when the integral representation is evaluated. As the numerical techniques employed by each research group are introduced, below, a small red/green/yellow boxed icon has been interlaced with the text in an effort to highlight, up front, which choices the group has made.

Our Approach — Initially Heavily Influenced by Black & Bodenheimer (1975)

  2D     Cyl     Sph  

D. C. Black & P. Bodenheimer (1975, ApJ, 199, 619 - 632) published a detailed description of the numerical techniques that they implemented in an effort to model, in two dimensions, the dynamical collapse of axisymmetric interstellar gas clouds. Among the techniques was their method of solving, in cylindrical coordinates, the differential representation of the two-dimensional (2D) Poisson equation. Values of the potential along the outer boundaries of their cylindrical mesh were obtained by employing a spherical-harmonic expansion of the Green's function to evaluate the integral representation of the Poisson equation.

As is acknowledged in the last paragraph of their paper, Black & Bodenheimer were introduced "to the pitfalls of two-dimensional hydrodynamics" by Drs. J. LeBlanc and J. Wilson who, at the time, were both staff scientists at the Lawrence Livermore Laboratory. In 1976, having completed my formal graduate-level course work in the astronomy program at UC, Santa Cruz, Peter Bodenheimer (on the faculty of Lick Observatory and UC, Santa Cruz) asked me if I would be interested in working with him and David Black (a planetary scientist at NASA, Ames Research Center) on the development of a fully three-dimensional (3D) hydrodynamics code to study, not only the collapse, but also the fragmentation of self-gravitating gas clouds. I jumped at the opportunity. As a result, an effort to model the process of spontaneous cloud fragmentation became the focus of my doctoral dissertation research.

  3D     Cyl     Sph  

Borrowing from the Black & Bodenheimer (1975) work, I decided to solve the set of 3D principal governing equations on a cylindrical coordinate <math>~(\varpi, \phi, z)</math> mesh:

  • whose outermost radial and vertical boundaries were placed entirely outside of the mass distribution (by way of illustration, see the green-dashed lines in Figure 1);
  • that exhibited reflection symmetry through the <math>~(z = 0)</math> equatorial plane ;
  • that allowed for non-uniform (logarithmically stretched) grid spacing in both the radial and vertical directions; and,
  • (extending the Black & Bodenheimer work from 2D to 3D) with strictly uniform spacing in the azimuthal-coordinate direction.



Figure 1
Schematic of grid and mass distribution

Mesh Choice: In retrospect, I am still comfortable with the choice that was made, at the time, of a cylindrical coordinate mesh with uniform spacing in the azimuthal-coordinate direction. When expressed in terms of cylindrical coordinates — as opposed to cartesian coordinates, for example — the azimuthal component of the Euler equation offers a natural means by which the conservation of angular momentum can be monitored, if not enforced. And, by enabling the implementation of FFTs — hence, providing the ability to rapidly transform functions, like <math>~\Phi(\phi)</math> and <math>~\rho(\phi)</math>, back and forth between real space and Fourier space — a uniform descritization of the azimuthal grid facilitated the development of an efficient 3D Poisson solver as well as tools to straightforwardly analyze the behavior — e.g., the exponential growth — of individual nonaxisymmetric modes.



Also, following the lead of Black & Bodenheimer (1975), a hybrid scheme was developed to solve the Poisson equation. As defined in Table 1 above, its integral representation was evaluated at grid locations along the outermost radial and vertical boundaries — illustrated by the dashed green lines displayed in Figure 1 — by integrating over the "pink" mass distribution lying inside of these grid boundaries. Separately, the differential form of the Poisson equation was used to evaluate the potential at all interior grid locations; this differential expression was supplemented by the implementation of Neumann boundary conditions (reflection symmetry) along the equatorial plane, and by using the values of the potential just determined along the outermost grid boundaries to provide Dirichlet boundary conditions along those grid boundaries.

Determining Values of the Potential on the Mesh Boundary

Let's determine the potential, <math>~\Phi_B</math>, at all points along the boundary of the cylindrical coordinate mesh by evaluating Table 1's integral representation of the Poisson equation.

Using a Spherical Harmonic Expansion

Full Three-Dimensional Generality

Following the lead of Black & Bodenheimer (1975), we will insert into this integral relation the Green's function expression for <math>~|\vec{x}^{~'}- \vec{x} |^{-1} </math> as given in terms of Spherical Harmonics, <math>~Y_{\ell m}</math>, which in turn can be written in terms of Associated Legendre Functions. Table 2, below, provides the primary details.

Written in the context of a spherical coordinate system we have,

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ -G \int \frac{1}{|\vec{x}^{~'} - \vec{x}|} ~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ -G \int \sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{4\pi}{2\ell+1} \biggl[ \frac{r_<^\ell}{r_>^{\ell+1}} \biggr] Y_{\ell m}^*(\theta^', \phi^') Y_{\ell m}(\theta,\phi) ~\rho(r^', \theta^', \phi^') d^3x^' </math>

 

<math>~=</math>

<math>~ -4\pi G \sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \biggl[ \frac{1}{r^{\ell+1}}\int_0^r (r^')^\ell Y_{\ell m}^*(\theta^', \phi^') ~\rho(r^', \theta^', \phi^') d^3x^' </math>

 

 

        <math>~ + r^\ell \int_r^\infty (r^')^{-(\ell+1)} Y_{\ell m}^*(\theta^', \phi^') ~\rho(r^', \theta^', \phi^') d^3x^' \biggr] \, . </math>

[BT87], p. 66, Eq. (2-122)

If the distance from the origin, <math>~r</math>, of a boundary point (i.e., any point lying along the dashed green lines in Figure 1) is greater than the distance from the origin, <math>~r^'</math>, of all of the (pink) mass elements, the second integral can be completely ignored. We have, then, an expression that will henceforth be referred to as,

Form A of the Boundary Potential

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ -4\pi G \sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \biggl[ \frac{1}{r^{\ell+1}}\int_0^r (r^')^\ell Y_{\ell m}^*(\theta^', \phi^') ~\rho(r^', \theta^', \phi^') d^3x^' \biggr] \, . </math>

Jackson (1975), p. 137, Eq. (4.2)
[BLRY07], p. 238, Eqs. (7.53) - (7.54)

Rewriting this expression for <math>~\Phi_B</math> in terms of cylindrical coordinates — which aligns with our chosen grid coordinate system — and admitting that in practice our summation over the index, <math>~\ell</math>, cannot extend to infinity, we have,

<math>~ \Phi_B(\varpi, \phi, z)</math>

<math>~=</math>

<math>~ -4\pi G \sum_{\ell=0}^{\ell_\mathrm{max}} \sum_{m=-\ell}^{+\ell} \frac{Y_{\ell m}}{(2\ell+1)} \biggl[ \varpi^2 + z^2 \biggr]^{-(\ell+1)/2} \int Y_{\ell m}^* \biggl[ (\varpi^')^2 + (z^')^2 \biggr]^{\ell/2} ~\rho(\varpi^', \phi^', z^') d^3x^' \, . </math>

Note that, as a consequence of assuming that our configurations have equatorial-plane symmetry, the weighted integral over the mass distribution necessarily goes to zero anytime the sum of the two indexes, <math>~(\ell + m)</math>, is an odd number. This is because, in each of these situations — again, see Table 2, below for details — the <math>~Y_{\ell m}</math> includes an overall factor of <math>~\cos\theta</math>, which necessarily switches signs between the two hemispheres. After setting <math>~\ell_\mathrm{max}=4</math> — and dropping all terms in the summation for which the index sum, <math>~(\ell + m)</math>, is odd — this expression becomes precisely the relation that was used to determine the boundary values of the gravitational potential in our earliest set of simulations; see, for example, Tohline (1978), Tohline (1980), and Bodenheimer, Tohline, & Black (1980).

Simplification for 2D, Axisymmetric Systems

It is easy to show that this last expression for <math>~\Phi_B</math> — which has been used in our 3D simulations — is a generalization of the expression for <math>~\Phi_B</math> that was employed by Black & Bodenheimer (1975) for 2D, axisymmetric simulations. In axisymmetric systems, by definition, physical variables exhibit no variation in the azimuthal coordinate direction. Hence, in the expression for <math>~\Phi_B</math>:

  • the azimuthal coordinate, <math>~\phi</math>, need not appear explicitly as an independent variable;
  • the index, <math>~m</math>, must be set to zero, so there is no summation over this index; and,
  • every surviving spherical harmonic can be written more simply in terms of a Legendre function, namely,

<math>~Y_{\ell m} \rightarrow Y_{\ell 0}</math>

<math>~=</math>

<math>~\sqrt{\frac{(2\ell+1 )}{4\pi}} P_\ell(\chi) \, ,</math>

        where,

<math>~\chi \equiv \frac{z}{(\varpi^2 + z^2)^{1 / 2}} \, .</math>

Note that the argument, <math>~\chi</math>, is still the spherical-coordinate expression, <math>~\cos\theta</math>, but here it has been written in terms of cylindrical coordinates. We have, therefore,

<math>~ \Phi_B(\varpi, z)\biggr|_{2D}</math>

<math>~=</math>

<math>~ - G \sum_{\ell=0}^{\ell_\mathrm{max}} P_\ell(\chi) \biggl[ \varpi^2 + z^2 \biggr]^{-(\ell+1)/2} \int P_\ell(\chi^') \biggl[ (\varpi^')^2 + (z^')^2 \biggr]^{\ell/2} ~\rho(\varpi^', z^') d^3x^' \, , </math>

where, <math>~d^3x^' = 2\pi \varpi^' d\varpi^' dz^'</math>. This is precisely the same as equation (5) from Black & Bodenheimer (1975); see also, equations (8) and (9) in Cohl & Tohline (1999).

Using Toroidal Functions

In 3D
  3D     Cyl     Tor  

NOTE: Throughout this chapter subsection, text that appears in a dark green font has been taken verbatim from H. S. Cohl & J. E. Tohline (1999).

As mentioned above, from the beginning of my research activities — following the lead of Black & Bodenheimer — it has seemed reasonable to me that numerical simulations of time-evolving, rotationally flattened fluid systems should be carried out on a cylindrical, rather than cartesian, coordinate mesh. When modeling rotationally flattened configurations, a cylindrical mesh has even seemed preferable to a spherical coordinate mesh because the "top" grid boundary (horizontal green-dashed line segment in Figure 1) can straightforwardly be dropped to a <math>~z</math>-coordinate location that is smaller than the <math>~\varpi</math>-coordinate location of the "side" grid boundary (vertical green-dashed line segment in Figure 1), thereby reducing the number of grid cells — and, correspondingly reducing the cost of modeling the less interesting, vacuum region — outside of the fluid system. [See, however, Boss (1980) for an alternate point of view.] At the same time, however, it has not seemed reasonable to determine the values of the potential along the (cylindrical-grid) boundary by adopting a Green's function that is expressed in terms spherical harmonics.

Over a period of approximately twenty years, off and on, my research group considered whether it might be advantageous in our numerical simulations to cast the Green's function in a cylindrical coordinate system. The "familiar" expression for the cylindrical Green's function expansion can be found in variety of references (see [MF53]; Jackson (1975)), and for convenience is repeated below. It is expressible in terms of an infinite sum over the azimuthal quantum number <math>~m</math> and an infinite integral over products of Bessel functions of various orders multiplied by an exponential function. Note that J. V. Villumsen (1985, ApJ, 290, 75 - 85) attempted to solve the potential problem in this manner; he presents a technique in which each infinite integral over products of Bessel functions is evaluated numerically using a Gauss-Legendre integrator … He then emphasizes the obvious problem that, because of the infinite integrals involved, a calculation of the potential via this straightforward application of the familiar cylindrical Green's function expansion is numerically much more difficult than a calculation of the potential using a spherical Green's function expansion.

Eureka! Via his dogged efforts and an extraordinarily in-depth investigation of this problem, in 1999 Howard S. Cohl discovered that, in cylindrical coordinates, the relevant Green's function can be written in a much more compact and much more practical form. Specifically, he realized that,

<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>

<math>~=</math>

<math>~ \frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi) \, , </math>

where,

<math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'} \, ,</math>

H. S. Cohl & J. E. Tohline (1999), p. 88, Eqs. (15) & (16)
See also: Selvaggi, Salon & Chari (2007) §II, eq. (5)
and the DLMF's definition of Toroidal Functions, <math>~Q_{m - 1 / 2}^{0}</math>

and, <math>~Q_{m - 1 / 2}</math> is the zero-order, half-(odd)integer degree, Llegendre function of the second kind — also referred to as a toroidal function of zeroth order; see additional details, below. Hence, anywhere along the boundary of our cylindrical-coordinate mesh, a valid expression for the gravitational potential is,

<math>~ \Phi_B(\varpi,\phi,z)</math>

<math>~=</math>

<math>~ -G \int \frac{1}{|\vec{x}^{~'} - \vec{x}|} ~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ -G \int \biggl\{ \frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi) \biggr\}~ \rho(\varpi^',\phi^',z^') \varpi^' d\varpi^' d\phi^' dz^' </math>

 

<math>~=</math>

<math>~ -\frac{G}{\pi \sqrt{\varpi}} \int \rho(\varpi^',\phi^',z^') \sqrt{\varpi^'} d\varpi^' d\phi^' dz^' \sum_{m=0}^{\infty} \epsilon_m \cos[m(\phi - \phi^')] Q_{m- 1 / 2}(\chi) \, , </math>

H. S. Cohl & J. E. Tohline (1999), p. 88, Eq. (18)

where, <math>~\epsilon_m</math> is the Neumann factor, that is, <math>~\epsilon_0=1</math> and <math>~\epsilon_m = 2</math> for <math>~m\ge 1</math>. Following this discovery, most of my research group's 3D numerical modeling of self-gravitating fluids has been conducted using Toroidal functions instead of Spherical Harmonics to evaluate the boundary potential on our cylindrical-coordinate meshes; see, for example, P. M. Motl, J. E. Tohline & J. Frank (2002); C. D. Ott, S. Ou, J. E. Tohline & A. Burrows (2005); M. C. R. D'Souza, P. M. Motl, J. E. Tohline, & J. Frank (2006); and D. C. Marcello & J. E. Tohline (2012).

For Axisymmetric Systems

As was done, above, in the context of our discussion of a spherical-harmonics-based expression for the boundary potential, let's consider how this toroidal-function-based expression for the boundary potential can be simplified when examining 2D (axisymmetric) rather than fully 3D systems. In axisymmetric systems, by definition, physical variables exhibit no variation in the azimuthal coordinate direction. Hence, in the expression for <math>~\Phi_B</math>:

  • the azimuthal coordinate, <math>~\phi</math>, need not appear explicitly as an independent variable, so the integral over this angular coordinate immediately gives, <math>~2\pi</math>;
  • the index, <math>~m</math>, must be set to zero, so there is no summation over this index; and,
  • drawing from the additional details provided in Table 5, below the single surviving toroidal function is, <math>~Q_{-1 / 2}</math>, which can be rewritten in terms of the complete elliptic integral of the first kind.

As a result of these simplifications, anywhere along the boundary of our cylindrical-coordinate mesh, a valid expression for the axisymmetric gravitational potential is,

<math>~ \Phi_B(\varpi,z)\biggr|_{2D}</math>

<math>~=</math>

<math>~ -\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'} Q_{- 1 / 2}(\chi) </math>

 

<math>~=</math>

<math>~ -\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'} \mu K(\mu) \, , </math>

H. S. Cohl & J. E. Tohline (1999), p. 89, Eqs. (31) & (32)

where,

<math>~\mu </math>

<math>~\equiv</math>

<math>~\biggl[ \frac{2}{1+\chi} \biggr]^{1 / 2} = \biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2} \, . </math>

Actually, this expression for the potential is not only valid along the outer boundaries of the computational mesh, but anywhere inside or outside of the mass distribution.

Extension from 2D to 3D

An extension from 2D to 3D was accomplished by using separate, finite Fourier series expansion to represent the azimuthal dependence of <math>~\rho</math> and <math>~\Phi</math>. This allowed us to decouple the differential expression for the Poisson equation into a finite number of independent Fourier modes, and to straightforwardly solve a finite set of 2D Helmholtz equations, instead of solving a single 2D Poisson equation.

Intermediate

Much of the material enclosed in this text box has been drawn from §3.1 of Jackson (1975).

In spherical coordinates, <math>~(r,\theta,\phi)</math>, the Poisson equation takes the form,

<math>~4\pi G \rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \frac{1}{r} \frac{\partial^2}{\partial r^2} (r\Phi) + \frac{1}{r^2 \sin\theta} \frac{\partial}{\partial\theta} \biggl( \sin\theta \frac{\partial\Phi}{\partial\theta}\biggr) + \frac{1}{r^2 \sin^2\theta} \frac{\partial^2\Phi}{\partial\phi^2} \, . </math>

As it turns out, the potential — which, generally, is a function of all three coordinates — can be written as the product of three functions, each of which is a function of only one coordinate. To demonstrate this, specifically suppose that,

<math>~\Phi(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \frac{U( r )}{r} P(\theta)Q(\phi) \, . </math>

Then the differential form of the Poisson equation can be rewritten as,

<math>~4\pi G \rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \frac{PQ}{r} \frac{d^2U}{dr^2} + \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr) + \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2} </math>

<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr] 4\pi G \rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~\biggl[ \frac{r^3 \sin^2\theta}{ UPQ} \biggr] \biggl\{ \frac{PQ}{r} \frac{d^2U}{dr^2} + \frac{UQ}{r^3\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr) + \frac{UP}{r^3\sin^2\theta} \frac{d^2Q}{d\phi^2} \biggr\} </math>

 

<math>~=</math>

<math>~ \biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2} + \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr) + \frac{1}{Q} \frac{d^2Q}{d\phi^2} \, . </math>

Setting, <math>~Q = e^{\pm im\phi}</math>, gives,

<math>~ \biggl[ \frac{r^3 \sin^2\theta}{ UP e^{\pm i m\phi }} \biggr] 4\pi G \rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \biggl[ \frac{r^2\sin^2\theta}{U} \biggr] \frac{d^2U}{dr^2} + \frac{\sin\theta}{P} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr) -m^2 </math>

<math>~\Rightarrow ~~~ \biggl[ \frac{r^3 }{ UP e^{\pm i m\phi}} \biggr] 4\pi G \rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \biggl( \frac{r^2 }{U} \biggr) \frac{d^2U}{dr^2} + \biggl[ \frac{1}{P\sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP}{d\theta}\biggr) - \frac{m^2}{\sin^2\theta} \biggr] \, . </math>

Now, if for each selected pair of the integer indexes, <math>~(\ell, m)</math>, the function <math>~P</math> is identified as the associated Legendre function, <math>~P_\ell^m</math>, as defined above in Table 2, then the set of terms inside the square brackets on the right-hand-side of this last expression can be set equal to <math>~[-\ell(\ell + 1)]</math> because every associated Legendre function satisfies the differential equation,

<math>~ \frac{1}{P_\ell^m \sin\theta} \frac{d}{d\theta}\biggl(\sin\theta \frac{dP_\ell^m}{d\theta}\biggr) + \ell(\ell+1) - \frac{m^2}{\sin^2\theta}</math>

<math>~=</math>

<math>~ 0 \, . </math>

Rewriting our adopted separable expression for the potential as the sum over all possible <math>~(\ell,m)</math>-component solutions, that is,

<math>~\Phi(r,\theta,\phi) = \sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell [\Phi(r,\theta,\phi)]_{\ell m}</math>

<math>~=</math>

<math>~ \sum_{\ell=0}^\infty \sum_{m=-\ell}^\ell \frac{U_{\ell m}( r )}{r} P_\ell^m(\theta)Q_m(\phi) \, , </math>

a solution to the Poisson equation then imposes the requirement that, for each <math>~(\ell,m)</math> pair,

<math>~ \biggl( \frac{r^2 }{U_{\ell m}} \biggr) \frac{d^2U_{\ell m} }{dr^2} - \ell(\ell+1) </math>

<math>~=</math>

<math>~ \biggl[ \frac{r^3 }{ U_{\ell m} P_\ell^m e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} </math>

<math>~\Rightarrow ~~~ \frac{1}{r} \frac{d^2U_{\ell m} }{dr^2} - \biggl[ \frac{\ell(\ell+1)}{r^2} \biggr]\frac{U_{\ell m} }{r} </math>

<math>~=</math>

<math>~ \biggl[ \frac{1}{ P_\ell^m e^{\pm i m\phi}} \biggr] 4\pi G [\rho(r,\theta\phi)]_{\ell m} \, .</math>


Other Approaches

Deupree (1974)

  2D     Sph     Tor  

"The fully nonlinear, nonradial, nonadiabatic calculation of stellar oscillations has not as yet been attempted by anyone, to the best of the author's knowledge. Only Deupree (1974b, 1975) so far seems to have taken some steps in this direction. He has carried out numerical calculations of the nonlinear axisymmetric oscillations in the adiabatic (Deupree 1974b) and nonadiabatic (Deupree 1975) approximations, with apparently encouraging results."

— Drawn from §3.5 of the review article by J. P. Cox (1976, ARAA, 14, 247 - 273)

Apparently, R. G. Deupree (1974, ApJ, 194, 393 - 402) was the first astronomer to employ self-gravitating, numerical hydrodynamic techniques to model nonlinear, nonradial stellar pulsations. He chose to carry out his simulations on a spherical coordinate mesh with his earliest simulations being restricted to the examination of 2D (axisymmetric) configurations. The outer boundary of his computational grid was identified as (see his §IIb) a spherical surface completely exterior to the star.

His Derived Expression for the Boundary Potential

In designing an algorithm to solve the Poisson equation, Deupree (1974) considered the major difficulty [to be] the evaluation of the potential boundary conditions. He decided to determine the boundary potential via an evaluation of the integral representation of the Poisson equation; once the boundary conditions [were] specified, the potential inside the star [was] evaluated by [employing] the Henyey method to solve the differential representation of the Poisson equation. The assumption of azimuthal symmetry meant that, for example, the density was specified at various meridional-plane locations, <math>~\rho(r,\theta)</math>, with each zone [being] considered as a uniform density circular ring. He argued that the potential of [each such] ring at any point on the spherical boundary [could] easily be evaluated by treating it as an infinitesimally thin ring of mass, <math>~\delta M = 2\pi a \rho ~\delta A</math> — where, <math>~\delta A</math> is the cross-sectional area of the [grid] zone, and <math>~a</math> is the radius of [that] ring — then drawing upon the analytic analysis described by Kellogg (1929) or, equivalently, by MacMillan (1958; originally 1930). Then, the total potential at the boundary is the sum of the potentials from all of the [meridional-plane] zones.


Note that, over the years, a number of other research groups have adopted this same approach to evaluate the gravitational potential of axisymmetric mass distributions — that is, summing up the potential contributions due to an ensemble of "infinitesimally thin rings." But none appear to have recognized Deupree's earlier, pioneering investigation. See, for example, the brief reviews that we have written regarding the related investigations by: Stahler (1983), Bannikova et al. (2011), and Fukushima (2016).


More specifically, equation (16) from Deupree (1974) states that the differential contribution to the boundary potential due to each infinitesimally thin ring is,

<math>~\delta\Phi_B</math>

<math>~=</math>

<math>~ - \frac{2G(2\pi a\rho ~\delta A)}{\pi p} \int_0^{\pi/2} \frac{d\psi}{[\cos^2\psi + (q/p)^2\sin^2\psi]^{1 / 2}} \, , </math>

where, <math>~q</math> is the shortest distance between the ring and the boundary point, and <math>~p</math> is the longest distance. (Note that, in order to match our conventions, we have inserted the negative sign along with a leading factor of <math>~G</math>.) Referencing our accompanying detailed analysis of the potential due to a thin ring, and adopting the variable mappings, <math>~p \leftrightarrow \rho_1</math> and <math>~q \leftrightarrow \rho_2</math>, we see that Deupree's expression is indeed identical to the expression for the potential derived by MacMillan (1958). Recognizing, as did MacMillan, that the definite integral in this expression is related to the complete elliptic integral of the first kind, and introducing the ratio of lengths, <math>~c \equiv p/q</math>, Deupree's expression for the (differential contribution to the) potential can be rewritten as,

<math>~\delta\Phi_B</math>

<math>~=</math>

<math>~- \frac{2G (2\pi a\rho ~\delta A) c}{\pi p} \int_0^{\pi/2} \frac{d\psi}{ \sqrt{1 - k^2 \sin^2\psi }} </math>

 

<math>~=</math>

<math>~- \biggl[ \frac{2G (2\pi a\rho ~\delta A) c}{\pi p} \biggr] K(k) \, ,</math>

where, <math>~K(k)</math> is the complete elliptic integral of the first kind for the modulus, <math>~k = \sqrt{1-c^2}</math>.

Comparison With Other Related Derivations

Now, given that Deupree chose to construct and evolve his models using a spherical coordinate system, he would have specified the relevant lengths, <math>~p</math> and <math>~q</math>, and each ring's differential cross-section, <math>~\delta A</math>, in terms of spherical coordinates. In an effort to more clearly illustrate the connection between Deupree's expression for the (differential contribution to the) boundary potential and the expression for the boundary potential that we have derived above for axisymmetric systems, we will insert expressions for these terms that apply, instead, to a cylindrical-coordinate mesh.

Following the same line of reasoning as has been presented in our accompanying discussion of MacMillan's work, if the meridional-plane locations of the infinitesimally thin ring and the desired point on the boundary are, respectively, <math>~(\varpi^',z^')</math> and <math>~(\varpi,z)</math>, we see that,

<math>~k = \sqrt{1 - c^2}</math>

<math>~=</math>

<math>~ \biggl[\frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2 }\biggr]^{1 / 2} \, ,</math>

and,

<math>~\frac{c}{p}</math>

<math>~=</math>

<math>~\biggl[(\varpi + \varpi^')^2 + (z - z^')^2 \biggr]^{- 1 / 2} = \frac{k}{\sqrt{4\varpi \varpi^'}} \, .</math>

Hence — after acknowledging that, in cylindrical coordinates, the radius of each "infinitesimally thin ring" is, <math>~a = \varpi^'</math>, and the differential cross-section of each ring is, <math>~\delta A = \delta\varpi^' \delta z^'</math> — Deupree's expression for the (differential contribution to the) potential may be rewritten as,

<math>~\delta\Phi_B(\varpi,z)</math>

<math>~=</math>

<math>~- \frac{G (2\pi a \rho ~\delta A) }{\pi } \biggl[ \frac{k }{\sqrt{\varpi \varpi^'}} \biggr] K(k) </math>

 

<math>~=</math>

<math>~- \frac{2G (\delta M) }{\pi } \cdot \frac{K(k) }{ \sqrt{(\varpi + a)^2 + (z - z^')^2 }} \, , </math>

or it may be rewritten as,

<math>~\delta\Phi_B(\varpi,z)</math>

<math>~=</math>

<math>~- \frac{G (2\pi a \rho ~\delta A) }{\pi } \biggl[ \frac{k }{\sqrt{\varpi \varpi^'}} \biggr] K(k) </math>

 

<math>~=</math>

<math>~- \frac{2G }{\sqrt{\varpi}} \biggl[ \delta\varpi^' \delta z^' \rho(\varpi^', z^') \sqrt{\varpi^'} k K(k) \biggr] \, .</math>

Notice that the first of these two rewritten expressions aligns perfectly with our "key equation" that gives the gravitational potential of an axisymmetric torus in the thin ring (TR) approximation, namely,

LSU Key.png

<math>~\Phi_\mathrm{TR}(\varpi,z)</math>

<math>~=</math>

<math>~-\biggl[ \frac{2GM}{\pi } \biggr]\frac{K(k)}{\sqrt{(\varpi+a)^2 + z^2}}</math>

<math>\mathrm{where:}~~~k \equiv \{4\varpi a/[ (\varpi+a)^2 + z^2]\}^{1 / 2}</math>

FlatColorContoursCropped.png

(See our accompanying discussion for more information on the meridional-plane contour plot that is displayed to the right of this equation.) Next, referring back to the expression that was derived above for axisymmetric systems from a toroidal-function-based Green's function, namely,

<math>~ \Phi_B(\varpi,z)\biggr|_{2D}</math>

<math>~=</math>

<math>~ -\frac{2G}{\sqrt{\varpi}} \int\limits_{\varpi^'} \int\limits_{z^'} d\varpi^' dz^' \rho(\varpi^',z^') \sqrt{\varpi^'} \mu K(\mu) \, , </math>

H. S. Cohl & J. E. Tohline (1999), p. 89, Eqs. (31) & (32)

where,

<math>~\mu </math>

<math>~=</math>

<math>~ \biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2} \, , </math>

we see that the second of these rewritten expressions for Deupree's <math>~\delta\Phi_B</math> aligns perfectly with our derived expression for the differential contribution to the potential of any axisymmetric mass distribution. It is therefore fair to say that the expression that Deupree used to determine the gravitational potential along the boundary of his modeled configurations is derivable from a 3D Green's function that is written in terms of toroidal functions.

Cook (1977)

  3D     Cyl     Cyl  

Key results from T. L. Cook's (1977) doctoral dissertation — titled, Three-Dimensional Dynamics of Protostellar Evolution — were published as T. L. Cook & F. H. Harlow (1978, ApJ, 225, 1005 - 1020). Cook's three-dimensional hydrodynamic simulations were conducted on a cylindrical-coordinate mesh. While few details of the technique used to solve the Poisson equation are provided in the ApJ article, §II.B of Cook's (1977) dissertation explains that values of the gravitational potential across the interior regions of the mesh were obtained by solving the differential representation of the Poisson equation, subject to the boundary conditions at each boundary point, calculated by "performing a numerical integration over all mass points" using the integral representation of the Poisson equation, namely,

<math>~ \Phi_B(\varpi,\phi,z)</math>

<math>~=</math>

<math>~ -G \int \frac{1}{|\vec{x}^{~'} - \vec{x}|} ~\rho(\vec{x}^{~'}) d^3x^' \, , </math>

with,

<math>~\frac{1}{|\vec{x}^{~'} - \vec{x}|}</math>

<math>~=</math>

<math>~ \biggl[ \varpi^2 + (\varpi^')^2 - 2\varpi \varpi^' \cos|\phi - \phi^'| + (z - z^')^2 \biggr]^{- 1 / 2} \, . </math>

Cook (1977), p. 15, Eq. (II-16)
See also: Selvaggi, Salon & Chari (2007) §II, eq. (2)

(Note that the leading factor of the gravitational constant, <math>~G</math>, does not appear explicitly in Cook's equation II-16, although it should.) Presumably the coordinate locations of the boundary cells, <math>~(\varpi,\phi,z)</math>, were in no case coincident with the coordinate locations of any of the interior grid cells, <math>~(\varpi^',\phi^',z^')</math>, so there was no danger that the integration would encounter a singularity as a consequence of the distance, <math>~|\vec{x}^{~'} - \vec{x}|</math>, being zero.

Norman and Wilson (1978)

  3D     Cyl     Sph  

Following the discussion presented in §4.1 of Jackson (1975), it is sometimes useful to rewrite Form A of the boundary potential as,

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ -4\pi G \sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, , </math>

where we have introduced what is commonly referred to as the,

Multipole Moments of the Mass Distribution

<math>~q_{\ell m}</math>

<math>~\equiv</math>

<math>~ \int (r^')^\ell Y_{\ell m}^*(\theta^', \phi^') ~\rho(r^', \theta^', \phi^') d^3x^' \, . </math>

Jackson (1975), p. 137, Eq. (4.3)

When written explicitly in terms of cartesian coordinates — see Table 2, below, for each of the relevant <math>~Y_{\ell m}</math> expressions — the first few of these moments have the functional representations derived below. For the cases that correspond to positive values of the index, <math>~m</math>, the set of multipole moment expressions that have been included in our Table 3 summary exactly matches the set of expressions presented as equations (4.4), (4.5), and (4.6) in Jackson (1975). (Jackson's equation 4.7 explains how to map these expressions to the cases corresponding to negative values of the index, <math>~m</math>.)

Let's now look at various terms in the summed expression for the boundary potential with each term expressing the contribution for a separate value of the index, <math>~\ell</math>. Isolating the first three terms from all the rest, for example, we have,

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \Phi_B(r,\theta,\phi) \biggr|_{\ell=0} +~ \Phi_B(r,\theta,\phi)\biggr|_{\ell=1} + ~\Phi_B(r,\theta,\phi)\biggr|_{\ell=2} -~4\pi G \sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, . </math>

We recognize, first, that as we consider boundary points that lie farther and farther away from the mass distribution, the magnitude of the first <math>(\ell = 0)</math> term drops off as <math>~r^{-1}</math> — the expected behavior of the potential outside of a point mass; the second <math>~(\ell=1)</math> term drops off as <math>~r^{-3}</math>; and the third <math>~(\ell=2)</math> term drops off as <math>~r^{-5}</math>. Below, we have evaluated in more detail the behavior of these first three terms. This evaluation gives us the,

Boundary Potential Written in Terms of Multipole Moments

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ ~-~~\frac{GM}{r} ~~- ~~\frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr] ~~-~~\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] ~~-~~4\pi G \sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, , </math>

where, as defined below, <math>~\vec{x}_\mathrm{com}</math> is the center-of-mass location, and <math>~Q_{i,j} </math> is the traceless quadrupole moment tensor.

If a modeled mass-density distribution, <math>~\rho( \vec{x}^{~'})</math>, has been configured such that the center-of-mass of the system coincides with the origin of the coordinate system — that is, if it has been configured such that <math>~\vec{x}_\mathrm{com} = 0</math> — then the second term in this series can be set to zero. If, in addition, all terms having <math>~\ell \ge 3</math> are ignored because their values drop off rapidly with distance — specifically, inverse distance to the <math>~(2\ell + 1)</math> power — then a reasonably good approximation for the potential on the boundary of the modeled system is given by the expression,

<math>~ \Phi_B</math>

<math>~\approx</math>

<math>~ -\frac{GM}{r} ~-\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, . </math>

This is precisely the relation that was adopted by M. L. Norman & J. R. Wilson (1978, ApJ, 224, 497 - 511) when, in the context of star formation, they modeled the Fragmentation of Isothermal Rings — see specifically their equation (18).

Boss (1980)

  3D     Sph     Sph  

Building upon equations (5) and (7) from A. P. Boss (1980, ApJ, 236, 619 - 627) — see also Jackson's equation (3.58) — we can write,

<math>~\Phi(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \Phi_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, , </math>

and,

<math>~\rho(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \sum_{\ell=0}^\infty \sum_{m = -\ell}^{\ell} \rho_{\ell m} ( r ) Y_{\ell m}(\theta,\phi) \, , </math>

where the coefficients in the series expansion of <math>~\rho</math> can each be obtained from the known spatial density distribution via the integral expression,

<math>~\rho_{\ell m}(r)</math>

<math>~=</math>

<math>~ \int d\Omega Y_{\ell m}^*(\theta,\phi) \rho(r,\theta,\phi) \, , </math>

and the differential solid angle is,

<math>~d\Omega \equiv \sin\theta d\theta d\phi \, .</math>

Stahler (1983)

  2D     Tor  

Stahler (1983a) used a self-consistent-field technique to construct equilibrium sequences of rotationally flattened, isothermal gas clouds. At each iteration step, the method that he adopted to evaluate the gravitational potential along the outer boundary of his computational mesh was essentially the same as the method used by Deupree (1974) — see our above description — to model the time-dependent behavior of pulsating stars. It appears as though Stahler was unaware of Deupree's earlier development of this method to evaluate the boundary potential, as Deupree's (1974) paper is not among Stahler's list of references.

In describing Stahler's (1983a) method, we will first draw upon our "key equation" that gives the gravitational potential of an axisymmetric torus in the thin ring (TR) approximation, namely,

LSU Key.png

<math>~\Phi_\mathrm{TR}(\varpi,z)</math>

<math>~=</math>

<math>~-\biggl[ \frac{2GM}{\pi } \biggr]\frac{K(k)}{\sqrt{(\varpi+a)^2 + z^2}}</math>

<math>\mathrm{where:}~~~k \equiv \{4\varpi a/[ (\varpi+a)^2 + z^2]\}^{1 / 2}</math>

FlatColorContoursCropped.png

(See our accompanying discussion for more information on the meridional-plane contour plot that is displayed to the right of this equation.) Stahler has argued that a reasonably good approximation to the gravitational potential due to any extended axisymmetric mass distribution can be obtained by adding up the contributions due to many thin rings — <math>~\delta M(\varpi^', z^')</math> being the appropriate differential mass contributed by each ring element — positioned at various meridional coordinate locations throughout the mass distribution. According to his independent derivation, the differential contribution to the potential, <math>~\delta\Phi_g(\varpi, z)</math>, due to each differential mass element is (see his equation 11 and the explanatory text that follows it):

<math>~\delta\Phi_g(\varpi,z)</math>

<math>~=</math>

<math>~ - \biggl[\frac{2G}{\pi \varpi^'}\biggr] \frac{\delta M}{[(\alpha + 1)^2 + \beta^2]^{1 / 2}} \times K\biggl\{ \biggl[ \frac{4\alpha}{(\alpha+1)^2 + \beta^2} \biggr]^{1 / 2} \biggr\} </math>

 

<math>~=</math>

<math>~ - \biggl[\frac{2G}{\pi }\biggr] \frac{\delta M}{[(\varpi + \varpi^')^2 + (z^' - z)^2]^{1 / 2}} \times K\biggl\{ \biggl[ \frac{4\varpi^' \varpi}{(\varpi +\varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} \biggr\} \, . </math>

Stahler's expression for each thin ring contribution is clearly the same as our "key equation" expression for <math>~\Phi_\mathrm{TR}</math> if the individual ring being considered cuts through the meridional plane at <math>~(\varpi^', z^') = (a, 0)</math>.

In the context of our above discussion of a Green's function expression written in terms of toroidal functions, we have shown that the exact integral expression for the gravitational potential due to any axisymmetric mass-density distribution, <math>~\rho(\varpi^', z^')</math>, is,

<math>~\Phi(\varpi, z)</math>

<math>~=</math>

<math>~- \frac{2G}{\varpi^{1 / 2}} \int\int (\varpi^')^{1 / 2} \mu K(\mu) \rho(\varpi^', z^') d\varpi^' dz^' \, ,</math>

where,

<math>~\mu^2</math>

<math>~=</math>

<math>~ \biggl[\frac{4\varpi^' \varpi}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr] \, . </math>

Recognizing that, for axisymmetric structures, the differential mass element is, <math>~dM^' = 2\pi \rho(\varpi^', z^') \varpi^' d\varpi^' dz^'</math>, this integral expression may be rewritten as,

<math>~\Phi(\varpi, z)</math>

<math>~=</math>

<math>~- \frac{2G}{\varpi^{1 / 2}} \int\int (\varpi^')^{1 / 2} \mu K(\mu) \biggl[ \frac{dM^'}{2\pi \varpi^'} \biggr] </math>

 

<math>~=</math>

<math>~- \frac{G}{\pi} \int\int \biggl[ \frac{1}{\varpi^'\varpi}\biggr]^{1 / 2} \biggl[\frac{4\varpi^' \varpi}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} K(\mu) dM^' </math>

 

<math>~=</math>

<math>~- \frac{2G}{\pi} \int\int \biggl[\frac{1}{(\varpi + \varpi^')^2 + (z^' - z)^2} \biggr]^{1 / 2} K(\mu) dM^' \, .</math>

We see that our expression for the differential contribution to the potential exactly matches Stahler's (1983a). It is therefore fair to say that Stahler's expression for the gravitational potential is derivable from a 3D Green's function that is written in terms of toroidal functions. We note that, in his study of axisymmetric systems, Stahler made the decision to evaluate the gravitational potential both inside as well as outside of the mass distribution using the same integral expression.

Constructing Two-Dimensional, Axisymmetric Structures

As has been explained in an accompanying discussion, our objective is to solve an algebraic expression for hydrostatic balance,

<math>~H + \Phi + \Psi = C_0</math> ,

in conjunction with the Poisson equation in a form that is appropriate for two-dimensional, axisymmetric systems, namely,

<math>~ \frac{1}{\varpi} \frac{\partial }{\partial\varpi} \biggl[ \varpi \frac{\partial \Phi}{\partial\varpi} \biggr] + \frac{\partial^2 \Phi}{\partial z^2} = 4\pi G \rho . </math>

Steps to Follow

Annotation of
Figure 1 from I. Hachisu (1986)

HSCF Meridional Plane
One quadrant of a meridional-plane cross-section (pink) through: (a) spheroidal structure; (b) toroidal structure. A green, dashed rectangular grid boundary is also illustrated.
  1. Choose a particular barotropic equation of state.   More specifically, functionally define the density-enthalpy relationship, <math>~\rho(H)</math>, and identify what value, <math>~H_\mathrm{surface}</math>, the enthalpy will have at the surface of your configuration. For example, if a polytropic equation of state is adopted, <math>~H_\mathrm{surface} = 0</math> is a physically reasonable prescription.
  2. Choosing from, for example, a list of astrophysically relevant simple rotation profiles, specify the corresponding functional form of the centrifugal potential, <math>~\Psi(\varpi)</math>, that will define the radial distribution of specific angular momentum in your equilibrium configuration. If the choice is uniform rotation, then <math>~\Psi = - \varpi^2 \omega_0^2/2 \, ,</math> where <math>~\omega_0</math> is a constant to be determined.
  3. On your chosen computational lattice — for example, on a cylindrical-coordinate mesh — identify two boundary points, A and B, that will lie on the surface of your equilibrium configuration. These two points should remain fixed in space during the HSCF iteration cycle and ultimately will confine the volume and define the geometry of the derived equilibrium object. Note that, by definition, the enthalpy at these two points is, <math>~H_A = H_B = H_\mathrm{surface}</math>.
  4. Throughout the volume of your computational lattice, guess a trial distribution of the mass density, <math>~\rho(\varpi,z)</math>, such that no material falls outside a volume defined by the two boundary points, A and B, that were identified in Step #3. Usually an initially uniform density distribution will suffice to start the SCF iteration.
  5. Via some accurate numerical algorithm, solve the Poisson equation to determine the gravitational potential, <math>~\Phi(\varpi,z)</math>, throughout the computational lattice corresponding to the trial mass-density distribution that was specified in Step #4 (or in Step #9).
  6. From the gravitational potential determined in Step #5, identify the values of <math>~\Phi_A</math> and <math>~\Phi_B</math> at the two boundary points that were selected in Step #3.
  7. From the "known" values of the enthalpy (Step #3) and the gravitational potential (Step #6) at the two selected surface boundary points A and B, determine the values of the constants, <math>~C_0</math> and <math>~\omega_0</math>, that appear in the algebraic equation that defines hydrostatic equilibrium.
  8. From the most recently determined values of the gravitational potential, <math>~\Phi(\varpi,z)</math> (Step #5), and the values of the two constants, <math>~C_0</math> and <math>~\omega_0</math> just determined (Step #7), determine the enthalpy distribution throughout the computational lattice.
  9. From <math>~H(\varpi,z)</math> and the selected barotropic equation of state (Step #1), calculate an "improved guess" of the density distribution, <math>~\rho(\varpi,z)</math>, throughout the computational lattice.
  10. Has the model converged to a satisfactory equilibrium solution? (Usually a satisfactory solution has been achieved when the derived model parameters — for example, the values of <math>~C_0</math> and <math>~\omega_0</math> — change very little between successive iterations and the viral error is sufficiently small.)
    • If the answer is, "NO":   Repeat steps 5 through 10.
    • If the answer is, "YES":   Stop iteration.

Special Functions & Other Broadly Used Representations

Spherical Harmonics and Associated Legendre Functions

Table 2:
Green's Function in Terms of Associated Legendre Functions, <math>~P_\ell^m(\cos\theta)</math>,
and the Spherical Harmonics, <math>~Y_{\ell m}(\theta,\phi)</math>

<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'} |}</math>

<math>~=</math>

<math>~\sum_{\ell=0}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{4\pi}{2\ell+1} \biggl[ \frac{r_<^\ell}{r_>^{\ell+1}} \biggr] Y_{\ell m}^*(\theta^', \phi^') Y_{\ell m}(\theta,\phi)</math>

J. D. Jackson (1975, 2nd Edition), Eq. (3.70)
[BT87], p. 656, Eq. (1C-31)

Note:

<math>~Y_{\ell m}(\theta,\phi) = \biggl[ \frac{(2\ell + 1 )(\ell - m)!}{4\pi(\ell + m)!} \biggr]^{1 / 2} P_\ell^m(\cos\theta)e^{im\phi}</math>

Jackson (1975), Eq. (3.53)
DLMF §14.30i
[BT87], p. 655, Eq. (1C-27)

<math>~Y_{\ell,-m}(\theta,\phi) = (-1)^{m}Y_{\ell m}^*(\theta,\phi)</math>




<math>~P_{\ell}^m(x) = (-1)^m (1-x^2)^{m/2} ~ \frac{d^m}{dx^m} P_\ell(x)</math>

Jackson (1975), Eq. (3.49)
DLMF §14.6i
[BT87], p. 655, Eq. (1C-20)
[T78], p. 481, Eq. (C.5)




<math>~P_{\ell}(x) = \frac{1}{2^\ell \ell !} ~ \frac{d^\ell}{dx^\ell} (x^2 - 1)^\ell</math>

Jackson (1975), Eq. (3.16)
[BT87], p. 655, Eq. (1C-21)

Leading Legendre Functions

P. Moon & D. E. Spencer (1971), p. 205
Jackson (1975), Eq. (3.15)
DLMF §18.5iv
[BT87], p. 655, Eq. (1C-25)

<math>~P_0(x)</math>

<math>~=</math>

<math>~1</math>

<math>~P_1(x)</math>

<math>~=</math>

<math>~x</math>

<math>~P_2(x)</math>

<math>~=</math>

<math>~\tfrac{1}{2}(3x^2 - 1)</math>

<math>~P_3(x)</math>

<math>~=</math>

<math>~\tfrac{1}{2}(5x^3 - 3x)</math>

<math>~P_4(x)</math>

<math>~=</math>

<math>~\tfrac{1}{8}(35x^4 - 30x^2 + 3)</math>

<math>~P_5(x)</math>

<math>~=</math>

<math>~\tfrac{1}{8}(63x^5 - 70x^3 + 15x)</math>

<math>~P_6(x)</math>

<math>~=</math>

<math>~\tfrac{1}{16}(231x^6 - 315x^4 + 105x^2 - 5)</math>

Leading Spherical Harmonics

Jackson (1975), §3.5
[BT87], p. 656, Eq. (1C-33)
[T78], p. 482, Eqs. (C.7) - (C.16)

<math>~Y_{00} </math>

<math>~=</math>

<math>~\frac{1}{\sqrt{4\pi}}</math>

<math>~Y_{1,\pm 1} </math>

<math>~=</math>

<math>~\mp \sqrt{\frac{3}{8\pi}} ~\sin\theta ~e^{\pm i\phi}</math>

<math>~Y_{10} </math>

<math>~=</math>

<math>~\sqrt{\frac{3}{4\pi}} ~\cos\theta </math>

<math>~Y_{2,\pm 2} </math>

<math>~=</math>

<math>~\frac{1}{4} \sqrt{\frac{15}{2\pi}} ~\sin^2\theta ~e^{\pm 2i\phi}</math>

<math>~Y_{2, \pm 1} </math>

<math>~=</math>

<math>~\mp \sqrt{\frac{15}{8\pi}} ~\sin\theta \cos\theta ~e^{\pm i\phi}</math>

<math>~Y_{20} </math>

<math>~=</math>

<math>~\sqrt{\frac{5}{4\pi}} ~(\tfrac{3}{2}\cos^2\theta - \tfrac{1}{2})</math>

<math>~Y_{3,\pm 3} </math>

<math>~=</math>

<math>~\mp \frac{1}{4} \sqrt{\frac{35}{4\pi}} ~\sin^3\theta ~e^{\pm 3i\phi}</math>

<math>~Y_{3, \pm 2} </math>

<math>~=</math>

<math>~\frac{1}{4}\sqrt{\frac{105}{2\pi}} ~\sin^2\theta \cos\theta ~e^{\pm 2i\phi}</math>

<math>~Y_{3, \pm 1} </math>

<math>~=</math>

<math>~\mp \frac{1}{4}\sqrt{\frac{21}{4\pi}} ~\sin\theta (5\cos^2\theta - 1) ~e^{\pm i\phi}</math>

<math>~Y_{30} </math>

<math>~=</math>

<math>~\sqrt{\frac{7}{4\pi}} ~(\tfrac{5}{2}\cos^3\theta - \tfrac{3}{2}\cos\theta) </math>



Note that, for all cases where <math>~m=0</math> :

<math>~Y_{\ell 0}(\theta,\phi) = \sqrt{\frac{(2\ell + 1 )}{4\pi} } ~P_\ell(\cos\theta)</math>

Jackson (1975), Eq. (3.57)

Multipole Expansions

Mass Multipole Moments

As an extension of the above discussion of

Multipole Moments of the Mass Distribution

<math>~q_{\ell m}</math>

<math>~\equiv</math>

<math>~ \int (r^')^\ell Y_{\ell m}^*(\theta^', \phi^') ~\rho(r^', \theta^', \phi^') d^3x^' \, , </math>

Jackson (1975), p. 137, Eq. (4.3)

here we evaluate a set of the leading order mass-multipole moments in terms of their cartesian-coordinate representations.

<math>~q_{00}</math>

<math>~=</math>

<math>~\frac{1}{\sqrt{4\pi}} \int \rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{11}</math>

<math>~=</math>

<math>~ \int r^' \biggl[ Y_{11}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - ~\int r^' \biggl[ \sqrt{\frac{3}{8\pi}}\sin\theta ~\biggl(\cos\phi^' - i\sin\phi^' \biggr) \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - \sqrt{\frac{3}{8\pi}}~\int r^' \biggl[ \frac{\sqrt{(x^')^2+(y^')^2}}{r^'} ~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr] ~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - \sqrt{\frac{3}{8\pi}}~\int (x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{1,- 1}</math>

<math>~=</math>

<math>~ + \sqrt{\frac{3}{8\pi}}~\int (x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{10}</math>

<math>~=</math>

<math>~ \int r^' \biggl[ Y_{10}^* \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ \int r^' \biggl[ \sqrt{\frac{3}{4\pi}}~\cos\theta^' \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ \sqrt{\frac{3}{4\pi}} \int z^' \rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{22}</math>

<math>~=</math>

<math>~ \int (r^')^2 \biggl[ Y_{22}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ \int (r^')^2 \biggl\{ \frac{1}{4}\sqrt{\frac{15}{2\pi}} ~\sin^2\theta^' ~\biggl[\cos(2\phi^') - i\sin(2\phi^')\biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (r^')^2 \biggl\{ \frac{(x^')^2+(y^')^2}{(r^')^2} ~\biggl[\frac{ (x^')^2 - (y^')^2 - 2i ( x^' y^' )}{(x^')^2+(y^')^2} \biggr] \biggr\}~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{2,-2}</math>

<math>~=</math>

<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{21}</math>

<math>~=</math>

<math>~ \int (r^')^2 \biggl[ Y_{21}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - \sqrt{\frac{15}{8\pi}} \int (r^')^2 \biggl[ \sin\theta^' \cos\theta^' (\cos\phi^' -i\sin\phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - \sqrt{\frac{15}{8\pi}} \int (r^')^2 \biggl[ \frac{z^' \sqrt{(x^')^2+(y^')^2}}{(r^')^2} ~\biggl(\frac{x^'}{\sqrt{(x^')^2+(y^')^2}} - \frac{iy^'}{\sqrt{(x^')^2+(y^')^2}} \biggr)\biggr] ~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ - \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{2,-1}</math>

<math>~=</math>

<math>~ + \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \, ; </math>

<math>~q_{20}</math>

<math>~=</math>

<math>~ \int (r^')^2 \biggl[ Y_{20}^*(\theta^', \phi^') \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~ \int (r^')^2 \biggl[ \sqrt{\frac{5}{16\pi}} (3\cos^2\theta^' - 1) \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

 

<math>~=</math>

<math>~\sqrt{\frac{5}{16\pi}} \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \, . </math>


Table 3:   Summary of Cartesian Expressions for Leading Mass-Multipole Moments

<math>~q_{0, 0}</math>

<math>~=</math>

<math>~\frac{1}{\sqrt{4\pi}} \int \rho(\vec{x}^{~'}) d^3x^' </math>

<math>~q_{1,\pm 1}</math>

<math>~=</math>

<math>~ \mp \sqrt{\frac{3}{8\pi}}~\int (x^' \mp iy^') ~\rho(\vec{x}^{~'}) d^3x^' </math>

<math>~q_{1,0}</math>

<math>~=</math>

<math>~ \sqrt{\frac{3}{4\pi}} \int z^' \rho(\vec{x}^{~'}) d^3x^' </math>

<math>~q_{2,\pm 2}</math>

<math>~=</math>

<math>~\frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (x^' \mp iy^')^2~\rho(\vec{x}^{~'}) d^3x^' </math>

<math>~q_{2,\pm 1}</math>

<math>~=</math>

<math>~ \mp \sqrt{\frac{15}{8\pi}} \int z^'(x^' \mp iy^') ~\rho(\vec{x}^{~'}) d^3x^' </math>

<math>~q_{2,0}</math>

<math>~=</math>

<math>~\sqrt{\frac{5}{16\pi}} \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' </math>

Contributions to the Gravitational Potential in Terms of Multipole Moments

Expanding on the above discussion of the gravitational potential, written as a series expansion in terms of mass-multipole moments and spherical harmonics,

<math>~ \Phi_B(r,\theta,\phi)</math>

<math>~=</math>

<math>~ \Phi_B(r,\theta,\phi) \biggr|_{\ell=0} +~ \Phi_B(r,\theta,\phi)\biggr|_{\ell=1} + ~\Phi_B(r,\theta,\phi)\biggr|_{\ell=2} -~4\pi G \sum_{\ell=3}^{\infty} \sum_{m=-\ell}^{+\ell} \frac{q_{\ell m}}{r^{\ell+1}} \frac{Y_{\ell m}(\theta,\phi)}{(2\ell+1)} \, , </math>

here we evaluate the first three, leading order terms.

First Term

First (term with <math>~\ell = 0</math>):

<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 0}</math>

<math>~=</math>

<math>~ -4\pi G \biggl[ q_{00} \biggr] \frac{ Y_{00}(\theta,\phi)}{r} </math>

 

<math>~=</math>

<math>~ -4\pi G \biggl[ \frac{1}{\sqrt{4\pi}} \int \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{\sqrt{4\pi}~r} </math>

 

<math>~=</math>

<math>~ -\frac{GM}{r} \, . </math>

Second Term

Second (terms with <math>~\ell = 1</math>):

<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 1}</math>

<math>~=</math>

<math>~ -\frac{4\pi G}{3} \sum_{m=-1}^{+1} \biggl[ q_{1 m}\biggr] \frac{Y_{1 m}(\theta,\phi)}{r^2} </math>

 

<math>~=</math>

<math>~ -\frac{4\pi G}{3r^2} \biggl\{ \biggl[ q_{1,- 1}\biggr] Y_{1, -1}(\theta,\phi) + \biggl[ q_{1 0}\biggr] Y_{1 0}(\theta,\phi) + \biggl[ q_{1 1}\biggr] Y_{1 1}(\theta,\phi) \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{4\pi G}{3r^2} \biggl\{ \biggl[ + \frac{3}{8\pi}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x - iy) }{r} </math>

 

 

<math>~ + \biggl[ \frac{3}{4\pi} \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{z}{r} + \biggl[ \frac{3}{8\pi}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{(x + iy) }{r} \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{r^3} \biggl\{ \biggl[ \frac{1}{2}~\int (x^' + iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x - iy) </math>

 

 

<math>~ + \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z + \biggl[ \frac{1}{2}~\int (x^' - iy^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x + iy) \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{r^3} \biggl\{ \biggl[ \int (x^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (x ) + \biggl[ \int (y^')~\rho(\vec{x}^{~'}) d^3x^' \biggr] (y ) + \biggl[ \int z^' \rho(\vec{x}^{~'}) d^3x^' \biggr] z \biggr\} </math>

<math>~</math>

<math>~=</math>

<math>~- \frac{GM}{r^3} \biggl[ \vec{x} \cdot \vec{x}_\mathrm{com} \biggr]</math>

where:

 

<math>~ \vec{x}_\mathrm{com} \equiv \frac{1}{M} \int ~\vec{x}^{~'} \rho(\vec{x}^{~'}) d^3x^'\, . </math>

Third Term

Third (terms with <math>~\ell = 2</math>):

<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>

<math>~=</math>

<math>~ -\frac{4\pi G}{5r^3} \biggl\{ \biggl[ q_{2, -2} \biggr] Y_{2,-2} + \biggl[ q_{2, 2} \biggr] Y_{2,2} + \biggl[ q_{2,-1} \biggr] Y_{2, -1} + \biggl[ q_{2,1} \biggr] Y_{2, 1} + \biggl[ q_{20} \biggr] Y_{20} \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{4\pi G}{5r^3} \biggl\{ \biggl[ \frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}} \sin^2\theta e^{-2i\phi} + \biggl[\frac{1}{4}\sqrt{\frac{15}{2\pi}} \int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \frac{1}{4}\sqrt{\frac{15}{2\pi}} \sin^2\theta e^{2i\phi} </math>

 

 

<math>~ + \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{-i\phi} + \biggl[ \sqrt{\frac{15}{8\pi}} \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{15}{8\pi}} \sin\theta \cos\theta e^{i\phi} </math>

 

 

<math>~ + \biggl[ \sqrt{\frac{5}{16\pi}} \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \sqrt{\frac{5}{16\pi}} (3\cos^2\theta - 1) \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{4\pi G}{5r^3} \biggl\{ \frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2 \biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) - i\sin(2\phi) \biggr] + \frac{3\cdot 5}{2^5 \pi} \biggl(\frac{\varpi}{r}\biggr)^2 \biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos(2\phi) + i\sin(2\phi) \biggr] </math>

 

 

<math>~ + \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[\int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos\phi - i\sin\phi \biggr] + \frac{3\cdot 5}{2^3\pi} \biggl( \frac{\varpi z}{r^2} \biggr) \biggl[ \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ \cos\phi + i\sin\phi \biggr] </math>

 

 

<math>~ + \frac{5}{2^4\pi} \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl( \frac{3z^2 - r^2}{r^2} \biggr) \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{4G}{r^5} \biggl\{ \frac{3}{2^5 } \biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 - 2i xy\biggr] + \frac{3}{2^5 } \biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[ x^2 - y^2 + 2i xy \biggr] </math>

 

 

<math>~ + \frac{3z}{2^3} \biggl[\int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[x - i y \biggr] + \frac{3z}{2^3} \biggl[ \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggl[x + i y \biggr] </math>

 

 

<math>~ + \biggl( \frac{3z^2 - r^2}{2^4} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ \frac{3( x^2 - y^2 )}{2^2 } \biggl[ \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' + \int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] + \frac{3i xy}{2 } \biggl[\int (x^' -iy^')^2~\rho(\vec{x}^{~'}) d^3x^' - \int (x^' + iy^')^2~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + 3xz \biggl[\int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' + \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^'\biggr] + 3i yz\biggl[ \int z^'(x^' - iy^') ~\rho(\vec{x}^{~'}) d^3x^' - \int z^'(x^' + iy^') ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ \frac{3( x^2 - y^2 )}{2^2 } \biggl[ \int [2(x^')^2 - 2(y^')^2]~\rho(\vec{x}^{~'}) d^3x^' \biggr] + \frac{3i xy}{2 } \biggl[\int -4i x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + 3xz \biggl[\int 2x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 3i yz\biggl[ \int -2iy^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ \frac{3( x^2 - y^2 )}{2} \biggl[ \int [(x^')^2 - (y^')^2]~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 6 xy \biggl[\int x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + 6xz \biggl[\int x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 6yz\biggl[ \int y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} \, . </math>

Rearranging terms, we have,

<math>~ \Phi_B(r,\theta,\phi)\biggr|_{\ell = 2}</math>

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{3( x^2 - y^2 )}{2} \biggl[ \int [(x^')^2 - (y^')^2]~\rho(\vec{x}^{~'}) d^3x^' \biggr] + \biggl( \frac{3z^2 - r^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{3( x^2 )}{2} \biggl[ \int [(x^')^2 - (y^')^2]~\rho(\vec{x}^{~'}) d^3x^' \biggr] - \biggl( \frac{x^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ -\frac{3( y^2 )}{2} \biggl[ \int [(x^')^2 - (y^')^2]~\rho(\vec{x}^{~'}) d^3x^' \biggr] - \biggl( \frac{y^2}{2} \biggr) \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + z^2 \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + z^2 \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{( x^2 )}{2} \biggl[ \int [3(x^')^2 - 3(y^')^2-3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{( y^2 )}{2} \biggl[ \int [3(x^')^2 - 3(y^')^2 -3(z^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + z^2 \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{( x^2 )}{2} \biggl[ \int [3(x^')^2 - 3(y^')^2-3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{( y^2 )}{2} \biggl[ \int [-3(x^')^2 + 3(y^')^2 -3(z^')^2 + 3(r^')^2 - 3(r^')^2 + (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + z^2 \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] +\frac{( x^2 )}{2} \biggl[ \int [6(x^')^2 - 2(r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ +\frac{( y^2 )}{2} \biggl[ \int [6(y^')^2 - 2(r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \biggl\{ 2 xy \biggl[\int 3x^' y^'~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2xz \biggl[\int 3x^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] + 2yz\biggl[ \int 3y^' z^' ~\rho(\vec{x}^{~'}) d^3x^' \biggr] </math>

 

 

<math>~ + x^2 \biggl[ \int [3(x^')^2 - (r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] + y^2 \biggl[ \int [3(y^')^2 - 2(r^')^2 ]~\rho(\vec{x}^{~'}) d^3x^' \biggr] + z^2 \biggl[ \int \biggl[ 3(z^')^2 - (r^')^2 \biggr]~\rho(\vec{x}^{~'}) d^3x^' \biggr] \biggr\} </math>

 

<math>~=</math>

<math>~ -\frac{G}{2r^5} \sum_{i=1}^3 \sum_{j=1}^3 Q_{i,j} \biggl[ x_i x_j \biggr] \, , </math>

where, following Jackson (1975), we have introduced the,

Traceless Quadrupole Moment Tensor

<math>~Q_{i,j}</math>

<math>~\equiv</math>

<math>~ \int [ 3(x_i^') (x_j^') - (r^')^2 \delta_{ij} ] \rho(\vec{x}^{~'}) d^3x^' \, . </math>

Jackson (1975), p. 138, Eq. (4.9)
M. L. Norman & J. R. Wilson (1978), p. 501, Eq. (19)

Familiar Expression for the Cylindrical Green's Function Expansion

Table 4:  Cylindrical-Coordinate Green's Function Expansion

<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>

<math>~=</math>

<math>~ \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')} \int_0^\infty dk ~J_m(k\varpi) ~J_m(k\varpi^') e^{-k(z_> - z_<)} </math>

where <math>~J_m</math> is an order <math>~m</math> Bessel function of the first kind.

Jackson (1975), exercise [3.14]
H. S. Cohl & J. E. Tohline (1999), p. 88, Eq. (3)

Toroidal Functions

Table 5:  Green's Function in Terms of
Zero Order, Half-(Odd)Integer Degree, Associated Legendre Functions of the Second Kind, <math>~Q^0_{m-1 / 2}(\chi)</math>
(also referred to as Toroidal Functions)

<math>~ \frac{1}{|\vec{x} - \vec{x}^{~'}|}</math>

<math>~=</math>

<math>~ \frac{1}{\pi \sqrt{\varpi \varpi^'}} \sum_{m=-\infty}^{\infty} e^{im(\phi - \phi^')}Q_{m- 1 / 2}(\chi) </math>

where:

<math>~\chi \equiv \frac{\varpi^2 + (\varpi^')^2 + (z - z^')^2}{2\varpi \varpi^'}</math>

H. S. Cohl & J. E. Tohline (1999), p. 88, Eqs. (15) & (16)
See also the DLMF's definition of Toroidal Functions, <math>~Q_{m - 1 / 2}^{0}</math>

Note that, according to, for example, equation (8.731.5) of Gradshteyn & Ryzhik (1994),

<math>~Q^0_{-m - 1 / 2}(\chi) = Q^0_{m- 1 / 2}(\chi) \, .</math>

Hence, the Green's function can straightforwardly be rewritten in terms of a simpler summation over just non-negative values of the index, <math>~m</math>.

Referencing equations (8.13.3) and (8.13.7), respectively, of Abramowitz & Stegun (1965), we see that for the smallest two values of the non-negative index, <math>~m</math>, the function, <math>~Q_{m- 1 / 2}(\chi)</math>, can be rewritten in terms of, the more familiar, complete elliptic integrals of the first and second kind. Specifically,

for <math>~m = 0</math>,

<math>~Q_{m- 1 / 2}(\chi) ~\rightarrow~ Q_{-1 / 2}</math>

<math>~=</math>

<math>~ \mu K(\mu) \, , </math>

and, for <math>~m = 1</math>,

<math>~Q_{m- 1 / 2}(\chi) ~\rightarrow~ Q_{+ 1 / 2}</math>

<math>~=</math>

<math>~ \chi \mu K(\mu) - (1+\chi)\mu E(\mu) \, , </math>

where,

<math>~\mu \equiv \biggl[ \frac{2}{1+\chi} \biggr]^{1 / 2}</math>

<math>~=</math>

<math>~ \biggl[ \frac{4\varpi \varpi^'}{(\varpi + \varpi^')^2 + (z - z^')^2} \biggr]^{1 / 2} \, . </math>


Excerpt from p. 337 of M. Abramowitz & I. A. Stegun (1995)

Abramowitz & Stegun (1965)

Finally, equation (8.5.3) from Abramowitz & Stegun (1965) or equation (8.832.4) of Gradshteyn & Ryzhik (1994) — also see equation (2) of Gil, Segura & Temme (2000) — provide the recurrence relation for all other values of the index, <math>~m</math>. Specifically, for all <math>~m \ge 2</math>,

<math>~Q_{m - 1 / 2}(\chi) = 4\biggl[\frac{m-1}{2m-1}\biggr] \chi Q_{m- 3 / 2}(\chi) - \biggl[ \frac{2m-3}{2m-1}\biggr] Q_{m- 5 / 2}(\chi) \, .</math>


Guatschi (1965, Communications of the ACM, 8, 488 - 492)

Related Discussions

Toroidal Functions

Note that, in this Guatschi (1965) article, a description of the "procedure toroidal" begins on p. 490, near the bottom of the right-hand column.

Reviews

Solution Methods

Early Eriguchi Applications

Other Example Applications

Henyey Technique for Nonrotating Stars


Whitworth's (1981) Isothermal Free-Energy Surface

© 2014 - 2021 by Joel E. Tohline
|   H_Book Home   |   YouTube   |
Appendices: | Equations | Variables | References | Ramblings | Images | myphys.lsu | ADS |
Recommended citation:   Tohline, Joel E. (2021), The Structure, Stability, & Dynamics of Self-Gravitating Fluids, a (MediaWiki-based) Vistrails.org publication, https://www.vistrails.org/index.php/User:Tohline/citation