The Gravity unit supplied with FLASH4 computes gravitational source
terms for the code.
These source terms can take the form of the gravitational potential
or the gravitational acceleration
,
 |
(20.1) |
The gravitational field can be externally imposed or self-consistently
computed from the gas density via the Poisson equation,
 |
(20.2) |
where
is Newton's gravitational constant.
In the latter case, either periodic or isolated boundary conditions can
be applied.