Brought to you by:

New Hydrodynamic Solutions for Line-driven Winds of Hot Massive Stars Using the Lambert W-function

, , , , , and

Published 2021 October 13 © 2021. The American Astronomical Society. All rights reserved.
, , Citation A. C. Gormaz-Matamala et al 2021 ApJ 920 64 DOI 10.3847/1538-4357/ac12c9

Download Article PDF
DownloadArticle ePub

You need an eReader or compatible software to experience the benefits of the ePub3 file format.

0004-637X/920/1/64

Abstract

Hot massive stars present strong stellar winds that are driven by absorption, scattering, and reemission of photons by the ions of the atmosphere (line-driven winds). A better comprehension of this phenomenon, and a more accurate calculation of hydrodynamics and radiative acceleration, is Required to reduce the number of free parameters in spectral fitting and to determine accurate wind parameters such as mass-loss rates and velocity profiles. We use the non-LTE model-atmosphere code CMFGEN to numerically solve the radiative transfer equation in the stellar atmosphere and to calculate the radiative acceleration grad(r). Under the assumption that the radiative acceleration depends only on the radial coordinate, we solve analytically the equation of motion by means of the Lambert W-function. An iterative procedure between the solution of the radiative transfer and the equation of motion is executed in order to obtain a final self-consistent velocity field that is no longer based on any β-law. We apply the Lambert-procedure to three O supergiant stars (ζ Puppis, HD 165763, and α Cam) and discuss the Lambert solutions for the velocity profiles. It is found that, even without recalculation of the mass-loss rate, the Lambert-procedure allows the calculation of consistent velocity profiles that reduce the number of free parameters when a spectral fitting using CMFGEN is performed. Synthetic spectra calculated from our Lambert solutions show significant differences compared to the initial β-law CMFGEN models. The results indicate the importance of consistent velocity profile calculation in the CMFGEN code and its use in a fitting procedure and interpretation of observed spectra.

Export citation and abstract BibTeX RIS

1. Introduction

Massive stars play an important role in astrophysics because they deposit momentum, energy, and nuclear-processed material into the interstellar medium on a relatively short timescale by means of their powerful stellar winds (see reviews from Kudritzki & Puls 2000; Puls et al. 2008). The amount of matter outflowing from the star (set by the mass-loss rate, $\dot{M}$) is also directly linked with the evolution of these stars: it has been found, for example, that differences on a factor of 2 in $\dot{M}$ considerably affect the final fate of a massive star (Meynet et al.1994; Georgy et al. 2012). Therefore, a better understanding of massive stars and their evolution requires an accurate determination of their fundamental wind parameters.

The wind parameters are commonly determined by comparing observed and synthetic spectra, as some spectral features (e.g., Hα and UV resonance transitions) are sensitive to the adopted wind parameters. Great advances in the accuracy of synthetic spectral calculations have been achieved with the help of NLTE radiative transfer codes such as WMBASIC (e.g., Pauldrach et al. 2001), FASTWIND (Santolaya-Rey et al. 1997; Repolust et al. 2004; Puls et al. 2005), PoWR (Gräfener et al. 2002; Hamann & Gräfener 2003), and CMFGEN (Hillier 1990a, 1990b; Hillier & Miller 1998; Hillier & Lanz 2001).

Many of the codes use the so-called β-law to prescribe the velocity field; with this approach the β parameter, the terminal velocity (ʋ), and the mass-loss rate ($\dot{M}$) are treated as fitting parameters. However, such a procedure does not guarantee consistency between the wind hydrodynamics and the stellar radiation field; every wind parameter is treated as a separate entity instead of considering them as linked parts of a hydrodynamic system. The inclusion of a self-consistent hydrodynamic solution (i.e., a solution where the hydrodynamic properties of the wind come from the radiation force and vice versa) in the spectral fit procedure is important because it reduces the number of free parameters to be determined, potentially leading to greater confidence in the results derived from spectral fitting.

Self-consistent hydrodynamic solutions require the calculation of the acceleration that drives the wind. Thanks to the pioneering work of Lucy & Solomon (1970), we know that the winds of hot stars are accelerated by the radiation field emanating from the photosphere of the star. Momentum is delivered to the wind primarily by scattering (and absorption/reemission) of photons in bound–bound (i.e., line) transitions. A quantitative description of line-driven winds was first performed by Castor et al. (1975, hereafter called CAK theory) and later improved by Abbott (1982), Pauldrach et al. (1986), and Friend & Abbott (1986, called the modified or m-CAK theory). The approximations and assumptions underlying the m-CAK theory, and their implications for the wind dynamics, have been extensively discussed (Schaerer & Schmutz 1994; Puls et al. 2000; Krtička & Kubát 2010).

Over the last decade there has been a renewed effort to improve our understanding of line-driven winds. Hillier et al. (2003) stressed the importance of the adopted Doppler velocity (with contribution from both thermal motions and turbulence) on setting the line-acceleration around the sonic point, and Lucy (2007) studied the wind dynamics around the sonic point, argued that the sonic point was the true critical point for the wind, and confirmed the importance of the adopted Doppler velocity for setting the mass-loss rate and obtained mass-loss rates roughly a factor of 2 lower than those obtained by Vink et al. (2000, 2001).

More recently there was the study of Sander et al. (2017), who calculated consistent line-acceleration and hydrodynamics for the O4 I(n)f star ζ Puppis using the PoWR code. The advantage of using the PoWR code is that the line force does not rely on the use of the Sobolev approximation, and thus it computes correctly the line force in the neighborhood of the sonic point. Krtička & Kubát (2017) have provided new confident theoretical values for wind parameters of O dwarfs, giants, and supergiants by solving the radiative transfer equation and hydrodynamics simultaneously. Along the same lines, we also mention the recent studies of Sundqvist et al. (2019) and Björklund et al. (2021), who used their full NLTE CMF radiative transfer solutions from the code FASTWIND (Santolaya-Rey et al. 1997; Sundqvist & Puls 2018) for calculation of the radiative acceleration responsible for the wind driving.

Based on the m-CAK theory, Gormaz-Matamala et al. (2019, hereafter Paper I) developed a prescription to derive self-consistent solutions given different sets of stellar parameters for hot massive stars, following the quasi-NLTE treatment for atomic populations of Mazzali & Lucy (1993), the radiation field calculated from Tlusty (Hubeny & Lanz 1995), and the hydrodynamic solutions performed by HydWind (Curé 2004; Curé & Rial 2007). Paper I demonstrated that the prescription provided useful theoretical wind parameters for different sets of temperature, surface gravities, abundances, and even rotational velocities.

In this work, we aim to obtain a self-consistent solution without using the m-CAK model and employing a full NLTE treatment for atomic populations to calculate the line-acceleration gline(r). To obtain a reliable expression for the line-acceleration, we use the radiative transfer code CMFGEN. We then use the Lambert W-function (Corless et al. 1996; Müller & Vink 2008; Araya et al. 2014), which is a mathematical function that arises as a solution of the wind's stationary equation of motion (hereafter e.o.m.; see Appendix A for a formal definition of the Lambert W-function) to obtain a new self-consistent velocity profile no longer based on the β-law formalism.

The ultimate aim of our studies is to obtain a hydrodynamic solution consistent with the stellar parameters and which gives synthetic spectra comparable with observation. However, due to our underlying assumptions, this will not always be realizable. In particular the hydrodynamics will depend on the adopted abundances and atomic models. Further, the wind structure depends on the (unknown) clumping and porosity structure of the wind and on the photospheric microturbulence (especially in the neighborhood of the sonic point). Photospheric convection cells, if they exist, will also affect the wind dynamics. Large-scale motions (macroturbulence) exceeding the sound speed are also known to exist in the photosphere of O stars (e.g., Howarth et al. 1997; Simón-Díaz et al. 2017), and their origins are not understood. However, the use of theoretical velocity laws, even if only partially consistent with the hydrodynamics, will provide useful insights to aid spectral modeling and the study of wind dynamics.

The focus of this work is to derive a self-consistent velocity profile for the wind assuming a given mass-loss rate and volume-filling factor. The advantage of this approach is flexibility; the mass-loss rate can still be obtained from spectral fitting, unconstrained by uncertainties in the wind dynamics near the sonic point. In a forthcoming paper, we will explore alternative methods to constrain mass-loss rates in order to obtain a fully consistent description of the wind.

The structure of this work is as follows: the general theoretical framework of wind hydrodynamics is introduced in Section 2, while detailed information about CMFGEN, and its use in our calculations, is outlined in Section 3. In Section 4, the methodology of the Lambert-procedure to calculate the self-consistent velocity profiles is described. An evaluation of the converged results is presented in Section 5 while a brief comparison of synthetic spectra with observational data is presented in Section 6. A comparison of our results with earlier studies, and the consequences of instabilities for the determination of mass-loss rates, is presented in Section 7. Finally, our summary and conclusions are given in Section 8.

2. Wind Hydrodynamics

The standard line-driven theory relies on the assumption that the winds of massive stars are spherically symmetric, stationary, smooth, and nonrotating, and that the effects of viscosity, heat conduction, and magnetic fields can be ignored.

Under the above assumptions, the velocity ʋ(r) and density ρ(r) profiles are coupled by the equation of mass conservation, which connects them with the mass-loss rate:

Equation (1)

and by the radial equation of momentum

Equation (2)

