Issue 
A&A
Volume 528, April 2011



Article Number  A64  
Number of page(s)  16  
Section  Interstellar and circumstellar matter  
DOI  https://doi.org/10.1051/00046361/201015771  
Published online  02 March 2011 
Mass loss from inhomogeneous hot star winds
II. Constraints from a combined optical/UV study
^{1}
Universitätssternwarte München, Scheinerstr. 1, 81679
München, Germany
email: jon@usm.unimuenchen.de
^{2}
Institut für Physik und Astronomie, KarlLiebknechtStrasse 24/25, 14476
PotsdamGolm,
Germany
^{3}
University of Delaware, Bartol Research Institute,
Newark, DE
19716,
USA
Received:
16
September
2010
Accepted:
18
January
2011
Context. Mass loss is essential for massive star evolution, thus also for the variety of astrophysical applications relying on its predictions. However, massloss rates currently in use for hot, massive stars have recently been seriously questioned, mainly because of the effects of wind clumping.
Aims. We investigate the impact of clumping on diagnostic ultraviolet resonance and optical recombination lines often used to derive empirical massloss rates of hot stars. Optically thick clumps, a nonvoid interclump medium, and a nonmonotonic velocity field are all accounted for in a single model. The line formation is first theoretically studied, after which an exemplary multidiagnostic study of an Osupergiant is performed.
Methods. We used 2D and 3D stochastic and radiationhydrodynamic wind models, constructed by assembling 1D snapshots in radially independent slices. To compute synthetic spectra, we developed and used detailed radiative transfer codes for both recombination lines (solving the “formal integral”) and resonance lines (using a MonteCarlo approach). In addition, we propose an analytic method to model these lines in clumpy winds, which does not rely on optically thin clumping.
Results. The importance of the “vorosity” effect for line formation in clumpy winds is emphasized. Resonance lines are generally more affected by optically thick clumping than recombination lines. Synthetic spectra calculated directly from current radiationhydrodynamic wind models of the linedriven instability are unable to in parallel reproduce strategic optical and ultraviolet lines for the Galactic Osupergiant λ Cep. Using our stochastic wind models, we obtain consistent fits essentially by increasing the clumping in the inner wind. A massloss rate is derived that is approximately two times lower than what is predicted by the linedriven wind theory, but much higher than the corresponding rate derived when assuming optically thin clumps. Our analytic formulation for line formation is used to demonstrate the potential importance of optically thick clumping in diagnostic lines in socalled weakwinded stars and to confirm recent results that resonance doublets may be used as tracers of wind structure and optically thick clumping.
Conclusions. We confirm earlier results that a reinvestigation of the structures in the inner wind predicted by linedriven instability simulations is needed. Our derived massloss rate for λ Cep suggests that only moderate reductions of current massloss predictions for OBstars are necessary, but this nevertheless prompts investigations on feedback effects from optically thick clumping on the steadystate, NLTE wind models used for quantitative spectroscopy.
Key words: stars: earlytype / stars: massloss / radiative transfer / line: formation / hydrodynamics / instabilities
© ESO, 2011
1. Introduction
Massive stars are fundamental in many fields of modern astrophysics. In the present Universe, they dynamically and chemically shape their surroundings and the interstellar medium by their output of ionizing radiation, energy and momentum, and nuclear processed material. In the distant Universe, they dominate the ultraviolet (UV) light from young galaxies. Indeed, massive stars may be regarded as “cosmic engines” (Bresolin et al. 2008). Hot, massive stars possess strong and powerful winds that affect evolutionary time scales, chemical surface abundances, and luminosities. In fact, changing the massloss rates of massive stars by only a factor of two has a dramatic effect on their overall evolution (Meynet et al. 1994). The winds from these stars are described by the radiative linedriven wind theory, in which the standard model (based on the pioneering works by Lucy & Solomon 1970; Castor et al. 1975) assumes that the wind is stationary, spherically symmetric, and homogeneous. Despite this theory’s apparent success (e.g., Vink et al. 2000), theoretical as well as observational evidence of an inhomogeneous, timedependent wind has become overwhelming in the past years (for a comprehensive summary, see Puls et al. 2008).
Direct simulations of the timedependent wind have confirmed that the socalled linedriven instability causes a highly structured wind in both density and velocity (Owocki et al. 1988; Feldmeier 1995; Dessart & Owocki 2005). Much indirect evidence of such smallscale inhomogeneities (clumping) has arisen from quantitative spectroscopy. Clumping has severe consequences for any interpretation of observed spectra, with the inferred massloss rates particularly affected. When deriving massloss rates from observations, wind clumping has traditionally been accounted for by assuming optically thin clumps and a void interclump medium, while keeping a smooth velocity field. Results based on this microclumping approach have, for example, led to a downward revision of empirical massloss rates from WolfRayet (WR) stars by roughly a factor of three (reviewed in Crowther 2007).
However, for O stars, highly clumped winds with very low massloss rates must be invoked in order to reconcile investigations of different diagnostics within the microclumping model. The most alarming example was the phosphorus v (P v) UV analysis by Fullerton et al. (2006), which indicated reductions of previously accepted values by an order of magnitude (or even more), with dwarfs, giants, and supergiants all affected (but see also Waldron & Cassinelli 2010, who argued that xuv radiation could seriously alter the ionization fractions of P v). Such low massloss rates would be in stark contrast with the predictions of linedriven wind theory and have dramatic consequences for the evolution of, and feedback from, massive stars. Naturally, the widely discrepant values inferred from different observations and diagnostics drastically lower the reliability of massloss rates currently in use, and an explanation is urgently needed. A key question is whether the microclumping model fails to deliver accurate empirical rates under certain conditions.
Simplified techniques to account for optically thick clumps in Xray line formation have been developed (Feldmeier et al. 2003; Owocki et al. 2004), but it has yet to be settled whether or not this is important to consider when deriving empirical massloss rates from these diagnostics (Oskinova et al. 2006; Cohen et al. 2010). First attempts to relax the assumptions of the microclumping model for UV resonance lines were made by Oskinova et al. (2007) (optically thick clumps), Zsargó et al. (2008) (a nonvoid interclump medium), and Owocki (2008) (a nonmonotonic velocity field). Sundqvis et al. (2010, hereafter Paper I) carried out the first detailed investigation, relaxing all the above assumptions, and showed that, indeed, the microclumping approximation is not a suitable assumption for UV resonance line formation under conditions prevailing in typical OBstar winds. Recently, these results were empirically supported for the case of B supergiants by Prinja & Massa (2010), who analyzed profilestrength ratios of the individual components of resonance line doublets and found that the observed ratios were inconsistent with lines formed in a smooth or “microclumped” wind. Furthermore, Paper I demonstrated that resonance line profiles calculated from 2D, stochastic wind models were compatible with massloss rates an order of magnitude higher than those derived from the same lines but using the microclumping technique. However, as pointed out in that paper, a consistent modeling of the resonance lines also introduces degeneracies among the parameters used to define the wind structure, degeneracies that can only be broken by considering different diagnostics (depending on different parameters) in parallel.
Here we make a first attempt toward such multidiagnostic studies. We extend our 2D wind models from Paper I to 3D, and relax the microclumping approximation also for the optical mass loss diagnostics H_{α} and He ii 4686 Å (Sect. 2). In Sect. 3 we theoretically investigate H_{α} and resonance line formation in clumpy winds, and propose an analytic treatment of the lines that does not rely on the microclumping approximation. A simultaneous optical and UV diagnostic analysis is carried out in Sect. 4 for the Galactic O6 supergiant λ Cep, using timedependent radiationhydrodynamic (RH) models as well as stochastic ones together with our new tools for the radiative transfer in clumped winds. These results are discussed in Sect. 5, while two initial applications of our analytic formulation are given in Sect. 6. We summarize the paper and outline future work in Sect. 7.
2. Wind models and radiative transfer
Parameters for the timedependent RH model of λ Cep (see text).
We create 2D and 3D RH and stochastic wind models by assembling snapshots in radially independent wind slices (see Sect. 2.3).
Table 1 summarizes properties of a timedependent RH model computed following the approach in Feldmeier et al. (1997), which introduces base perturbations from Langevin turbulence into an unstable linedriven wind. The line force is computed with the nonlocal “Smooth Source Function” (SSF, Owocki & Puls 1996) method that allows one to follow the nonlinear evolution of the strong, intrinsic linedeshadowing instability, while also accounting for the diffuse line drag (Lucy 1984) that reduces (and even eliminates) the instability near the wind base. The net result is a highly structured wind characterized by highspeed rarefactions and slower, dense clumps (actually shells in these 1D simulations). In comparison to selfexcited instability simulations (e.g., Runacres & Owocki 2002), the base perturbations here induce a somewhat lower onset and greater velocity dispersion of the wind clumping. A central goal here is to examine the effects of this extensive structure on wind diagnostics. Stellar and wind parameters are taken from Repolust et al. (2004), except for the massloss rate (see Sect. 4).
Basic assumptions of our empirical, stochastic models were described in detail in Paper I. Essentially, they are constructed so to resemble the main structures predicted by the RH simulations, while still allowing for a variation in the key parameters controlling the line formation (see below).
2.1. Parameters describing a structured wind
When creating our stochastic wind models, we take an heuristic approach and use a set of parameters to define the structured medium. The clumping factor f_{cl}(3) ≡ ⟨ ρ^{2} ⟩ / ⟨ ρ ⟩ ^{2}, with the angle brackets denoting spatially averaged quantities, is the only necessary structure parameter when calculating spectra via the microclumping technique. Microclumping gives rise to the well known result that the opacities for processes that depend on the square of the density (for example H_{α} emission in OBstars) are augmented by f_{cl} as compared to a smooth model with the same massloss rate; in contrast, opacities for processes that depend linearly on the density (for example the uv resonance lines) are not directly affected. Thus, if the wind is clumped, massloss rates derived from smooth models applied to H_{α} are overestimated by a factor of . In addition, the occupation numbers are modified for all diagnostics because of the changed rates in the statistical equilibrium equations. For a comprehensive discussion on the effects of microclumping on various diagnostics, see Puls et al. (2008).
If the assumptions behind the microclumping model are not satisfied (e.g. if clumps are optically thick for the investigated diagnostic), the line formation will depend on more structure parameters than just f_{cl}. Thus, relaxing the microclumping approximation means that we must consider additional parameters when describing the structured wind. These parameters (for a two component medium) were defined and discussed in Paper I, and are listed in Table 2. We stress that they are essential for the radiative transfer in an inhomogeneous medium, and not merely “adhoc parameters” used in a fitting procedure.
In addition to the clumping factor f_{cl} (or alternatively f_{v}), x_{ic} ≡ ρ_{ic}/ρ_{cl} denotes the density ratio of the interclump (ic) to clumped (cl) medium. The time interval δt (given in units of the wind’s dynamic time scale, R_{ ⋆ }/3_{∞}, and not necessarily constant throughout the wind) effectively sets the physical distances between clumps, also known as the porosity length h (Owocki et al. 2004), which in our geometry is given by h = 3_{β}δt. Moreover, assuming a smooth underlying field of customary βtype, 3_{β}(r) = 3_{∞}(1 − b/r)^{β} with b set by the assumed velocity at the wind base 3_{min} = 3(r = 1), this time interval sets the velocity separation between the clumps Δ3 ≈ 3_{β}δtd3_{β}/dr (Appendix A). Finally, the ratio of the clump velocity span δ3 (as defined in Fig. 2 in Paper I) to this velocity separation (representing a velocity filling factor, see Appendix A) largely controls how strongly a perturbed velocity field affects line formation^{1}. In addition to these basic parameters, the velocity 3_{cl} (or radius r_{cl}) at which clumping is assumed to start also plays an important role for the line formation. Note also that the parameters defining these stochastic winds are independent of the physical origin to the inhomogeneities.
Basic structure parameters defining a stochastic wind model.
The stochastic models should be distinguished from the timedependent RH simulations. In the latter the structure arises naturally from following the time evolution of the wind and stems directly from the linedriven instability. Thus, the timeaveraged structure parameters, as functions of radius, are an outcome of these simulations (in contrast to the stochastic models, where they are used as fundamental parameters defining the structured wind). Nonetheless, the exact wind structure still depends on the chosen initial conditions, for example on whether the instability is selfexcited or triggered by some excitation mechanism (the latter is done here, see Table 1). Finally, as shown in Paper I, by choosing a suitable set of structure parameters one can reconcile spectrum synthesis results stemming from the stochastic models with those from RH simulations.
2.2. Radiative transfer
For resonance lines we use the MonteCarlo code described in Paper I, but a new radiative transfer code has been developed for the synthesis of wind recombination lines presented here. We investigate the O star recombination lines H_{α} and He ii 4686. Recall that recombination lines and resonance lines are formed differently. First, the optical depths are calculated in different ways. For resonance lines, the optical depths may be computed via a linestrength parameter, κ_{0}, which is assumed to be constant throughout the wind and is proportional to the product of the massloss rate and the abundance (by number), α_{i} ≡ n_{i}/n_{H}, of the considered element i. κ_{0} may be expressed as (e.g., Puls et al. 2008) (1)where e and m_{e} are the electron charge and mass, respectively, c the speed of light, m_{H} the atomic hydrogen mass, Y_{He} the helium abundance, f_{lu} the transition’s oscillator strength, and λ_{0} its rest wavelength. The advantage with this definition is that the radial Sobolev optical depth in a smooth wind collapses to (2)where q is the ionization fraction of the considered ion, and r is measured in units of R_{ ⋆ } and 3 in units of 3_{∞}.
For H_{α}, the analog to κ_{0} is the parameter A (Puls et al. 1996, Eqs. (1)–(3)). A is proportional to the massloss rate squared and to the NLTE departure coefficient, b_{i}, of the lower transition level (minus the correction factor for stimulated emission). , where is the occupation number of level i in LTE with respect to the ground state of the next ionization state. In this case, the radial Sobolev optical depth in a smooth wind becomes (Puls et al. 1996) (3)In addition to their different optical depths, recombination lines are (mainly) formed by recombining ions creating wind photons, whereas resonance lines are formed by redistributing photospheric stellar continuum radiation by line scattering. Therefore the participating atomic levels for recombination lines are rather close to LTE with respect to the next ionization state (see Fig. 5), which means that the departure coefficients and thereby also the line source function, S_{l} ∝ (e^{hν/kT}b_{l}/b_{u} − 1)^{1}, for these lines are basically unaffected by the radiation field and its dilution. In turn this allows us to prescribe the source functions (Puls et al. 1996, 2006) and simply carry out the “formal integrals” within our stochastic and RH winds. In the present work, we assume that changes in the NLTE departure coefficients due to optically thick clumps can be neglected for recombinationbased line formation, and simply calculate the b_{i}’s from NLTE model atmospheres using the microclumping approximation. Taking the example of H_{α} in O stars, this assumption should be reasonable, for the H_{α} departure coefficients in this domain are very close to unity and the ionization of hydrogen is complete. However, for the case of, e.g., Asupergiants, the assumption no longer holds, because in that stellar domain H_{α}’s lower level becomes the effective ground state of hydrogen, which means that the line transforms to a quasiresonance line (and thereby that S_{l} depends on the radiation field, Puls et al. 1998).
As described in Paper I, also the ionization fractions q for resonance line formation are calculated assuming microclumping. These fractions are used both within clumps and for the interclump medium. The potential feedback effects of optically thick clumping on the departure coefficients and ionization fractions will be investigated by incorporating the analytic methods developed in Sect. 3 into suitable NLTE atmosphere codes, and reported in a future paper.
The assumption of prescribed departure coefficients is an enormous simplification compared to the UV resonance lines, and has enabled us to extend our 2D wind models to 3D when modeling recombination lines. In the synthesis we follow the basic method introduced by Puls et al. (1996), which does not rely on the Sobolev approximation, with appropriate modifications for the line opacities of He ii 4686. A core/halo approach is adopted, in which a photospheric profile is used as a lower boundary input (at r = 1, with r in units of the stellar radius) and the radiative transfer is solved only in the wind. As for the resonance lines (Paper I), we assume pure Doppler line broadening within the wind, characterized by a thermal speed, 3_{t}, given throughout the paper in units of 3_{∞}.
Our new recombination line code has been extensively tested and showed to yield equivalent results with Puls et al. (2006) for smooth winds. Also, results based on the microclumping technique are reproduced for stochastic as well as RH winds with low wind densities, as expected because the clumps then remain optically thin. In our applications, we use hydrogen and helium occupation numbers calculated by fastwind model atmospheres (Puls et al. 2005), under the microclumping approximation, as input for the radiative transfer to compute synthetic spectra. Photospheric profiles are taken from NLTE calculations of atmospheres with negligible winds. The consistency between unified (meaning a simultaneous treatment of the photosphere and wind) model atmosphere calculations and the simplified core/halo approach has been verified in the microclumping limit, for recombination lines as well as for resonance lines. Moreover, we have found that averaged recombination line profiles calculated from our earlier 2D, stochastic models are almost identical to those calculated from our new 3D ones, as was already anticipated for the UV resonance lines in Paper I.
The He ii blend in H_{α}.
The star’s helium abundance has of course been considered in the calculation of the H_{α} wind opacity, but for simplicity we include the He ii blend only in the photospheric profile, thus neglecting its direct contribution to the wind emission. This results in a slight underestimate of the total wind opacity of the line complex. However, by comparing to unified model atmosphere calculations that consistently treat the He ii blend, we have found that the direct helium contribution is low for our typical stars of interest, and in our applications for λ Cep it can even be neglected. Although sufficient for our purposes here, this approach should obviously not be generalized, because it may yield unrealistic results for stars with parameters different from our template star.
2.3. Geometry
To construct (pseudo)3D winds, we use the “patch method” from Dessart & Owocki (2002). A standard righthanded spherical system (r,Θ,Φ) is used, defined relative to a Cartesian set (X,Y,Z). However, when computing recombination lines, we no longer assume symmetry in the azimuthal (Φ) direction (as was done in Paper I). The lateral scale of coherence in the wind is set by the parameter N_{Θ} and by assuming that the physical coherence lengths in both lateral directions are approximately equal (Fig. 1). This assumption is reasonable because, within our approach, which for example does not include an axis of rotation, all observer directions should be alike. Thus, if we desire a coherence scale of 3 degrees, the number of slices in the polar direction should be N_{Θ} = 180/3 = 60 and in the azimuthal direction N_{Φ} = int [2N_{Θ}sinΘ] , i.e., 2N_{Θ} at the equator but fewer toward the pole in order to preserve the physical length scales. Wind slices are then assigned randomly from a large number of spherically symmetric simulations (either RH or stochastic).
N_{Θ} thus enters all our models as an input parameter. Paper I showed that this parameter does not change the strengths of the resonance lines. More tests have shown that also the effects on recombination lines are modest for investigated values. Therefore all 3D models in this paper assume N_{Θ} = 60, meaning a coherence length of 3 degrees at the equator, which is consistent with observational constraints derived from lineprofile variability analysis (Dessart & Owocki 2002). Theoretical constraints on N_{Θ} are still lacking, and will require a careful treatment of the lateral radiation transport in RH models. The first 2D simulations by Dessart & Owocki (2003) neglected this transport and resulted in a laterally fragmented wind down to the grid scale but the followup study (Dessart & Owocki 2005) included a simplified 3ray approach and resulted in larger (but unquantified) lateral coherence scales.
For recombination line formation, the observer is assumed to be located at infinity in the Z_{u} (subscript u denoting a unit vector) direction. The geometry is sketched in Fig. 1. We solve the radiative transfer using a traditional (P,Z) system for a set of Prays, each defined by the minimum radial distance to the Z axis and by the azimuthal angle Φ, which is constant along a given ray. If the angle between the ray and the radial coordinate is θ, then μ = cosθ and . Thus, for rays in direction Z_{u} the radiation angle θ coincides with the polar coordinate Θ, and it becomes trivial to calculate the physical locations at which windslice borders are crossed. The observed flux may then finally be computed by performing a double integral of the emergent intensity over P and Φ.
Fig. 1 Illustration of the wind geometry, see text. (A color version of this figure is available in the web version.) 
3. Theoretical considerations of resonance and recombination line formation in clumpy winds
Resonance line formation in clumpy hot star winds was discussed in detail in Paper I. There we identified an intrinsic coupling between the effects of porosity and vorosity (=“velocity porosity”, Owocki 2008), which we here further elaborate upon. In particular, we propose an analytic formulation of line formation in clumped hot star winds (that does not rely on the microclumping approximation). As already mentioned in Sect. 2, the development of such simplified approaches is important for properly including effects of optically thick clumping into atmospheric NLTE codes. For recombination lines, we focus on H_{α} and discuss impacts from optically thick clumping on its formation, using our stochastic wind models as well as an extension of the analytic treatment developed for the resonance lines.
3.1. Analytic treatment of resonance lines in clumpy winds
Throughout this section we assume a smooth velocity field, characterized by β = 1 (Sect. 2.1). Despite this, the vorosity effect will be demonstrated to be important for the line formation (i.e., a nonmonotonic velocity field is not required for vorosity to be at work). Adopting the normalized, dimensionless frequency x = (c/3_{∞})(λ_{0} − λ)/λ, and following the basic arguments of Owocki (2008), we write the absorption part of a normalized resonance line profile, R_{a,x}, from a radial ray as (see Appendix A) (4)R_{a,x} describes the part of the profile that stems from absorption of continuum photons released from the photosphere. The total line profile is given by R_{x} = R_{a,x} + R_{em,x}, where R_{em,x} is the reemission profile. The scattering nature of the resonance line source function significantly complicates the formation of R_{em,x}. Therefore, for now we restrict ourselves to discussing R_{a,x} from a radial ray for these lines. For recombination lines, on the other hand, we will lift these restrictions and treat the complete line profile (Sect. 3.2). Obviously this must be done also for resonance lines before, e.g., including our analytic formalism in NLTE model atmosphere codes (see also Sect. 6.2). In any case, recall that R_{a,x} controls the actual lineprofile strengths of resonance lines, because these are pure scattering lines formed out of redistributed continuum radiation emerging from the photosphere.
In Eq. (4) we define ξ as the fraction of the velocity field over which photons may be absorbed by clumps, with the τ’s representing the optical depths for the clumped (subscript cl) and rarefied (subscript ic) regions. ξ describes the essential effects of Owocki’s vorosity; the first term in Eq. (4) handles the part of the line profile emerging from absorption within the clumps, whereas the second term handles the part emerging from absorption within the interclump medium. What remains then is finding an appropriate expression for ξ. In Appendix A we argue that a reasonable approximation may be (5)with Δ3 the velocity gap between two clump centers, f_{vel} the velocity filling factor (defined in full analogy with the traditional volume filling factor), η the effective escape ratio (here redefined from Paper I, see Appendix A), and C a correction factor that depends on the line strength. The condition for interaction for a radial line photon is in the Sobolev approximation simply x = 3, and, for simplicity, we from now on suppress all velocity dependencies of the quantities in Eq. (5). As shown in Appendix A, we may write (6)where h is the porosity length of the medium and L = 3_{t}/(d3/dr) the (in this case radial) Sobolev length. For the smooth velocity field considered in this section, δ3 = δ3_{β}, which gives f_{vel} = f_{v}. Even though the principle effect of the optically thick clumps on resonance line formation is a velocity effect governed by f_{vel}, Eqs. (4)–(6) indicate there is also a dependence on spatial porosity through the ratio η = L/h. This coupling was argued for already in Paper I. However, it appears that ξ better characterizes the effects of clumping in resonance line formation than did our previous parametrization (see Appendix A). The optical depths entering Eq. (4) may be approximated by the corresponding Sobolev ones, corrected for the influence of η (Appendix A). Then for resonance lines, τ_{cl,x} ≈ τ_{sm,x}/ξ_{x} and τ_{ic,x} = τ_{cl,x}x_{ic}, where τ_{sm,x} is given by Eq. (2). Note that all parameters used to define our stochastic wind models (Table 2) enter the expression for R_{a,x}, illustrating that indeed all these are important for the general line formation problem.
The upper two panels of Fig. 2 plot ξ as well as the relative contributions from f_{vel} and Cη for a resonance line with linestrength parameter κ_{0} = 5. We do not allow for ξ values above unity (important for the outer wind, see also Appendix A), and we also recover the smooth result for velocities lower than 3_{cl} simply by setting ξ_{x ≤ 3cl} = 1. All models displayed in Fig. 2 were calculated with density structure parameters f_{cl} = 4.0, δt = 0.5, and x_{ic} = 0.0025. For a smooth model (with ionization fraction q = 1, assumed in this section), κ_{0} = 5 results in a profile at the saturation threshold. In the lower two panels we show analytic absorptionpart line profiles calculated using Eq. (4) and profiles calculated using our MonteCarlo code. To make consistent comparisons between methods, we accounted only for radial photons in the MonteCarlo simulations. The agreement between the methods is very good, lending support to the proposed analytic treatment and providing a relatively simple explanation for the basic features of the synthetic profiles.
Evidently, profilestrength reductions can be quite dramatic for “moderately strong” cases such as κ_{0} = 5. For the very strong κ_{0} = 500 line also the interclump medium is optically thick and the profiles are therefore saturated (which is a necessity because such saturated profiles are observed in hot stars). Note that, if δ3 were much higher than C3_{t}, one could neglect the second term in Eq. (5) and ξ would become independent of the porosity length. If one also neglects the interclump medium (setting x_{ic} = 0), and assumes that clumps are optically thick throughout the entire wind (appropriate for the κ_{0} = 5 line), then the observer in our example would simply receive a constant residual flux R_{a,x} = 1 − f_{v} = 0.75. Figure 2d shows that this generally does not hold (even for the idealized case of zero thermal speed, the interclump medium still plays a role), demonstrating that, along with the velocity filling factor f_{vel}, in general both x_{ic} and η also help shape the emergent profile for a wide range of line strengths and structure parameters. Figure 2d illustrates the importance of accounting for the finite line profile width. Cη may not be neglected, even in models with very low, but finite thermal velocity, and becomes particularly important toward the blue edge of the line profiles. This occurs because the resonance zones in the outermost wind become very radially extended. L thus grows whereas the distances between the clumps (determining h) are unaffected due to the very slowly changing velocity field. Consequently η becomes very high and ξ eventually reaches unity. Since the smooth κ_{0} = 5.0 line is optically thick, a “blue absorption dip” (extensively discussed in Paper I) is created.
Fig. 2 Panel a) ξ (Eq. (5)) as a function of wind velocity. Panel b) the relative contributions to ξ from f_{vel} and Cη. Curves in panels a and b have been calculated with κ_{0} = 5 and thermal speed 3_{t} = 0.005 (in units of 3_{∞}). Panels c) and d) analytic (Eq. (4), solid lines) and MonteCarlo (dashed lines) based absorption part resonance line profiles from clumped winds, as compared to smooth results (dotted lines). Clumping starts at 3_{cl} = 0.2 (r_{cl} = 1.24). Panel c) Profiles for three different values of the line strength κ_{0} (indicated in the figure), with increased absorption for higher values of κ_{0}. Only the κ_{0} = 1 profile is not saturated (i.e., does not display R_{a} = 0) for smooth models. Panel d) profiles for κ_{0} = 5 and different values of 3_{t}, as indicated in the figure. No MonteCarlo profile for the 3_{t} = 0 case is shown (simply because we have not yet developed a “Sobolev version” of this code). Analytic and MonteCarlo profiles display increased absorption for higher values of 3_{t}, whereas all smooth profiles have R_{a} = 0. 
Randomization effects are here neglected because we have used a smooth velocity field. When clumps are allowed to have velocities higher and lower than those given by the mean velocity field, overlapping velocity spans of the clumps lead to increased escape of photospheric photons. The blue absorption dip then becomes less prominent than what is displayed in Fig. 2, as discussed in Paper I (see also Appendix A, for some comments on randomization effects).
Nevertheless, this section demonstrates that the microclumping approximation can result in large errors if indeed the wind is clumped but the clumps are not optically thin. First applications of the analytic formulation are given in Sect. 6, for diagnostics of weak wind stars and for the predicted profilestrength ratios in resonance line doublets.
3.2. Recombination lines in clumpy winds
Fig. 3 Upper panel: deviations from the microclumping approximation of equivalent widths of synthetic H_{α} line profiles versus massloss rate (see text). Clumping starts at 3_{cl} = 0.24 and 0.06 (r_{cl} = 1.3 and 1.05), respectively, as indicated in the figure. Lower panel: H_{α} line profiles as calculated by stochastic, analytic, and microclumped models with f_{cl}=9 and Ṁ = 10 × 10^{6} M_{⊙}/yr, and the rest of the stellar and wind parameters as for λ Cep. Clumping for all models starts at 3_{cl} = 0.24. 
We now leave the resonance lines behind and turn to the formation of recombination lines. We focus on H_{α}, the primary spectroscopic massloss diagnostic for O stars. He ii 4686 reacts similarly as H_{α} to clumping in our primary stars of interest (because He iii is the dominant ion in the line forming regions), and will be considered only in our diagnostic study of λ Cep (Sect. 4).
First we present results from calculating H_{α} line profiles using our stochastic 3D wind models. Our main interest is to investigate differences with respect to the microclumping model, so main results are provided in terms of the deviation of the equivalent widths W_{λ} between the two methods, (W_{λ,mic} − W_{λ})/W_{λ,mic}, as a function of massloss rate (here W_{λ,mic} denotes W_{λ} as calculated from a model assuming microclumping). All models discussed in this section were calculated with unity departure coefficients, wind electron and radiation temperatures as for approximately λ Cep (calibrated using unified NLTE model atmospheres, see Puls et al. 2006), and no input photospheric absorption profiles. We used structure parameters f_{cl} = 9.0, δt = 0.5, x_{ic} = 0.0025, and a smooth velocity field characterized by β = 1.
For typical Osupergiants, the equivalent widths of profiles calculated from stochastic models are slightly lower than those based on the microclumping technique (Fig. 3). Deviations stem from optically thick clumps. The dominating effect is on the wind emission of H_{α} photons rather than on the wind absorption of photospheric photons (in contrast to resonance lines, see previous section). This is because the source function for recombination lines is basically unaffected by the dilution of the radiation field, which for relatively strong and hot winds make these lines appear in emission and thereby suffer the main effect from a clumped wind on the emission part of the line profile. Moreover, the ρ^{2}dependence of recombination line opacity increases the contrast between the optical depths for the clumps and those for the interclump medium, as compared to resonance line formation. This lowers the significance of the interclump medium and also causes the clump optical depths to decrease faster for increasing radii. The latter effect results in clumps that are optically thick only in the lower wind regions. Deviations from the microclumping limit are therefore more significant for cases with earlier onset of clumping. For example, the equivalent widths for the models with Ṁ = 2.5 × 10^{6} M_{⊙}/yr are reduced by 7% and 17% when clumping starts at 3_{cl} = 0.24 and 3_{cl} = 0.06, respectively. The effect is thus modest, but noticeable. Remember that reductions are measured against models assuming microclumping; the profiles are still much stronger than profiles computed from smooth models with the same massloss rate.
Our tests show that effects are confined to the line core and that the microclumping approximation provides accurate results in the line wings. However, Fig. 3 reveals prominent emission strength reductions for stronger winds, since then optical depth effects become important for ever larger portions of the total wind volume. Furthermore, the onset of clumping is irrelevant in these strong winds because the majority of the emission emerges from radii greater than r_{cl}. This insensitivity to the onset of clumping also recovers the scaling invariant for microclumped winds ( ∝ , see Sect. 2.1). For typical OBsupergiants, however, this scaling does not hold because of the strong opacity contrast between wind radii lower than and greater than r_{cl}. Very strong recombination lines, such as those displayed in Fig. 3 (lower panel), are typically seen in WR stars, for which however also a reduced hydrogen content is expected (as well as a breakdown of our assumption of an optically thin continuum). Nonetheless, our analysis could, of course, be generalized to recombination lines of other chemical species (as has been done for He ii 4686 in our application to λ Cep), and may point to significant optical depth effects in the strong emission peaks of stars with very high massloss rates. Indeed, lower emission peaks in the theoretical spectrum of a WR star have been found by Oskinova et al. (2007), on the basis of scaling smooth opacities using a porosity formalism. However, when deriving empirical massloss rates from microclumping models of WR stars one normally considers also the electron scattering wings (which are unaffected by microclumping, see Hillier 1991), and because clumps in these probably are optically thin it may be that lower emission peaks would have a greater effect on the inferred clumping factors than on the massloss rates.
Analytic treatment of recombination lines.
We can understand the reduction in H_{α} emission strengths using the same analytic treatment as outlined for resonance lines. Better yet, because the source function S is almost unaffected by the radiation field (see Sect. 2), we can for recombination lines simulate the total profile, R_{x} = R_{a,x} + R_{em,x}, writing
where S is given in units of the continuum intensity and evaluated at the resonance point. R_{em,x} is much more influenced by nonradial photons than is R_{a,x}, so accordingly the radial streaming assumption from the previous section must be relaxed here. Details are given in Appendix A. Moreover, the clump and interclump optical depths now become τ_{cl,x} ≈ τ_{sm,x}(f_{cl}/ξ_{x}) and , due to the ρ^{2}dependence of the line opacity, with τ_{sm,x} given by Eq. (3). Already in the previous paragraph we mentioned how this lowers the significance of the interclump medium in recombination line formation. Actually, tests have shown that, in our typical stars of interest, the optical depths in the interclump medium are so low that the second term in Eq. (7) can safely be neglected. The lower panel of Fig. 3 illustrates that profiles computed using the analytic approximation agree very well with those computed using our stochastic wind models.
4. A multidiagnostic study of λ Cep
We have carried out a detailed study of the Galactic O6 supergiant λ Cep. This star was chosen in part to connect with Paper I and in part because it is a well observed and studied object, with significant mass loss, that appears to be less peculiar than, e.g., ζ Pup. A simultaneous investigation of optical diagnostics and the P v resonance lines is performed. The ionization fractions of P v and the hydrogen and helium departure coefficients (see Fig. 5) are calculated with the unified model atmosphere code fastwind, under the microclumping approximation and assuming the same (smoothed) clumping factors as in corresponding RH or stochastic models, with stellar and wind parameters as given in Table 1, and with a solar (Asplund et al. 2005) phosphorus abundance. We account for stellar rotation by convolving the emergent synthetic line profiles with a constant 3sini = 220 km s^{1}, which is the photospheric value. Thus we neglect differential rotation in the wind and simply assume that stellar rotation only affects the line formation in the wind in such a way that we may approximate the same 3sini value as for the stellar photosphere (see also Sect. 5.1). Generally, for the line profiles studied here, the influence of rotation is important for the recombination lines, but not for the resonance lines. We use observed uv fuse spectra from Fullerton et al. (2006), and optical spectra from Markova et al. (2005) and A. Herrero (described in Herrero et al. 2000). In addition to H_{α}, He ii 4686, and PV, we also consider the wind sensitive cores of H_{β} and H_{γ}. However, for these diagnostics we rely entirely on the microclumping approximation, which because of their low wind optical depths should be sufficient.
4.1. Clump optical depths
Fig. 4 Radial clump optical depths for PV, and radial and tangential ones for H_{α}, as functions of wind velocity for our empirical, stochastic wind model of λ Cep (Table 3). 
The clump optical depth in the wind is the primary quantity governing the validity of the microclumping approximation. In Appendix A (see also the previous section) we have provided estimates of the clumps’ radial Sobolev optical depths in resonance and recombination lines. However, in our stochastic models, clumps do not always cover a complete resonance zone, so the Sobolev optical depths must be replaced by optical depth calculations including the actual line profile (cf. Paper I, Eq. (A.12), and note also that these “exact” optical depth calculations then involve f_{vel} rather than ξ, see Appendix A). Within our stochastic wind models, the radial extent of a clump is l_{r} = 3_{β} δt f_{v}, and therefore, by transforming to the corresponding velocity width, we may readily calculate the “actual” clump optical depth τ_{cl}.
Figure 4 shows τ_{cl} for P v and H_{α}, as calculated from our empirical, stochastic model of λ Cep (Table 3). The figure shows that the radial τ_{cl} is significantly higher for P v than for H_{α} and, moreover, that the linear dependence on the density for resonance lines (as opposed to the quadratic dependence of recombination lines) causes clumps to remain optically thick in P v throughout almost the entire wind. The figure also illustrates how tangential H_{α} photons have higher optical depths than radial ones in the line forming regions. Since nonradial photons are important for recombination lines (Sect. 3.2), this enhances the effects from optically thick clumping on the H_{α} line formation in our empirical λ Cep model (as seen in Fig. 7). The differences in clump optical depths for radial (μ = 1) and tangential (μ = 0) photons stem from the dependence τ_{cl} ∝ [d3/drμ^{2} + 3/r(1 − μ^{2})] ^{1}, and the fact that 3/r is significantly lower than d3/dr in the relevant wind regions. In any case, based on these simple estimates, one might expect that the basic results of Sect. 3 should hold in diagnostic applications of typical O stars. That is, H_{α} should be affected by optically thick clumping only in the line core, whereas resonance lines should be much more affected over the entire line profile.
4.2. Constraints from inhomogeneous radiationhydrodynamic models
Fig. 5 Clumping factors (upper left), P v ionization fractions (upper right), and He ii 4686 and H_{α} departure coefficients b_{i} (lower left and lower right, respectively) used in the RH and stochastic models of λ Cep. Mean wind velocities are on all abscissas. 
Fig. 6 Observed and synthetic line profiles for λ Cep. Dotted lines are the observations. Solid line profiles are calculated from the inhomogeneous radiationhydrodynamic model of λ Cep (Table 1), and dashed lines from a corresponding fastwind model including microclumping. The longdashed line in the upper left panel is from a RH model in which the density has been scaled to mimic an increase in the massloss rate by 50%. 
Structure parameters for an empirical stochastic wind model of λ Cep.
Fig. 7 As Fig. 6, but using our stochastic models (solids) with corresponding inferred empirical structure parameters (see Table 3 and text). The assumed massloss rate is the same as for the RH model of λ Cep, see Table 1. 
Figure 6 displays line profiles calculated from our RH model of λ Cep. Consistent fits of the observed diagnostics are not achieved. The H_{α} line wings are reasonably well reproduced but the core emission is much too low. The P v profiles are, actually, better reproduced, although stronger than observed toward the blue edge of the line complex (the “blue edge absorption dip” problem, see Sect. 3.1). The reasonable P v fits are due both to adopting a rather low massloss rate for λ Cep (see Table 1) and to lower velocity spans in these RH models than in those analyzed in Paper I^{2}. The massloss rate was essentially chosen from a best compromise when considering the complete diagnostic set, however note that a consistent fit to all diagnostics could not be achieved, independent of which massloss rate was adopted, as now discussed.
The apparent mismatch between H_{α} emission in the core and in the wings occurs because f_{cl} increases rather slowly with increasing velocity (Fig. 5), which for a given massloss rate implies that the optical depths in the H_{α} core forming regions are too low as compared to the optical depths in the wing forming regions. He ii 4686 is subject to the same mismatch as H_{α}, and also the cores of H_{β} and H_{γ} are deeper than observed. The latter feature occurs because the photospheric absorption profiles are not sufficiently refilled by emission from the only weakly clumped inner wind. Thus, the optical wind diagnostics all indicate that the clumping factor as a function of velocity in λ Cep differs from that predicted by the RH simulations (see also Puls et al. 2006; Bouret et al. 2008). On the other hand, any significant increase in the massloss rate to obtain a better fit of the higher Balmer lines and the core of H_{α} would produce stronger than observed H_{α} and He ii 4686 line wings (as illustrated for H_{α} in Fig. 6) and, vice versa, a reduction of the massloss rate to obtain a better fit of the (blue edge of the) PV lines would produce too weak wings.
Comparison with the microclumping technique.
We now compare results from above with those from a microclumped fastwind model having the same (smoothed) clumping factors as the RH model. The P v profiles calculated using the fastwind model are stronger than those calculated using the RH model. We may characterize this difference by the difference in the equivalent widths W_{λ} of the absorption parts of the profiles. W_{λ} is roughly 15% lower for the RH model (see also Owocki 2008). However, this moderate reduction in profile strength actually corresponds to a reduction in the massloss rate by a factor of approximately two, because of the resonance lines’ slow response to mass loss.
Resonance line profiles stemming from the RH and microclumping models also display different line shapes. For RH models, significant velocity overlaps stemming from the nonmonotonic velocity field ensure that the observed flux at the blue side of the line center is accurately reproduced without invoking any artificial and highly supersonic “microturbulence”, as must be done when using smooth as well as microclumping wind models. Although not analyzed here, also the absorption at velocities > 3_{∞} of saturated resonance lines may be reproduced by RH models without invoking additional microturbulence (Puls et al. 1993; Paper I). For H_{α} and He ii 4686, the RH and microclumping models yield almost identical results. This occurs because clumps are optically thin in these diagnostics throughout almost the entire wind, due to the slow increase of f_{cl} with mean wind velocity, which in turn results in wind densities in the inner wind unable to produce optically thick clumps (compare to the empirical models in the following section).
4.3. Constraints from empirical stochastic models
Clearly, the RH models fail to deliver satisfactory line profiles when their structures are confronted with UV and optical wind diagnostics in parallel. Here we use our stochastic models to modify the windstructure parameters and show how the results then may be reconciled. This is a first attempt toward our longterm aim of using consistent multidiagnostic studies to obtain unique views of empirical massloss rates and structure properties of hot star winds.
The massloss rate is determined by a best fit to the complete diagnostic set (giving highest weight to the optical hydrogen lines). We derive the same rate as was previously adopted for the RH model of λ Cep. This rate (Ṁ = 1.5 × 10^{6} M_{⊙}/yr) is approximately two times lower than the corresponding theoretical one obtained using the massloss recipe in Vink et al. (2000) (Ṁ = 3.2 × 10^{6} M_{⊙}/yr). In the outermost wind, we for now adhere to the constraints on f_{cl} derived from radio emission by Puls et al. (2006), scaled with respect to the massloss rate derived here. In the inner wind, both the distinct shape of H_{α} in λ Cep^{3} and the cores of the higher Balmer lines may be used as tracers of structure. The H_{α} absorption trough followed by the steep incline to rather strong emission can only be reproduced by our models if clumping is assumed to start quite late (see also Puls et al. 2006; Bouret et al. 2008), at a velocity marginally lower than predicted by the RH models, however with a much steeper increase with velocity (see Fig. 5). Also, in the particular case of λ Cep, the upper limit of the massloss rate derived by Puls et al. (2006) (Ṁ = 3.0 × 10^{6} M_{⊙}/yr, inferred by assuming a smooth outermost radio emitting wind) results in densities so high in the lowermost wind that the H_{α} trough never reaches below the continuum flux. Moreover, additional constraints come from the cores of the higher Balmer lines; the higher the densities in the lowermost wind, the stronger the refilling of the photospheric absorption profile by wind emission. Here as well the upper limit from Puls et al. provides shallower than observed line cores. Thus, if we require f_{cl} = 1 at the wind base, and if our interpretation of the abrupt shift from absorption to emission in H_{α} as due to clumping is correct, rather tight constraints on the massloss rate may be obtained using only optical diagnostics.
The H_{α} time series of Markova et al. (2005) reveal that both the height of the emission peak and the depth of the absorption trough depend on the observational snapshot, variations can reach 0.04 in residual flux units. Therefore it is not critical that neither the peak nor the trough is perfectly reproduced by our models in Fig. 7 (which displays a “representative” observational snapshot). On the other hand, the observations do not indicate any significant variation in the position of the emission peak. This might be an issue, because the late onset of clumping redshifts the emission peak too much (at least when neglecting differential rotation, see Sect. 5.1), whereas an earlier onset of clumping fails to produce an absorption trough. The offset in the position of the emission peak is larger than the estimated uncertainty in the radial velocity correction, which may indicate that clumping is only partly responsible for the shape of the H_{α} core. Indeed, other interpretations have been suggested, and we comment on this in Sect. 5.1.
The line shape of He ii 4686 is well reproduced by our stochastic models, but not the emission strength. The line reacts similarly to clumping as H_{α}. In order to increase the central emission to the observed level we would have to raise the clumping factor in the inner wind even more, which in turn would produce stronger than observed H_{α} emission as well as shallower than observed H_{β} and H_{γ} cores. Since hydrogen generally has more reliable and robust departure coefficients than helium, we have given higher weights to fits of hydrogen lines. Interestingly, He II 4686 shows a similar offset as H_{α} in the position of the emission peak.
The PV resonance lines are much more sensitive to the wind structure parameters (see Sect. 3.1) than to the massloss rate. Hence these lines should be used only as a consistency check of massloss rates derived from other diagnostics. Using the structure parameters given in Table 2, our stochastic models yield reasonable fits of the PV lines. We use values of δt and x_{ic} as in Paper I, including a higher δt in the outer wind to account for clumpclump collisions, but are able to adopt a higher value of  δ3/δ3_{β}  , which however is still lower than predicted by the RH models. This higher value stems from that we here consider also optical diagnostics and from these derive a lower massloss rate and higher clumping factors than what was assumed in Paper I, essentially meaning that larger velocity spans then can be used when fitting the P v lines.
f_{cl} in the inner wind is drastically different from that predicted by our RH model for λ Cep (Fig. 5), and indicates that presentday RH simulations fail to predict observationally inferred clumping factors, at least for the inner wind. Regarding the outermost wind, let us point out that the RH simulations used here only extend to r ≈ 35, at which f_{cl} is still decreasing. Simulations by Runacres & Owocki (2002), which extend to much larger radii, indicate that the clumping factor settles at ≈ 4 in the outermost wind. f_{cl} ≈ 4 is consistent with our derived massloss rate and the constraints from radio emission derived by Puls et al. (2006) (see above). This suggests that the outermost wind is better simulated by current RH models than the inner one.
Comparison with the microclumping technique
Here we compare the stochastic models from above with microclumped models calculated with the same clumping factors. When using the microclumping technique, the PV resonance lines are not directly affected by the structured wind. The massloss rate adopted in the previous paragraph then produces much too strong absorption in these lines, see Figure 7. Moreover, the high clumping factor in the inner wind adopted in our stochastic models results in so high densities that the clumps become optically thick in H_{α} and He ii 4686 as well. This generally leads to weaker emission for the stochastic models than for the microclumped ones (Sect. 3.2), and f_{cl}’s drastic increase from 1 to 28 makes the deviation from the microclumping approximation prominent in this particular case. We have confirmed that the same emission strength reduction results when using our simplified analytic approach (Sect. 3.2), which supports the rather strong emission reduction that we find in the H_{α} core as well as indicates that our analytic approach indeed might be a promising tool for a consistent implementation into atmospheric NLTE codes.
In order to obtain reasonable fits of the PV lines within the microclumping approximation we had to lower the massloss rate significantly, to Ṁ = 0.4 × 10^{6} M_{⊙}/yr (this is the socalled “P v problem”, see also Fullerton et al. 2006). In turn this meant that extreme clumping factors, f_{cl} ~ 400, in the inner wind were required to meet the observed amount of H_{α} wind emission. However, we have not been able to achieve a consistent fit of the optical diagnostics using these highly microclumped fastwind models: if for example H_{α} is fitted then the He ii 4686 emission is much too weak. Overall, the results in this section support the view that the extremely low empirical massloss rates previously indicated from P v might be a consequence of neglecting optically think clumping when synthesizing resonance lines.
5. Discussion
5.1. Are O star massloss rates reliable?
Theoretical rates.
The time/spatial averaged massloss rate of our λ Cep RH model differs from the rate of the corresponding smooth start model (used for initialization) by less than 5%. From this one might expect that the clumped stellar wind should not significantly affect theoretical massloss rates based on the linedriven wind theory. However, Krtička et al. (2008; see also Muijres et al. 2010) made some first tests and included wind inhomogeneities in a (steadystate) theoretical wind model of an O star. They found that the predicted massloss rate increased when clumps were assumed to be optically thin, because of increased recombination rates that shifted the ionization balance to lower ionic states with more effective driving lines. On the other hand, their tentative attempts to account for optically thick clumps in the continuum opacity as well as for clumps with longer length scales than the Sobolev length reduced the line force and led to lower predicted rates.
The reduced profile strengths of resonance lines (which are the main drivers of the wind) found here should in principle also reduce the line driving in theoretical steadystate wind models, but let us point out that many lines that significantly contribute to the total driving force might still be saturated because of the nonvoid interclump medium. Nevertheless, it is clear that a thorough investigation of the impact of clumping on predicted massloss rates is urgently needed. The massloss rate for λ Cep derived here is approximately a factor of two lower than the theoretical rate predicted by the massloss recipe in Vink et al. (2000).
Empirical rates.
Our empirical massloss rate for λ Cep is 4.5 times lower than the rate inferred from synthesizing H_{α} using a smooth wind model (Repolust et al. 2004). The best constraints on the massloss rate in our analysis come from the distinct shape of the H_{α} line core and the higher Balmer lines (Sect. 4.3). Rotation in our models is treated by the standard convolution procedure. But λ Cep is a fast rotator (Table 1), so differential rotation might influence the formation of the line profiles, particularly the H_{α} core. Bouret et al. (published in Bresolin et al. 2008) found that the H_{α} line in ζ Pup can be fitted by assuming that clumping starts close to the wind base, if differential rotation is treated consistently. Since ζ Pup and λ Cep display similar H_{α} profiles, it is possible that the same effect could be at work also in the latter star, and thereby that the rather late onset of and the rapid increase of clumping in our stochastic model of λ Cep could be somewhat exaggerated. Naturally, this could then also affect the inferred massloss rate, since with a modified run of the clumping factor another rate might be required to obtain a simultaneous fit of the observed diagnostic lines.
The influence of Xray and xuv/euv radiation as created by shocked wind regions (Feldmeier et al. 1997) on the occupation numbers is not included in our analysis. These contributors are not important for calculations of hydrogen occupation numbers (Pauldrach et al. 2001), but their significance for the ionization fractions of phosphorus is still debated (Krtička & Kubát 2009; Waldron & Cassinelli 2010). We have used the alternative unified atmospheric code wmBasic (Pauldrach et al. 2001), which treats Xray and xuv/euv radiation but not wind clumping, to estimate the impact of Xrays on the P v ionization fractions. We find that effects are negligible at wind velocities lower than 3/3_{∞} ≈ 0.5 but profound at higher velocities, with the P v ionization fraction significantly reduced when Xrays (and of course the corresponding xuv/euv radiation tail) are included. This suggests that a proper treatment of these hot radiation bands might resolve the earlier discussed ‘blue absorption dip’ problem, which is clearly visible in the P v line profiles calculated from RH models (Fig. 6, but note that we overcame this problem in our stochastic models by increasing the distances between clumps in the outermost wind, see Table 3).
5.2. Structure properties of the clumped wind
We identify two main problems when confronting synthetic spectra from the timedependent RH simulations of the linedriven instability with observed lines in the UV and optical: i) the absorption toward the blue edge of unsaturated UV resonance lines is too deep in the simulations; and ii) the emission in the core of H_{α} is much too weak as compared to the emission in the wings. The first problem is related to the high predicted velocity spans in the RH models, and was extensively discussed already in Paper I. Moreover, in Sect. 5.1 we commented on that even if the large velocity spans turn out to be stable features, this problem might be overcome by a proper treatment of Xrays in the calculations of ionization fractions.
The second problem arises because the predicted clumping factors in the inner wind are too low as compared to those in the outer wind (Fig. 5). However, let us point out that velocity as well as density perturbations in the inner wind of our RH simulation may be overly damped, because we use the socalled smooth source function (SSF) approximation when calculating the contribution to the line force from the diffuse, scattered radiation field. In simulations that relax the SSF approximation and account for gradients in the perturbed source function (via an “escapeintegral source function” formulation, EISF, Owocki & Puls 1996, 1999), the structure in the inner wind is more pronounced and also develops closer to the photosphere.
In any case, however, it is questionable if selfexcited instability simulations will be able to reproduce the observed clumping patterns (which have been found also in earlier investigations based on the microclumping approximation, e.g., Bouret et al. 2005; Puls et al. 2006), especially considering that our RH model of λ Cep actually already is triggered (Table 1), using Langevin perturbations mimicking photospheric turbulence (Feldmeier et al. 1997). Thus, while observations tracing the outer wind seem to confirm the structures predicted by the linedriven instability, observations tracing the inner wind might require the consideration of an additional triggering mechanism to be reproduced, which perhaps must be stronger than what is currently assumed. For example, Cantiello et al. (2009) proposed that gravity and/or acoustic waves emitted in subsurface convection zones may travel through the radiative layer and induce clumping already at the wind base. However, regarding gravity waves, it is not certain that these would have high enough frequencies (i.e., higher than the atmosphere’s acoustic cutoff frequency) that they can be radially transported through the wind. Another possibility for a strong clumping trigger might be nonradial pulsations in the photosphere. Certainly it would be valuable to investigate to what extent such triggers, within a linedriven instability simulation using the EISF formulation, could produce clumping patterns in the inner wind more compatible with the observations.
6. Additional considerations
In this section, we discuss two applications for the analytic formulation of line formation in clumpy winds presented in Sect. 3.1.
6.1. Weak wind stars
The socalled weak wind problem is associated with observations of (primarily) Odwarfs of late types, which appear to have massloss rates much lower than what is predicted by the linedriven wind theory, and also much lower than other “normal” O stars of earlier spectral types. However, a major problem with wind diagnostics in this domain is that the primary optical diagnostic, H_{α}, becomes insensitive to changes in the massloss rates, so that only upper limits can be inferred from this line. Therefore one must for these objects quite often rely solely on the intrinsically stronger UV resonance lines. For a comprehensive discussion on the weak wind problem, see Puls et al. (2008).
Fig. 8 Equivalent widths, W_{λ} (normalized to the value for a saturated line), for the absorption part of the N v resonance line at 1240 Å, as functions of the product of the ionization fraction of Nv, ⟨ q ⟩ , and the massloss rate. The solid line is calculated from smooth models and the dashed line from structured ones. The black dots denote W_{λ}’s for models corresponding to a smooth model with ⟨ q ⟩ Ṁ = 10^{9}, see text. 
In the following, we demonstrate the potential impact of optically thick clumping on diagnostic resonance lines in weak wind stars using the analytic formulation developed in Sect. 3.1. We use one component of the Nv doublet at 1240 Å, assume a solar nitrogen abundance (Asplund et al. 2005), and take a generic Odwarf with parameters R_{ ⋆ } = 8.0 R_{⊙}, 3_{∞} = 1500 km s^{1}, and Y_{He} = 0.1. Since in this section we only discuss predictions for the product of massloss rate and ionization fraction q for resonance lines, no effective temperature needs to be specified (see Eqs. (1), (2)). The Nv doublet was among the lines utilized in the study of Marcolino et al. (2009), and also our chosen parameters correspond well to the parameters for the five stars analyzed and found to have very weak winds (more than an order of magnitude lower than predicted by theory) in that study. To avoid problems regarding the onset of clumping and the aforementioned “blue absorption dip”, we consider only the velocity interval 3/3_{∞} = 0.25−0.75. Absorptionpart line profiles for structured winds are calculated using Eq. (4) and adopting the same structure parameters as in Sect. (3.1) (f_{v} = 0.25, x_{ic} = 0.0025, δt = 0.5, and a smooth “β = 1” velocity field).
Figure 8 shows the curveofgrowths for structured and smooth models, respectively, as functions of the mean ionization fraction of Nv times the massloss rate, ⟨q⟩ Ṁ. Clearly, massloss rates derived from smooth models may be severely underestimated also for stars with weak winds. For example, if we for this star were to infer ⟨q⟩ Ṁ = 10^{9} M_{⊙}/yr from a smooth model, the corresponding rate inferred from a structured one would be (⟨q⟩Ṁ)_{struc} = 3.8 × 10^{8} M_{⊙}/yr = 38(⟨q ⟩Ṁ)_{smooth} (see Fig. 8). Thus, if using smooth models (or microclumped, since microclumping has no effect on the resonance lines as long as no significant changes occur in the ionization fractions), one could easily derive massloss rates more than an order of magnitude lower than corresponding rates derived from structured models (see also Oskinova et al. 2007; and Paper I), and thereby one could also misinterpret observations as suggesting that massloss rates are much lower than predicted by theory.
We emphasize, however, that this simple example merely demonstrates how optically thick clumping might be important also for resonance line diagnostics in socalled weak wind stars, and that, if the winds are clumped, one must be careful not to simply assume that strongly desaturated resonance lines also imply optically thin clumps. The actual massloss reductions will depend critically both on the assumed ionization fractions and on the adopted structure parameters. Thus, a multidiagnostic study (to constrain the structure parameters), including a detailed consideration of Xrays (to obtain reliable ionization fractions), is required for more quantitative results. Nevertheless, we may safely say that, because of these inherent problems in UV line diagnostics, it is important to put further constraints on the weak wind problem by exploiting other diagnostics that are sensitive to mass loss but neither have optically thick clumps nor are affected by Xrays (as is probably true for, e.g., the infrared Br_{α} line, Najarro et al. 2010; see also Puls et al. 2009).
6.2. Resonance line doublets
Massa et al. (2008) pointed out that additional empirical constraints on wind structure may be obtained by considering the observed profilestrength ratios of resonance line doublets. The line strength parameter, κ_{0}, of such doublets is in proportion to the oscillator strengths of the individual components, f, which for the cases of interest here are f^{b}/f^{r} = 2, with superscripts b and r denoting the blue and red line components, respectively. However, if clumps are optically thick for the investigated lines, the resulting profilestrength ratio may deviate quite significantly from the one implied by smooth modeling (see discussion in Paper I). For example, in the case of very optically thick clumps and a void interclump medium, Eq. (4) simply gives R_{a,x} = 1 − ξ_{x}, i.e. the profile strength becomes independent of κ_{0}. The analogy for continuum diagnostics, or for line diagnostics in a nonaccelerating medium, is the wellknown result that for a medium consisting of infinitely dense absorbers embedded in a vacuum, the effective opacity is independent of the atomic opacity (see footnote 4 in Appendix A). Also for such a situation would the inferred profilestrength ratio be exactly one.
A major advantage of this line diagnostic is that the dependence on Xrays should cancel out. Recently, Prinja & Massa (2010) extended the Massa et al. work to include a large number of B supergiants, for which they, from the Si iv λλ1400 resonance doublet, derived empirical linestrength ratios, , using smooth wind models. The stars showed a wide spread between unity and the predicted factor of two, with the majority of them lying in the range 1.0 to 1.5, and with an overall mean of 1.46 (standard deviation ~ 0.31). In the following, we shall discuss this diagnostic under the assumption that the doublet components are well separated, so that each component can be treated as a single line, which is reasonable for, e.g., the just mentioned silicon lines in typical Bsupergiants and for P v in OBstars.
We now show that our analytic formulation for resonance line formation indeed predicts profilestrength ratios on the same order as those discussed above. Following the preceding section, we assume a solar abundance for silicon, make use of a generic Bsupergiant with R_{ ⋆ } = 30.0 R_{⊙}, 3_{∞} = 800 km s^{1}, and Y_{He} = 0.1, adopt the same structure parameters as in the previous section, and consider only the velocity interval 3/3_{∞} = 0.25 − 0.75. We then assume that for this generic star we derive ⟨ q ⟩ Ṁ = 5 × 10^{9} from the Si iv resonance doublet formed in a structured wind model. By once more exploiting the curveofgrowth (as in Fig. 8, but now for the two components of Si iv), we can then easily translate the structured results to corresponding smooth ones. We find a ratio , which agrees well with the results derived by Prinja & Massa (2010).
The doublet ratios are, in fact, almost ideal diagnostics regarding structure properties, since all other dependencies cancel out. Therefore ratios deviating from two might be the cleanest indirect signatures of optically thick clumping that we presently have, and may in principle be used to extract empirical information on the behavior of ξ. We write the ratio of the blue and red absorptionpart line profile at frequency x as (8)Generally, this equation can be solved for ξ_{x} only if the line optical depths and the interclump densities are known (the latter for example from observations of saturated resonance lines, see Paper I). However, under certain circumstances we can eliminate the need for such external knowledge. For example, assuming that all clumps are optically thick, we may write (9)Applying the last expression to our line profiles computed for Si iv using Eq. (4) reveals a mean value of ξ = 0.48 in a velocity bin 3/3_{∞} = 0.4 − 0.5, which agrees well with the actual mean (calculated from the assumed structure parameters), ξ = 0.51. Thus, this approximation can provide a quite good direct empirical mapping of ξ, without any knowledge about optical depths etc. Another case for which the profilestrength ratio can be directly related to ξ is that of a completely transparent background medium (i.e., a void interclump medium in our case). That limiting case of Eq. (8) has been long recognized and used by the quasar community (e.g., Ganguly et al. 1999), for the formation of intrinsic, narrow absorptionline doublets.
However, let us point out that this theoretical example only demonstrates that our basic formalism appears reasonable. In a real application, there will be a contribution also from the reemission part of the line profile, i.e., what we actually measure from an observation is the total line profile R_{x} = R_{a,x} + R_{em,x}. Thus, to empirically infer ξ_{x} from Eq. (9) (which involves R_{a,x} = R_{x} − R_{em,x}), we must either simply neglect the reemission contribution (which generally will not be possible) or actually calculate R_{em,x}, as predicted by a structured wind model. For resonance lines (as opposed to recombination lines, see Sect. 3.2), a simplified approach for R_{em,x} in clumpy winds is still to be developed; it is a very demanding task because of the source function’s scattering nature. In principle though, a treatment corresponding to the “smooth source function” formalism used in our timedependent RH simulations (see Sect. 5.2) might be a reasonable first approximation.
7. Summary and future work
We investigate diagnostic features for deriving massloss rates from the clumped winds of hot, massive stars, without relying on the microclumping approximation. It is found that presentday RH simulations of the linedriven instability are not able to consistently fit the UV and optical diagnostics in a prototypical Osupergiant. By creating empirical stochastic wind models, we achieve consistent fits mainly by increasing the clumping in the inner wind. A massloss rate is derived that is approximately a factor of two lower than what is predicted by theory. The best constraints come from the optical diagnostics. The UV resonance lines are much more sensitive to the wind’s structure parameters (i.e., to the clumping factor, the interclump medium density, etc.) than to the massloss rate, and should, thus, not be the preferred choice when deriving empirical massloss rates.
We discuss both recombination line and resonance line formation in detail. Resonance lines always suffer the effects of optically thick clumping in typical diagnostic lines, and their profiles are thereby weaker for models with a detailed treatment of clumping than for models that rely on the microclumping approximation. Recombination lines are less affected because of the lower optical depths in typical diagnostic lines. However, emission strength reductions as compared to microclumped models are significant for stars with high massloss rates (e.g., WolfRayet stars) and can be so for O stars as well, if, for example, strong clumping is present in the lower wind, as illustrated by our diagnostic study of λ Cep.
An analytic method to model these lines in clumpy winds, without any restriction to microclumping, is suggested and shown to yield results consistent with those from detailed stochastic models. Some first results are given, illustrating the potential significance of optically thick clumps for diagnostic lines in weak wind stars, and confirming recent results that profilestrength ratios of resonance line doublets may be used as tracers of wind structure and optically thick clumping. We intend to refine this method and incorporate it into suitable NLTE unified atmospheric codes, in order to investigate effects of optically thick clumping on the occupation numbers.
It is pivotal that 3D, timedependent RH models of the linedriven instability be developed, with an adequate treatment of the 3D radiation transport. New models are required to investigate whether the structure predicted by presentday simulations is stable or a consequence of current physical assumptions and simplifications.
In this paper, we do not consider the “jump velocity parameter”, 3_{j}, defined in Paper I, since it was shown there that this parameter mainly influences the formation of very strong saturated lines, which are not considered here. In our applications in Sect. 4, we simply set 3_{j}/3_{β} = 0.15, which was found to be a prototypical value in Paper I.
We mention in passing that the Levermore et al. model also yields the result e^{ − s/h}, with s the path length, for the normalized intensity in the limit of infinitely dense absorbers in a background vacuum. This is equivalent to the result for a fully porous wind obtained by, e.g., Owocki et al. (2004).
Acknowledgments
We thank the anonymous referee for detailed comments and suggestions. J.O.S gratefully acknowledges a grant from the International MaxPlanck Research School of Astrophysics (IMPRS), Garching, and also current financial support from the DFG cluster of excellence.
References
 Asplund, M., Grevesse, N., & Sauval, A. J. 2005, in Cosmic Abundances as Records of Stellar Evolution and Nucleosynthesis, ed. T. G. Barnes III, & F. N. Bash, ASP Conf. Ser., 336, 25 [Google Scholar]
 Bouret, J.C., Lanz, T., & Hillier, D. J. 2005, A&A, 438, 301 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Bouret, J., Lanz, T., Hillier, D. J., & Foellmi, C. 2008, in Clumping in HotStar Winds, ed. W.R. Hamann, A. Feldmeier, & L. M. Oskinova, 31 [Google Scholar]
 Bresolin, F., Crowther, P. A., & Puls, J. (eds.) 2008, Massive Stars as Cosmic Engines, IAU Symp. 250 [Google Scholar]
 Cantiello, M., Langer, N., Brott, I., et al. 2009, A&A, 499, 279 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Castor, J. I., Abbott, D. C., & Klein, R. I. 1975, ApJ, 195, 157 [NASA ADS] [CrossRef] [Google Scholar]
 Cohen, D. H., Leutenegger, M. A., Wollman, E. E., et al. 2010, MNRAS, 405, 2391 [NASA ADS] [Google Scholar]
 Crowther, P. A. 2007, ARA&A, 45, 177 [NASA ADS] [CrossRef] [Google Scholar]
 Dessart, L., & Owocki, S. P. 2002, A&A, 383, 1113 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Dessart, L., & Owocki, S. P. 2003, A&A, 406, L1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Dessart, L., & Owocki, S. P. 2005, A&A, 437, 657 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Feldmeier, A. 1995, A&A, 299, 523 [NASA ADS] [Google Scholar]
 Feldmeier, A., Puls, J., & Pauldrach, A. W. A. 1997, A&A, 322, 878 [NASA ADS] [Google Scholar]
 Feldmeier, A., Oskinova, L., & Hamann, W.R. 2003, A&A, 403, 217 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Fullerton, A. W., Massa, D. L., & Prinja, R. K. 2006, ApJ, 637, 1025 [NASA ADS] [CrossRef] [Google Scholar]
 Ganguly, R., Eracleous, M., Charlton, J. C., & Churchill, C. W. 1999, AJ, 117, 2594 [NASA ADS] [CrossRef] [Google Scholar]
 Herrero, A., Puls, J., & Villamariz, M. R. 2000, A&A, 354, 193 [NASA ADS] [Google Scholar]
 Hillier, D. J. 1991, A&A, 247, 455 [NASA ADS] [Google Scholar]
 Krtička, J., & Kubát, J. 2009, MNRAS, 394, 2065 [NASA ADS] [CrossRef] [Google Scholar]
 Krtička, J., Puls, J., & Kubát, J. 2008, in Clumping in HotStar Winds, ed. W.R. Hamann, A. Feldmeier, & L. M. Oskinova, 111 [Google Scholar]
 Levermore, C. D., Pomraning, G. C., Sanzo, D. L., & Wong, J. 1986, J. Math. Phys., 27, 2526 [Google Scholar]
 Lucy, L. B. 1984, ApJ, 284, 351 [NASA ADS] [CrossRef] [Google Scholar]
 Lucy, L. B., & Solomon, P. M. 1970, ApJ, 159, 879 [NASA ADS] [CrossRef] [Google Scholar]
 Marcolino, W. L. F., Bouret, J., Martins, F., et al. 2009, A&A, 498, 837 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Markova, N., Puls, J., Scuderi, S., & Markov, H. 2005, A&A, 440, 1133 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Massa, D. L., Prinja, R. K., & Fullerton, A. W. 2008, in Clumping in HotStar Winds, ed. W.R. Hamann, A. Feldmeier, & L. M. Oskinova, 147 [Google Scholar]
 Meynet, G., Maeder, A., Schaller, G., Schaerer, D., & Charbonnel, C. 1994, A&AS, 103, 97 [NASA ADS] [Google Scholar]
 Muijres, L. E., Vink, J. S., de Koter, A., et al. 2010, A&A, submitted [Google Scholar]
 Najarro, F., Hanson, M. M., Puls, J. 2010, A&A, submitted [Google Scholar]
 Oskinova, L. M., Feldmeier, A., & Hamann, W.R. 2006, MNRAS, 372, 313 [NASA ADS] [CrossRef] [Google Scholar]
 Oskinova, L. M., Hamann, W.R., & Feldmeier, A. 2007, A&A, 476, 1331 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Owocki, S. P. 2008, in Clumping in HotStar Winds, ed. W.R. Hamann, A. Feldmeier, & L. M. Oskinova, 121 [Google Scholar]
 Owocki, S. P., & Puls, J. 1996, ApJ, 462, 894 [NASA ADS] [CrossRef] [Google Scholar]
 Owocki, S. P., & Puls, J. 1999, ApJ, 510, 355 [NASA ADS] [CrossRef] [Google Scholar]
 Owocki, S. P., Castor, J. I., & Rybicki, G. B. 1988, ApJ, 335, 914 [NASA ADS] [CrossRef] [Google Scholar]
 Owocki, S. P., Gayley, K. G., & Shaviv, N. J. 2004, ApJ, 616, 525 [NASA ADS] [CrossRef] [Google Scholar]
 Pauldrach, A. W. A., Hoffmann, T. L., & Lennon, M. 2001, A&A, 375, 161 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Prinja, R. K., & Massa, D. L. 2010, A&A, 521, L55 [Google Scholar]
 Puls, J., Owocki, S. P., & Fullerton, A. W. 1993, A&A, 279, 457 [NASA ADS] [Google Scholar]
 Puls, J., Kudritzki, R.P., Herrero, A., et al. 1996, A&A, 305, 171 [NASA ADS] [Google Scholar]
 Puls, J., Kudritzki, R., SantolayaRey, A. E., et al. 1998, in Properties of Hot Luminous Stars, ed. I. Howarth, ASP Conf. Ser., 131, 245 [Google Scholar]
 Puls, J., Urbaneja, M. A., Venero, R., et al. 2005, A&A, 435, 669 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Puls, J., Markova, N., Scuderi, S., et al. 2006, A&A, 454, 625 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Puls, J., Vink, J. S., & Najarro, F. 2008, A&ARv, 16, 209 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Puls, J., Sundqvist, J. O., Najarro, F., & Hanson, M. M. 2009, in AIP Conf. Ser. 1171, ed. I. Hubeny, J. M. Stone, K. MacGregor, & K. Werner, 123 [Google Scholar]
 Repolust, T., Puls, J., & Herrero, A. 2004, A&A, 415, 349 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Runacres, M. C., & Owocki, S. P. 2002, A&A, 381, 1015 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Sundqvist, J. O., Puls, J., & Feldmeier, A. 2010, A&A, 510, A11 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Vink, J. S., de Koter, A., & Lamers, H. J. G. L. M. 2000, A&A, 362, 295 [NASA ADS] [Google Scholar]
 Waldron, W. L., & Cassinelli, J. P. 2010, ApJ, 711, L30 [NASA ADS] [CrossRef] [Google Scholar]
 Zsargó, J., Hillier, D. J., Bouret, J.C., et al. 2008, ApJ, 685, L149 [NASA ADS] [CrossRef] [Google Scholar]
