Free Access
Issue
A&A
Volume 570, October 2014
Article Number A125
Number of page(s) 8
Section Numerical methods and codes
DOI https://doi.org/10.1051/0004-6361/201424161
Published online 03 November 2014

© ESO, 2014

1. Introduction

One pressing problem in modern stellar astronomy is whether rotation induces mixing in stars and hence alters their surface abundances. Rotationally induced mixing processes can prolong stellar lifetimes and have been used to explain the observed surface enrichment of the hydrogen burning products, such as nitrogen, in some massive main-sequence stars. How rotation affects stellar evolution and nucleosynthesis has been recently reviewed by Langer (2012) and Maeder & Meynet (2012). However, the interaction between rotation and binary mass transfer or with magnetic fields remains uncertain, so quantitative tests of rotational mixing in single stars are vital particularly if we want to understand the role of rotation in more complex stellar systems.

In the Large Magellanic Cloud sample of the VLT-FLAMES survey (Evans et al. 2011), observed B stars with both rapid rotation and nitrogen enrichment support the underlying theory of rotationally induced mixing (Hunter et al. 2008). However, the interpretation of the Hunter diagram, which shows the observed surface nitrogen abundances as a function of the projected rotational velocity, is complicated by the significant fractions of nitrogen-enhanced slow-rotators and nitrogen-normal rapid-rotators. These stars cannot easily be explained by current theories of single rotating massive stars (Brott et al. 2011b), although it is argued that the stellar parameters derived for some of the observed stars may need revision (Maeder et al. 2014). de Mink et al. (2013) suggest a significant fraction, or perhaps even close to all of the rapid rotators, are the products of close binary evolution. Based on a sample of 68 massive stars in our Galaxy, Aerts et al. (2014) also deduce that neither projected rotational velocity nor the rotational frequency has predictive power over the measured nitrogen abundance and hence any mixing cannot be because of rotational mixing alone. Accurate and consistent predictions for rotational mixing are thus crucial to understand the role of rotation in stellar evolution.

There are various numerical prescriptions of rotational mixing (e.g. Heger et al. 2000; Maeder & Meynet 2000) and they all contain two or more uncertain parameters controlling the mixing efficiency. Usually these uncertain parameters are calibrated against observed surface enrichments. For example, Brott et al. (2011a) calibrate the efficiency of rotational mixing, fc, and the parameter fμ, which parametrizes the stabilizing effect of the mean molecular weight gradient, against the observed B stars in the FLAMES survey. These parameterizations are crucial to quantitatively model how surface abundances vary with rotational velocity. In this work we demonstrate that this parameterization is only valid for the chosen numerical scheme.

While other rotational instabilities such as shear instabilities (e.g. Zahn 1974) can transport chemical species, we focus on the Eddington-Sweet circulation (Sweet 1950; Endal & Sofia 1978) and the Goldreich-Schubert-Fricke (GSF) instability (Goldreich & Schubert 1967; Fricke 1968) and how the two instabilities are stabilized by the presence of a mean molecular weight gradient. In a main-sequence massive star, the mean molecular weight gradient is particularly relevant to mixing across the inner convective core with higher mean molecular weight to the radiative envelope with lower mean molecular weight. In this work, we investigate how surface nitrogen enrichments by these two rotational instabilities depend on the mean molecular weight computation.

In stellar evolution codes the transport process of chemical species and angular momentum is usually approximated as a diffusion process. In some codes, advection is included for the transport of angular momentum (Maeder & Meynet 2012). Discretizations in mass and time are required to solve the continuous diffusion equation. Discretizing in mass corresponds to cutting the star into thousands of meshpoints while discretizing in time corresponds to dividing the evolutionary sequences into timesteps when solving the diffusion equation. The diffusion coefficient is then calculated based on physical properties at each meshpoint at the start of the timestep. However, because the abundance profile is always evolving within any single timestep, any calculated value of the rotational mixing coefficient based on the chemical profile and mean molecular weight gradient at a particular time, usually the start of the timestep, cannot be strictly correct for the whole timestep. As a result even with identical numerical prescriptions and mixing parameters, e.g. fc, model sequences with different timesteps deviate in rotational mixing coefficients and hence surface abundances. The deviations are bigger for large timesteps especially near the start or the end of rotational instabilities when the coefficient changes from zero to non-zero or vice versa.

To make the situation worse, rotational mixing at the current timestep feeds back on the abundance profile at the next timestep. If the diffusion coefficient is overestimated in one timestep, too much material is mixed which leads to a smaller mean molecular gradient and hence more mixing in next timestep. The divergence of chemical profiles can run away over the course of the evolutionary model sequence because of this positive feedback.

The numerical treatment and computation of the mean molecular weight gradient are also critical for rotational mixing. Particularly at the edge of the burning core in a moderately fast rotating star, rotationally induced mixing and mean molecular weight gradient induced stability can be similar. Therefore, if a different prescription for the computation of the mean molecular weight gradient is used, the rotational mixing coefficient changes.

