Institute for Physics and Astronomy, University of Potsdam
January 23, 2024
SPH kernel function (DOI).
\[ \vec{a}_{visc} = \sum_j m_j \frac{4\nu}{(\rho_i + \rho_j)} \frac{\vec{r}_{i,j} \cdot \nabla_i W_{i,j}}{(|\vec{r}_{i,j}|^2 + \eta h^2)} \vec{u}_{i,j} \] is the acceleration due to viscous forces
\(\vec{r}_{i,j} = \vec{x}_i - \vec{x}_j\)
and \(\vec{a}_{body}\) is the acceleration due to external force.
Particle positions are obtained by \[ \frac{d\vec{x}_i}{dt} = \vec{u}_i \]
Some boundary conditions should be considered.
Typically, predictor-corrector scheme is used:
CFL condition must be fulfilled \[ \Delta t < \frac{\Delta x}{c}. \]
Implicit schemes are not usual.
Octree algorithm DOI.
Linked list (DOI)
Hopkins 2015 – Traditional SPH (TSPH), Modern SPH (PSPH), Mesh-less Finite Mass (MSM), and Mesh-less Finite Volume (MFV).
Nakajima and Stevenson (2015) (a) standard: a Mars-sized impactor hits the proto-Earth, (b) fast-spinning Earth: a small impactor hits a rapidly rotating proto-Earth, and (c) sub-Earths: two half Earth-sized planets collide.
Download the code
Run the code
Tasks: