Skip to content

Chemistry and Radiation

Hsi-Yu Schive edited this page Jul 26, 2018 · 10 revisions

Compilation Options

Related options: SUPPORT_GRACKLE  

Runtime Parameters

Parameters described on this page: GRACKLE_ACTIVATE,   GRACKLE_VERBOSE,   GRACKLE_COOLING,   GRACKLE_PRIMORDIAL,   GRACKLE_METAL,   GRACKLE_UV,   GRACKLE_CMB_FLOOR,   GRACKLE_PE_HEATING,   GRACKLE_PE_HEATING_RATE,   GRACKLE_CLOUDY_TABLE  

Other related parameters: CHE_GPU_NPGROUP  

Parameters below are shown in the format:   Name   (Valid Values)   [Default Value]

  • GRACKLE_VERBOSE   (0=off, 1=on)   [1]

    • Description: Map to the "grackle_verbose" option in GRACKLE.
    • Restriction:

  • GRACKLE_COOLING   (0=off, 1=on)   [1]

    • Description: Map to the "with_radiative_cooling" runtime parameter in GRACKLE.
    • Restriction:

  • GRACKLE_PRIMORDIAL   (0=Cloudy, 1=6-species, 2=9-species, 3=12-species)   [0]

    • Description: Map to the "primordial_chemistry" runtime parameter in GRACKLE. One must increase NCOMP_PASSIVE_USER by 3, 6, or 9 for GRACKLE_PRIMORDIAL=1, 2, or 3, respectively.
    • Restriction:

  • GRACKLE_METAL   (0=off, 1=on)   [0]

    • Description: Map to the "metal_cooling" runtime parameter in GRACKLE. One must increase NCOMP_PASSIVE_USER by 1 and initialize the field Metal using the field index Idx_Metal properly.
    • Restriction:

  • GRACKLE_UV   (0=off, 1=on)   [0]

    • Description: Map to the "UVbackground" runtime parameter in GRACKLE.
    • Restriction:

  • GRACKLE_CMB_FLOOR   (0=off, 1=on)   [1]

    • Description: Map to the "cmb_temperature_floor" runtime parameter in GRACKLE.
    • Restriction:

  • GRACKLE_PE_HEATING   (0=off, 1=on)   [0]

    • Description: Map to the "photoelectric_heating" runtime parameter in GRACKLE.
    • Restriction:

  • GRACKLE_PE_HEATING_RATE   (≥0.0)   [8.5e-26]

    • Description: Map to the "photoelectric_heating_rate" runtime parameter in GRACKLE. Note that the input value should always be in units of ergcm-3s-1.
    • Restriction:

  • GRACKLE_CLOUDY_TABLE   (string)   [none]

    • Description: Map to the "grackle_data_file" runtime parameter in GRACKLE.
    • Restriction:

Remarks

GRACKLE Configuration

The floating-point accuracy and OpenMP support between GRACKLE and GAMER must be consistent with each other. See Library Configurations -- GRACKLE for details.


Links

Clone this wiki locally