where p is the gas pressure, ʋ is the wind velocity, and GM*/r2 is the gravitational acceleration ggrav. The term grad is the radiative acceleration, and it corresponds to the total acceleration due to all radiative processes, i.e., it not only considers the effects of absorption and reemission of photons by line transitions but also electron scattering and continuum opacity. Acceleration due to electron scattering is expressed as

Equation (3)

with Γe being the Eddington parameter:

Equation (4)

where σe is the Thomson scattering cross section, L* is the stellar luminosity, M* is the stellar mass, c is the light speed, and G is the gravitational constant.

Because Equation (3) has the same radial dependence to the acceleration due to gravitation, ggrav = GM*/r2 (indeed, electron scattering acceleration acts to counter gravitational acceleration), it is possible to subtract gelec from the radiative acceleration and include it by means of acceleration due to effective gravity defined as

Equation (5)

The acceleration due to line effects only (i.e., line-acceleration) corresponds to the total radiative acceleration minus the acceleration coming from the electron scattering: 7

Equation (6)

The solution of the equation of momentum is not straightforward because the line-acceleration is a nonlinear function of the radius, density, velocity, and velocity gradient. Thus, in general, numerical techniques are needed to find solutions (e.g., Curé 2004). However, if we can express the line-acceleration as a function of radius only, the equation of momentum can be analytically solved.

2.1. Solution of the Momentum Equation

Taking into account the differentiation between radiation and line-acceleration outlined in the previous paragraphs, we rewrite the equation of momentum as

Equation (7)

where p is the gas pressure, ʋ is the wind velocity, and GMeff/r2 is the effective gravitational acceleration introduced in Equation (5).

Following Müller & Vink (2008) and Araya et al. (2014), we express Equation (7) in dimensionless form by introducing the dimensionless variables

Equation (8)

where R* is the stellar radius and a is the isothermal sound speed given by

Equation (9)

Unlike Sander et al. (2017), we need to assume a constant sound speed. However, the assumption of an isothermal wind near the sonic point is generally an excellent approximation for O stars, and above the sonic point, the sound speed quickly becomes irrelevant for the dynamics. The turbulent velocity ʋturb is included to solve the e.o.m. and is commonly assumed to be on the order of ∼10–15 km s−1 (Villamariz & Herrero 2000; Puls et al. 2005). In principle, the turbulent velocity can be derived by spectral fitting.

Defining the dimensionless line-acceleration

Equation (10)

the e.o.m. reads

Equation (11)

with ʋcrit being the rotational breakup velocity in the case of a corresponding rotating star (Araya et al. 2014)

Equation (12)

With the use of the equation of state for an ideal gas (p = a2 ρ), Equation (11) becomes

Equation (13)

and is formally independent of density (and therefore independent of mass-loss rate).

This expression has the advantage that if the line-acceleration is expressed as a function of the radius only ${g}_{\mathrm{line}}(\hat{r})$, the velocity and radial terms are separated on either side of the equation. Therefore, by means of the Lambert W-function (see the mathematical definition and its main properties in Appendix A), Equation (13) can be solved by integrating both sides along the atmosphere and expressing $\hat{{\unicode{x0028B}}}(\hat{r})$ in terms of the defined W(z) (see Equation (A2)).

In Equation (13) the explicit dependence on the density ρ(r) has vanished and as a consequence the Lambert W-function cannot provide a new value for the mass-loss rate. Thus, $\dot{M}$ can be considered as a free parameter of the e.o.m. Our solution to the e.o.m. will be consistent with the assumed line force but this will (in general) be inconsistent with the new line force computed by a subsequent CMFGEN iteration. As discussed in more detail in Section 3.2, a fully consistent solution of the mass-loss rate will require an iterative adjustment for the mass-loss rate. However, given the uncertainties and assumptions, it can be desirable to leave the mass-loss rate fixed and simply iterate until our solution for the velocity law stabilizes (Section 4, Appendix C).

2.1.1. Subsonic versus Supersonic Region

Assuming a monotonic behavior of the velocity field throughout the atmosphere ($d\hat{{\unicode{x0028B}}}/d\hat{r}\gt 0$), it is seen that the left-hand side (hereafter lhs) of Equation (13) becomes zero when ʋ = a because then $\hat{{\unicode{x0028B}}}=1$. Thus, at the sonic (or critical) point ${\hat{r}}_{c}$, the right-hand side (hereafter rhs) must also be zero, i.e.,

Equation (14)

Because we are assuming that the line force is only a function of r, the formal critical point of the e.o.m. is the sonic point, which was also assumed by Lucy & Solomon (1970). However, using the Sobolev theory, the line force depends on dv/dr, and this moves the critical point above the sonic point. The requirement that the wind moves smoothly through the critical point sets the velocity gradient at the critical point and (potentially) yields a unique solution for the mass-loss rate. In more recent work, Lucy (2007) assumed that radiative acceleration in the neighborhood of the sonic point was a function of ʋ, and this also leads to the critical point being at the sonic point.

Due to the monotonic behavior of ʋ(r) (and consequently $\hat{{\unicode{x0028B}}}$), the sonic point becomes a boundary between two regions. The first of them is for $\hat{\unicode{x0028B}}\lt 1$, which makes both sides of Equation (13) negative. It is called the subsonic region. The second, for $\hat{{\unicode{x0028B}}}\gt 1$, is then called the supersonic region. The difference between them is not only due to mathematical analysis but also to physical reasons: in a one-dimensional fluid moving at velocities below sound speed, perturbations are propagated both inwards and outwards, whereas perturbations occurring in a supersonic fluid are only propagated downstream.

This means that we actually are searching solutions for the equation of momentum in two different branches that merge at the critical point: the analytical solution for the velocity profile implies the integration from the sonic point both outwards and inwards.

In terms of the Lambert function, the general solution is

Equation (15)

See Appendix B for a detailed step-by-step of the integration approach.

3. Basic Concepts of CMFGEN

3.1. Calculation of Line-Acceleration gline(r)

The radiative acceleration, as a function of wind location, is obtained from a converged CMFGEN model. It is evaluated using the formula:

Equation (16)

where χf is the flux mean opacity

CMFGEN provides the radiative acceleration as a function of radius, and this can be used directly with our Lambert-procedure to obtain a new velocity law. However, it is widely known that the radiative acceleration is also a function of the velocity and velocity gradient, and hence, in general, the radiative acceleration in CMFGEN will change when we use the new velocity law. Thus, an iterative procedure is adopted.

3.2. Mass-loss Rate and Clumping Factor

The dimensionless equation of momentum (Equation (13)) is not explicitly dependent on density because ρ(r) terms are mathematically canceled. As a consequence, the Lambert W-function cannot calculate a new mass-loss rate and hence $\dot{M}$ here is considered as a free parameter. However, the dependence on density, and therefore on mass-loss rate, is implicitly included in Equation (13) via the gline term. From Equation (16), the line-acceleration appears to be inversely proportional to the mass-loss rate $\dot{M}$, and hence also inversely proportional to the density ρ(r). However, there is also a further hidden dependence arising from line driving. For O-type stellar winds, Sobolev theory shows that gline scales as ∼${\dot{M}}^{-\alpha }$, where α is the CAK parameter and is around 2/3 for O-star winds (Puls et al. 2008). Because the line force is density dependent, different mass-loss rates will lead to different final Lambert hydrodynamics. Higher mass-loss rates produce slower line accelerations (see Figure 1), which yield velocity profiles with lower terminal velocities.

Figure 1.

Figure 1. Radial-dependent line accelerations gline, normalized by gelec, from initial CMFGEN models of ζ Puppis with different values for $\dot{M}$. All the other stellar and wind parameters are the same, and they are given in Table 1.

Standard image High-resolution image

Line-acceleration is also affected by small-scale inhomogeneities (i.e., clumping) present throughout the wind. Clumping alters the line force and modifies spectral features produced in the wind. Clumping is implemented in CMFGEN in terms of the volume-filling factor f. CMFGEN assumes a void interclump medium and that the clumps are much smaller than the mean free path of a photon. The density inside the clumps, ρcl, satisfies ρcl = ρ0/f, where ρ0 is the homogeneous (smooth) wind density at the same radius (Bouret et al. 2005). The volume-filling factor is defined in terms of the velocity field as

Equation (17)

although other options are also available. For some of the simulations presented in this paper, we used a slightly modified form that forced f to unity at the sonic point. f can be interpreted as the volume-filling factor at a larger distance, while ʋcl indicates the onset velocity of clumping and can be interpreted as the point in the velocity field where clumping effects start.

When clumping is included in stellar winds, inconsistencies will potentially arise in the solution of the steady-state hydrodynamic equations, which assume a smooth flow. With the inclusion of clumping in CMFGEN, the mass conservation equation becomes

Equation (18)

and the e.o.m. is

Equation (19)

This last expression is a more general articulation from Equation (2), using the clumped density for the equation of state of the ideal gas, p = a2 f ρcl, and relaxing the isothermal condition previously imposed. 8 Similar to the case of Equation (13), we ignore the radial derivative over the sound speed term a2(r) (Equation (9)) because it has been empirically demonstrated that its value is almost constant over the wind (see Figure 1 from Sander et al. 2017).

If we consider a homogeneous wind, the last term of the rhs of Equation (19) vanishes and we can recover the original Equation (13). The term will also become unimportant above the sonic point where gas pressure forces become negligible. Unfortunately, studies of O-star spectra suggest that clumping effects extend down to the photosphere (Bouret et al. 2003; Hillier et al. 2003; Puls et al. 2006). However, a more important issue is that the hydrodynamic equation as written is inconsistent and takes no account of the interclump medium and clump formation.

Above the sonic point, a stronger clumping factor, expressed by a smaller filling factor f, gives a stronger line-acceleration (see Figure 2), which, for a given mass-loss rate, will lead to higher terminal velocities. Clumping boosts line-acceleration because clumping enhances recombination, which enhances line-acceleration because the atomic levels producing the lines responsible for driving the flow will have a larger population. This effect can also be seen in m-CAK theory through the δ parameter, which indicates that the line force has an additional dependence proportional to ${({N}_{{\rm{e}}}/W(r))}^{\delta }$, where Ne is the electron density and W(r) the dilution factor 9 (Abbott 1982).

Figure 2.

Figure 2. Radial-dependent line accelerations gline, normalized by gelec, from initial CMFGEN models of ζ Puppis with different values for f. The other stellar and wind parameters are given in Table 1 for all three models.

Standard image High-resolution image

As readily apparent, and which has been noted many times previously (e.g., Lucy & Solomon 1970), Equation (19) implies that the radiative force is equal to the gravitational force at the sonic point, i.e.,

Equation (20)

(see also Lucy 2007). 10 This singularity condition is also introduced in the self-consistent studies of Sander et al. (2017) and Sundqvist et al. (2019) by means of the new factor Γ = grad/ggrav, which must be 1 at the sonic point. 11 It becomes evident then that the initial value given in our CMFGEN models for mass-loss rate and for clumping will alter the equilibrium of Equation (19), especially around the sonic point singularity, and then the derived hydrodynamic solution.

Following this, the accuracy of the mass-loss rate could be checked using the singularity criterion (Equation (20)) and the hydrodynamic error determined from the CMFGEN modeling. Typically for CMFGEN models this is defined by

Equation (21)

Other error prescriptions are also possible. In the above, for example, the use of ∣gtot∣ rather than ∣g∣ + ∣gr ∣ exacerbates the error at the sonic point (as ∣gtot∣ = 0 at the sonic point). Another alternative is to express the error relative to the radiative force.

The two criteria discussed above can be used to constrain the mass-loss rate to be used in the Lambert-procedure. In principle we can adjust $\dot{M}$ to look for the value that minimizes the error. However, the hydrodynamic solution is influenced by several other (uncertain) free parameters besides the mass-loss rate (e.g., ʋturb, X-rays, and parameters associated with clumping), and the neglect of other factors that will influence the hydrodynamics (e.g., rotation). In practice we have adjusted some of these parameters to improve the hydrodynamics, but given the uncertainties we did not attempt to get perfect agreement with the hydrodynamics at all velocities. Importantly, we wanted to retain some consistency of the parameters, particularly the mass-loss rate, with values obtained from empirical model fitting.

4. Lambert-Procedure

In the following we will refer to the iterative process that uses the line-acceleration computed by CMFGEN and the velocity profile obtained from the Lambert W-function as the Lambert-procedure. In this procedure, the computed gline is used as input to recalculate a new velocity profile, whereas the calculated ʋ(r) is reintroduced in CMFGEN to recompute a new model with a new line acceleration. The iterative loop is executed until convergence criteria are satisfied. A flowchart for the Lambert-procedure is presented in Figure 3. The Lambert-procedure only searches for an agreement between the velocity field and the line acceleration—the mass-loss rate is outside the loop and it is considered as a free parameter. If desirable, the mass-loss rate can be modified to better fulfill the criteria mentioned in Section 3.2, but those changes are outside the circuit involving the Lambert W-function.

Figure 3.

Figure 3. Flowchart of the Lambert-procedure. The stellar parameters are the same during the entire procedure, as well as mass-loss rate and clumping factor.

Standard image High-resolution image

The Lambert-procedure in this work is introduced with the aim to evaluate: (i) whether there is a hydrodynamic solution able to properly couple the line-acceleration and velocity field, (ii) whether this solution for ʋ(r) is unique (i.e., does not depend on the initial onset for terminal velocity and β-law), and (iii) whether this solution does reproduce a spectrum in agreement with observations.

The great advantage of using the Lambert W-function is that we can solve the e.o.m. analytically to obtain a new velocity profile. Müller & Vink (2008) and Araya et al. (2014) have also used the Lambert W-function for a solution of the e.o.m., but they used a parameterized form of gline, whereas our line-acceleration comes directly from the detailed solution of NLTE line formation given by CMFGEN.

4.1. Calculation of the Velocity Field

Calculation of the new velocity profile is done by solving Equation (15), using for ${\hat{g}}_{\mathrm{line}}(\hat{r})$ the output of a CMFGEN model. The formal expression for ʋ(r) comes from Equation (B6) (see Appendix B).

From the two real branches of the Lambert W-function (see Appendix A), the one with asymptotic behavior is W−1. We use this branch to obtain the velocity profile in the supersonic region, i.e., from the sonic point outwards. As a consequence, each new step in the Lambert-procedure will have a new terminal velocity and a new exponential behavior different from the initial β-law.

To obtain the solution in the subsonic region, the W0 branch of the Lambert W-function can be used. However, we decided not to do so, as large errors were produced for the acceleration and velocity profiles in the lowest part of the wind (in the hydrostatic region) when using the CMFGEN solution. Rather we used a modification of ʋ(r) below the sonic point by rescaling the velocity profile with respect to the initial model to ensure a smooth connection to the supersonic solution.

4.1.1. Junction of Subsonic and Supersonic Regions

After determining the critical point rc from Equation (14) and calculating the new Lambert velocity profile, we spline both regions (new supersonic and old subsonic) at the critical point, where ʋ(rc ) = a. This coupling must ensure a smooth transition between subsonic and supersonic zones. The conditions

Equation (22)

and

Equation (23)

must be fulfilled.

To be in agreement with the CMFGEN units system (where the derivative of the velocity profile is expressed by the term $\sigma \equiv d\mathrm{ln}{\unicode{x0028B}}/d\mathrm{ln}r+1$), the second limit is easier to evaluate if we use logarithm derivatives, which are related by

Equation (24)

Then,

Equation (25)

As a consequence of these conditions, the subsonic region must be readapted, too, to have a smooth transition and avoid instabilities. Because our rc is determined from the singularity of the e.o.m., this does not even coincide with the old velocity profile at ʋ = a (differences on these two sonic points were also previously referred by Sander et al. 2017, see their Figure 3). Figure 4 shows the disconnection of ʋ(r) and $d\mathrm{ln}{\unicode{x0028B}}/d\mathrm{ln}r$ around the sonic point for a velocity profile after solving the e.o.m. via the Lambert W-function. Therefore, we proceed to rescale the radius in the next model to match ʋ(rc ) = a. The value of the rescaling depends on where in the old ʋ(r) we get ʋ = a from both sides as in Equation (23). Because it can happen that the differences in the velocity gradients between the subsonic and supersonic regions are too high, the spline can be also done below or over the critical point (up to 3 ND depth points depending of the case). In any case, the value of the rescaling is typically around 1.001 or 1.003 (i.e., the radius is never modified by more than 0.3%).

Figure 4.

Figure 4. Zoom over the sonic point (red point), where subsonic and supersonic regions are coupled during the Lambert-procedure. The magenta solid line represents the new velocity profile and velocity gradient for the supersonic region obtained with the Lambert W-function; the blue dashed line represents the old velocity profile and velocity gradient for the subsonic region.

Standard image High-resolution image

4.2. Convergence of Models

Given the line-acceleration as an input, the Lambert W-function provides a new velocity profile, whereas CMFGEN provides a new line-acceleration given a prescribed velocity profile. Therefore, a self-consistent solution requires the combination of both these calculations in an iterative loop until reaching some convergence criteria.

The convergence of the Lambert iterations is checked by evaluating both the velocity field ʋ(r) and the line-acceleration gline(r). To accept a Lambert model as well converged, we require that the conditions

Equation (26)

and

Equation (27)

are fulfilled for all r. Here, n denotes the nth Lambert iteration executed. 12

The definition of convergence we apply in this section only relates to the execution of the Lambert-procedure to solve the dimensionless e.o.m. We assume then that conditions Equations (26) and (27) imply that Equation (13) is satisfied thought the full wind. Unfortunately, we cannot extend this implication to the full e.o.m. introduced in Equation (19), because the Lambert W-function is applied over the simplified version. As a consequence, the convergence of a Lambert-procedure does not assure the fulfillment of the e.o.m. inside CMFGEN. Given the explicit independence on density, we can mathematically find a wide family of well-converged solutions for velocity profiles from different sets of mass-loss rates and clumping factors, independent of whether only one specific set of $\dot{M}$ and f would fully satisfy Equation (19).

The thresholds from Equations (26) and (27) are applied over all the range of the radial coordinate r, from the photosphere outwards and with special consideration around the sonic point. Because this is the zone where the solution coupling is done, it is also the zone with more instability at the moment of the convergence.

Besides purporting to be a solution for the velocity profile, these solutions under the Lambert W-function also must be proven to be unique. Wind hydrodynamics expressed under the β-law depends on two parameters: terminal velocity ʋ and the β exponent. If the Lambert-procedure is able to generate a well-converged hydrodynamic solution, it should be the same independently of any initial velocity profiles (i.e., initial ʋ and β parameters) chosen.

Typically, the Lambert-procedure converges after five or six Lambert iterations, each one of them corresponding to a CMFGEN model executed with about 12 inner iterations. In some cases the Lambert-procedure may not converge, and in such cases the mass-loss rate is adjusted to facilitate convergence.

5. Results

