The 23.01 release of Cloudy


Abstract

We announce the C23.01 update of cloudy. This corrects a simple coding error, present since \(\sim 1990\), in one routine that required a conversion from the line-center to the mean normalization of the Ly\(\alpha\)optical depth. This affects the destruction of H I Ly\(\alpha\) by background opacities. Its largest effect is upon the Ly\(\alpha\) intensity in high-ionization dusty clouds, where the predicted intensity is now up to three times stronger. Other properties that depend on Ly\(\alpha\) destruction, such as grain infrared emission, change in response.

1 Introduction↩︎

We present the C23.01 update to cloudy, succeeding C23.00 [1][4]. We correct an error in our use of the [5] theory of Ly\(\alpha\) destruction that dates back to \(\sim\)​1990. The Ly\(\alpha\)intensity can change by as much as 0.5 dex for highly ionized dusty clouds.

2 Line transfer in dusty media↩︎

Resonance lines of abundant atoms often have large optical depths, so the effects of scattering and absorption must be taken into account. Line photons can be lost by either collisional deexcitation, where the photon’s energy is converted into thermal energy, or by absorption by background opacities, where the photon is absorbed by photoelectric or grain opacity [6][9].

The escape probability formalization is a powerful treatment of the effects of radiative trapping [7], [10], [11]. This replaces the net radiative bracket in the radiative transfer equation with the product of the transition rate and the probability that a photon will escape in a single scattering, \(\beta_{\rm esc} A_{ul}\) [7], [10]. Here \(\beta_{\rm esc}\) is the escape probability for a transition with upper and lower levels \(u,l\).

The line profile function \(\varphi(x)\) lies at the heart of line transfer physics. Radiative trapping and escape compete with photon destruction through continuous absorption processes, the so-called “background opacity”. The Voigt line profile, \[H(a,x) = \frac{a}{\pi} \int{\frac{dt e^{-t^2}}{(x-t)^2+a^2}} \, ,\] describes how matter absorbs photons, while the redistribution function describes the relation between absorption and subsequent emission. Here, \(x\) is the frequency displacement from line-center, and \(a\) is the Voigt parameter [5], [12].

There are two normalizations of the optical depth, line-center and mean. Optical and ultraviolet spectroscopy conventionally use line-center optical depths [6], [8]. Mean optical depths are more convenient for very large values of the damping constant, as is typical of allowed lines of high-ionization species in the X-ray regime [5]. For small \(a\), the mean optical depth is a factor of \(\sqrt\pi\) times larger than the line-center optical depth.

cloudy internally works with line-center optical depths throughout. When the code expanded to higher energies, mean optical depths became more useful, and mean optical depths are now reported. cloudy treats line overlap and integrates the line optical depth through a medium where the Doppler width will generally be varying, so it is not straightforward to convert the line-center optical depths used internally to a mean optical depth. To avoid these difficulties, we report a mean optical depth that is exactly a factor \(\sqrt\pi\) times larger than the line-center optical depth. This assumes that the Voigt function at line-center is \(H(0, a) \approx 1\). This approximation is valid when the damping parameter \(a\) is small, \(a\ll1\) which is generally the case in the IR, optical, and UV wavelength range. This conversion is more approximate in the X-ray regime where \(a\) can be much larger.

cloudy uses fits to the escape \(\beta_{\rm esc}\) and destruction \(\beta_{\rm des}\) probabilities presented in [5] for H I Ly\(\alpha\). This theory uses mean optical depths \(\tau\), and considers a wide variation in the values of \(a\). The original incorporation of the HK80 theory into cloudy, dating back to at least the C80 (circa \(\sim\)​1990) release, required a conversion from \(\tau\) to \(\tau_0\) within one routine. We found that this conversion had an erroneous factor of \(\pi\) in the calculation of \(\beta_{\rm HK}\), a parameter in the HK80 theory. This affected the loss of H I Ly\(\alpha\) photons due to “background” opacity, with dust being the dominant opacity absorbing Ly\(\alpha\).