This poses a serious problem for the calibration of uncertain rotational mixing parameters. Although the parameters are well calibrated against observations for a given discretization scheme, drastically different results can be obtained if different timesteps or meshpoints are used in stellar models. Therefore, when comparing observations to theoretical models, one needs to be aware of the hidden uncertainty caused by the choice of the numerical scheme.

In theory only model sequences with infinitesimally small timesteps converge to the identical results. However it is computationally not practical for any code to use an infinitesimally small timesteps. In practice the model sequences start to converge if sufficiently small timesteps are used. We estimate the minimal timesteps required to achieve an accurate result such that the deviations of the surface abundances because of insufficient temporal resolution are kept within 10% of our model with the best resolution. We also show that the chemical compositions and the efficiency of rotational mixing depend critically on how mean molecular weight gradients are computed. If the computational recipe for the mean molecular weight gradient is altered, re-calibration of mixing parameters may be required to fit observations.

This numerical problem exists in other similar mixing processes where the calculation of diffusion coefficients depends on the mean molecular weight gradient. For example, thermohaline mixing is driven by the inversion of the mean molecular gradient. In low-mass red giants, the depletion of lithium by thermohaline mixing strongly depends on the timestep used in detailed stellar evolutionary codes (Lattanzio et al., in prep.).

In this paper, we use a new population synthesis code BONNFIRES to run grids of model sequences to study quantitatively how rotational mixing depends on adopted timesteps and shell masses. BONNFIRES is a new population synthesis code designed to model the internal mixing and nucleosynthesis of binary stars in a timely fashion. Sana et al. (2012, 2013) show that almost all massive stars are born in a binary system, so significant fractions of stars observed are expected to have undergone binary interaction to reach their current states (de Mink et al. 2014). One of the major aims of BONNFIRES is to investigate whether binary interactions can account for the observed nitrogen-rich slow-rotators and nitrogen-normal fast-rotators.

2. BONNFIRES

BONNFIRES is a population synthesis code designed to model the internal mixing and nucleosynthesis of binary stars in a timely fashion with detailed internal composition profiles, mixing processes and nuclear reaction networks. Internal structure variables such as temperature, density, pressure, and opacity are interpolated from input models produced by the Binary Evolution Code (BEC; Heger et al. 2000; Petrovic et al. 2005; Yoon et al. 2006). Each input model has 1000 meshpoints regular spaced in mass, so for a 20 M model, our mass resolution is limited to 0.02 M. Our input models are non-rotating and have metallicity Z = 0.02. The abundance pattern is chosen according to Grevesse & Noels (1993). We find nearly identical evolution of surface compositions even when we use models with initial equatorial rotational velocity 300 km s-1 as input models, so we conclude that the structural feedback by rotation for moderately fast rotators up to an initial equatorial rotational velocity of 300 km s-1 is minimal with regards to the problems we address. Other sets of input models may be required for faster rotations, e.g. those displaying chemically homogeneous evolutions although this is outside the scope of this work.

We treat mass loss by stellar winds by implementing the prescription of Vink et al. (2001). Rotational mass loss enhancement is included according to Yoon & Langer (2005). Angular momentum is removed assuming the mass lost carries the same specific angular momentum as the surface shell. These mass-loss treatments are the same as the underlying input BEC models. Treatments of mass loss are not important for this work because only around 0.5 M is lost during the main-sequence of the 20 M star considered.

Our stellar models are discretized into mesh points of mass δm. The angular velocity, chemical abundances and moment of inertia of each shell are defined in the middle while other physical quantities such as radius and mass are defined at the inner edge of the mass shell. The different definitions are not important as long as the shell mass is sufficiently small. We do not include any convective overshooting and adopt the Ledoux criterion for convection, so a stratification is stable against convection (Kippenhahn & Weigert 1990) if (1)where

where T is the temperature, P is the pressure, μ is the mean molecular weight, ρ is the density and the index “ad” means adiabatic, i.e. at constant entropy and composition. An equation of state is included in BONNFIRES to calculate the above gradients (Glebbeek, priv. comm.). In the models shown in this work, the convective mixing coefficients are read from input models. Convective zones are located for regions where the convective mixing timescales are smaller than the timesteps, and those regions are assumed to be instantly mixed and hence have a homogeneous composition.

We follow Heger et al. (2000) in our treatment of rotational mixing and the calculation of mixing coefficients based on the abundance profile and structure variables. Mixing coefficients based on shear instabilities are also computed according to the prescription by Heger et al. (2000), although we find that the contribution from shear instabilities is insignificant compared to Eddington-Sweet circulation in our model sequences.

We follow Brott et al. (2011a) for the values of the rotational mixing parameters. Chemical mixing is treated as a diffusive process and implemented by solving the following diffusion equation (4)where D is the sum of diffusion coefficients of all individual mixing processes, including convection and all rotational mixing processes; Xn is the mass fraction of species n; m is the Lagrangian mass co-ordinate of the shell with radius r; and t is the time.

