Skip to content
Snippets Groups Projects

Smoothing lengths for sinks

Merged Jonathan Davies requested to merge sink_hsml into master
Compare and
57 files
+ 3794
302
Compare changes
  • Side-by-side
  • Inline
Files
57
@@ -5,6 +5,25 @@
Basic model (others)
====================
Sinks: Simple Bondi-Hoyle accretion
~~~~~~~~~~~~~~~~~~~~~~~~
The ``Basic`` sink model provides a foundation on which new sink implementations could be built. It includes a prescription for Bondi-Hoyle gas accretion, and a method for sink-sink mergers that is a slightly simplified version of the implementation used in GEAR.
No other physics is implemented for this model. Sinks cannot form - to use this model, sink particles must already be present in the initial conditions. They also cannot spawn stars from the gas they accrete.
Bondi-Hoyle accretion can be done in one of two ways:
* Gas particles within the sink's kernel are stochastically swallowed entirely, with a probability set by the Bondi-Hoyle rate. Specifically, the probability is set by the current difference between the sink's subgrid mass (determined by the accretion rate) and its dynamical mass (which tracks the number of particles/sinks actually swallowed). This mode is equivalent to the EAGLE black hole accretion model.
* Gas particles within the sink's kernel are "nibbled" down to some minimal mass, which can be specified by the user. This method is equivalent to the black hole accretion model of Bahe et al. 2022.
This model has only two parameters that must be specified in your parameter ``yml`` file:
* ``BasicSink:use_nibbling``: determines whether accretion is done by "nibbling" or by swallowing outright.
* ``BasicSink:min_gas_mass_for_nibbling_Msun``: if using "nibbling", the minimum mass to which gas particles can be nibbled. A good default is half the original particle mass.
For an even more bare-bones starting point, the ``Default`` sink model contains no physics at all, and is a totally blank canvas on which to build your sink model.
Cooling: Analytic models
~~~~~~~~~~~~~~~~~~~~~~~~
Loading