Appendix A: Analytic treatment of line formation in clumped hot star winds
Resonance lines.
We propose to write the absorption part of a resonance line formed (from a radial ray) in a clumped wind as (A.1)
where ξ is defined as the fraction of the velocity field over which photons may be absorbed by clumps, the optical depths are those for the clumped (subscript cl) and rarefied (subscript ic) medium, and dependencies on the normalized, dimensionless frequency x have been suppressed for simplicity (cf. Sect. 3.1 in main paper).
Following Owocki (2008) we define the velocity filling factor f_{vel} as the fraction of the velocity field covered by clumps (in full analogy with the volume filling factor f_{v}). That is, f_{vel} is the ratio of the velocity span of the clump, δ3, to the velocity separation between two clump centers, Δ3, (A.2)
In our stochastic models we have the clump velocity span δ3 ≈  δ3/δ3_{β}  (d3_{β}/dr)δr and from the definition of f_{v} (see Paper I) δr ≈ f_{v}Δr, with Δr = 3_{β}δt the radial distance between two clump centers. Similarly one may approximate Δ3 ≈ (d3_{β}/dr)Δr, which leads to (A.3)
Thus, a smooth velocity law (δ3 = δ3_{β}) implies f_{vel} = f_{v}. The absolute value sign becomes important in any compressive wind region, since optical depths must always be positive (see below).
Actually, Eq. (A.1) is in form equivalent to the analytic transfer solution derived by Levermore et al. (1986), for the ensemble averaged intensity in a twophase [i = A,B] Markovian model of a static purely continuum absorbing medium in the limit that the characteristic length scales l_{i} of the fluid packets of both components are much longer than the domain of integration^{4}, if we just substitute l_{A},l_{B} → δ3,Δ3. Thus, from this analogy it is clear that we may set ξ = f_{vel} as long as the Sobolevlike requirement δ3 ⟩ ⟩ C3_{t} is satisfied, where C3_{t} is the velocity extent over which a photon of frequency x may be absorbed (that is, the velocity extent of a resonance zone). This limiting situation corresponds to the case that the line profile can be represented by a delta function, so that the sharp edges of the resonance zones prevent any absorption at frequencies not Doppler shifted to the very line center, resulting in a localized radiative transfer. The optical depths in Eq. (A.1) are then understood to be the Sobolev ones. That is, τ_{cl} = τ_{sm}/f_{vel} and τ_{ic} = τ_{sm}(x_{ic}/f_{vel}), with τ_{sm} the optical depth in the smooth case (Eq. (2)).
However, especially in the outer wind (but, depending on the onset of clumping, also in the innermost wind, see Fig. 2) we will generally have δ3 < C3_{t} and the effective fraction of the velocity field over which photons can be absorbed by clumps will increase. The exact form of the radiation transport is then likely to be very complex. Nonetheless, let us in a first attempt try to simply modify ξ in order to account for the essential effects. We write (A.4)
where the factor C3_{t} now represents a sort of correction to the limiting case of δ3 ⟩ ⟩ C3_{t}. A linear addition is chosen because the basic equation determining whether or not a photon actually can be absorbed (i.e., whether or not it is located within its resonance zone) is x_{cmf} = x_{obs} − 3, with x_{cmf} and x_{obs} the comoving and observer’s frame frequencies, respectively.
The factor C accounts for the fact that the “effective resonance zone” over which photons can be absorbed by clumps is larger than that provided by 3_{t} (at least for relatively strong lines). Photon absorption at x within clumps is given by the distribution function e^{ − τcl,x}, with expectation value τ_{cl,x} = 1. Therefore we may estimate C using the “effective profile width”, determined by solving for the comoving frame frequency at which unity optical depth is reached, if a clump is present, (A.5)
where erf is the error function. The effective profile width then is C = 2x_{cmf}/3_{t}, where x_{cmf} is given by the solution to Eq. (A.5). Note that C now is allowed to be velocity dependent, C → C(3). In addition, the expression for the clump optical depth should now be modified, τ_{sm}/f_{vel} → τ_{sm}/ξ, to account for the fact that individual clumps no longer cover a complete resonance zone.
With C determined we can cast ξ in the convenient form (A.6)
where η ≡ 3_{t}/Δ3 is the effective escape ratio. Note the difference between this definition of η and that given in Paper I. The two are related as (A.7)
where η_{old} denotes our earlier definition. The advantage of redefining η is that we may now separate out the porosity dependence in ξ, writing (A.8)
with h = δr/f_{v} = Δr = 3_{β}δt the porosity length of the medium in our geometry and L_{r} = 3_{t}/(d3_{β}/dr) the radial Sobolev length for a smooth velocity field. The coupling between vorosity and porosity becomes clear via η.
As defined, η may in principle take arbitrarily high values, so for the examples in this paper we simply set ξ = 1 whenever ξ ≥ 1, because in a wind with a smooth velocity field the clumps obviously cannot absorb photons over a velocity space larger than that covered by the β velocity law. On the other hand, if we allow for clumps to be randomly positioned in velocity space, overlapping velocity spans will lead to a change in the effective coverage fractions. If velocity perturbations are sufficiently large, one may simply substitute ξ → (1 − e^{ − ξ}) and permit ξ to take arbitrarily high values. However, it is clear neither if velocity perturbations will be sufficiently large nor how to handle the case when more than one clump is crossed within a resonance zone. Thus we for now consider only the simple case of a smooth velocity field, deferring to future work a careful study of these randomization effects. In any case, we note that our formalism recovers the smooth optical depth τ_{sm} in the limit Δ3 ⟨ ⟨ C3_{t} (as expected because then the individual clumps obviously are optically thin).
Finally, Eq. (A.1) has the proper behavior in the limiting cases of a smooth or microclumped wind. For the former (x_{ic}=1 and τ_{cl} = τ_{sm}), (A.9)
and for the latter (τ_{cl} ⟨ ⟨ 1) some simple algebra yields, (A.10)
where we recall that this last result is expected because resonance line formation depends linearly on the density (see Sect. 2.1).
Recombination lines.
The absorption part of recombination lines such as H_{α} may also be approximated as described above. Furthermore, since the source function in these lines can be prescribed (see Sect. 2), we can make a similar approximation for the reemission part (A.11)
where S is the source function at the resonance point in units of the continuum intensity. The total line profile R_{x} is then given by R_{x} = R_{a,x} + R_{em,x}. It is important to realize that the reemission profile is much more influenced by nonradial photons than is the absorption part profile. Thus we replace the radial approximation for ξ with a corresponding lineofsight expression, ξ → ξ_{z}, by substituting L_{r} → L_{z} and h → h/μ, where curvature effects for a clump have been neglected, and now obtain the final line profiles by performing the standard integration over a prespecified number of Prays. The optical depths from the previous paragraph must be replaced by corresponding ones for recombination lines (see Sect. 3.2), where of course care must be taken for the now angular dependent τ.
Also Eq. (A.11) has the proper behavior for smooth as well as for microclumped winds. In the same manner as for the resonance lines, we obtain for the former (A.12)
which is expected because recombination line formation depends on the square of the density (see Sect. 2.1).
Comparisons between the analytic approximations outlined here and numerical simulations using our stochastic wind models and detailed radiative transfer codes are given in the main paper.
All Tables
All Figures
Fig. 1 Illustration of the wind geometry, see text. (A color version of this figure is available in the web version.) 