The abundances are calculated independently by a nuclear reaction network while the diffusion equation is solved by a diffusion solver. This is called operator splitting in the literature. The pp, CNO and NeNaMgAl chains are solved for using a Kaps-Rentrop scheme (Press et al. 2002) and NACRE reaction rates (Angulo et al. 1999). We accurately reproduce the nucleosynthesis in the detailed code models. We solve the diffusion equation with the Euler method. The compositions are iterated with an implicit diffusion solver until the profile satisfies the diffusion equation used for that timestep. This method is sometimes referred to as the implicit finite difference method (Meynet et al. 2004).

The diffusion coefficient is calculated based on the composition profile at the start of a timestep. However, while the solver is implicit, this mixing scheme is not totally implicit because only one coefficient, calculated at the start of the timestep and assumed to be constant, is used for the whole timestep. This is not precise because, in reality, the coefficient varies with the composition profile within each timestep. For the rest of our discussion, we label this original scheme as explicit to match the explicit nature of the diffusion coefficient. In our explicit scheme, the diffusion coefficient D for a timestep δt always follows the equation (5)where D0 is the diffusion coefficient at the start of the timestep δt.

We also employ an alternative implicit scheme that takes into account the variation of the mixing coefficient throughout the timestep. We assume the coefficient varies linearly within each timestep and hence the diffusion coefficient is the average of the coefficient at the start and at the end. In the first iteration, the new diffusion coefficient D1 = 0.5 × (D0 + Df0), where the coefficient Df0 is calculated at the end of the timestep after solving the diffusion equation with initial diffusion coefficient D0. For the next iteration, D1 is used as the diffusion coefficient which results in a new chemical profile at the end of the timestep and hence a slightly different coefficient Df1. The diffusion coefficient at the nth iteration is (6)where Df(n − 1) is the coefficient calculated at the end of the timestep in the previous (n − 1)th iteration.

We iterate until the new coefficient Dn agrees with the coefficient of the previous iteration Dn − 1 within a threshold 10% in all meshpoints. We use this scheme to minimize deviation between model sequences with different timesteps.

2.1. Models

We follow the evolution of a single star until the end of the main-sequence which we define when the central hydrogen mass fraction XH = 10-5. The only mixing mechanisms in our models are convection and rotational mixing. The initial mass of our model sequences is 20 M with an initial equatorial rotational velocity of 300 km s-1. All model sequences are run with fixed timesteps δt and fixed shell masses δm throughout their evolution. We vary the timesteps and shell masses to investigate how surface abundances change based on different mass and temporal resolution. The timesteps δt range from 0.001 Myr to 1 Myr and the shell masses δm range from 0.02 M to 0.5 M.

Detailed stellar model sequences have a variable timestep throughout the evolution and shell masses throughout the star. For example, our input stellar models are calculated with suitable mass resolution so that the atmosphere is solved for correctly. Because we do not need to solve the stellar structure equations in BONNFIRES and seek to model interior mixing and nucleosynthesis rather than the stellar atmosphere, we do not have as many meshpoints in the atmosphere to increase the speed of population synthesis calculations. For our resolution test, it is much simpler to compare surface abundances between model sequences with different shell masses and timesteps if the timesteps and shell masses are constant in each sequence.

thumbnail Fig. 1

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1. Model sequences are run with fixed shell mass δm = 0.05 M with different timesteps δt. These model sequences are run with BONNFIRES using the implicit scheme for calculating diffusion coefficients, as described in Sect. 2. We note that deviations of surface abundances may fluctuate non-monotonically, for example, the model sequence with δt = 0.05 Myr has slightly lower surface 14N abundances than sequences with smaller timesteps.

3. Results

We find that the surface abundances of elements such as nitrogen depend sensitively on the adopted timestep in the model sequences. Moreover, different mass resolution and a different computation method of the mean molecular weight gradient can lead to significant differences in the predicted nitrogen abundances and main-sequence lifetimes.

3.1. Timestep dependency

Figure 1 shows how the evolution of surface nitrogen mass fraction in our model sequences varies as a function of timestep. With our implicit scheme, in which the coefficient is taken as the average at the start and at the end of the timestep, nitrogen converges for model sequences with small timesteps but it deviates significantly in model sequences with timesteps larger than 0.1 Myr. Furthermore, the main-sequence lifetimes are longer for model sequences with larger nitrogen enhancements because rotational mixing simultaneously mixes hydrogen to the core as well as nitrogen to the surface. Without the implicit averaging scheme, the nitrogen abundance evolution varies even more with timesteps 0.1 Myr or longer (Fig. 2). In the extreme case of δt = 1 Myr the nitrogen abundance is doubled. Only model sequences with timesteps of 0.05 Myr or shorter agree within a few per cent.

We define the deviation of each model sequence as the maximum deviation of surface nitrogen abundances between each model sequence to the model sequence with the shortest timestep (0.001 Myr) throughout the evolution. In general, the deviations are smaller by 50% or more with the implicit averaging scheme (Fig. 2). However, our implicit averaging scheme (Eq. (6)) is computationally more expensive for each evolutionary model because the number of iterations is typically around ten. The total computational time for the whole evolutionary sequence with our implicit scheme is comparable with using the explicit scheme (Eq. (5)) with a shorter timestep to achieve similar accuracy. For example, using a timestep of 0.05 Myr with our explicit scheme is slightly computationally faster than using a timestep of 0.1 Myr with the implicit scheme, while the percentage errors are comparable in both cases. Therefore, for the purpose of population synthesis, the implicit scheme is not necessary unless we need an accuracy within 1%. Without the implicit looping, the error is still more than 1% even for the model with timestep 0.005 Myr. Nevertheless, an implicit scheme averaging the diffusion coefficients within a single timestep is worth considering in a detailed evolutionary code to achieve greater accuracy when the bottleneck in computation time is, rather, solving the stellar structure equations. For the purpose of population synthesis of stars around 20 M, we recommend a timestep shorter than 0.1 Myr for the study of rotational mixing such that the estimated errors are within 10%. The timestep required for a star more massive than 20 M is likely to be even shorter.

thumbnail Fig. 2

Percentage deviations between our implicit (red solid) and explicit (blue dotted) diffusive mixing schemes with different timesteps. The deviations are taken for nitrogen abundances at the time of the evolution when the differences between that evolutionary sequence with the sequence with fixed timestep δt = 0.001 Myr is the largest. The model sequences are for a 20 M star with initial equatorial rotational velocity of 300 km s-1 with fixed shell mass δm = 0.05 M.

We use the stellar evolution code BEC to run two 20 M model sequences with initial equatorial rotational velocity of 300 km s-1 with different timesteps to illustrate that the timestep dependency is not unique to our population synthesis code BONNFIRES. The timesteps are fixed to be 0.01 Myr and 0.001 Myr respectively. We find around 10% differences in the nitrogen abundance between the model sequences (Fig. 3). The model sequence with stronger nitrogen enrichment also has a 10% longer main sequence lifetime because more hydrogen is mixed to the core burning region by rotation. Because of a different numerical scheme and parameterization of rotational mixing, the BEC code results cannot be directly compared with BONNFIRES results. Nevertheless, the two model sequences show that detailed evolutionary codes suffer the same numerical problems for rotational mixing as our new population synthesis code, BONNFIRES.

thumbnail Fig. 3

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1 produced by the stellar evolution code BEC. The surface nitrogen abundance deviates between the two otherwise identical model sequences, with different fixed timesteps δt = 0.001 Myr (black dashed) and δt = 0.01 Myr (black dotted). The main-sequence lifetime is also different by about 10% between both model sequences. Numerical smoothing of the gradient (solid lines) enhances mixing of nitrogen to the surface. Models with higher resolution (blue lines) have a larger mean molecular weight gradient at the boundary of burning region which prohibits mixing. For models without fixed timesteps, the timesteps δt are adjusted by BEC code automatically and are of the order of 0.001 Myr.

thumbnail Fig. 4

Percentage deviations for BONNFIRES model sequences with fixed shell masses δm. The deviations are taken for nitrogen abundances at the time of the evolution when the difference between that evolutionary sequence against sequence with fixed δm = 0.02 M is the largest. The model sequences are for a 20 M star with initial equatorial rotational velocity of 300 km s-1 with fixed timestep δt = 0.1 Myr.

thumbnail Fig. 5

Percentage deviations between BONNFIRES evolutionary sequences with varying fixed timesteps δt and shell masses δm from the sequence with the smallest timestep δt = 0.001 Myr and the smallest shell mass δm = 0.02 M. The deviations are taken for 14N abundances when the percentage deviation is the largest during the whole evolutionary sequence. The line indicates the minimal resolution required such that deviations are below 10%.

3.2. Dependence on mass resolution and computation of mean molecular weight

With BONNFIRES, accuracy problems because of large shell masses are not as dramatic as those because of large timesteps, but the model with a fixed 0.5 M shell mass still introduces a significant deviation of around 20%. With our implicit scheme, a choice of fixed 0.1 M shell mass with fixed timestep of 0.1 Myr agrees within 10% to model sequences of fixed 0.02 M shell mass with fixed timestep of 0.1 Myr (Fig. 4).

Figure 5 shows the percentage deviations of all BONNFIRES evolutionary sequences with various timesteps δt and shell masses δm compared to the sequence with the shortest timestep δt = 0.001 Myr and the smallest shell mass δm = 0.02 M. Any model sequences with longer timesteps than δt = 0.3 Myr have large deviations irrespective of the shell mass. Similarly, the percentage errors are much larger for model sequences with shell mass larger than 0.3 M. The solid white line indicates the boundary of evolutionary sequences with less than 10% deviations.

The above analysis only considers numerical resolution in the models. In addition, we find that rotational mixing depends on how the mean molecular weight gradient is calculated. For the Eddington-Sweet circulation and GSF instability, the mean molecular weight gradient can be written as a stabilizing circulation velocity (Eq. (36) of Heger et al. 2000), (7)where HP is the pressure scale-height; is the local Kelvin-Helmholtz time-scale; and ϕ, μ, δ, , ad are defined as before. The parameter fμ describes the sensitivity of the rotationally induced mixing to μ-gradient. We take fμ = 0.1 as in Brott et al. (2011a). The pressure scale-height HP is defined by (8)where g is local gravity and the local Kelvin-Helmholtz timescale is defined as (9)where l is luminosity and εν is defined as the energy generation rate due to neutrino losses and therefore is negative. Neutrino losses are insignificant in our main-sequence stellar models. The effective circulation velocity vES is reduced by stabilizing currents due to μ-gradients (Endal & Sofia 1978 and Eq. (38) of Heger et al. 2000), (10)where ve is the original circulation velocity (Eq. (35) of Heger et al. 2000).

In a moderately rapidly rotating star with initial equatorial rotational velocity around 300 km s-1, |ve| and |vμ| can be of similar magnitude, particularly at the edge of the burning core. The bottleneck for rotational mixing across the whole star is the location where |vμ| is biggest which is at the edge of the convective core because of the composition discontinuity between convective core and radiative envelope. If there is numerical smoothing of the mean molecular weight or its gradient, which is inevitable in a discretized stellar model, the mean molecular weight gradient is averaged out and hence reduced in magnitude. Therefore, the maximum stabilizing term is reduced and rotational mixing is more efficient compared to models with no numerical averaging. In the detailed evolution code BEC, there is an option to take a weighted average of the mean molecular weight gradient across several meshpoints. In the 20 M star with initial equatorial rotational velocity of 300 km s-1, we compare model sequences in which the gradients are averaged over five points, which is used in previous models by Brott et al. (2011b), with model sequences in which no smoothing is used and find their surface nitrogen abundances are inconsistent (Fig. 3). The mean molecular weight gradient across the convective core boundary also depends on the resolution because of the steep abundances variation between the burning and non-burning regions. As the resolution increases, the maximum mean molecular weight gradient increases and hence the efficiency of the rotational mixing drops. Mestel (1953) suggests that near the convective core mixing can be impeded by a large negative molecular weight gradient and the Eddington-Sweet circulation can be divided into two separate zones by the discontinuity in composition. If this is the case, the stellar surface is not enriched by any materials from the burning core. However because the two separate zones can rotate at a different angular velocity, the shear instability (Endal & Sofia 1978) may eventually mix materials across the two zones if sufficient differential rotation builds up.

BONNFIRES has artificial numerical smoothing because it linearly interpolates between input grids of models with 1000 regular meshpoints. While we find that a mesh spacing of 0.1 M limits the deviation because of mass resolution within 10% in BONNFIRES, we caution that this may not necessarily work in other detailed evolutionary codes because the mean molecular weight gradient can be steeper at the edge of the convective core than in our interpolated models.

4. Discussion

Results from BONNFIRES show that a time-implicit diffusion scheme (Eq. (6)) improves the accuracy of surface abundances by a factor of two or more. With BONNFIRES, the maximum timestep for less than 10% deviation in surface abundances is 0.1 Myr, although this limit may not apply for other detailed evolutionary codes because of their differing numerical schemes. Moreover, stars more massive than 20 M may require a shorter timestep. These types of numerical issues lead to inaccuracies in the calibration of mixing parameters and predicted surface compositions. Even if the same code with the same mixing parameters is used, different timesteps can lead to greater than 10% deviations if the timesteps are not sufficiently small. We have shown that thick shells also lead to an inaccuracy in the calculation of rotational mixing. However, we do not need thin shells throughout the whole star, for example, more massive shells can be used deep inside the core. Only at the edge of the convective core, where the mean molecular weight changes rapidly with mass, are more meshpoints required to resolve the variation in mean molecular weight to improve the accuracy of rotational mixing.

thumbnail Fig. 6

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1. Rotational mixing coefficients are calculated without any inhibitance of the mean molecular weight gradient. Models sequences have a 0.05 M fixed shell mass with various timesteps in Myr by BONNFIRES. The surface nitrogen enhancements are similar for model sequences with all timesteps from 0.001 Myr to 0.1 Myr.

Meynet et al. (2004) test three numerical methods for solving the diffusion equation for the transport of chemical species and angular momentum. Their models with large timesteps agree with each other in the implicit finite difference method, but the diffusion coefficients are kept constant as a function of time in their numerical experiments. We also adopt the implicit finite difference method, so the large abundance deviations for long timesteps in our models cannot be attributed to any numerical artifacts of solving the diffusion equation. Their results are consistent with our suggestion that abundances deviate at large timesteps because diffusion coefficients vary with time.

To test whether the mean molecular weight gradient is the major reason for the divergence of chemical profiles, we run a set of model sequences with BONNFIRES without the mean molecular weight gradient as inhabiting force by setting fμ = 0, which is equivalent to setting vμ = 0 in Eq. (7). We find that in these model sequences, the nitrogen enhancements are increased relative to models with finite vμ and more importantly the nitrogen abundances in our model sequence with large timestep (0.5 Myr) agrees to within 5% of model sequences with smaller timesteps (Fig. 6). This shows that the mean molecular weight gradient is the major culprit for the numerical problems described.