In the following sections, we derive the new calculation of \(\beta_{\rm HK}\), discuss changes in the simulated spectra, and detail how the C23.01 release can be downloaded.

3 Lyman \(\alpha\) Escape & Destruction Probability↩︎

The starting point of the HK80 theory is the \(\beta_{\rm HK}\) parameter, defined as (Eq. 2.7 of HK80): \[\beta_{\rm HK} \equiv k_{\rm c}/k_{\rm L},\] where \(k_{\rm c}\) is the continuum opacity of background destruction processes (such as absorption on dust grains), and \(k_{\rm L}\) is the line opacity. cloudy uses a slightly different definition for \(\beta_{\rm HK}\) that is better behaved in extreme conditions (like hydrogen-deficient and very dust-rich gas, see e.g., [13]): \[\beta_{\rm HK} \equiv k_{\rm c}/(k_{\rm L} + k_{\rm c}).\] For the range of conditions considered by HK80 (\(k_{\rm c} \ll k_{\rm L}\)), there is very little difference between the two definitions. The opacity of the line is defined as (Eq. 2.3 of HK80): \[k_{\rm L} = \frac{N_l B_{lu} h \nu_0}{4\pi \Delta}. \label{kldef}\tag{1}\] Here \(N_l\) is the lower-level population, \(B_{lu}\) is the Einstein-B coefficient for absorption, \(h\) is the Planck constant, \(\nu_0\) is the central frequency of the line, and \(\Delta\) is the Doppler width of the line. The Einstein-B coefficient is related to the oscillator strength \(f_{lu}\) as follows [14]: \[B_{lu} = \frac{4\pi^2 e^2}{m_{\rm e}c \, h \nu_0} f_{lu}. \label{b12def}\tag{2}\] Here \(e\) is the elementary charge in electrostatic units, \(m_{\rm e}\) is the mass of the electron, and \(c\) is the speed of light. The Doppler width is converted to velocity units \(\Delta_{\rm v}\) as follows: \[\Delta = \frac{\Delta_{\rm v}}{c} \nu_0 = \Delta_{\rm v}\sigma_0, \label{dveldef}\tag{3}\] where \(\sigma_0\) is the wavenumber of the line, \(\sigma_0 = \nu_0/c\). Substituting Eqs. 2 and 3 into Eq. 1 yields: \[k_{\rm L} = N_l \frac{\pi e^2}{m_{\rm e} c \, \Delta_{\rm v} \, \sigma_0} f_{lu}. \label{kldef2}\tag{4}\] The opacity constant of the line \(\kappa_{\rm L}\) is defined in cloudy as: \[\kappa_{\rm L} = \frac{\sqrt{\pi} e^2}{m_{\rm e}c} f_{lu} \frac{1}{\sigma_0}. \label{kappadef}\tag{5}\] Substituting Eq. 5 into Eq. 4 yields: \[k_{\rm L} = N_l \kappa_{\rm L} \sqrt{\pi} / \Delta_{\rm v}. \label{kldef3}\tag{6}\] In the previous cloudy code, \(\beta_{\rm HK}\) was calculated using the \(k_L\) derived in Equation 6 divided by \(\pi\).

4 Changes to Spectra↩︎

With this change, \(k_L\) is now larger by a factor of \(\pi\), decreasing \(\beta_{\rm HK}\) by approximately the same factor (assuming \(k_{\rm c} \ll k_{\rm L}\)). Thus, the destruction probability by background opacities is now reduced by approximately the same factor of \(\pi\).

Figure 1: A contour plot of H Ly\alphaline intensity predicted by C23.01 relative to the same quantity from C23.00, for the baseline model orion_hii_open.in in the cloudy test suite. The ratio of ionizing photon flux \phi(H) to hydrogen density n(H) is effectively the ionization parameter U. The lower-right corner of the panels corresponds to high U, and the upper-left corner is low U.

