Changes between Version 16 and Version 17 of SelfGravityDevel


Ignore:
Timestamp:
03/05/12 15:21:02 (13 years ago)
Author:
Baowei Liu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • SelfGravityDevel

    v16 v17  
    3434\end{equation}
    3535}}}
    36 Use spherical coordinates, the Poisson equation for the density distribution [[latex(\ref{eq:uniDensity})]] can be written as
     36Use spherical coordinates, the Poisson equation for the density distribution Equation (1) can be written as
    3737
    3838{{{
     
    4646{{{
    4747#!latex
    48 \begin{equation}\label{eq:poissonSphCoord1}
     48\begin{equation}\label{eq:poissonSphCoord1}\tag{3}
    4949\frac{\partial ^{2}\phi }{\partial r^{2}}+\frac{2}{r}\frac{\partial\phi}{\partial r}=4\pi G\rho
    5050\end{equation}
    5151
    5252}}}
     53
     54Solving Equation (3) with the density Equation (2), we obtain the solution for the potential for the uniform density sphere:
     55{{{
     56#!latex
     57\begin{equation}\label{eq:solUniSphere}\tag{4}
     58\phi(r)=\begin{cases} -\frac{4\pi}{3} G\rho \frac{R^{3}}{r} & r>R\\
     59         -\frac{2\pi G\rho}{3}\left[R^{2}-r^{2}\right]-\frac{4\pi}{3}G\rho R^{2} &r\ge R
     60        \end{cases}
     61\end{equation}
     62}}}
     63
    5364== Implementation ==
    5465