Stellar Model Parameters

The &model namelist group defines stellar model parameters, as follows:

model_type

Type of model to use; one of:

  • 'HOM' : Homogeneous compressible model

  • 'POLY' : Polytropic model read from external file

  • 'EVOL' : Evolutionary model read from external file

file

Name of file (when model_type= 'POLY'|'EVOL')

file_format

Format of file (when model_type= 'EVOL'); one of

  • 'AMDL' : AMDL-format binary file

  • 'B3' : B3-format HDF5 file

  • 'FAMDL' : FAMDL-format text file

  • 'FGONG' : FGONG-format text file

  • 'GSM' : GSM-format HDF5 file

  • 'LOSC' : LOSC-format text file

  • 'MESA' : MESA GYRE-format text file

  • 'OSC' : OSC-format text file

  • 'WDEC' : WDEC-format text file

data_format (default '', indicates auto-select)

Fortran format specifier for data read from OSC-, FGONG- and FAMDL-format files

deriv_type (default 'MONO')

Cubic interpolation derivatives type (when model_type='POLY'|'EVOL'); one of

  • 'NATURAL' : Natural (spline) derivatives

  • 'FINDIFF' : Finite-difference derivatives

  • 'MONO' : Monotonized derivatives (default)

Gamma_1 (default 5/3)

First adiabatic exponent (when model_type='HOM')

grid_type (default 'UNI')

Model grid type (when model_type='HOM'); one of

  • 'UNI' : Uniform spacing

  • 'GEO' : Geometric spacing

  • 'LOG' : Logarithmic spacing

n (default 10)

Number of points in model grid (when model_type='HOM')

s (default 1)

Skewness parameter for model grid (when model_type='HOM' and grid_type='GEO'|'LOG')

x_i (default 0)

Inner boundary coordinate of model grid (when model_type='HOM')

x_o (default 1)

Outer boundary coordinate of model grid (when model_type='HOM')

dx_snap (default 0)

Threshold for snapping model points together, when model_type is 'EVOL'. If a pair of points are separated by less than dx_snap, they are snapped together.

add_center (default .TRUE.)

Flag to add a center point to the model (when model_type='EVOL'|'POLY'). If a point does not already exist at the origin, then one is added

repair_As (default .FALSE.)

Flag to repair inaccuracies in the dimensionless Brunt-Väisälä frequency at density discontinuities