In the text 
Fig. 2 Panel a) ξ (Eq. (5)) as a function of wind velocity. Panel b) the relative contributions to ξ from f_{vel} and Cη. Curves in panels a and b have been calculated with κ_{0} = 5 and thermal speed 3_{t} = 0.005 (in units of 3_{∞}). Panels c) and d) analytic (Eq. (4), solid lines) and MonteCarlo (dashed lines) based absorption part resonance line profiles from clumped winds, as compared to smooth results (dotted lines). Clumping starts at 3_{cl} = 0.2 (r_{cl} = 1.24). Panel c) Profiles for three different values of the line strength κ_{0} (indicated in the figure), with increased absorption for higher values of κ_{0}. Only the κ_{0} = 1 profile is not saturated (i.e., does not display R_{a} = 0) for smooth models. Panel d) profiles for κ_{0} = 5 and different values of 3_{t}, as indicated in the figure. No MonteCarlo profile for the 3_{t} = 0 case is shown (simply because we have not yet developed a “Sobolev version” of this code). Analytic and MonteCarlo profiles display increased absorption for higher values of 3_{t}, whereas all smooth profiles have R_{a} = 0. 

In the text 
Fig. 3 Upper panel: deviations from the microclumping approximation of equivalent widths of synthetic H_{α} line profiles versus massloss rate (see text). Clumping starts at 3_{cl} = 0.24 and 0.06 (r_{cl} = 1.3 and 1.05), respectively, as indicated in the figure. Lower panel: H_{α} line profiles as calculated by stochastic, analytic, and microclumped models with f_{cl}=9 and Ṁ = 10 × 10^{6} M_{⊙}/yr, and the rest of the stellar and wind parameters as for λ Cep. Clumping for all models starts at 3_{cl} = 0.24. 

