! Project inlist file for GYRE in MESA / MiniLab 1
!
! (ZAMS to TAMS)

&star_job

  ! Begin with saved zams model

  load_saved_model = .true.
  saved_model_name = 'zams.mod'

  ! Reset the age and model number

  set_initial_age = .true.
  initial_age = 0
  
  set_initial_model_number = .true.
  initial_model_number = 0
  
  ! Abundances

  initial_zfracs = 6
  kappa_file_prefix = 'a09'

  ! Display on-screen plots

  pgstar_flag = .true.

  pause_before_terminate = .true.

/ !end of star_job namelist


&controls

  ! Mass & metalicity

  initial_mass = 15.

  initial_Y = 0.2703
  initial_Z = 0.0142

  ! Grid and timestep
   
  mesh_delta_coeff = 0.5

  max_years_for_timestep = 1d5

  delta_lg_XH_cntr_min = -6
  delta_lg_XH_cntr_max = -1
  delta_lg_XH_cntr_limit = 0.05d0   

  ! Stopping condition

  xa_central_lower_limit_species(1) = 'h1'
  xa_central_lower_limit = 1e-3

  ! Gold tolerances

  use_gold_tolerances = .true.
  use_dedt_form_of_energy_eqn = .true.
   
  ! Convective mixing

  mixing_length_alpha = 1.8d0
  MLT_option = 'Henyey'

  num_cells_for_smooth_gradL_composition_term = 25
  threshold_for_smooth_gradL_composition_term = 0.02

  num_cells_for_smooth_brunt_B = 25
  threshold_for_smooth_brunt_B = 1E-4

  use_ledoux_criterion = .true.

  do_conv_premix = .true.

  ! Overshooting

  overshoot_new = .true.

  overshoot_scheme(1) = 'exponential'
  overshoot_zone_type(1) = 'any'
  overshoot_zone_loc(1) = 'any'
  overshoot_bdy_loc(1) = 'any'
  overshoot_f(1) = 0.016
  overshoot_f0(1) = 0.004

  ! Run GYRE after each timestep

  x_logical_ctrl(1) = .true.

/ ! end of controls namelist
