
! inlist_pre_sdB 

! contains the parameters controlling this job

! This inlist contains the minimum of information to create a pre_sdB model



&star_job  ! this is the star_job namelist
      
      mesa_dir = '/home/jtschindler/MESA/mesa-r7184' ! serenity
      
      create_pre_main_sequence_model = .true.

      change_net = .true. ! switch nuclear reaction network
      new_net_name = 'pp_cno_extras_o18_ne22.net' ! including all possible processes for hydrogen and helium burning

      eos_file_prefix = 'mesa' !equation of state combining HELM,OPAL and SCVH
      kappa_file_prefix = 'gs98' ! opacity mix, Grevesse & Sauval 1998
      
      
      save_model_number = 16700
      save_model_filename = '1.0_progenitor_16700.data'
     
      pgstar_flag = .true. !show the pg plots

/ !end of star_job

&controls

      max_model_number = 27000
   
  ! starting specifications
      initial_mass = 1.0d0 ! in Msun units
      
      !using defaults for initial abundances z=0.02,y=0.30,x=68
      initial_z = 0.02  ! 
   
   ! output to files and terminal
      photostep = 100
      profile_interval = 250
      history_interval = 1
      terminal_interval = 10
      write_header_frequency = 10
      star_history_name = 'progenitor_history.data'

  ! mass gain or loss
      RGB_wind_scheme = 'Reimers'
      AGB_wind_scheme = 'Blocker'
      RGB_to_AGB_wind_switch = 1d-4 ! this is the default value
      Reimers_wind_eta = 0.5d0  
      Blocker_wind_eta = 0.5d0  
      
  !opacity controls
     use_Type2_opacities = .true.
     Zbase = 0.02
     kap_Type2_full_off_X = 0.71d0
     kap_Type2_full_on_X = 0.70d0
      
  ! mesh
      max_allowed_nz = 64000
      mesh_delta_coeff = 1   
      
  !MLT
      mixing_length_alpha = 2
  
  !overshooting
      min_overshoot_q = 1d-3
      D_mix_ov_limit = 1d2
      
      overshoot_f_above_nonburn = 0.0
      overshoot_f_below_nonburn = 0.0
      overshoot_f_above_burn_h = 0.0
      overshoot_f_below_burn_h = 0.0
      overshoot_f_above_burn_he = 0.0
      overshoot_f_below_burn_he = 0.0
      overshoot_f_above_burn_z = 0.0
      overshoot_f_below_burn_z = 0.0
      
  !Ledoux criterion & semiconvection, thermohaline and semiconvection only applies if ledoux is true
      use_Ledoux_criterion = .false.
      alpha_semiconvection = 0
      thermohaline_option = 'Kippenhahn'      

  !element diffusion 
      show_diffusion_info = .true.
      do_element_diffusion = .true.
      diffusion_calculates_ionization = .true.
  
  

 
 
/

