Skip to content

Latest commit

 

History

History
122 lines (116 loc) · 2.57 KB

mesa-file-format-v0.19.rst

File metadata and controls

122 lines (116 loc) · 2.57 KB

Version 0.19

The first line of version-0.19 MESA-format files is a header with the following columns:

Column Symbol Datatype Definition
1 N integer number of grid points
2 M real stellar mass [\gram]
3 R real photospheric radius [\cm]
4 L real photospheric luminosity [\erg\,\second^{-1}]
5 19 integer version number

The subsequent N lines contain the model data, one line per grid point extending from the center to the surface, with the following columns:

Column Symbol Datatype Definition
1 k integer grid point index (k=1,\ldots,N)
2 r real radial coordinate [\cm]
3 \frac{M_{r}}{M-M_{r}} real transformed interior mass
4 L_{r} real interior luminosity [\erg\,\second^{-1}]
5 P real total pressure [\barye]
6 T real temperature [\kelvin]
7 \rho real density [\gram\,\cm^{-3}]
8 \nabla real temperature gradient
9 N^{2} real Brunt-Väisälä frequency squared [\second^{-2}]
10 \Gamma_{1} real adiabatic exponent
11 \nabla_{\rm ad} real adiabatic temperature gradient
12 \upsT real thermodynamic coefficient
13 \kappa real opacity [\cm^{2}\,\gram^{-1}]
14 \kapT real opacity partial
15 \kaprho real opacity partial
16 \epsilon real total energy generation rate [\erg\,\second^{-1}\,\gram^{-1}]
17 \epsnuc\,\epsnucT real nuclear energy generation partial [\erg\,\second^{-1}\,\gram^{-1}]
18 \epsnuc\,\epsnucrho real nuclear energy generation partial [\erg\,\second^{-1}\,\gram^{-1}]
19 \Orot real rotation angular frequency [\radian\,\second^{-1}]