Given that CMFGEN requires a large computational effort and that this is an initial study, the present study is focused only on three O-type supergiants: ζ Puppis (HD 66811), HD 163758, and α Cam (HD 30614). The stellar parameters are listed in Table 1. To evaluate the validity of the Lambert-procedure to perform hydrodynamic solutions, we take one CMFGEN model for each one of these stars, with the initial parameters shown in Table 1 (hereafter initial models). The initial stellar and wind parameters correspond to the values used in the literature that fit the star's spectra over a wide spectral range. Atomic species and their levels are specified in Appendix E.

Table 1. Stellar and Wind Parameters of Initial CMFGEN Models and the Final Lambert Models (in Bold)

  ζ PuppisHD 163758 α Cam
 O4 I(n)fO6.5 IafpO9 Ia
Teff [K]41,00034,50028,200
$\mathrm{log}g$ 3.63.412.975
R*/R 17.919.130.3
${\dot{M}}_{\mathrm{ini}}\ [{10}^{-6}{M}_{\odot }\ {\mathrm{yr}}^{-1}]$ 2.71.50.64
${\dot{M}}_{\mathrm{Lamb}}\ [{10}^{-6}{M}_{\odot }\ {\mathrm{yr}}^{-1}]$ 2.7 1.2 0.7
f,ini 0.10.050.02
f ,Lamb 0.1 0.05 0.1
v,ini [km s−1]230021001550
v,Lamb [km s−1] 2740 2400 2890
β 0.91.11.5
Quasi- β 0.9 0.85 0.95
vturb,ini [km s−1]10.010.010.0
vturb,Lamb [km s−1] 10.0 7.0 10.0
${\unicode{x0028B}}\sin i\ [\mathrm{km}\ {{\rm{s}}}^{-1}]$ 210.094.0100.0
He/H0.160.150.15
[C/C]0.1880.8910.491
[N/N]9.5104.7102.000
[O/O]0.1360.2360.849
[P/P]0.3431.0001.010
[Fe/Fe]0.8111.0000.918
[Ni/Ni]0.9621.0001.010

Note. R* is set for optical depth τ = 2/3. Spectral types are taken from Sota et al. (2011, 2014), whereas solar abundances are taken from Asplund et al.(2009).

Download table as:  ASCIITypeset image

The star ζ Puppis was chosen because it has been long considered the prototypical O star and was the main star studied in this work. It has been extensively analyzed (e.g., Kudritzki et al. 1983; Pauldrach et al. 1994, 2012; Bouret et al. 2012; Sander et al. 2017; Gormaz-Matamala et al. 2019; Paper I). The initial stellar and wind parameters adopted for ζ Puppis correspond to those found by Bouret et al. (2012, Section 6.5) and Marcolino et al. (2017) from their spectral analysis at optical and infrared wavelengths, respectively. HD 163758 and α Cam are late O-type stars with lower effective temperatures and surface gravities. Parameters for HD 163758 were also taken from Bouret et al. (2012), whereas the parameters for α Cam are in the neighborhood of those determined from the L-band spectroscopic study of Najarro et al. (2011).

Results shown in this section correspond to the final solution for each model once the convergence is achieved and once the unicity of the solution is verified.

5.1.  ζ Puppis

Comparisons between the initial and converged self-consistent velocity fields are shown in Figure 5. Both velocity profile and line-acceleration were evaluated to satisfy the threshold conditions from Equations (26) and (27). Because the new model is self-consistent, both the lhs and rhs of Equation (2) are in agreement as shown in Figure 6 (see also Figure 20).

Figure 5.

Figure 5. Left panel: differences between initial velocity field described with the β-law (blue lines) and the converged velocity profile from the Lambert-procedure (red lines) for the ζ Puppis model. Right panel: zoom over the transition region is shown, displaying the sonic point with a red dot.

Standard image High-resolution image
Figure 6.

Figure 6. Radiative acceleration (divided by acceleration due to electron scattering) as a function of wind velocity for the final CMFGEN Lambert model (blue) for ζ Puppis, compared with the expected value when the equation of momentum is solved (red).

Standard image High-resolution image

Unicity of the Lambert solution is verified by running CMFGEN models with different initial values for β and ʋ. Figure 7 shows the unique convergence of all these parallel models: the left panel represents the initial velocity profiles with the β-law, whereas the right panel shows the final converged Lambert velocity profiles (where the overlap demonstrates all the initial models converging into the same solution).

Figure 7.

Figure 7. Left panel: velocity profiles (in km s−1) for ζ Puppis using different initial values of β and terminal velocity ʋ. Right panel: converged Lambert profiles for each one of these initial models.

Standard image High-resolution image

Because the condition Γ = 1 was already satisfied in the initial model, we did not modify the mass-loss rate nor the clumping factor. The run of Γ as a function of normalized velocity is shown in Figure 8.

Figure 8.

Figure 8. Γ as a function of the normalized velocity profile for the Lambert solution of ζ Puppis (blue) and its respective initial model (dashed gray). The red dot shows Γ = 1 ± 0.1 at $\hat{{\unicode{x0028B}}}=1$.

Standard image High-resolution image

With the converged self-consistent hydrodynamics, the resulting terminal velocity has increased by a factor of ∼1.2 from 2300 to 2740 km s−1. Besides, due to the rescaling in the subsonic region, there are no significant differences in the resulting velocity profile below the sonic point, just above ∼12–13 km s−1.

Moreover, from Figure 9, we observe that it is possible to find a β value that can closely fit the new velocity field. This demonstrates that velocity profiles can be approximated by a β-law at large scale only, but around the critical point it would be necessary to use an alternative prescription to recover the shape of ʋ(r), the reason why we defined this new exponent as "quasi-β"). Several such procedures are implemented in CMFGEN, one of which is very similar to that proposed by Björklund et al. (2021).

Figure 9.

Figure 9. Upper panel: velocity profile of the converged Lambert model (red), fitted with a β-law using β = 0.8 (cyan), β = 1.0 (green), and β = 0.9 (blue). Lower panel: a zoom around the sonic point.

Standard image High-resolution image

5.2. HD 163758

A good solution for HD 163758 was found by decreasing the mass-loss rate compared with the initial value provided by Bouret et al. (2012) and tabulated in Table 1. The run of Γ as a function of normalized velocity is shown in Figure 10. We observe, in this case, that our initial model for HD 163758 did not satisfy the criteria Γ = 1 at the sonic point, even after adjustments of the velocity law in the neighborhood of the sonic point. Thus, we reduced the mass-loss rate from 1.5 × 10−6 to 1.2 × 10−6 M yr−1.

Figure 10.

Figure 10. Γ as a function of the normalized velocity profile for the Lambert solution of HD 163758 (blue) and its respective initial model (dashed gray). The red dot shows Γ = 1 ± 0.1 at $\hat{{\unicode{x0028B}}}=1$.

Standard image High-resolution image

Checks for the unicity of the solution were the same as for ζ Puppis. Comparisons between the old and the self-consistent new velocity profile are shown in Figure 11. The increment in the terminal velocity for a Lambert model is 1.14 times, from 2100 to 2400 km s−1, lower than that for ζ Puppis. However, we observe the "departure" of the Lambert velocity profile from the initial ʋ(r) at a much deeper zone, near ʋ ∼ 2 km s−1. This occurs because the new Lambert velocity profile has a lower value for its quasi-β (0.85) compared with the initial introduced β parameter (1.1).

Figure 11.

Figure 11. Left panel: differences between initial velocity field with the β-law (blue) and the converged velocity profile from the Lambert-procedure (red) for HD 163758 model. Right panel: zoom over the transition region is shown, displaying the sonic point with a red dot.

Standard image High-resolution image

Despite these encouraging result, the instability of the model could not be reduced to the same level as for ζ Puppis. As can be seen from Figure 12, the agreement for the e.o.m. this time is not satisfied as well as in the case for ζ Puppis.

Figure 12.

Figure 12. Radiative acceleration (divided by acceleration due to electron scattering) as a function of wind velocity for the final CMFGEN Lambert model (blue) for HD 163758, compared with the expected value when the equation of momentum is solved (red).

Standard image High-resolution image

Particularly for this star, we tested the effects of the modification of the turbulent velocity ʋturb. We found that its reduction from 10 to 7 km s−1 reduced the error of the CMFGEN model, without any significant variation over the resulting velocity profile.

Alternatively, we have found that a significant decrease of the mass-loss rate led to a more stable converged Lambert model and therefore a better agreement of Equation (2). This is observed in Figure 13, where both sides exhibit solid agreement. The derived $\dot{M}=8.3\times {10}^{-7}{M}_{\odot }\,{\mathrm{yr}}^{-1}$ is almost a factor of 2 lower than the initial model, while ʋ = 3100 km s−1 is factor of 1.5 times higher. Such strong differences affect the determination of the Γ. Figure 14 shows that the condition Γ = 1 is not satisfied for the sonic point now, which can be assumed as a reinforcement that the alternative mass-loss rate is too low. This implies that minimization of the CMFGEN error may not lead to a smooth solution through the sonic point.

Figure 13.

Figure 13. Radiative acceleration (divided by acceleration due to electron scattering) as a function of wind velocity for the alternative CMFGEN Lambert model (cyan) of HD 163758, compared with the expected value when equation of momentum is solved (orange).

Standard image High-resolution image
Figure 14.

Figure 14. Γ as a function of the normalized velocity profile for the Lambert solution of the alternative model for HD 163758 (cyan) and its respective initial model (dashed gray). The red dot shows Γ = 1 ± 0.1 at $\hat{{\unicode{x0028B}}}=1$.

