.. _model-params: Stellar Model Parameters ======================== The :nml_g:`model` namelist group defines stellar model parameters, as follows: :nml_n:`model_type` Type of model to use; one of: - :nml_v:`'HOM'` : :ref:`Homogeneous compressible model ` - :nml_v:`'POLY'` : :ref:`Polytropic model ` read from external file - :nml_v:`'ANAPOLY_0'` : :ref:`Analytic polytropic model ` with :math:`\npoly=0` - :nml_v:`'ANAPOLY_1'` : :ref:`Analytic polytropic model ` with :math:`\npoly=1` - :nml_v:`'ANAPOLY_5'` : :ref:`Analytic polytropic model ` with :math:`\npoly=5` - :nml_v:`'ANAPOLY_5_1'` : :ref:`Analytic polytropic model ` with :math:`\npoly=5,1` - :nml_v:`'EVOL'` : :ref:`Evolutionary model ` read from external file :nml_n:`file` Name of file (when :nml_n:`model_type`\ = \ :nml_v:`'POLY'`\ \|\ :nml_v:`'EVOL'`) :nml_n:`file_format` Format of file (when :nml_n:`model_type`\ = \ :nml_v:`'EVOL'`); one of - :nml_v:`'AMDL'` : AMDL-format binary file - :nml_v:`'B3'` : B3-format HDF5 file - :nml_v:`'FAMDL'` : FAMDL-format text file - :nml_v:`'FGONG'` : FGONG-format text file - :nml_v:`'GSM'` : :ref:`GSM-format ` HDF5 file - :nml_v:`'LOSC'` : LOSC-format text file - :nml_v:`'MESA'` : :ref:`MESA/GYRE-format ` text file - :nml_v:`'OSC'` : OSC-format text file - :nml_v:`'WDEC'` : WDEC-format text file :nml_n:`data_format` (default :nml_v:`''`, indicates auto-select) Fortran format specifier for data read from OSC-, FGONG- and FAMDL-format files :nml_n:`deriv_type` (default :nml_v:`'MONO'`) Cubic interpolation derivatives type (when :nml_n:`model_type`\ =\ :nml_v:`'EVOL'` and :nml_n:`interp_type`\ =\ :nml_v:`'CUBIC'`); One - :nml_v:`'SPLINE'` : Spline (non-local) derivatives - :nml_v:`'FINDIFF'` : Finite-difference derivatives - :nml_v:`'MONO'` : Monotonized derivatives (default) :nml_n:`Gamma_1` (default :nml_v:`5/3`) First adiabatic exponent (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'`) :nml_n:`theta_s` (default :nml_n:`0`) Surface value of polytropic dependent variable (when :nml_n:`model_type`\ =\ :nml_v:`'ANAPOLY_0'`\ \|\ :nml_v:`'ANAPOLY_1'`\ \|\ :nml_v:`'ANAPOLY_5'`) :nml_n:`x_match` (default :nml_n:`0.5`) Radial coordinate of match point between inner and outer regions (when :nml_n:`model_type`\ =\ :nml_v:`'ANAPOLY_5_1'`) :nml_n:`grid_type` (default :nml_v:`'UNI'`) Model grid type (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'`); one of - :nml_v:`'UNI'` : Uniform spacing - :nml_v:`'GEO'` : Geometric spacing - :nml_v:`'LOG'` : Logarithmic spacing :nml_n:`n` (default :nml_v:`10`) Number of points in model grid (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'`) :nml_n:`s` (default :nml_v:`1`) Skewness parameter for model grid (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'` and :nml_n:`grid_type`\ =\ :nml_v:`'GEO'`\ \|\ :nml_v:`'LOG'`) :nml_n:`x_i` (default :nml_v:`0`) Inner boundary coordinate of model grid (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'`) :nml_n:`x_o` (default :nml_v:`1`) Outer boundary coordinate of model grid (when :nml_n:`model_type`\ =\ :nml_v:`'HOM'`\ \|\ :nml_v:`'ANAPOLY_*'`) :nml_n:`dx_snap` (default :nml_v:`0`) Threshold for snapping model points together, when :nml_n:`model_type` is :nml_v:`'EVOL'`. If a pair of points are separated by less than :nml_v:`dx_snap`, they are snapped together. :nml_n:`add_center` (default :nml_v:`.TRUE.`) Flag to add a center point to the model (when :nml_n:`model_type`\ =\ :nml_v:`'EVOL'`\ \|\ :nml_v:`'POLY'`). If a point does not already exist at the origin, then one is added :nml_n:`interp_type` (default :nml_v:`'CUBIC'`) Interpolation type (when :nml_n:`model_type`\ =\ :nml_v:`'EVOL'`\ \|\ :nml_v:`'POLY'`); one of - :nml_v:`'CUBIC'` : Piecewise cubic - :nml_v:`'LINEAR'` : Piecewise linear :nml_n:`repair_As` (default :nml_v:`.FALSE.`) Flag to repair inaccuracies in the dimensionless Brunt-Väisälä frequency at density discontinuities :nml_n:`constrain_derivs` (default :nml_v:`.TRUE.`) Flag to constrain first derivatives of :math:`V_2`, :math:`U` and :math:`c_1` structure coefficients, in accordance with equations (20) and (21) of :ads_citet:`takata:2006a` and the hydrostatic equilibrium equation (when :nml_n:`model_type`\ =\ :nml_v:`'EVOL'`) :nml_n:`use_nabla_rad` (default :nml_v:`.FALSE.`) Use :math:`\nabrad` to calculate the radiative luminosity (when :nml_n:`model_type`\ =\ :nml_v:`'EVOL'` \& :nml_n:`file_format`\ =\ :nml_v:`'OSC'`)