As shown in the previous section, our results depend on the applied prescription for the computation of the mean molecular weight gradient. Averaging leads to increased rotational mixing because the mean molecular weight barrier is smoothed out. In the Eddington-Sweet circulation and GSF instability, a sharp mean molecular weight barrier efficiently stabilizes against the circulation. If that is the case, the abundance profile at the edge of the convective core significantly influence the efficiency of rotational mixing, and hence the subsequent surface abundance profile. In fact, rotational mixing between the core and the envelope may depend on the smoothing length even more than the prescription for the rotational mixing itself. A realistic mixing scale length based on the stellar structure instead of an arbitrary number of meshpoints will improve consistency. However, it is not clear what this physical scale length should be and 3D hydrodynamical simulations with rotation may be required to investigate how rotational mixing operates at the interface between the convective core and the radiative envelope, and to determine the scale length.

As discussed in Mestel (1953), at the edge of the convective zone the sharp mean molecular weight gradient may inhabit any circulation and hence there is no flow across the composition barrier. However, other mixing mechanisms such as convective overshooting across the convective boundary may physically smoothen the mean molecular weight gradient. For example, a convective overshooting (e.g. Hollowell & Iben 1988) prescription similar to Herwig (2000), in which the convective diffusion coefficient decays exponentially from the convective boundary, smooths the chemical profile. Adopting a similar smoothing scheme should reduce the dependency of the rotational mixing efficiency on the numerical computation of the mean molecular weight gradient at the cost of an extra free parameter to determine the magnitude of the overshooting.

If a star rotates rapidly enough, the stabilizing effect of the mean molecular weight gradient will usually be overcome. This efficiently mixes between the core and the surface regardless of the numerical scheme. However, the onset of homogeneous evolution clearly depends on the computation of the mean molecular weight gradient and whether overshooting is adopted, as well as mass and temporal resolution. Therefore, the minimum equatorial rotational velocity required for homogeneous evolution probably also depends on the numerical scheme adopted.

Our study of the numerical treatment of rotational mixing on surface abundances is relevant to detailed stellar evolution codes, e.g. BEC (Yoon et al. 2006) and MESA (Paxton et al. 2011), that adopt a similar prescription to Heger et al. (2000). Other rotational mixing prescriptions such as those used by Maeder & Meynet (2000) have a different prescription for calculating the rotational mixing coefficient, in particular the mean molecular weight gradient is smoothed by horizontal turbulence. Maeder & Zahn (1998) have shown that the impact of horizontal turbulence on the efficiency of the transport of chemicals by the meridional currents can be important in reducing the stabilizing effect of the mean molecular weight gradients. Therefore, results from BONNFIRES (and, by extension, other similar codes) may not be valid for other rotational mixing prescriptions that include the impact of horizontal turbulence on transport by meridional circulation (Chaboyer & Zahn 1992). Similarly to convective overshooting, the inclusion of horizontal turbulence reduces the stabilization of mean molecular weight gradient although there is debate on the efficiency of horizontal turbulence. Horizontal turbulence leads to more substantial surface helium enhancements which distinguish if any processes can mix materials across the mean molecular weight gradient barrier, although currently there are not enough observed helium abundances to draw any conclusion (Langer 2012).

Altogether, these numerical issues pose a serious problem for the calibration of uncertain mixing parameters. Although such parameters have already been calibrated against observations (e.g. Brott et al. 2011a), different parameters may be obtained from re-calibration if alternative numerical schemes such as different timesteps or computation methods of the mean molecular weight gradients are employed. Therefore, when comparing observations with theoretical models, one needs to be aware of these hidden, but quantitatively crucial, uncertainties. Aerts et al. (2014) suggest the simultaneous action of internal gravity waves and differential rotation to be the best explanation for the measured surface nitrogen abundances in massive stars. Large-scale low-frequency internal gravity waves excited by the convective core, as in the studies by e.g. Neiner et al. (2012), Rogers et al. (2012) and Mathis et al. (2013), may contribute considerably to the surface nitrogen abundance if these waves are able to transport chemical species and angular momentum (Rogers et al. 2013). Minimizing the uncertainties of rotational mixing because of numerical treatments is crucial to quantitatively understand the role of rotation with other possible mixing mechanisms.

5. Conclusion