Standard image High-resolution image

5.3.  α Cam

A solution for α Cam was found for a higher mass-loss rate and an increased volume-filling factor (i.e., decreased clumping) compared to the initial values displayed in Table 1 that are similar to the ones provided by Najarro et al. (2011). The run of Γ as a function of normalized velocity is shown in Figure 15 where, as for HD 163758, Γ = 1 at the sonic point was not satisfied in the initial model.

Figure 15.

Figure 15. Γ as a function of the normalized velocity profile for the Lambert solution of α Cam (blue) and its respective initial model (dashed gray). Red dot shows Γ = 1 ± 0.1 at $\hat{{\unicode{x0028B}}}=1$.

Standard image High-resolution image

Comparisons between the old and the new self-consistent velocity profile are shown in Figure 16. This star presents the highest increment in the terminal velocity for a Lambert model among the stars studied, from 1550 to 3420 km s−1, a factor of ∼2.2. The differences in the velocity profiles (for both the Lambert and initial models) go much deeper into the subsonic region (ʋ ≲ 1 km s−1), which again can be attributed to the large departure of the resulting quasi-β (0.95) from the initial value of the β parameter (1.5).

Figure 16.

Figure 16. Left panel: differences between the initial velocity field with the β-law (blue) and the converged velocity profile from the Lambert-procedure (red) for the α Cam model. Right panel: zoom over the transition region is shown, displaying the sonic point with a red dot.

Standard image High-resolution image

This great enhancement of the velocity profile also causes instabilities in the hydrodynamic structure of the model, making it impossible to obtain an accurate agreement for the equation of momentum, as illustrated in Figure 17.

Figure 17.

Figure 17. Radiative acceleration (divided by acceleration due to electron scattering) as a function of wind velocity for the CMFGEN Lambert model (blue) for α Cam, compared with the expected value when the equation of momentum is solved (red).

Standard image High-resolution image

For α Cam, we tested the effects of the modification of the ʋcl (see Equation (17)). The modification from 37.5 to 100 km s−1 reduced the error of the CMFGEN model but led to a Lambert solution with a terminal velocity increased by ∼500 km s−1. However, the increase in mass-loss rate to 8.5 ×10−7 M yr−1 (a factor of ∼1.2 higher than the previous Lambert model) led to a more stable model and a lower terminal velocity (2650 km s−1). Figure 18 shows a more precise agreement for both sides of Equation (2), and Figure 19 shows that the condition Γ = 1 for the sonic point is also satisfied. Thus, the alternative model satisfies better our two criteria and therefore provides a more reliable value for the mass-loss rate.

Figure 18.

Figure 18. Radiative acceleration (divided by acceleration due to electron scattering) as a function of wind velocity for the alternative CMFGEN Lambert model (cyan) for α Cam, compared with the expected value when the equation of momentum is solved (orange).

Standard image High-resolution image
Figure 19.

Figure 19. Γ as a function of the normalized velocity profile of the Lambert solution for the alternative α Cam (blue) and its respective initial model (dashed gray). The red dot shows Γ = 1 ± 0.1 at $\hat{\unicode{x0028B}}=1$.

Standard image High-resolution image
Figure 20.

Figure 20. Comparison of the left-hand side of Equation (2) (blue) and right-hand side (orange) for the hydrodynamics obtained from the CMFGEN model for ζ Puppis from Bouret et al. (2012). Accelerations were rescaled by gelec (Equation (3)) for illustrative reasons.

Standard image High-resolution image
Figure 21.

Figure 21. Numerical errors (Equation (21)) of the final Lambert models of ζ Puppis (red), HD 163758 (blue), and α Cam (green). Error for the alternative models of HD 163758 and α Cam are plotted in dashed lines.

Standard image High-resolution image
Figure 22.

Figure 22. Real branches of the Wk (z) Lambert function: k = 0 (dashed blue line) and k = −1 (solid red line).

Standard image High-resolution image
Figure 23.

Figure 23. Plot of the last iterations of Equation (26) for the CMFGEN models of HD 163758 with $\dot{M}=1.2\times {10}^{-6}$ and f = 0.05. The threshold of ±0.01 is represented by the straight lines.

Standard image High-resolution image

6. Observational Data and Synthetic Spectra

Observed spectra, which are used for comparisons with the synthetic spectra, have already been presented by the authors referenced previously (and were kindly provided to us). The optical spectrum for ζ Puppis was obtained using the FEROS instrument (resolution λλ = 48,000), while the optical spectrum for HD 163758 was retrieved from the UVES-POP database 13 (see Table 2 of Bouret et al. 2012 for details). For the case of α Cam, spectra come from the Indo-US Library of Coudé Feed Stellar Spectra (Valdes et al. 2004). Ultraviolet spectra of the three stars were obtained from the high-resolution echelle (SWP) International Ultraviolet Explorer (IUE) spectra from MAST. 14 The SWP spectra cover the spectral range, λλ1150–2000 Å, at a resolution of λλ =10,000.

Comparisons between the observational data and the synthetic spectra calculated from the Lambert models discussed in Section 5 are presented in Appendix D. Because the stellar parameters (effective temperature, gravity surface, abundances) are not modified, we do not expect to improve the fits obtained from the CMFGEN models using the β-law. However the differences between them can provide insights into our understanding of stellar winds. In our discussion, we primarily focus on the Hα and the C iv λ λ 1548, 1551 line profiles.

For ζ Puppis, because the initial model already had an accurately constrained value for the mass-loss rate, and we see that there are no large differences between the initial model spectra and the final Lambert model spectra, for both the optical and the UV. The main exception arises from the higher terminal velocity of the Lambert model, which yields excess absorption on the blue side of the C iv λ λ 1548, 1551 doublet.

Figure 24.

Figure 24. Comparison of the Lambert solution for ζ Puppis (red), compared with the initial CMFGEN spectrum (blue), with the observed FEROS spectrum for the visible range from 4000 to 7000 Å. These spectra were computed using CMF_FLUX (Busche & Hillier 2005), and rotational broadening was taken into account using standard convolution procedures. However, the Hα profile (and particularly the absorption component), for example, is modified when rotational broadening is explicitly calculated using a formal solution of the transfer equation (Hillier et al. 2012).

Standard image High-resolution image
Figure 25.

Figure 25. Comparison of the Lambert solution for ζ Puppis (red), compared with the initial CMFGEN spectrum (blue) with the observed IUE spectrum for the ultraviolet range from 1200 to 1800 Å.

Standard image High-resolution image

For HD 163738, the decrease in mass-loss rate weakens the emission component of Hα , while the increase in terminal velocity modifies the blue side of C iv λ λ 1548, 1551. The severely low value for the mass-loss rate of the alternative model is responsible for the absence of an emission component for Hα , whereas the high value of the terminal velocity increases the disagreement for the blue side of C iv λ λ 1548, 1551.

Figure 26.

Figure 26. Comparison of the Lambert solution for HD 163758 (red), compared with the initial CMFGEN spectrum (blue) with the observed FEROS spectrum for the visible range from 4000 to 7000 Å.

Standard image High-resolution image
Figure 27.

Figure 27. Comparison of the Lambert solution for HD 163758 (red), compared with the initial CMFGEN spectrum (blue) with the observed IUE spectrum for the ultraviolet range from 1200 to 1800 Å.

Standard image High-resolution image
Figure 28.

Figure 28. Comparison of the alternative Lambert solution for HD 163758 (orange), compared with the initial CMFGEN spectrum (blue) with the observed FEROS spectrum for the visible range from 4000 to 7000 Å.

Standard image High-resolution image
Figure 29.

Figure 29. Comparison of the alternative Lambert solution for HD 163758 (orange), compared with the initial CMFGEN spectrum (blue) with the observed IUE spectrum for the ultraviolet range from 1200 to 1800 Å.

Standard image High-resolution image

Finally, for α Cam, where the resulting parameters of the Lambert model are very distant from the original parameters, the resulting spectrum, not surprisingly, looks very different. In this case, the Hα line does not present an emission component and the P-Cygni absorption component associated with C iv λ λ 1548, 1551, has a much larger blueward extension. The increased mass-loss rate and clumping for the alternative model also do not produce any Hα emission component, although the blue extension of C iv λ λ 1548, 1551 is slightly decreased.

Figure 30.

Figure 30. Comparison of the Lambert solution for α Cam (red), compared with the initial CMFGEN spectrum (blue) with the observed Indo-US library spectrum for the visible range from 4000 to 7000 Å.

Standard image High-resolution image
Figure 31.

Figure 31. Comparison of the Lambert solution for α Cam (red), compared with the initial CMFGEN spectrum (blue) with the observed IUE spectrum for the ultraviolet range from 1200 to 1800 Å.

Standard image High-resolution image
Figure 32.

Figure 32. Comparison of the alternative Lambert solution for α Cam (orange), compared with the initial CMFGEN spectrum (blue) with the observed Indo-US library spectrum for the visible range from 4000 to 7000 Å.

Standard image High-resolution image
Figure 33.

Figure 33. Comparison of the alternative Lambert solution for α Cam (orange), compared with the initial CMFGEN spectrum (blue) with the observed IUE spectrum for the ultraviolet range from 1200 to 1800 Å.

Standard image High-resolution image

