Changes between Version 6 and Version 7 of u/erica/CylindricalGravity
- Timestamp:
- 08/18/14 14:13:52 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/CylindricalGravity
v6 v7 16 16 [[latex($\nabla^2 = \frac{1}{\rho} \frac{\partial}{\partial \rho}(\rho \frac{\partial f}{\partial \rho}) + \frac{1}{\rho ^2}\frac{\partial^2 f }{\partial \phi^2} + \frac{\partial^2f}{\partial z^2} $)]] 17 17 18 '''in Spherical [[latex($(r, \theta, \phi)$)]] :'''18 '''in Spherical [[latex($(r, \theta, \phi)$)]] coordinates:''' 19 19 20 20 [[latex($\nabla^2 = \frac{1}{r ^2} \frac{\partial}{\partial r}(r^2 \frac{\partial f}{\partial r}) + \frac{1}{r ^2 \sin \theta}\frac{\partial}{\partial \theta}(\sin \theta \frac{\partial f}{\partial \theta}) + \frac{1}{r^2 \sin^2 \theta} \frac{\partial^2 f}{\partial \phi ^2}$)]] 21 21 22 '''and in 2.5 d:''' 22 Currently astrobear is configured for gravity in Cartesian coordinates. I will be modifying the code so that it can solve for gravity in 2.5D (aka cylindrical, axisymmetric symmetry) and 1D spherical geometry (aka spherical coordinates with polar and azimuthal symmetry). With these symmetries, the Laplacian becomes: 23 23 24 '''in 2.5 d:''' 25 26 27 '''in 1d, spherical:''' 24 28 25 29