cloudy includes a large test suite which makes autonomous testing possible. These showed that the largest changes occurred for dusty clouds where H Ly\(\alpha\)destruction is important. Figure 1 shows the H Ly\(\alpha\)intensity for a blister H II region model inspired by the Orion H II region, a hydrostatic ionized layer on the surface of a molecular cloud [15]. We consider a range of hydrogen densities (\(10\leq n({\rm H}) \leq 10^6\) cm\(^{-3}\)) and stellar ionizing photon fluxes (\(10^{11}\leq \phi({\rm H}) \leq 10^{14}\) photons cm\(^{-2}\) s\(^{-1}\)). The Figure shows predictions of C23.01 relative to those of C23.00.

Our new calculations have reduced the destruction probability so H Ly\(\alpha\)is now stronger. The biggest change occurs at high \(\phi(H)\) and low \(n(H)\), corresponding to high ionization parameters (\(U=\phi({\rm H}) / c n({\rm H})\)). As we increase \(U\) and the ionization, grains proportionately absorb more of the ionizing photons [16], [17]. More highly ionized clouds have less atomic opacity but the same grain opacity, so there is a greater probability of a photon being absorbed by grains rather than scattered from a hydrogen atom. The destruction probability of H Ly\(\alpha\)is higher at high \(U\). Reducing the destruction probability by a factor of \(\pi\) results in the greatest enhancement of H Ly\(\alpha\)in the lower right corner.

5 Summary↩︎

The primary result of this update are changes to the H Ly\(\alpha\)line in dusty environments at moderate to high ionization parameter. We present an update to cloudy, which includes changes in the hydrogen Lyman \(\alpha\) escape and destruction probabilities based on HK80. Since H Ly\(\alpha\)is often the strongest line in the spectrum, significant changes in its physics will have consequences on other physical parameters. A discussion of the changes to the grain emission and other consequences will be presented in the C24 release paper.

This update has been released as C23.01 and is now available to download from wiki.nublado.org. Papers that use this version of cloudy should cite both [4] and the present paper.

CMG acknowledges support by NASA (19-ATP19-0188). MC acknowledges support from NSF (1910687), and NASA (19-ATP19-0188, 22-ADAP22-0139). GJF acknowledges support by NSF (1816537, 1910687), NASA (ATP 17-ATP17-0141, 19-ATP19-0188), and STScI (HST-AR-15018 and HST-GO-16196.003-A).

References↩︎