Discrepancies between observational spectra and synthetic spectra computed from Lambert solutions, which are particularly evident in the emission components of the Hα lines, might suggest that stellar parameters of the models (effective temperature, stellar radius, surface gravity, abundances) should be revisited. However, another plausible reason is that the selected mass-loss rates for our Lambert models are not accurately constrained. This suggests that the values of stellar and wind parameters derived in the literature for the stars studied in this paper, and are considered to give a good fit with the observations, may not be valid when consistent calculations of the velocity profile are included in the CMFGEN code. To achieve better agreement with the observed spectra using our Lambert-procedure would require the calculation of a small grid of models for different combinations of stellar parameters, including the mass-loss rate and clumping. Such a study is beyond the scope of the current paper, and it will be done in future studies.

7. Discussion

7.1. Inherent Inconsistency of NLTE Line Formation Calculations

An example of the discrepancy between observation and theory is presented in Section 6.5 of the study of Bouret et al. (2012), where they checked the consistency of the line force for ζ Puppis. A truly self-consistent solution must satisfy the stationary equation of momentum (Equation (2)). Both the lhs and rhs of this equation are plotted in Figure 20. This grad(r) was calculated internally by CMFGEN starting from the initial parameters outlined in Table 1. However, even when the choice of these parameters achieved a better agreement between the lhs and rhs for Equation (2) compared with those stellar and wind parameters determined by the spectral fit (see the discussion in Bouret et al. 2012), both sides are still far from being in agreement. Hence, this particular CMFGEN model is not hydrodynamically self-consistent.

The discrepancy shown in Figure 20 arises because the velocity field is calculated from a β-law rather than from the line acceleration. It could be argued that this discrepancy might be only in a specific star, but this was previously also noticed by Puebla et al. (2016). Hence, the lack of consistency between hydrodynamics and radiative acceleration for a CMFGEN model with a velocity profile fixed by a β-law seems to be a general rule, and we can infer the same inconsistency for other radiative transfer codes (e.g., FASTWIND, PoWR) if they are also using the β-law. On the contrary, Lambert solutions present a remarkably good agreement between both sides of Equation (2), especially for those Lambert models with the smallest error. In Figure 21, we compared the resulting Lambert model for ζ Puppis with our other two stars HD 163758 and α Cam. Figure 21 is in concordance with that shown in Figures 6, 12, 13, 17, and 18. The lower the error, the better the agreement between the lhs and rhs of the e.o.m. for the CMFGEN model. This provides evidence for the validity of the velocity profiles computed from the Lambert W-function (instead if using the β-law) and also that the e.o.m. was properly satisfied for the CMFGEN model (Equation (19)), despite the condition Γ = 1 not being fulfilled at ʋ = a. In such a case the critical point for the equation is not the sonic point but in its close neighborhood.

7.2. Comparison with Previous Self-consistent Studies

The search for a fully self-consistent solution (coupling line acceleration, hydrodynamics, and radiative transfer) for the wind of massive stars has been approached previously by other studies (Puls et al. 2000; Kudritzki 2002; Pauldrach et al. 2012; Krtička & Kubát 2017; Sander et al. 2017). In particular, we emphasize the work done by Sander et al. (2017), where another iterative procedure was implemented in order to obtain a self-consistent solution for the wind hydrodynamics of ζ Puppis under the non-LTE regime, using the radiative transfer code PoWR (Gräfener et al. 2002; Hamann & Gräfener 2003). In that study, radiative acceleration was also obtained from the output of the radiative transfer solution (PoWR for them, CMFGEN for us) and that acceleration was reused to obtain a new hydrodynamic profile.

Although their study shares a similar philosophy to ours, there are important differences. First, our new velocity profile is calculated by means of the Lambert W-function, whereas their ʋ(r) is recalculated by updating the stratification of the wind. The advantage of the Lambert-procedure is that it ensures the existence of a unique solution, i.e., the final converged Lambert model does not depend on the initial velocity profile. Besides, our Lambert-procedure considers iterative changes in the velocity profile only, letting the stellar parameters (temperature, radius, mass, etc.) free and the other wind parameters (mass-loss rate and clumping factor) can be simultaneously modified to reduce the error in the models. Such relaxation imposed by us allows the search by eye inspection of the best spectral fit, reducing the number of free parameters (hydrodynamic will depend now on the initial stellar parameters and the constrained $\dot{M}$ and f). Hence, we gain the flexibility to constrain the mass-loss rate either by observations or by theoretical criteria, keeping in every case the self-consistency for the velocity profile.

Because of the different numerical approaches adopted in the literature, we select these two previous studies to compare with the results given by our Lambert-procedure. The comparison among these three self-consistent solutions for ζ Puppis is summarized in Table 2. In addition, we could have included the study made by Pauldrach et al. (2012), who also analyzed extensively ζ Puppis by deriving self-consistent values for the stellar and wind parameters of the star. However, they assumed a different value for the stellar radius of ∼28 R, far from the ∼18 R adopted by Sander et al. (2017), Gormaz-Matamala et al. (2019), and the present work, and hence we decided not to include it in the comparisons.

Table 2. Summary of Self-consistent Solutions Performed by Sander et al. (2017), Gormaz-Matamala et al. (2019), and This Present Study (Table 1)

 Sander et al. (2017)Gormaz-Matamala et al. (2019)Björklund et al. (2021)This work
RT code PoWR FASTWINDFASTWINDCMFGEN
Hydro method HydWind Lambert W-function
Teff [kK]40.74040.741
$\mathrm{log}g$ 3.633.643.653.6
R*/R 15.918.718.9117.9
v [km s−1]2046270023022740
$\dot{M}$ [10−6 M yr−1]1.65.22.52.7
f [1/D]0.10.20.10

Note. These three models assume the same abundances as Bouret et al. (2012). The radiative transfer code used to perform the respective synthetic spectra is also marked, together with the code/methodology used to calculate the hydrodynamics. Equivalence between filling factor and clumping factor D (used by PoWR) was made assuming the interclump medium is void, following Sundqvist & Puls (2018). Additionally, we include from the grid of Björklund et al. (2021), the closest parameters to ζ Puppis.

Download table as:  ASCIITypeset image

As an initial comment, we remark on the discrepancy between the wind parameters derived by Sander et al. (2017) and those derived by us, even when differences between stellar parameters are small. First, for the case of the terminal velocity, Sander's value of 2046 km s−1 lies below typical values obtained by spectral fitting: 2250 km s−1 by Puls et al. (2006) and 2300 km s−1 by Bouret et al. (2012). On the contrary, the final terminal velocity provided by the Lambert-procedure is ∼20% higher than the "observed" ʋ; this is seen, for example, in the fit for C iv λ λ 1548, 1551. However, their terminal velocity is close to that determined by Paper I's m-CAK prescription (see Table 5 from Gormaz-Matamala et al. 2019).

The difference in methodology between the current paper, which uses the Lambert W-function, and Paper I, which uses m-CAK theory, can be summarized as follows. Paper I:

  • 1.  
    used a simplified "quasi-NLTE" scenario for the treatment of atomic populations, following formulations performed by Mazzali & Lucy (1993) and Puls et al. (2000) whereas in this work we solve the proper statistical equilibrium equations when CMFGEN is executed.
  • 2.  
    used a flux field calculated by Tlusty, which uses the plane-parallel approximation whereas our flux field is calculated with CMFGEN. The radiation field computed in this case includes a full treatment of the line blanketing and the multiline scattering in spherical geometry (Puls 1987).
  • 3.  
    did not consider effects from clumping upon the resulting gline, whereas, from Figure 2, it is clear that line-acceleration changes when the mass-loss rate stays constant but the clumping factor is modified.
  • 4.  
    creates hydrodynamic models starting from the photosphere of the star using HydWind, whereas with the Lambert-procedure velocity profiles are calculated from the sonic point outwards.

Therefore, these differences between the codes could easily explain the differences in wind parameters for ζ Puppis.

Further, it is well known that rotation enhances the values for mass-loss rate on the equator of the star. The hydrodynamics calculated by HydWind in Paper I used a value for the normalized stellar angular velocity 15 of Ω = 0.39 in order to reproduce the known value of $\unicode{x0028B}\sin i=210$ km s−1 for ζ Puppis (Bouret et al. 2012), whereas the Lambert-procedure does not consider rotational effects because CMFGEN assumes spherical symmetry. According to Venero et al. (2016), mass-loss rates increase their values by a factor of ∼1.2–1.3 for Ω = 0.4, which leads us to think that the self-consistent value for $\dot{M}$ obtained in Paper I would decrease down to ∼4 × 10−6 M yr−1 if Ω = 0, closer to the $\dot{M}$ determined by the Lambert-procedure.

While both m-CAK and Lambert prescriptions obtain self-consistent solutions, they work under different philosophies. In Paper I, the m-CAK prescription calculates its own self-consistent mass-loss rate, which is later tested by spectral analysis in order to check how near or far it falls from the real solution. On the other hand, the Lambert-procedure presented in this work calculates a self-consistent solution for the wind hydrodynamics with the mass-loss rate as a free parameter, which is later (or can be) constrained by the spectral fitting.

We have also included in Table 2 a comparison with the study performed by Björklund et al. (2021), who provide a grid of self-consistent solutions following the iterative procedure using FASTWIND introduced in Sundqvist et al. (2019). We selected the model with the stellar parameters closest to those assumed for ζ Puppis, and we observe that their predicted mass-loss rate is in agreement with the value set by us, although their value for terminal velocity is slightly lower than ours and better matches the "observational" value of 2300 km s−1 (Bouret et al. 2012). The difference from our result may be due to their neglect of clumping. A summary of the best hydrodynamical solution for HD 162758 and α Cam found in this study, compared with the closest parameters from the grid of Björklund et al. (2021), is displayed in Tables 3 and 4, respectively.

