Control Options#
YREC is generally called with two namelist arguments: the “control” namelist, or nml1; and the “physics” namelist, or nml2.
This page is a reference that will document various current and deprecated possible values in the namelist files.
Control (.nml1)#
Run parameters & Kind cards#
YREC runs are separated into a number of “phases”, referred to as KINDRN’s.
After completion of a KINDRN, execution will move onto the next KINDRN.
This functionality is designed so that different phases of rescaling, evolving,
or rescale & evolving, can be done in a single stellar evolution model run.
One NUMRUN should be defined, with the number of total KINDRN’s. Replace i with 1,2,3… etc, for the behavior of each step:
Parameter |
Description |
|---|---|
|
Each YREC run can rescale a model, evolve a model, or do both (pre-MS only). This indicates the total number of such steps requested, N. |
|
1 = evolve 2= rescale (zero timestep, MS, or CHeB); 3 = rescale and evolve (pre-MS, where there is no zero timestep solution). This needs to be defined for each KINDRN in sequence. |
|
|
|
If positive, rescale to this mass (\(M_\odot\)). |
|
If positive, rescale to this core mass (CHeB only). |
|
If positive, rescale to this hydrogen. |
|
If positive, rescale to this metallicity. |
|
Stop after this number of models. An initial rescaling with 2 models is recommended, followed by an evolve run. |
|
Envelope abundance label. |
|
Envelope abundance label. |
|
Rescale to this mixing length (or use for the run). |
|
If true, adjust outer fitting point mass location to |
|
Log of fractional envelope fitting point mass. 1e-4 standard, 1e-7 thin. |
|
Run stops if |
|
Run stops if |
|
Run stops if |
|
Run stops if |
File Location Specifiers#
Environment Variables#
YREC supports substitution of path components within the CONTROL namelist files via a set of placeholders. The placeholders may be used as a prefix in path values found in the CONTROL namelist to allow a generalized file that will function in a variefy of contexts without requiring edits, e.g., if the location of the inputs tree or starting model changes relative to the working directory.
Supported environment variables are:
YREC_INPUT
YREC_START
YREC_OUTPUT
Those names, enclosed in curly braces ({}) will be replaced by the
value of the corresponding environment variable as defined within the YREC execution environment.
Especially for the YREC_INPUT and YREC_START values, setting an absolute path can provide the
greatest flexibility in locating input files across multiple potential execution locations.
If any of those variables are not defined in the execution environment, a default value for the path prefix that each represents will be used instead.
Placeholder |
Default value |
|---|---|
|
|
|
|
|
|
Example:
In the CONTROL namelist,
FOPALE06 = "{YREC_INPUT}/eos/opal2006/EOSOPAL06Z0.016492"
If the environment variable is not defined, the default prefix will be used and
the value becomes
FOPALE06 = "../../input/eos/opal2006/EOSOPAL06Z0.016492" at runtime.
Whereas if one sets the environment variable,
export YREC_INPUT=/path/to/input/tree
the value will expand to
FOPALE06 = "/path/to/input/tree/eos/opal2006/EOSOPAL06Z0.016492" at runtime.
Input files#
Opacity tables & options:
Parameter |
Description |
|---|---|
|
If |
|
Molecular opacity table path. |
|
If |
|
Generate a surface mixture table with this Z. Speeds up models without diffusion. |
|
Atomic opacity table path. |
|
|
|
Pure Y/Z opacity table path. |
|
Conductive opacity table path. |
Equation of state tables:
Parameter |
Description |
|---|---|
|
OPAL 2006 EOS table path. |
|
Model atmosphere look-up table for Kurucz and Kurucz/Castelli. |
|
Allard model atmosphere look-up table (solar Z only). |
|
SCZ EoS table for X. |
|
SCZ EOS table for Y. |
|
SCZ EoS table for Z (generated from YREC EOS, needed for consistency) |
|
Fermi integral tables for partial degeneracy. |
Starting model:
Parameter |
Description |
|---|---|
|
Starting model file. |
Output#
The starting and last models include only abundances and structure variables. These options allow snapshots to be generated with more information.
Output options:
Parameter |
Description |
|---|---|
|
If |
|
If |
|
If |
|
If |
|
Set the same as |
|
If |
|
If |
|
Output detailed model structures every |
|
Output details for every |
|
If |
|
If |
|
Toggle for different track file formats. 0 (one line per model) strongly recommended. |
|
If |
|
If |
|
If |
|
Format for pulsation output. |
|
If |
|
If |
Output files:
Parameter |
Description |
|---|---|
|
The last converged model is stored here. |
|
Model snapshots during the run are stored here. |
|
Global variables as a function of time are stored here. |
|
Details about the numerics of the model run are stored here. |
|
Pulsation output for the interior model. |
|
Pulsation output for the envelope model. |
|
Pulsation output for the atmosphere model. |
Legacy output files:
Parameter |
Description |
|---|---|
|
No longer used. |
|
No longer used (formally, output if |
|
No longer used (light elements vs. time, now included in |
Mixtures#
In addition to X, Y, & Z, YREC stores light elements (D He3 Li6 Li7 Be9) and CNO isotopes (C12 C13 N14 O16 O18) B10 B11 N15 O17 to be added.
These options adjust their relative abundances. It is recommended to tie these to preset mixtures used in opacity tables. This should be done at the start of a model run, and only work if LFIRST = .TRUE. Option to adjust the CNO mixture to be consistent with the mixture used in the opacity tables.
Parameter |
Description |
|---|---|
|
0 = do not adjust, 1 = use specified mixture ( |
|
current implemented solar mixtures are |
Option to adjust the D/He3/Li6/Li7/Be9 abundances and the CNO isotope ratios to be consistent with a specified solar reference
Parameter |
Description |
|---|---|
|
0 = do not adjust, 1 = use specified mixture ( |
|
|
Custom mixture controls:
CNO enabled if ISETMIX = 2, Light elements if ISETISO=2
Total CNO (isotope ratios controlled with ISETISO):
Parameter |
Description |
|---|---|
|
Mass fraction of metals in the form of carbon. GS98: 0.172148 |
|
Mass fraction of metals in the form of nitrogen. GS98: 0.050426 |
|
Mass fraction of metals in the form of oxygen. GS98: 0.468195 |
Isotope ratios and light elements:
Parameter |
Description |
|---|---|
|
C12/C13 ratio, L21 mix (88.26 L25) |
|
N14/N15 ratio, L21 mix (412.3 L25) - placeholder,N15 not currently used |
|
O16/O17 ratio, L21 mix (2644 L25)- placeholder,O17 not currently used |
|
O16/O18 ratio, L21 mix (468.2 L25) |
Light element abundances:
Parameter |
Description |
|---|---|
|
Initial D mass fraction, L21 mix (2.780e-5 L25) |
|
Initial He3 mass fraction, L21 mix (3.443e-5 L25) |
|
Initial Li6 mass fraction, L21 mix (7.830e-10 L25) |
|
Initial Li7 mass fraction, L21 mix (1.112e-8 L25) |
|
Initial Be9 mass fraction, L21 mix (1.810e-10 L25) |
|
Initial B10 mass fraction, L21 mix (1.099e-9 L25) - placeholder, not currently used |
|
Initial B11 mass fraction, L21 mix (4.885e-9 L25) - placeholder, not currently used |
Calibration#
Parameter |
Description |
|---|---|
|
Toggle to auto-calibrate solar Y and alpha to match the solar R and L at the age of the Sun. |
|
Enforce correct Z/X ( |
|
Target solar Z/X. (0.02292 is GS98) |
|
Tolerance target for L in the calibration routines. |
|
Tolerance target for R in the calibration routines. |
|
Tolerance solar age in the calibration routines. |