RHD Params#
This sets of parameters, contained in the namelist block &RT_PARAMS, sets radiative properties for RAMSES RHD runs. Note that the number of photon groups (NGROUPS) is a compilation parameter, to be set in the Makefile.
For detailed descriptions of the concepts described here, see the following papers:
[1] RAMSES-RT: radiation hydrodynamics in the cosmological context
[2] A scheme for radiation pressure and photon diffusion with the M1 closure in RAMSES-RT
[4] A simple model for molecular hydrogen chemistry coupled to radiation hydrodynamics
and the documentation page about RHD simulations.
Variable name, syntax, default value |
Fortran type |
Description |
|---|---|---|
|
|
Hydrogen mass fraction. |
|
|
Helium mass fraction. |
|
|
Include molecular hydrogen? See [4] |
|
|
Include helium ionization? |
|
|
Intercell flux function for the advection of radiation (see §3.2 in [1]). Use either ’glf’ or ’hll’. Note that only the GLF flux function is compatible with the inclusion of trapped IR radiation (see §2.2 in [2]). |
|
|
Eigenvalues file, necessary only for the HLL intercell flux. Can also be set by environment variable |
|
|
Reduced light speed fraction, for keeping a manageable timestep-length (see §4.1 in [1]). The default corresponds to a full light speed. |
|
|
Courant factor for photon advection between cells. |
|
|
Maximum number of RT-steps during one hydro/gravity/etc timestep. |
|
|
Smooth out the operator splitting of photon advection and thermochemistry by incrementally updating the advected quantities in the chemistry. Usually speeds up the calculation. See §4.4 in [1]. |
|
|
Assume the on-the-spot approximation, such that straight-to-ground recombinations in H and He do not emit ionising radiation (i.e. emitted photons are assumed to be instantly absorbed in the same cell – see §3.3.2 in [1]). |
|
|
Set to initialize H and He ionization fractions from local photoionisation equilibrium (PIE), using the temperature, density, and radiation in each cell. Note that this is done by default (even if |
|
|
Set PIE ionization fractions when merging cells, instead of taking children averages. |
|
|
Force outflow boundary for RT on all box sides, regardless of how boundaries are defined for hydrodynamics. By default, boundaries are the same for RT and hydrodynamics. |
|
|
Constant temperature, in Kelvin, to assume for all temperature-dependent interaction rates (to run the first Iliev test). The default negative value means the actual cell temperature is used. |
|
|
Write thermochemistry statistics to the standard output. |
|
|
Photon group used for photoelectric heating (default no group) |
|
|
Subgrid model for unresolved HII regions (1==thermal heating, 2==non-thermal heating with NENER) |
==================== |
==================== |
Stellar emission parameters |
|
|
Turn on photon emission from stellar particles. If |
|
|
Directory containing spectral energy distribution (SED) model for the stellar emission (see Appendix B in [1]). This can also be set by the environment variable |
|
|
Frequency (per coarse timestep) of photon group updates according to SED model (see Appendix B in [1]). The default value of -1 means that the update is never done. |
|
|
Number of photon groups dedicated to stellar emission, and relevant only if |
|
|
Energy-conserving stellar emission when using a SED model. The default is photon number conserving within each photon group. With stellar particles of different ages and metallicities, the particle emission cannot be both energy conserving and number conserving at the same time, because the individual particles’ spectral shapes differ, and we must use ‘average’ shapes for the photon groups. The luminosity of a particle can either be correct (against the SED model) in terms of energy but not exactly by photon number, by taking the energy luminosity, or in terms of photon number but not exactly energy, by taking the photon number luminosity. |
|
|
‘Escape fraction’ of photons from stellar particles, essentially just a multiplication factor for the particle emission. |
|
|
Convert birth times of stellar particles from conformal to proper time. By default the birth times are stored as proper in RHD simulations, for faster estimation of the stellar luminosity as a function of age. However, when postprocessing non-RHD simulations, this parameter is needed, since non-RHD simulations store the birth time in conformal units. |
==================== |
==================== |
UV background parameters |
|
|
Hydrogen density threshold (number per cubic cm) for non-homogeneous UV emission and propagation. Default value corresponds to no UV propagation. |
|
|
Number of photon groups dedicated to the propagated UV background, and relevant (and set to |
|
|
File containing UV model, which is needed for a propagated UV background ( |
==================== |
==================== |
Radiation pressure and IR radiation parameters |
|
|
Assume first photon group represents IR photons, in local thermal equilibrium (LTE) with dust (which is assumed to scale linearly in content with the gas metallicity). All other photon groups are ‘reprocessed’ locally and energy-conservatively into the IR group when interacting with dust via their |
|
|
Apply trapping of IR photons in optically thick gas, in effect correctly modelling the IR propagation when the mean free path becomes unresolved (see §2.4.2 in [2]). With this set to |
|
|
Use functions for the dust absorption and scattering opacities, such that they scale with the radiation temperature squared (eq. 79 in [2]), with a normalisation set by the |
|
|
Use the ‘reduced flux approximation’ described in [3] (§2.7), where the radiation in each cell is assumed to be fully directional. |
|
|
Multiplication factor to boost or reduce radiation pressure on gas and dust from the default. |
|
|
Include relativistic corrections for the Lorentz boost and work done by photons on the gas (see Appendix A and B in [2]). |
==================== |
==================== |
RT refinement parameters |
|
|
Discontinuity-based strategy: photon flux and ionization fraction gradients above which a cell is refined. |
|
|
Discontinuity-based strategy: photon flux and ionization fraction floor below which gradients are ignored. |
|
|
Cosmological expansion at which to turn on RT refinement strategies. |
==================== |
==================== |
RT source regions |
|
|
Number of independent source (photon emission) regions in the computational box. |
|
|
Geometry defining each source region. ’square’ defines a generalized ellipsoidal shape with photons injected everywhere inside, ’shell’ defines a finite width spherical shell into which photons are injected, and ’point’ defines a point source. |
|
|
Coordinates (0 to boxlen) of the center of each source region. |
|
|
Sizes in all directions of each source region. If a spherical shell is used, rt_src_length_x and rt_src_length_y represent outer and inner radius. |
|
|
Exponents defining the norm used to compute distances for the generalized ellipsoid. |
|
|
Photon groups into which photons are emitted in each source region (1 .le. rt_src_group .le. M, where M is the number of groups). |
|
|
Injection rates, in cgs units, into photon densities and fluxes. |
==================== |
==================== |
RT initialisation regions |
|
|
Number of independent initial radiation regions in the computational box. |
|
|
Geometry defining each initial radiation region. ’square’ defines a generalized ellipsoidal shape with photons initialised everywhere inside, ’shell’ defines a finite width spherical shell in which photons are initialised, and ’point’ defines a point flash. |
|
|
Coordinates (0 to boxlen) of the center of each initialisation region. |
|
|
Sizes in all directions of each initialisation region. If a spherical shell is used, rt_src_length_x and rt_src_length_y represent outer and inner radius. |
|
|
Exponents defining the norm used to compute distances for the generalized ellipsoid. |
|
|
Photon groups for which photons are initialised in each region (1 .le. rt_reg_group .le. M, where M is the number of groups). |
|
|
Values in each region, in cgs units, for photon densities and fluxes. |