Table 3. Summary of the Most Reliable Self-consistent Solutions for HD 163758 Performed by This Present Study (Section 5.2), Contrasted with the Closest Model from the Grid of Björklund et al. (2021)

 Björklund et al. (2021)This Work
RT codeFASTWINDCMFGEN
Hydro methodLambert W-function
Teff [kK]34.634.5
$\mathrm{log}g$ 3.433.4
R*/R 20.6819.1
v [km s−1]23772400
$\dot{M}$ [10−6 M yr−1]0.641.2
f [1/D]0.05

Download table as:  ASCIITypeset image

Table 4. Summary of the Most Reliable Self-consistent Solutions for α Cam Performed by This Present Study (Section 5.3), Contrasted with the Closest Model from the Grid of Björklund et al. (2021)

 Björklund et al. (2021)This Work
RT codeFASTWINDCMFGEN
Hydro methodLambert W-function
Teff [kK]28.428.2
$\mathrm{log}g$ 3.182.975
R*/R 23.1130.3
v [km s−1]29722650
$\dot{M}$ [10−6 M yr−1]0.180.85
f [1/D]0.05

Download table as:  ASCIITypeset image

7.3. Equations of Motion and Lambert W-function

The self-consistent velocity profiles introduced in this work have the advantage of having been analytically calculated from the e.o.m. of the wind using the Lambert-procedure. However, the e.o.m. introduced in Equation (13) assumes an isothermal and homogeneous wind. Such "simplifications" were necessary to allow the e.o.m. to be put in a form that can be solved using the Lambert W-function.

The adopted iterative procedure (Appendix C) allows a converged solution to be obtained for the wind velocity even though the full e.o.m. is not satisfied everywhere (particularly in the neighborhood of the sonic point). This was observed for HD 163758 and α Cam, where we could find two different new velocity profiles calculated by the Lambert W-function for each star and where the initial choice of mass-loss rate led to different terminal velocities.

7.4. Wind Instabilities and Mass-loss Rates

As we have stated, different values for the mass-loss rate of each star produce different grades of errors associated with the CMFGEN model along all the velocity structures. The Lambert-procedure can provide a converged solution for the velocity profile (i.e., we can recover the previous ʋ(r) after running the Lambert W-function) for any potential set of $\dot{M}$ and f if the gline is given, but just one set of values for the mass-loss rate and clumping factor will provide the most stable line-acceleration from the CMFGEN model. However, one of the limitations of that strategy is that the error reduction can be compared only with the intrinsic error of the previous model but does not guarantee achieving a standard threshold valid for any model (Figure 21). As a consequence, values for mass-loss rates presented in this work are those that lie close enough to the hypothetical true value, and thus we talk about constraining $\dot{M}$ instead of calculating it. Also, the CMFGEN models do not depend only on the mass-loss rate; this is particularly evident if we consider the extra features that affect the calculation of gline.

Hydrodynamic solutions from CMFGEN models depend not only on the selected wind parameters but also on other physics, which are not commonly considered in the standard model of line-driven winds, for instance, the inclusion of X-rays, which modifies the ionization balances of the atomic populations and therefore potentially affects the lines contributing to the line acceleration. The turbulent velocity affects the line-acceleration near the sonic point because of the enhancement of the Doppler width. This influence was extensively discussed by Lucy (2007) and Sundqvist et al. (2019), where different choices of ʋturb produced different wind parameters. Adopting a turbulent velocity also modifies the sound speed (Equation (9)) and therefore the location of the critical point for the e.o.m. However, for HD 163758 a reduction of ʋturb did not produce any significant change in the final Lambert solution. In part this is expected as the biggest change will occur around the sonic point. A more detailed study of the influence of the turbulent velocity on the Lambert W-function solution is warranted.

Another important factor that influences both the resulting Lambert models and the hydrodynamic solution obtained with CMFGEN is clumping. The models presented in this paper generally characterize the clumping via two parameters, the filling factor at infinity, f, and an onset velocity, ʋcl. Our functional form was adopted for simplicity—other forms may be more relevant, and in addition the clumping may not be a monotonic function (Puls et al. 2006; Najarro et al. 2011). The adopted value of f is crucial for the wind dynamics, whereas the influence of ʋcl is more uncertain. Alternative exponential functions using the Rosseland optical depth instead of the velocity field were proposed by Sander et al. (2017, see their Equation (32)), but still there is an extra free parameter to be determined. CMFGEN currently ignores porosity, but the inclusion of porosity, which is probably more important in models with a "low" mass-loss rate, could help to explain why the ʋ in hydrodynamic models is sometimes larger than that observed.

Given the numerous factors that influence the line-acceleration near the sonic point, it is extremely difficult to determine an accurate mass-loss rate from first principles. However, using the Lambert model to derive a velocity law does allow a range of mass-loss rates to be utilized in spectral fitting, and hence potentially provides tighter constraints on the derived mass-loss rates and wind properties.

8. Summary and Conclusions

In this study we have presented a procedure to calculate self-consistent hydrodynamics beyond the m-CAK prescription presented in Gormaz-Matamala et al. (2019, Paper I). For this purpose, we have used the CMFGEN radiative transfer code and the Lambert W-function. This function allows us to analytically solve the e.o.m. (Equation (7)), using the line-acceleration gline provided by the solution of the radiative transfer equation in CMFGEN, to provide a new velocity profile. Because the line-acceleration computed in CMFGEN depends on ʋ(r) we use an iterative procedure (Lambert-procedure) until convergence is obtained. The hydrodynamic solutions given by the Lambert-procedure is valid only in the supersonic region of the wind; the subsonic region needs to be rescaled in order to obtain a continuous solution that couples the hydrostatic structure of the wind.

The Lambert-procedure has proved to converge to the same unique hydrodynamic solution, independent of the initial velocity profile (i.e., terminal velocity and β-value) chosen (Figure 7). On the other hand, because Equation (13) is explicitly independent of density, the mass-loss rate is not recovered by self-consistent iterations—it needs to be set as an input-free parameter. However, the dependence on density (and on mass-loss rate, too) is implicitly included in the modified e.o.m. by means of the line-acceleration term (Figure 1). The line-acceleration also depends on the clumping factor (Figure 2), thus the final self-consistent hydrodynamic obtained by the Lambert-procedure depends on the initial values for $\dot{M}$ and f introduced to the CMFGEN models. However, the choice of mass-loss rate and clumping factor alters the internal computation of the e.o.m. in CMFGEN (Equation (19)) and therefore it will affect the reliability of the calculated radiative acceleration. Improvements to the hydrodynamics in the neighborhood of the sonic point, if desired, can be achieved iteratively by adjustments in the mass-loss rate and velocity near the sonic point.

A full understanding of O-star stellar winds will require 3D hydrodynamic numerical models with accurate treatment of the photospheric layers. Although progress toward such calculations is being made (for example, HDust from Carciofi & Bjorkman 2006, 2008) they are prohibitively expensive. Thus, insights and progress from 1D models are still needed. The Lambert-procedure discussed in this paper is capable of providing accurate wind dynamics above the sonic point and can thus be used for spectroscopic wind studies. If necessary, adjustments to the mass-loss rate can be made to improve the agreement in the neighborhood of the sonic point, which appears to be the critical point for these stellar winds. However, microturbulence and macroturbulence, and the possible existence of convection and clumping in the neighborhood of the sonic point, will make it difficult to obtain accurate mass-loss rates from first principles. Thus, the treatment of $\dot{M}$ as a free parameter in spectral fitting will still be desirable.

The main result of our work is the calculation of a self-consistent solution for the velocity profile beyond the β-law, which is unique given a specific set of stellar parameters and a specific mass-loss rate and clumping factor, enabling us to reduce the number of free parameters to be used in the spectral fitting. In a follow-up study we will explore in more detail a method to find mass-loss rates in conjunction with the Lambert-procedure and therefore to provide a full NLTE prescription for self-consistent winds, complementary to the works from Sander et al. (2017) and Sundqvist et al. (2019), and in the same line as the m-CAK work done by Gormaz-Matamala et al. (2019).

Compared with the m-CAK theory, we find that both the mass-loss rate and the terminal velocity obtained using the Lambert-procedure are lower, despite the stellar parameters and the atomic information being the same for both cases. Even though these differences can be partially explained by the differences in the self-consistent line accelerations found (indicating that differences in final wind parameters depend on the difference of the methodologies to calculate gline), a more detailed analysis is needed in order to support this hypothesis. It is also important to consider the already known differences between the codes FASTWIND and CMFGEN, as was pointed out by Massey et al. (2013).

Finally, despite the large computational effort required in an iterative loop involving CMFGEN, the Lambert-procedure has been demonstrated to be a useful methodology for finding hydrodynamically self-consistent solutions for a stellar wind. Follow-up research will focus on the application of this prescription to a larger sample of stars.