[1]
G. J. Ferland, K. T. Korista, D. A. Verner, J. W. Ferguson, J. B. Kingdon, and E. M. Verner, “CLOUDY 90: Numerical simulation of plasmas and their spectra,” vol. 110, no. 749, pp. 761–778, Jul. 1998, doi: 10.1086/316190 , ads.
[2]
G. J. Ferland et al., “The 2013 release of cloudy”, keywords = atomic processes, galaxies: active, methods: numerical, molecular processes, radiation mechanisms: general, Astrophysics - Galaxy Astrophysics, Astrophysics - Cosmology and Extragalactic Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics, vol. 49, pp. 137–163, Apr. 2013, doi: 10.48550/arXiv.1302.4485 , archivePrefix = {arXiv}, eprint = {1302.4485}, primaryClass = {astro-ph.GA}, ads.
[3]
G. J. Ferland et al., “The 2017 release cloudy”, keywords = atomic processes, galaxies: active, methods: numerical, molecular processes, radiation mechanisms: general, Astrophysics - Astrophysics of Galaxies, vol. 53, pp. 385–438, Oct. 2017, doi: 10.48550/arXiv.1705.10877 , archivePrefix = {arXiv}, eprint = {1705.10877}, primaryClass = {astro-ph.GA}, ads.
[4]
M. Chatzikos et al., “The 2023 release of cloudy”, keywords = atomic data, galaxies: active, globular clusters: general, molecular data, software: development, vol. 59, pp. 327–343, Oct. 2023, doi: 10.22201/ia.01851101p.2023.59.02.12 , ads.
[5]
D. G. Hummer and P. B. Kunasz, “Energy loss by resonance line photons in an absorbing medium”, keywords = Electromagnetic Absorption, Energy Dissipation, Optical Resonance, Photons, Quasars, Radiative Transfer, Doppler Effect, Frequency Distribution, Mean Free Path, Optical Thickness, Particle Trajectories, Scaling Laws, Nuclear and High-Energy Physics, vol. 236, pp. 609–618, Mar. 1980, doi: 10.1086/157779 , ads.
[6]
D. Mihalas, Stellar atmospheres. W H Freeman & Co , ads, 1970.
[7]
M. Elitzur, Astronomical masers, vol. 170. Springer Netherlands, 1992.
[8]
R. J. Rutten, Radiative transfer in stellar atmospheres. Springer Science & Business Media , ads, 2003.
[9]
I. Hubeny and D. Mihalas, Theory of stellar atmospheres. Princeton University Press , ads, 2014.
[10]
H. Netzer, M. Elitzur, and G. J. Ferland, “Bowen fluoresence and he II lines in active galaxies and gaseous nebulae”, keywords = Active Galaxies, Emission Spectra, Fluorescence, Galactic Nuclei, Helium Ions, Lyman Alpha Radiation, Nebulae, Active Galactic Nuclei, Doppler Effect, Monte Carlo Method, Radiative Transfer, Astrophysics, vol. 299, pp. 752–762, Dec. 1985, doi: 10.1086/163741 , ads.
[11]
D. E. Osterbrock and G. J. Ferland, Astrophysics of gaseous nebulae and active galactic nuclei. University Science Books , ads, 2006.
[12]
F. Hjerting, “Tables facilitating the calculation of line absorption coefficients.” vol. 88, p. 508, Nov. 1938, doi: 10.1086/144000 , ads.
[13]
K. J. Borkowski and J. P. Harrington, “A grain-heated, dusty planetary nebula in M22”, keywords = Abundance, Cosmic Dust, Globular Clusters, Interstellar Matter, Planetary Nebulae, Radiant Heating, Stellar Radiation, Astronomical Models, Halos, Infrared Astronomy Satellite, Infrared Radiation, Photoelectric Emission, Stellar Winds, Astrophysics, CLUSTERS: GLOBULAR, INTERSTELLAR: GRAINS, NEBULAE: ABUNDANCES, NEBULAE: PLANETARY, vol. 379, p. 168, Sep. 1991, doi: 10.1086/170493 , ads.
[14]
G. B. Rybicki and A. P. Lightman, Radiative processes in astrophysics. John Wiley & Sons, Inc. ", ads, 1979.
[15]
J. A. Baldwin et al., “Physical conditions in the orion nebula and an assessment of its helium abundance”, keywords = Abundance, H Ii Regions, Helium Ions, Orion Nebula, Hydrogen Ions, Photoionization, Spectrophotometry, Astrophysics, NEBULAE: ABUNDANCES, NEBULAE: H II REGIONS, NEBULAE: ORION NEBULA, vol. 374, p. 580, Jun. 1991, doi: 10.1086/170146 , ads.
[16]
M. Bottorff, J. Lamothe, E. Momjian, E. Verner, D. Vinković, and G. Ferland, “Luminosity indicators in dusty photoionized environments”, keywords = ISM: H II REGIONS, INFRARED: GENERAL, INFRARED: STARS, METHODS: OBSERVATIONAL, PLANETARY NEBULAE, STARS: FUNDAMENTAL PARAMETERS, Astrophysics, vol. 110, no. 751, pp. 1040–1045, Sep. 1998, doi: 10.1086/316222 , archivePrefix = {arXiv}, eprint = {astro-ph/9806130}, primaryClass = {astro-ph}, ads.
[17]
C. M. Gunasekera, X. Ji, M. Chatzikos, R. Yan, and G. Ferland, “Self consistent grain depletions and abundances II: Effects on strong-line diagnostics of extragalactic h II regions”, keywords = ISM: abundances, ISM: dust, ISM: H II regions, Astrophysics - Astrophysics of Galaxies, vol. 520, no. 3, pp. 4345–4355, Apr. 2023, doi: 10.1093/mnras/stad322 , archivePrefix = {arXiv}, eprint = {2205.13023}, primaryClass = {astro-ph.GA}, ads.