We have shown that chemical mixing by rotation has a significant dependence on timesteps, shell masses and numerical schemes used in the calculation of stellar evolution model sequences. This numerical issue leads to uncertainties in the predicted surface chemical enhancements by rotational mixing and also predicted minimal rotational velocities for chemically homogeneous evolution. Using our population synthesis code BONNFIRES, surface 14N abundances agree within 10% in model sequences with timesteps shorter than 0.1 Myr and shell masses smaller than 0.1 M for a 20 M star with initial equatorial rotational velocity 300 km s-1. In order to achieve the same precision, the timestep required for a star more massive than 20 M is likely to be shorter. In detailed evolutionary codes the timesteps and shell masses may need to be smaller because of their different numerical schemes. We find that the evolution of the mean molecular weight profile is the major reason for the numerical inaccuracy. The abundance profile, and hence the mean molecular weight gradient, is always evolving within any single timestep so any calculated value of the rotational mixing coefficient based on the chemical profile at a particular time cannot be strictly correct for the whole timestep. Therefore, we suggest an implicit scheme for calculating the diffusion coefficient such that it is the average between the coefficient at the start and at the end of each timestep. This averaging scheme can halve the deviation in surface abundances compared to only using the coefficient calculated at the start for the whole timestep. In other mixing processes that depend on the mean molecular weight gradient, such as thermohaline mixing and semi-convection, we suggest our scheme (Eq. (6)) may also give a more precise result than simple time-explicit diffusive mixing.

The efficiency of rotational mixing also strongly depends on the computation of the mean molecular weight gradient. At the edge of the convective zone, the presence of a sharp mean molecular weight gradient stabilizes rotational mixing, so any schemes that smoothen the mean molecular weight or its gradient lead to stronger rotational mixing and hence stronger surface enrichment of hydrogen burning products and longer main-sequence lifetime. Because the efficiency of rotational mixing strongly depends on how strong the mean molecular weight gradient inhibits the flow across the composition barrier, hydrodynamical simulations with rotation may be required to investigate how rotational mixing operates at the interface between the convective core and the radiative envelope.

Acknowledgments

R.G.I. and H.B.L. thank the Alexander von Humboldt Foundation for support for this work. We thank Evert Glebbeek for the subroutine to calculate equation of state and Norbert Langer for useful discussion. We also thank the anonymous referee for suggestions to improve the manuscript.

References

  1. Aerts, C., Molenberghs, G., Kenward, M. G., & Neiner, C. 2014, ApJ, 781, 88 [NASA ADS] [CrossRef] [Google Scholar]
  2. Angulo, C., Arnould, M., Rayet, M., et al. 1999, Nucl. Phys. A, 656, 3 [NASA ADS] [CrossRef] [Google Scholar]
  3. Brott, I., de Mink, S. E., Cantiello, M., et al. 2011a, A&A, 530, A115 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  4. Brott, I., Evans, C. J., Hunter, I., et al. 2011b, A&A, 530, A116 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  5. Chaboyer, B., & Zahn, J.-P. 1992, A&A, 253, 173 [NASA ADS] [Google Scholar]
  6. de Mink, S. E., Langer, N., Izzard, R. G., Sana, H., & de Koter, A. 2013, ApJ, 764, 166 [NASA ADS] [CrossRef] [Google Scholar]
  7. de Mink, S. E., Sana, H., Langer, N., Izzard, R. G., & Schneider, F. R. N. 2014, AJ, 782, 7 [Google Scholar]
  8. Endal, A. S., & Sofia, S. 1978, ApJ, 220, 279 [NASA ADS] [CrossRef] [Google Scholar]
  9. Evans, C. J., Taylor, W. D., Hénault-Brunet, V., et al. 2011, A&A, 530, A108 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Fricke, K. 1968, Z. Astrophys., 68, 317 [NASA ADS] [Google Scholar]
  11. Goldreich, P., & Schubert, G. 1967, ApJ, 150, 571 [NASA ADS] [CrossRef] [Google Scholar]
  12. Grevesse, N., & Noels, A. 1993, in Origin and Evolution of the Elements, eds. N. Prantzos, E. Vangioni-Flam, & M. Casse, 15 [Google Scholar]
  13. Heger, A., Langer, N., & Woosley, S. E. 2000, ApJ, 528, 368 [NASA ADS] [CrossRef] [Google Scholar]
  14. Herwig, F. 2000, A&A, 360, 952 [NASA ADS] [Google Scholar]
  15. Hollowell, D., & Iben, Jr., I. 1988, ApJ, 333, L25 [NASA ADS] [CrossRef] [Google Scholar]
  16. Hunter, I., Brott, I., Lennon, D. J., et al. 2008, ApJ, 676, L29 [NASA ADS] [CrossRef] [Google Scholar]
  17. Kippenhahn, R., & Weigert, A. 1990, Stellar Structure and Evolution (Berlin: Springer-Verlag) [Google Scholar]
  18. Langer, N. 2012, ARA&A, 50, 107 [NASA ADS] [CrossRef] [Google Scholar]
  19. Maeder, A., & Meynet, G. 2000, ARA&A, 38, 143 [NASA ADS] [CrossRef] [Google Scholar]
  20. Maeder, A., & Meynet, G. 2012, Rev. Mod. Phys., 84, 25 [NASA ADS] [CrossRef] [Google Scholar]
  21. Maeder, A., & Zahn, J.-P. 1998, A&A, 334, 1000 [NASA ADS] [Google Scholar]
  22. Maeder, A., Przybilla, N., Nieva, M.-F., et al. 2014, A&A, 565, A39 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  23. Mathis, S., Decressin, T., Eggenberger, P., & Charbonnel, C. 2013, A&A, 558, A11 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  24. Mestel, L. 1953, MNRAS, 113, 716 [NASA ADS] [CrossRef] [Google Scholar]
  25. Meynet, G., Maeder, A., & Mowlavi, N. 2004, A&A, 416, 1023 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  26. Neiner, C., Floquet, M., Samadi, R., et al. 2012, A&A, 546, A47 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  27. Paxton, B., Bildsten, L., Dotter, A., et al. 2011, ApJS, 192, 3 [Google Scholar]
  28. Petrovic, J., Langer, N., Yoon, S.-C., & Heger, A. 2005, A&A, 435, 247 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  29. Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. 2002, Numerical Recipes in C: the art of scientific computing [Google Scholar]
  30. Rogers, T. M., Lin, D. N. C., & Lau, H. H. B. 2012, ApJ, 758, L6 [NASA ADS] [CrossRef] [Google Scholar]
  31. Rogers, T. M., Lin, D. N. C., McElwaine, J. N., & Lau, H. H. B. 2013, ApJ, 772, 21 [NASA ADS] [CrossRef] [Google Scholar]
  32. Sana, H., de Mink, S. E., de Koter, A., et al. 2012, Science, 337, 444 [Google Scholar]
  33. Sana, H., de Koter, A., de Mink, S. E., et al. 2013, A&A, 550, A107 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  34. Sweet, P. A. 1950, MNRAS, 110, 548 [NASA ADS] [CrossRef] [MathSciNet] [Google Scholar]
  35. Vink, J. S., de Koter, A., & Lamers, H. J. G. L. M. 2001, A&A, 369, 574 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  36. Yoon, S.-C., & Langer, N. 2005, A&A, 443, 643 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  37. Yoon, S.-C., Langer, N., & Norman, C. 2006, A&A, 460, 199 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  38. Zahn, J.-P. 1974, in Stellar Instability and Evolution, eds. P. Ledoux, A. Noels, & A. W. Rodgers, IAU Symp., 59, 185 [Google Scholar]