A.C.G.M. has been financially supported by the PhD Scholarship folio No 2116 1426 from National Commission for Scientific and Technological Research of Chile (CONICYT). A.C.G.M. and M.C. acknowledge support from Centro de Astrofísica de Valparaíso. M.C. thanks the support from FONDECYT project 1130485. This project has received funding from the European Unions Framework Programme for Research and Innovation Horizon 2020 (2014–2020) under the Marie Skłodowska-Curie grant Agreement No 823734. The Astronomical Institute Ondřejov is supported by the project RVO:67985815. Partial support to D.J.H. for this work was provided by STScI grants HST-AR-14568.001, HST-GO-14683.002-A, and HST-AR-16131.001-A. F.N. acknowledges financial support through Spanish grants ESP2017-86582-C4-1-R and PID2019-105552RB-C41 (MINECO/MCIU/AEI/FEDER) and from the Spanish State Research Agency (AEI) through the Unidad de Excelencia "María de Maeztu"-Centro de Astrobiología (CSIC-INTA) project No. MDM-2017-0737.

Appendix A: Lambert W-function

The e.o.m. (Equation (13)) can be solved analytically with the help of a mathematical tool called the Lambert W-function (also named the product logarithm; Corless et al. 1996), which is defined by the inverse of the function

Equation (A1)

with z being any complex number. That means

Equation (A2)

The Lambert W-function presents infinite solutions depending on all the possible nonzero values that z may take. If we limit our search only to the physically relevant case, i.e., real values of z, we find that the W(z) function is multivalued because f(w) = wew is not injective. Because of this reason, we split the Lambert W-function into two sections, corresponding them to the branches W0 for W(z) ≥ −1 and W−1 for W(z) ≤ −1 (see Figure 22), which are coupled in the lowest value for z:

Equation (A3)

From Equation (A1) and Figure 22, it is clearly seen that the domains for z and the codomains for the two branches are 16

Equation (A4)

Equation (A5)

This means branch W−1 diverges when z approaches zero or, in other words, z is an asymptote when W−1 tends to − . Because of this condition, the W−1 function can be used to solve any equation with the same asymptotic behavior as z, such as the velocity field of a stellar wind. Then, the analytical solution for the e.o.m. with gline(r) given is obtained once we reformulate Equation (7) in terms of the Lambert function, as demonstrated in Section 2.1.

Appendix B: Analytical Solution of the Equation of Motion

To solve analytically Equation (13), we integrate both sides by the normalized radius, from the critical point outwards for the supersonic region or inwards for the subsonic one. Because the final solution must be $\hat{{\unicode{x0028B}}}(\hat{r})$, we employ auxiliary variables $\hat{r}^{\prime} $ and $\hat{{\unicode{x0028B}}}^{\prime} $ for the integration:

Equation (B1)

Applying the chain rule on the left side:

Equation (B2)

Notice that we have also modified the limits of the left integral, especially considering that $\hat{{\unicode{x0028B}}}({\hat{r}}_{c})=1$.

This new rhs is

Equation (B3)

Whereas the lhs is

Equation (B4)

Then, joining Equations (B4) and (B3):

Multiplying by 2:

Inverting signs:

Applying the exponential function:

Equation (B5)

Therefore, we have obtained an expression to be evaluated as a Lambert W-function, with the rhs being z and $W=-{\hat{{\unicode{x0028B}}}}^{2}$. If we define the final rhs as $x(\hat{r})$, the Lambert velocity profile is given by

Equation (B6)

which is the same expression for the velocity profile outlined by Müller & Vink (2008) and Araya et al. (2014). Notice that, because of how the variables $\hat{r}$ and $\hat{\unicode{x0028B}}$ are defined in the integration of Equation (B1), they can take values both smaller and larger than ${\hat{r}}_{c}$ for the case of the dimensionless radius (and smaller and larger than 1 for the case of the dimensionless velocity).

Appendix C: Iteration and Convergence of the Lambert W-function

Here we outline the steps that ensure convergence of the Lambert-procedure.

  • 1.  
    We obtain $x(\hat{r})$ by solving the rhs of Equation (B5) from our critical point determined by Equation (14) outwards. The output of CMFGEN gives us ${\hat{g}}_{\mathrm{line}}(\hat{r})$, whereas ${\hat{{\unicode{x0028B}}}}_{\mathrm{crit}}$ is calculated as shown in Equation (12).
  • 2.  
    A new velocity profile for the supersonic region, ${\hat{{\unicode{x0028B}}}}_{\mathrm{super}}$, is then calculated using Equation (B6).
  • 3.  
    We couple this new ${\hat{{\unicode{x0028B}}}}_{\mathrm{super}}$ with the old velocity profile for the subsonic region, ${\hat{{\unicode{x0028B}}}}_{\mathrm{sub}}$. As shown in Figure 4, the critical point calculated from Equation (14) (the sonic point) may not coincide with the sonic point coming from the old velocity profile. In this step, it is necessary to perform a quantitative analysis on the difference between both sonic points. We define the difference factor
    Equation (C1)
    with ${\hat{r}}_{{\rm{c}},\mathrm{new}}$ being the critical point determined from Equation (14), and ${\hat{r}}_{{\rm{c}},\mathrm{old}}$ the point where ʋ = a in the old velocity profile. Low values of dsonic (≲−2) imply that coupling between both regions can be made only with a slight rescaling of the radius (radius is never modified more than a 0.3%). The difference factor also provides a hint of the validity, or not, of the adopted values for $\dot{M}$ and f used for the CMFGEN models, although it is not possible to establish a direct relation between dsonic and mass-loss rate.
  • 4.  
    The new velocity profile, rescaled in the subsonic region and calculated by the Lambert W-function for the supersonic regions, is set as the input for a new CMFGEN model.
  • 5.  
    When CMFGEN finishes, we take the gline from the output and step 1 is repeated.

This procedure continues until the convergence criteria are satisfied. As an example, we illustrate the convergence for a model of HD 163758 (Figure 23). Because the ratio between the last two iterations (7 and 8) lies inside the thresholds, we consider the Lambert-procedure for HD 163758 with 1.2 × 10−6 for the mass-loss rate and f = 0.05 for the filling factor to be Lambert-converged.

Appendix D: Synthetic Spectra for Lambert Models

Here we show the Figures for the spectral comparisons analyzed in Section 6. Optical and UV spectra for zeta Puppis is shown in Figures 24 and 25 respectively. Optical and UV spectra for HD 163758 are shown in Figures 26 and 27 respectively, whereas the alternative spectra for HD 163758 appear in Figure 28 (optical) and Figure 29 (ultraviolet). Finally, optical and UV spectra for alpha Cam are shown in Figures 30 and 31 respectively, whereas the alternative spectra for alpha Cam appear in Figure 32 (optical) and Figure 33 (ultraviolet).

Appendix E: List of Species for the CMFGEN Models

Species used in the CMFGEN models are presented below in Tables 5 and 6.

Table 5. Number of Energy Levels of the Atomic Species Used for the CMFGEN Models

Ion ζ PuppisHD 163758 α Cam
H i 303030
He i 696969
He ii 303030
C ii 4845
C iii 3399140
C iv 436459
N ii 4538
N iii 1174162
N iv 6944140
N v 33419
O ii 5481
O iii 868886
O iv 483896
O v 414119
O vi 2525
Ne iii 233255
Ne iv 171730
Ne v 373731
Mg ii 182737
Mg iii 292929
Mg iv 2727
Al iii 27
Si iii 443347
Si iv 225522
P iv 303613
P v 161617
S iii 132431
S iv 515165
S v 404031
Cl iv 4035
Cl v 412626
Cl vi 321818
Cl vii 3737
Ar iii 101031
Ar iv 313131
Ar v 383846
Ar vi 212121
Ar vii 3030
Ar viii 2828
Ca iii 333344
Ca iv 434334
Ca v 737346
Ca vi 4747
Ca vii 4848

Download table as:  ASCIITypeset image

Table 6. Number of Energy Levels of the Atomic Species Used for the CMFGEN Models (cont.)

Ion ζ PuppisHD 163758 α Cam
Cr iv 292930
Cr v 303032
Cr vi 3030
Mn iii 31
Mn iv 393939
Mn v 161616
Mn vi 232323
Mn vii 2020
Fe iii 104104
Fe iv 110110110
Fe v 139139101
Fe vi 5915844
Fe vii 2929
Ni iv 11637111
Ni v 15246140
Ni vi 623737
Ni vii 3737

Download table as:  ASCIITypeset image

Footnotes

  • 7  

    In Equation (6), the contribution from continuum acceleration is also included. However, these processes have been found to be negligible for the winds of O, B, and A stars (Gagnier et al. 2019).

  • 8  

    This more complex expression for the e.o.m. cannot be solved by the Lambert-procedure because the application of the Lambert W-function requires that variables ʋ and r must be separated in order to perform the integration of both sides of the equation, such as in the case of Equation (13).

  • 9  

    Do not confuse this W(r) term with the W from the Lambert W-function.

  • 10  

    In this equation the influence of the term 2a2/r has been ignored. This is an excellent approximation because the gravitational acceleration can be rewritten in terms of the escape velocity as ${g}_{\mathrm{grav}}={{GM}}_{* }/{r}^{2}={{\unicode{x0028B}}}_{\mathrm{esc}}^{2}/2$ and for O stars ʋesca.

  • 11  

    Do not confuse this new Γ factor with the Eddington parameter Γe.

  • 12  

    Notice that if f(r)n = f(r)n−1 the value of the absolute expression would be zero, because the ratio between both functions would be 1.

  • 13  
  • 14  
  • 15  

    Normalized stellar angular velocity is defined as

    with ʋcrit as defined in Equation (12).

  • 16  

    Notation for the open and closed intervals following the definition given by the Encyclopaedia of Mathematics: https://www.encyclopediaofmath.org/index.php/Interval_and_segment.

Please wait… references are loading.
10.3847/1538-4357/ac12c9