In the text 
Fig. 4 Radial clump optical depths for PV, and radial and tangential ones for H_{α}, as functions of wind velocity for our empirical, stochastic wind model of λ Cep (Table 3). 

In the text 
Fig. 5 Clumping factors (upper left), P v ionization fractions (upper right), and He ii 4686 and H_{α} departure coefficients b_{i} (lower left and lower right, respectively) used in the RH and stochastic models of λ Cep. Mean wind velocities are on all abscissas. 

In the text 
Fig. 6 Observed and synthetic line profiles for λ Cep. Dotted lines are the observations. Solid line profiles are calculated from the inhomogeneous radiationhydrodynamic model of λ Cep (Table 1), and dashed lines from a corresponding fastwind model including microclumping. The longdashed line in the upper left panel is from a RH model in which the density has been scaled to mimic an increase in the massloss rate by 50%. 

In the text 
Fig. 7 As Fig. 6, but using our stochastic models (solids) with corresponding inferred empirical structure parameters (see Table 3 and text). The assumed massloss rate is the same as for the RH model of λ Cep, see Table 1. 

In the text 
Fig. 8 Equivalent widths, W_{λ} (normalized to the value for a saturated line), for the absorption part of the N v resonance line at 1240 Å, as functions of the product of the ionization fraction of Nv, ⟨ q ⟩ , and the massloss rate. The solid line is calculated from smooth models and the dashed line from structured ones. The black dots denote W_{λ}’s for models corresponding to a smooth model with ⟨ q ⟩ Ṁ = 10^{9}, see text. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext 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 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.