All Figures

thumbnail Fig. 1

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1. Model sequences are run with fixed shell mass δm = 0.05 M with different timesteps δt. These model sequences are run with BONNFIRES using the implicit scheme for calculating diffusion coefficients, as described in Sect. 2. We note that deviations of surface abundances may fluctuate non-monotonically, for example, the model sequence with δt = 0.05 Myr has slightly lower surface 14N abundances than sequences with smaller timesteps.

In the text
thumbnail Fig. 2

Percentage deviations between our implicit (red solid) and explicit (blue dotted) diffusive mixing schemes with different timesteps. The deviations are taken for nitrogen abundances at the time of the evolution when the differences between that evolutionary sequence with the sequence with fixed timestep δt = 0.001 Myr is the largest. The model sequences are for a 20 M star with initial equatorial rotational velocity of 300 km s-1 with fixed shell mass δm = 0.05 M.

In the text
thumbnail Fig. 3

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1 produced by the stellar evolution code BEC. The surface nitrogen abundance deviates between the two otherwise identical model sequences, with different fixed timesteps δt = 0.001 Myr (black dashed) and δt = 0.01 Myr (black dotted). The main-sequence lifetime is also different by about 10% between both model sequences. Numerical smoothing of the gradient (solid lines) enhances mixing of nitrogen to the surface. Models with higher resolution (blue lines) have a larger mean molecular weight gradient at the boundary of burning region which prohibits mixing. For models without fixed timesteps, the timesteps δt are adjusted by BEC code automatically and are of the order of 0.001 Myr.

In the text
thumbnail Fig. 4

Percentage deviations for BONNFIRES model sequences with fixed shell masses δm. The deviations are taken for nitrogen abundances at the time of the evolution when the difference between that evolutionary sequence against sequence with fixed δm = 0.02 M is the largest. The model sequences are for a 20 M star with initial equatorial rotational velocity of 300 km s-1 with fixed timestep δt = 0.1 Myr.

In the text
thumbnail Fig. 5

Percentage deviations between BONNFIRES evolutionary sequences with varying fixed timesteps δt and shell masses δm from the sequence with the smallest timestep δt = 0.001 Myr and the smallest shell mass δm = 0.02 M. The deviations are taken for 14N abundances when the percentage deviation is the largest during the whole evolutionary sequence. The line indicates the minimal resolution required such that deviations are below 10%.

In the text
thumbnail Fig. 6

Surface 14N abundance as a function of stellar age of our model 20 M star with initial equatorial rotational velocity of 300 km s-1. Rotational mixing coefficients are calculated without any inhibitance of the mean molecular weight gradient. Models sequences have a 0.05 M fixed shell mass with various timesteps in Myr by BONNFIRES. The surface nitrogen enhancements are similar for model sequences with all timesteps from 0.001 Myr to 0.1 Myr.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.