Changes between Version 16 and Version 17 of SelfGravityDevel
- Timestamp:
- 03/05/12 15:21:02 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SelfGravityDevel
v16 v17 34 34 \end{equation} 35 35 }}} 36 Use spherical coordinates, the Poisson equation for the density distribution [[latex(\ref{eq:uniDensity})]]can be written as36 Use spherical coordinates, the Poisson equation for the density distribution Equation (1) can be written as 37 37 38 38 {{{ … … 46 46 {{{ 47 47 #!latex 48 \begin{equation}\label{eq:poissonSphCoord1} 48 \begin{equation}\label{eq:poissonSphCoord1}\tag{3} 49 49 \frac{\partial ^{2}\phi }{\partial r^{2}}+\frac{2}{r}\frac{\partial\phi}{\partial r}=4\pi G\rho 50 50 \end{equation} 51 51 52 52 }}} 53 54 Solving 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 53 64 == Implementation == 54 65