MetaData:
  run_name: StromgrenSpherePropagationTest3D

# Define the system of units to use internally. 
InternalUnitSystem:
  UnitMass_in_cgs:     1.
  UnitLength_in_cgs:   1.
  UnitVelocity_in_cgs: 1.
  UnitCurrent_in_cgs:  1.
  UnitTemp_in_cgs:     1.

# Parameters governing the time integration
TimeIntegration:
  max_nr_rt_subcycles: 8
  time_begin: 0.    # The starting time of the simulation (in internal units).
  time_end:   0.001 # end time: radiation reaches edge of box
  dt_min:     1.e-12 # The minimal time-step size of the simulation (in internal units).
  dt_max:     2.e-04  # The maximal time-step size of the simulation (in internal units).

# Parameters governing the snapshots
Snapshots:
  basename:            propagation_test # Common part of the name of output files
  time_first:          0.     # Time of the first output (in internal units)
  delta_time:          0.0001 # Time between snapshots

# Parameters governing the conserved quantities statistics
Statistics:
  time_first:          0.
  delta_time:          5e-4 # Time between statistics output

# Parameters for the hydrodynamics scheme
SPH:
  resolution_eta:        1.2348   # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
  CFL_condition:         0.6      # Courant-Friedrich-Levy condition for time integration.
  minimal_temperature:   10.      # Kelvin

# Parameters related to the initial conditions
InitialConditions:
  file_name:  ./propagationTest-3D.hdf5     # The file to read
  periodic:   1                             # peridioc ICs. Keep them periodic so we don't loose photon energy.

GEARRT:
  f_reduce_c: 1.                                    # reduce the speed of light for the RT solver by multiplying c with this factor
  CFL_condition: 0.99
  photon_groups_Hz: [0.]                            # Lower photon frequency group bin edges in Hz. Needs to have exactly N elements, where N is the configured number of bins --with-RT=GEAR_N
  stellar_luminosity_model: const                   # Which model to use to determine the stellar luminosities.
  const_stellar_luminosities_LSol: [1e-28]          # (Conditional) constant star luminosities for each photon frequency group to use if stellar_luminosity_model:const is set, in units of Solar Luminosity.
  hydrogen_mass_fraction:  0.76                     # total hydrogen (H + H+) mass fraction in the metal-free portion of the gas
  stellar_spectrum_type: 0                          # Which radiation spectrum to use. 0: constant from 0 until some max frequency set by stellar_spectrum_const_max_frequency_Hz. 1: blackbody spectrum.
  stellar_spectrum_const_max_frequency_Hz: 1.e17    # (Conditional) if stellar_spectrum_type=0, use this maximal frequency for the constant spectrum. 
  set_initial_ionization_mass_fractions: 1          # (Optional) manually overwrite initial mass fraction of each species (using the values you set below)
  mass_fraction_HI: 0.76                            # (Conditional) If overwrite_initial_ionization_fractions=1, needed to set initial HI mass fractions to this value
  mass_fraction_HII: 0.                             # (Conditional) If overwrite_initial_ionization_fractions=1, needed to set initial HII mass fractions to this value
  mass_fraction_HeI: 0.24                           # (Conditional) If overwrite_initial_ionization_fractions=1, needed to set initial HeI mass fractions to this value
  mass_fraction_HeII: 0.                            # (Conditional) If overwrite_initial_ionization_fractions=1, needed to set initial HeII mass fractions to this value
  mass_fraction_HeIII: 0.                           # (Conditional) If overwrite_initial_ionization_fractions=1, needed to set initial HeIII mass fractions to this value
  skip_thermochemistry: 1                           # skip thermochemistry.
  stars_max_timestep: 1.562500e-05                  # (Optional) restrict the maximal timestep of stars to this value (in internal units). Set to negative to turn off.


SPHM1RT:
  cred: 2.99792458e10              # reduce the speed of light in the code unit
  CFL_condition: 0.1               # CFL condition for RT, independent of hydro 
  photon_groups_Hz: [0.,1.,2.]  # Photon frequency group bin edges in Hz. Needs to be 1 less than the number of groups (N) requested during the configuration (--with-RT=SPHM1RT_N).
  use_const_emission_rates: 1         # (Optional) use constant emission rates for stars as defined with star_emission_rates_erg_LSol parameter
  star_emission_rates: [382600.0, 1e-32, 1e-32, 1e-32]   # (Optional) constant star emission rates (1e-28 Lsun) for each photon frequency group to use if use_constant_emission_rates is set.
  stellar_spectrum_type: 0                          # Which radiation spectrum to use. 0: constant from 0 until some max frequency set by stellar_spectrum_const_max_frequency_Hz. 1: blackbody spectrum.
  stellar_spectrum_const_max_frequency_Hz: 1.e17    # (Conditional) if stellar_spectrum_type=0, use this maximal frequency for the constant spectrum. 
  stars_max_timestep: 1.953125e-06                  # update stars every step!
  skip_thermochemistry: 1                           # ignore thermochemistry.

