wiki:u/erica/CylindricalGravity

Version 6 (modified by Erica Kaminski, 10 years ago) ( diff )

Self Gravity in astrobear

The governing equation is Poisson's equation for gravity, which for a given mass distribution can be solved for the gravitational potential. In astrobear, we use the potential to solve for the gravitational forces in the fluid. The equation we use for the resultant force is either in conservative or non-conservative form (want to read more into the numerical methods here and link to these pages).

Laplace Operator

In cartesian coordinates, the Laplacian contains only simple derivatives, i.e. does not contain any functions of position as it does in cylindrical or spherical coordinates:

in Cartesian coordinates (x,y,z):

in Cylindrical coordinates :

in Spherical :

and in 2.5 d:

Poisson Equation takes on a simple discretization form in Cartesian coordinates since the Laplacian contains only simple derivatives.

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.