! inlist to evolve a 5 solar mass star

&star_job

   ! see star/defaults/star_job.defaults

   ! begin with a pre-main sequence model
   create_pre_main_sequence_model = .true.

   ! save a model at the end of the run
   save_model_when_terminate = .true.
   save_model_filename = '5M_at_ZAMS.mod'

   ! don't display on-screen plots
   pgstar_flag = .false.

/ ! end of star_job namelist


&eos

/ ! end of eos namelist


&kap

   ! kap options
   ! see kap/defaults/kap.defaults
   use_Type2_opacities = .true.
   Zbase = 0.02

/ ! end of kap namelist


&controls

   ! see star/defaults/controls.defaults

   ! starting specifications
   initial_mass = 5 ! in Msun units
   initial_z = 0.02

   ! when to stop

   ! stop when the star nears ZAMS (Lnuc/L > 0.99)
   Lnuc_div_L_zams_limit = 0.99d0
   stop_near_zams = .true.

   ! stop when the center mass fraction of h1 drops below this limit
   ! xa_central_lower_limit_species(1) = 'h1'
   ! xa_central_lower_limit(1) = 1d-3

   ! wind

   ! atmosphere

   ! rotation

   ! element diffusion

   ! mlt

   ! mixing

   ! timesteps

   ! mesh

   ! solver
   ! options for energy conservation (see MESA V, Section 3)
   energy_eqn_option = 'dedt'
   use_gold_tolerances = .true.

   ! output
   terminal_interval = 10
   profile_interval = 200
   photo_interval = 200

   log_directory = 'LOGS_zams'

   write_pulse_data_with_profile = .true.
   pulse_data_format = 'FGONG'

/ ! end of controls namelist
