Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://star.arm.ac.uk/~csj/papers/newsletter/starmaker_v1986.ps
Äàòà èçìåíåíèÿ: Wed Sep 21 19:58:05 2005
Äàòà èíäåêñèðîâàíèÿ: Tue Oct 2 10:48:53 2012
Êîäèðîâêà:

Ïîèñêîâûå ñëîâà: massive stars
STARMAKER: Programs for calculating stellar evolution
C.S. Je#ery
University Observatory, Buchanan Gardens, St. Andrews, Fife KY16 9LS, Scotland and
Institut f˜ur Theoretische Physik und Sternwarte, Universit˜at Kiel, 2300 Kiel, West Germany.
Published: 1986, CCP7 Newsletter No 10: 8­11
Summary
A description of a computer program for the calculation of stellar evolution is presented. The program
employs a Henyey code based on the Kippenhahn et al. (1967) prescription. Details of the treatment of the
equation of state, stellar opacity, nucleosynthesis and convection are summarised. Further development of the
program is planned in conjunction with its recent implementation on CRAY­1 computers.
1 Introduction
Computer programs for the calculation of stellar evolution are now widely available. Since each code has its
own advantages and drawbacks no defence of adding to this number is made. This article describes a versatile
program written originally as part of a PhD Thesis between 1979 and 1982 at the University of St Andrews. The
program has recently been implemented on the CRAY­1 computers at the University of London computer centre
(ULCC) in conjunction with the Collaborative Computational Project No. 7 and at the Konrad­Zuse­Zentrum f˜ur
Informationstechnik in Berlin (KZZ). Substantial improvements to the code are due to be made, so this article
simply describes its present form. Fuller details are given by Je#ery (1982) in a study of the e#ect of Carson
opacities on the structure and evolution of horizontal branch stars. The program has also been used in studies of
the apsidal motion constant in main­sequence binaries (Je#ery 1984a) and of the evolution of the extreme­helium
star BD+13 o 3224 (Je#ery 1984b).
2 The stellar evolution code
The classical equations of stellar evolution are described in many texts (e.g. Schwarzschild 1958). The assumption
of spherical symmetry (rotation and magnetic fields are neglected) reduces the spatial component of the stellar
evolution equations to 1­dimension. This component is expressed as a system of partial di#erential equations in 4
stellar variables (r, l, P, T ) with a Lagrangian independent variable (m). Boundary values at the stellar centre and
surface enable a solution to be determined. A Henyey code based on the prescription Kippenhahn et al. (1967)
is adopted for this purpose. In brief, this procedure translates the partial di#erential equations into a system of
di#erent equations. The non­linear system of simultaneous equations is linearised by assuming that an approximate
starting solution exists, and then solved by means of a Newton­Raphson iteration.
The surface boundary conditions P g = 0, T = T (#, R # , L # ) are translated to a set of linearized boundary
relations between the dependent variables (r, l, P, T ) beneath the H and He ionisation zones. This is achieved
by a separate integration of the stellar envelope of a triangular grid in the (L, T e# ) plane (see Kippenhahn et al
1967). The routine which carries out this integration (ENVELOPE) is separately available for investigations of
the structure of static stellar envelopes. Here `envelope' means the portion of the star between the photosphere
and some ill­defined point above which no nuclear reactions occur. ENVELOPE is at present only valid in the
approximation that there is no energy sources or sinks present in the domain of the integration. Starting values
for the integration are provided by simple grey Eddington atmosphere which calculates P and T down to # = 2/3.
Temporal terms in the stellar evolution equations enter because of stellar energy production and absorption.
Gravitational energy changes are dealt with by an additional term in the linearised equations solved by the Newton­
Raphson iteration. Nucleosynthesis is calculated separately as a change in the chemical structure of the star after
each timestep.
3 Physics
3.1 EQUATIONS OF STATE
The equations of state are solved in two T , # domains. At low temperatures Saha's ionisation equilibrium equation
is solved to determine the electron density. The treatment closely follows that of Cox & Giuli (1968) and Mihalas
(1978). Contributions from ions of H (including H - ), He, C,N,O, and a representational metal (Mg) are calculated.
At high temperatures, the e#ect of non­relativistic electron degeneracy is included in the equations of state.
3.2 STELLAR OPACITY
STARMAKER was originally written to investigate the e#ect of the Carson opacities of models of horizontal branch
stars (Je#ery 1982). These opacities are described by Carson et al. (1968) and Carson & Stothers (1976). Tables

appear in Carson et al. (1981) and Je#ery (1982). A multi­dimensional interpolation procedure (T , #, Y, Z, or
T , #, C, O) was used to derive the (harmonic) mean of the Rosseland mean radiative opacity and the Hubbard­
Lampe (1968) conductive opacity. The `bump' at low densities and T # 10 6 K in these opacities is apparently
unreal (Carson et al. 1984).
Opacities currently available are the Christy (1966) and Stellingwerf (1975) analytic fits to the radiative opacity.
The validity ranges for these fits are limited. Other opacities ar being implemented.
3.3 NUCLEAR ENERGY GENERATION AND NUCLEOSYNTHESIS
The nuclear energy production and nucleosynthesis rate are calculated using the formulae of Fowler et al. (1967,1975)
and Harris et al (1983). Electron­Screening factors are calculated following Graboske et al. (1973). Hydrogen­
burning calculations follow Fowler et al. (1975) for the relative contributions of the di#erent pp chains and
Demarque et al. (1971) for the temperature dependence of the N 14 abundance in the CNO cycle. Helium­burning
reactions follow the 3# process and #­capture reactions up to Ne 20 (#, #) Mg 24 . Neutrino losses are calculated
with the analytic interpolation formulae of Beaudet et al. (1967).
3.4 CONVECTION
Where the radiative gradient in the star becomes superadiabatic, convection is treated according to local mixing­
length theory (B˜ohm­Vitense 1958). At high temperatures, the limiting case of adiabatic convection is adopted.
The ratio of the mixing­length to the pressure scale height and the theory dependent constant a 0 (Cox & Giuli
1968) may be specified by the program user.
Deupree & Varner (1980) employed 2­dimensional hydrodynamical­calculations to obtain a better estimate
for the local value of the `mixing­length'. The analytic fit which they derived is optionally available. A further
modification suggested by Deupree (1979) which allows for the di#erence of the horizontally­averaged opacity and
the opacity of material with a horizontally­averaged temperature is also available, but is very costly.
Provision has been made for the treatment of semiconvection and convective overshooting following the pre­
scriptions of Roberson & Faulkner (1972) and Castellani et al. (1985). This feature is not complete.
4 Use of the code
4.1 HISTORY
The stellar evolution code was originally developed on a Honeywell computer of the University of Aberdeen. It was
moved in 1982 to a VAX 11/780 computer at the University of St Andrews (SAVA). Calculations are best suited
to a BATCH environment but preparation of input and output data requires interaction with the programmer.
Therefore an interactive management system was written (in DCL) and acquired the name STARMAKER (version
1). The CRAY implementation currently has no such supervisory system but consists of a suite of programs
described below (see Table 1).
Table 1. Summary of main components of STARMAKER.
Name Description Implementation
STARMAKER Batch job and data supervisory package SAVA
ENVELOPE Stellar envelope integration SAVA,KZZ
NEWZAMS Construct approximate model for ZAMS SAVA,KZZ
NEWZAHB Construct approximate model from ZAHB SAVA,KZZ
RELAX Relax approximate solution to obtain zero­age model SAVA,KZZ,ULCC
EVOLVE Construct an evolutionary sequence SAVA,KZZ,ULCC
4.2 INITIAL MODELS: RELAX
The starting point of the evolutionary sequence is defined by an initial stellar model. In STARMAKER these
models are required to be in equilibrium. Two cases which fulfil this condition have been considered so far, namely
the zero­age main sequence (ZAMS) and the zero­age horizontal branch (ZAHB). In the case of ZAMS star a
homegeneous composition is assumed, the star is specified by its mass, helium and metal abundances (M,Y, Z).
The ZAHB star additionally requires the core mass M c to be defined. Starting with an existing initial stellar model
with parameters close to those desired, the required parameters are simply substituted for those in the existing
model. Programs NEWZAMS and NEWZAHB should carry out this function. This model may then be used
as the starting approximation for the Newton­Raphson relaxation iteration described in # 2, yielding a `zero­age'
model in thermal equilibrium. The current version of STARMAKER makes no provision for nuclear evolution
during pre­ZAMS or pre­ZAHB evolution, or the failure of some reaction networks be become fully established at
the `zero­age' position.

4.3 EVOLUTIONARY SEQUENCES: EVOLVE
Once a starting model in equilibrium is available, the time­dependent equations may be introduced. A subroutine
DTSTAR currently carries out several functions. The timestep is automatically adjusted to optimise the code in
phases of slow and rapid evolution. The composition ia modified according to the current rates of nucleosynthesis
and fixed in full convective zones. Provision for the treatment of mass­loss is incomplete.
Several properties of the evolving stellar model are evaluated at the completion of each timestep. These
are under review, but currently include basic surface parameters (L, T e# , log g, R) luminosities for nuclear, neu­
trino and gravitational sources, positions of convective­radiative boundaries, etc. The apsidal motion constant k 2
(Schwarzschild 1958) is optionally computed. Two output files are generated. One contains detailed information
about the progress of the calculations, the other contains a summary of the sequence of models.
Every ten timesteps, two models separated by a single timestep are stored externally. These may be used to
restart an evolutionary sequence from an advanced position if required.
5 Future Developments
A number of modifications to be the stellar evolution code are being considered. The code for the Newton­Raphson
iteration and for the time­step integration will be modified to achieve greater e#ciency on a CRAY. At present the
CRAY version is approximately 30 time faster than the VAX (double precision) version. Several changes to the
physics are in progress, including extensions to the equation of state and the opacity routines. The treatment of
semi­convection and mass­loss will be completed.
ACKNOWLEDGEMENTS
STARMAKER would not have been possible without the encouragement of many colleagues at the University
of St Andrews, particularly my thesis supervisor Dr T.R.Carson. Dr A.E. Lynas­Gray assisted in the CRAY­1
implementation and provided the incentive for this article to be written.
REFERENCES
Beaudet,G., Petrosian,V. & Salpeter,E.E., 1967. Astrophys.J., 150, 979.
B˜ohm­Vitense,E., 1958., Z.Astrophysik., 46, 108.
Carson,T.R., Mayers,D.F. & Stibbs,D.W.N., 1968. Mon.Not.R.astr.Soc., 140, 483.
Carson,T.R., Heubner,W.F. Magee,N.H.,Jr & Merts,A.L., 1984. Astrophys.J., 283, 466.
Carson,T.R., & Stothers,R., 1976. Astrophys.J., 204, 461.
Carson,T.R., Stothers,R. & Vemury,S.K., 1981. Astrophys.J., 244, 230.
Castellani,V., Chie#,A., Pulone, L. & Tornambe,A., 1985. Astrophys.J., 296, 204.
Christy, R.F., 1966. Astrophys.J., 144, 108.
Cox,J.P. & Giuli,R.T., 1968. `Principles of Stellar Structure', Gordon & Breach, New York.
Demarque,P., Mengel,J.G. & Aizenmann,M.L., 1971. Astrophys.J., 163. 37.
Deupree,R.G., 1979. Astrophysics.J., 234, 228.
Deupree,R.G., & Varner,T.M., 1980. Astrophys.J. 237, 558.
Fowler,W.A., Caughlan,G.R. & Zimmerman,B.A., 1967. Ann.Rev.Astr.Astrophys., 5, 525.
Fowler,W.A., Caughlan,G.R. & Zimmerman,B.A., 1975. Ann.Rev.Astr.Astrophys., 13, 69.
Graboske,H.C., De Witt,H.E., Grossman,A.S. & Cooper,M.S., 1973. Astrophys.J., 181, 457.
Harris,M.J., Fowler,W.A., Caughlan,G.R. & Zimmerman,B.A., 1983. Ann.Rev.Astr.Astrophys., 21, 165.
Hubbard,W.B. & Lampe,M., 1968. Astrophys.J.Suppl., 18, 297.
Je#ery,C.S., 1982. PhD Thesis, University of St Andrews.
Je#ery,C.S., 1984a. Mon.Not.R.astr.Soc., 207, 323.
Je#ery,C.S., 1984b. Mon.Not.R.astr.Soc., 210, 731.
Kippenhahn,R., Weigert,A. & Hofmeister,E., 1967. `Methods in Computational Physics', 7, 129.
Mihalas,D., 1978. `Stellar Atmospheres', 2nd ed, W.H.Freeman & co., San Francisco.
Robertson,J.W. & Faulkner,D.J., 1972. Astrophys.J., 171, 309.
Schwarzschild,M., 1958. `Structure and Evolution of the Stars', Princeton University Press.
Stellingwerf,R.F., 1975. Astrophys.J., 195, 695.