Sink particles#
The block named &SINK_PARAMS contains the parameters related to the sink particle implementation, which can be used for
star formation (most recently Bleuler & Teyssier 2015)
supermassive black hole evolution and AGN feedback (most recently Biernacki, Teyssier and Bleuler 2017)
Overview of parameters#
Variable name |
Fortran type |
Default value |
Description |
|---|---|---|---|
|
|
|
Controls if sink behaves as a star or SMBH |
|
|
|
Controls if SMBH sink produces feedback |
|
|
|
Specifies if sinks are formed with clump finder |
|
|
|
when flagging clumps for sink formation, check whether their gravitational energy is dominant |
|
|
|
Maximum number of sinks allowed to form |
|
|
|
Mass in Msun above which sinks are treated with direct N-body solver |
|
|
|
Radius of cloud region in unit of grid spacing |
|
|
|
Radius of massive cloud region in unit of grid spacing |
|
|
|
Gravitational softening length in dx at levelmax for “direct force” sinks |
|
|
|
Sink (as a star) formation density threshold in H/cc |
|
|
|
Sink (as a star) formation density threshold in g/cc |
|
|
|
Sink (as a star) formation density threshold in code units |
|
|
|
Trims the clump (for sinks as stars only) |
|
|
|
Dynamical mass of sink seed in Msun |
|
|
|
Accretion mass of sink seed in Msun, if 0, then dynamical and accretion masses are equivalent |
|
|
|
Mass of a halo in which AGN sinks are seeded |
|
|
|
Mass of a clump in which AGN sinks are seeded |
|
|
|
Accretion scheme: none, bondi, threshold |
|
|
|
Controls if accretion rate should be limited by Eddington rate |
|
|
|
Value of boost factor in Bondi velocity (-1 to depend on density) |
|
|
|
Threshold density for boosting, typically the same as n_star; in H/cc |
|
|
|
Excludes relative velocity between gas and sink from the accretion calculations |
|
|
|
Mass above which the check for two sinks’ binding energy is applied, in Msun |
|
|
|
Time during which sinks are considered for merging (non-SMBH only) |
|
|
|
Controls verbosity of AGN in the log file |
|
|
|
Controls the AGN feedback switching |
|
|
|
Controls what fraction of energy goes into thermal feedback |
|
|
|
Minimum temperature to which AGN blast should heat the gas in K |
|
|
|
Temperature of AGN blasts in K - feedback efficiency |
|
|
|
Controls what fraction of energy goes into kinetic feedback |
|
|
|
Kinetic feedback coupling efficiency |
|
|
|
Kinetic feedback mass loading |
|
|
|
Opening angle of the cone through which momentum feedback proceeds |
|
|
|
Allow sinks to form on a level that is lower than what is set by nlevelmax. This is useful in zoom simulations where nlevelmax is set to a high value but in the first phase refinement is limited to only a few levels. nlevelmax_sink should be set to the maximum allowed refinement level. |
|
|
|
Useful when there is a large number of sinks (>1000) with a large number of cores. When true: optimizes the creation of cloud particles. |
Example set of parameters for cosmological simulations with AGN feedback#
The example listed below by no means can fit everyone’s needs, but can serve as a minimum starting example.
#!fortran
&SINK_PARAMS
! General switches
smbh=.true. ! turns sinks into SMBH
agn=.true. ! enables AGN feedback
create_sinks=.true. ! enables formation of new sink particles
mass_sink_direct_force=1.0 ! minimum mass of sink to treat it with direct solver, in M_sun
! Seeding masses
mass_sink_seed=1.0d6 ! dynamical mass of sink particle
mass_smbh_seed=1.0d6 ! accretion mass of sink particle
mass_halo_AGN=5.d10 ! minimum mass of PHEW halo in which a sink is seeded
mass_clump_AGN=1.d9 ! minimum mass of PHEW clump in which a sink is seeded
! Accretion
accretion_scheme='bondi' ! selects Bondi accretion as accretion mode
eddington_limit=.true. ! enables Eddington limit on accretion
acc_sink_boost=-1 ! boosts accretion according to Booth&Schaye 2009
boost_threshold_density=0.1 ! threshold density for boosting, typically the same as n_star; in H/cc
bondi_use_vrel=.false. ! excludes relative velocity between gas and sink from the accretion calculations
! Merging
mass_merger_vel_check=1e8 ! sum of sinks' masses for which velocities are checked upon merging to determine if the system is bound
! Feedback
T2_min=0 ! if feedback can heat the gas to this temperature then deposit it; here deposits at every fine step
T2_AGN=0.15d12 ! thermal feedback efficiency
AGN_fbk_frac_ener=1.0 ! controls what fraction of energy goes into thermal feedback, here 100%
AGN_fbk_frac_mom=0.0 ! controls what fraction of energy goes into momentum feedback, here 0%
AGN_fbk_mode_switch_threshold=1d-2 ! switches between thermal (above) and momentum modes for this ratio of Bondi-to-Eddington
epsilon_kin=1. ! momentum feedback efficiency
kin_mass_loading=100. ! mass loading factor of momentum feedback
cone_opening=90. ! opening angle of the cone in which momentum feedback is deposited (180. means full sphere)
/
Notes:
if
agn=.false.all feedback settings are disregardedin order to seed the sink both
mass_halo_AGNandmass_clump_AGNhave to be satisfied (as well as condition of only one sink per halo and minimum density of the halo - at least star forming)currently the only other accretion mode besides
bondiisnone; please feel free to add moreto not boost accretion, set
acc_sink_boost=0.0it is highly advised to use
T2_min=0.0in order to have all feedback modes on the finest timestepif
chi_switch=0.0, then the initial values ofAGN_fbk_frac_*will be used throughout the simulation