Open Access
Issue
A&A
Volume 684, April 2024
Article Number A26
Number of page(s) 26
Section Planets and planetary systems
DOI https://doi.org/10.1051/0004-6361/202347837
Published online 03 April 2024

© The Authors 2024

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1 Introduction

There is strong theoretical and observational evidence demonstrating that atmospheric escape plays a significant role in shaping the population of intermediate-mass planets (see e.g. Owen & Wu 2013, 2017; Fulton et al. 2017; Ginzburg et al. 2018; Jin & Mordasini 2018; Gupta & Schlichting 2019, 2020; Sandoval et al. 2021; Kubyshkina & Fossati 2022; Ho & Van Eylen 2023) and in modifying their atmospheric composition (see e.g. Zahnle & Kasting 1986; Hunten et al. 1987; Albarède & Blichert-Toft 2007; Odert et al. 2018; Lammer et al. 2020). This led to a substantial modelling effort aimed at explaining the structure and dynamics of planetary upper atmospheres and the mechanisms driving the escape (see e.g. the reviews of Gronoff et al. 2020; Owen et al. 2020, and references therein). This effort is being supported by multiwavelength transmission spectroscopy observations that help to guide and constrain the theoretical models (e.g. Vidal-Madjar et al. 2003; Fossati et al. 2010; Haswell et al. 2012; Ehrenreich et al. 2015; Lavie et al. 2017; Allart et al. 2018; Spake et al. 2018; Nortmann et al. 2018; Carleo et al. 2020; Vissapragada et al. 2020; Cubillos et al. 2020; Orell-Miquel et al. 2022).

The assumptions taken when computing the thermal and chemical structure of planetary atmospheres play an important role in the interpretation of the observations. For example, uncertainties in the atmospheric ion fraction, caused for example by inaccuracies in the stellar spectral energy distribution or in the theoretical model, can lead to significant uncertainties in the mass-loss rates (e.g. Guo & Ben-Jaffel 2016; Odert et al. 2018; Kubyshkina et al. 2022) or in the temperature of the outflow (Vissapragada et al. 2022) derived from observations. Another physical effect that in upper atmosphere models needs to be taken into account, particularly in interpreting observations, is the interaction with the stellar wind (e.g. Bisikalo et al. 2013; Schneiter et al. 2016; Carroll-Nellenback et al. 2017; Erkaev et al. 2017; Villarreal D’Angelo et al. 2018, 2021; Esquivel et al. 2019; Khodachenko et al. 2019, 2021; Carolan et al. 2021; Kubyshkina et al. 2022; Cohen et al. 2022).

While the existing hydrodynamic upper atmosphere models treat similarly well the transport of particles in the atmosphere, there are significant differences among models in the treatment of energy balance (i.e. heating and cooling). The latter is particularly challenging to model given the large number and diversity of non-local thermodynamical equilibrium (NLTE) processes that are involved.

In this study we present a new code called Cloudy e Hydro Ancora INsieme (CHAIN) for modelling planetary upper atmospheres, which combines the hydrodynamic model of the atmospheric outflow (Kubyshkina et al. 2018) with the hydrostatic NLTE radiative transfer solver Cloudy (Ferland et al. 2017). This approach was previously used by Salz et al. (2015, 2016b) and allows one to significantly increase the accuracy of the photochemistry in the hydrodynamic simulations at relatively low computational costs, while keeping the atmospheric temperature-pressure structure consistent. To test how the model performs under different conditions, we then applied the new code to compute a small grid of model planets, ranging from Earth-like to sub-Saturn-like, further changing their equilibrium temperatures and level of high-energy stellar irradiation (X-ray and extreme ultraviolet, EUV; together referred to as XUV), to finally compare the results to the predictions of the sole hydro-dynamic model driven by hydrogen chemistry. In this way, our aim is to estimate in which regions of the parameter space the improved photochemistry is most relevant.

This paper is organised as follows. In Sect. 2 we describe the most relevant properties and features of the photoionisation solver Cloudy (Sect. 2.1) and of the hydrodynamic model (Sect. 2.2) used to compile the new code. The details of the numerical implementation are given in Sect. 3, including a discussion of the basic modelling scheme (Sect. 3.1), the spectra used to represent the stellar irradiation (Sect. 3.2), the boundary conditions assumed in the code (Sect. 3.3), the considered atmospheric compositions (Sect. 3.4), and the treatment of the hydrodynamic flow in the considered chemistry framework (Sect. 3.5). In Sect. 4 we validate our code by comparing it to the earlier results of Salz et al. (2016a) and discuss some basic features of the model. In Sect. 5 we apply our model to the grid of model planets and discuss the results. We start by describing the set of planets in Sect. 5.1, followed by a detailed discussion of the results obtained for one specific Neptune-like planet as an example (Sect. 5.2). We further compare the predictions of the model throughout the entire grid assuming pure hydrogen atmospheres (Sect. 5.3) and then discuss the effect of different atmospheric compositions (Sect. 5.4). Finally, we discuss the influence of the specific input stellar spectra on the results in Sect. 6 and gather the conclusions in Sect. 7.

2 Physical model

2.1 Photoionisation solver Cloudy

The Cloudy code is a photoionisation and spectral synthesis solver dedicated to modelling astrophysical environments in a wide range of temperatures and densities, such as gas clouds or protoplanetary discs (Ferland et al. 1998, 2013, 2017). The code has also been employed to model planetary upper atmospheres (e.g. Salz et al. 2016b,a; Linssen et al. 2022; Fossati et al. 2021), mainly focused on but not limited to hot Jupiters. Within the code, the physical state of matter can range from bare nuclei to molecules and grains. The code solves the chemical, ionisation, and thermal structure of the gas irradiated by an external source (e.g. the host star for protoplanetary discs and planetary atmospheres) in a static density structure provided by the user and on the basis of this solution predicts, among other things, the physical properties of the gas and the transmitted spectrum.

From the numerical side, Cloudy is a one-dimensional (1D) NLTE spectral synthesis code. Therefore, the local equilibrium state is solved in the elementary volumes represented by the cells of the adaptive grid, which is generally set up on the basis of the gas density gradient. For these calculations, Cloudy accounts for ionisation and recombination processes, chemical reactions, and transitions between the energy levels of the atmospheric species. The full collisional radiative models are applied at densities above ~103cm−3 (Ferland et al. 2017), which condition is typically satisfied in the upper atmospheres of close-in sub-Neptune-like planets.

As a minimal input from the user, Cloudy needs the density structure and thickness of the considered gas cloud, its position relative to the external radiation source, and the spectral energy distribution (SED) of the latter. The default geometry of the simulation assumes the irradiation source to lie in the centre of the cloud (so-called spherical geometry), however, if the distance between the irradiation source and the cloud is much larger than the thickness of the cloud (typically the case for planetary atmospheres), the geometry changes to plane-parallel.

For (quasi-)static structures, Cloudy can compute internally and self-consistently the thermal structure of the cloud, but it considers only the local thermal motion. Therefore, in the case of actively expanding planetary atmospheres, the thermal structure should be specified externally, as it is strongly dependent on adiabatic effects. Additionally, Cloudy enables the user to specify a velocity field (i.e. microturbulence or wind) in specific ways (see details in Sect. 3.5).

The stellar irradiation is set by the shape of the SED, which can be set by the user or adopted from an extensive internal library, and the intensity of the radiation, which is specified separately. The two define a unique radiation field, and up to 100 independent fields can be included in one simulation. When processing the incoming radiation, Cloudy considers the continuum and the line radiation as two separate heating sources. To solve the radiative transfer relative to the continuum, the code calculates the flux absorption within the gas accounting for the implemented opacity sources and scattering mechanisms. These, by default, include inverse bremsstrahlung, H absorption, pair production, electron and Rayleigh scattering, photoabsorption by molecules, grain opacity (when included), and the photoelectric absorption by ground and excited states of the atomic species included in the model. Within the XUV wavelength range, which represents the main heating source for planetary upper atmospheres, the opacity is dominated by the ionisation of hydrogen species. Finally, the radiative transfer events are decoupled from the local equilibrium state and solved considering the escape probability mechanism (Castor 1970; Elitzur 1982).

For planetary upper atmospheres, the main heating source is given by the photoionisation of the neutral atmospheric species, which Cloudy defines as the energy input by the freed photoelectrons (given by the difference between the ionisation potential of the atom and the energy of the photon). It also accounts for secondary (collisional) photoionisation, including the ionisation from excited levels. The largest input (besides the ground state) is typically expected from the metastable 2S level. The cooling processes include line radiation, bremsstrahlung cooling, and a wide range of chemical reactions. We consider heating and cooling in more detail when analysing our results in Sect. 5.2.

Cloudy accounts for the 30 lightest chemical elements up to zinc, and some molecules (see details in Ferland et al. 2017). In total, the model includes up to 625 different species (accounting for atoms and molecules in different ionisation states and isotopes), and the continuity equations are solved individually for each of them. By default, the composition of the gas is assumed to be solar; however, the abundances of the specific species can be altered or set to zero (except for hydrogen).

2.2 Hydrodynamic model

To model the hydrodynamic outflow, we employ the 1D model presented in Kubyshkina et al. (2018), which considers a pure hydrogen atmosphere exposed to XUV stellar irradiation. The code solves the following fluid dynamics equations ρt+(ρvr2)r2r=0,${{\partial \rho } \over {\partial t}} + {{\partial \left( {\rho v{r^2}} \right)} \over {{r^2}\partial r}} = 0,$(1)

ρυt+[ r2(ρυ2+P) ]r2r=Ur+2Pr,${{\partial \rho \upsilon } \over {\partial t}} + {{\partial \left[ {{r^2}\left( {\rho {\upsilon ^2} + P} \right)} \right]} \over {{r^2}\partial r}} = - {{\partial U} \over {\partial r}} + {{2P} \over r},$(2)

[ Ek+Eth+ρU ]t+υr2[ Ek+Eth+P+ρU ]r2r=HtotCtot+r2r(r2χTr).$\matrix{ {{{\partial \left[ {{E_{\rm{k}}} + {E_{{\rm{th}}}} + \rho U} \right]} \over {\partial t}} + {{\partial \upsilon {r^2}\left[ {{E_{\rm{k}}} + {E_{{\rm{th}}}} + P + \rho U} \right]} \over {{r^2}\partial r}}} \cr { = {H_{{\rm{tot}}}} - {C_{{\rm{tot}}}} + {\partial \over {{r^2}\partial r}}\left( {{r^2}\chi {{\partial T} \over {\partial r}}} \right).} \cr } $(3)

Here, υ and T are the bulk velocity and temperature of the escaping atmosphere. The total mass density ρ accounts for different hydrogen species included in the model ρ=mH(nH+nH+)+2mH(nH2+nH2+)+3mHnH3+$\rho = {m_{\rm{H}}}\left( {{n_{\rm{H}}} + {n_{{{\rm{H}}^ + }}}} \right) + 2{m_{\rm{H}}}\left( {{n_{{{\rm{H}}_2}}} + {n_{{\rm{H}}_2^ + }}} \right) + 3{m_{\rm{H}}}{n_{{\rm{H}}_3^ + }}{\rm{, }}$(4)

where ni and mi are the number densities and masses of respective species. The atmospheric pressure P is defined as P=(nH+nH++nH2+nH2++nH3++ne)kT.$P = \left( {{n_{\rm{H}}} + {n_{{{\rm{H}}^ + }}} + {n_{{{\rm{H}}_2}}} + {n_{{\rm{H}}_2^ + }} + {n_{{\rm{H}}_3^ + }} + {n_{\rm{e}}}} \right)kT.$(5)

The gravitational potential U accounts for the tidal forces of the host star (Roche lobe effect; Erkaev et al. 2007) U=U0[ 1ζ1δ(λζ)1+δ2δλ3(λ11+δζ)2 ].$U = {U_0}\left[ { - {1 \over \zeta } - {1 \over {\delta (\lambda - \zeta )}} - {{1 + \delta } \over {2\delta {\lambda ^3}}}{{\left( {\lambda {1 \over {1 + \delta }} - \zeta } \right)}^2}} \right].$(6)

In Eq. (6), U0 = GMpl/Rpl is the gravitational potential of the planet at the planetary radius Rpl, which we consider corresponding to the photosphere, δ = Mpl/M* is the ratio between planetary (Mpl) and stellar (M*) masses, λ = a/Rpl is the ratio between the orbital separation (a) and the planetary radius, and ζ = r/Rpl is the radial distance from the planetary centre normalised to Rpl. In Eq. (3), Ek = ρυ2/2 is the kinetic energy of the outflow, while the thermal energy of the atmosphere is defined as Eth=[ 32(nH+nH++ne)+52(nH2+nH2+)+3nH3+ ]kT.${E_{{\rm{th}}}} = \left[ {{3 \over 2}\left( {{n_{\rm{H}}} + {n_{{{\rm{H}}^ + }}} + {n_{\rm{e}}}} \right) + {5 \over 2}\left( {{n_{{{\rm{H}}_2}}} + {n_{{\rm{H}}_2^ + }}} \right) + 3{n_{{\rm{H}}_3^ + }}} \right]kT{\rm{.}}$(7)

In the last term of Eq. (3), the coefficient χ=4.45×104(T[ K ]1000)0.7erg cm1 s1$\chi = 4.45 \times {10^4}{\left( {{{T[{\rm{K}}]} \over {1000}}} \right)^{0.7}}{\rm{erg}}{\rm{c}}{{\rm{m}}^{ - 1}}{{\rm{s}}^{ - 1}}$(8)

corresponds to the thermal conductivity of the neutral gas (Watson et al. 1981), which dominates the thermal conductivity of electrons and ions (Kubyshkina et al. 2018). Finally, Htot and Ctot are the volume heating and cooling rates, respectively.

In the code presented here, the calculation of Htot and Ctot, as well as of the whole chemical network, is delegated to Cloudy. However, we present below a brief description of how the hydrodynamic code computes them, because the initial steps of hydrodynamic simulations computed together with Cloudy are based on results of the hydrodynamic code alone (see Sect. 3.1).

The cooling term in the hydrodynamic code accounts explicitly for Ly α (Watson et al. 1981) and H3+${\rm{H}}_3^ + $ cooling (following the approach of Miller et al. 2013), as described in Kubyshkina et al. (2018), and the heating term is exclusively driven by XUV heating. For the input XUV spectrum, the previous version of the code employed the 2λ-approximation that reduces the whole XUV wavelength range to the two specific values of 60 nm (20 eV) for the EUV band and 5 nm (248 eV) for the X-ray band. This approach allows one to obtain atmospheric escape rates close to those of models employing full spectra (within a factor of 1.5 for the model planets considered in this study – see Sect. 5.1 – with the largest difference achieved for low XUV values), but it distorts the ion fraction and heating profiles (Guo & Ben-Jaffel 2016; Odert et al. 2020), hence affecting to some extent the profiles of other atmospheric parameters as well. As Cloudy accounts for the shape of the input spectra, to facilitate the comparison and ease the transition between the two models, we adjusted the hydrodynamic code to employ more detailed spectra and split the incoming XUV flux into N bins according to the specific input SED (see details in Sect. 3.2). The specific value of N is set empirically to allow a specific spectrum to be reproduced well. Namely, we start by employing N = 2 and increase N by 1 until the differences between the density and temperature profiles predicted by the models employing N and N+1 bins drop below 10%. Therefore, the heating term becomes Htot=m=1NHm${H_{{\rm{tot}}}} = \sum\nolimits_{m = 1}^N {\,{H_{\rm{m}}}} $, where each term represents a specific wavelength (photon energy) interval and takes the form of Hm=ησm(nH+nH2)ϕm.${H_m} = \eta {\sigma _m}\left( {{n_{\rm{H}}} + {n_{{{\rm{H}}_2}}}} \right){\phi _m}.$(9)

The term η is the so-called heating efficiency for which we assume a value of 0.15 at all wavelengths, which is a sufficiently good approximation for estimating the atmospheric mass-loss rate within the range of planets we are interested in (Salz et al. 2016b). We note that, in contrast to the constant parameter η used here, the realistic heating efficiency is a height-dependent term (see e.g. Shematovich et al. 2014). We discuss this in more detail in Sect. 5.2. The term σm is the absorption cross-section for the specific wavelength λm (centre of the m-th bin), while ϕm is the flux absorption function ϕm=120π/2+arccos(1/r){ Jm(r,θ)sin(θ) }dθ,${\phi _m} = {1 \over 2}\int_0^{\pi /2 + \arccos (1/r)} {\left\{ {{J_m}(r,\theta )\sin (\theta )} \right\}} {\rm{d}}\theta ,$(10)

where Jm(r, θ) is a function in spherical coordinates describing the spatial variation of the XUV flux of a given wavelength λm due to atmospheric absorption (Erkaev et al. 2015). The absorption cross-section is inversely proportional to the energy of the incoming photon as Eλ3$ \sim E_\lambda ^{ - 3}$, therefore it increases about three orders of magnitude from X-ray to EUV part of the spectra. This implies that the stellar X-ray photons penetrate deeper into the planetary atmosphere than the EUV photons, and heat the atmosphere closer to Rpl, where the density of the atmosphere is higher. Therefore, even though in the given formulation ϕm in the X-ray part (at high photon energies) appears significantly smaller than ϕm in the EUV part, X-rays can still cause significant atmospheric heating, especially for young planets. The predicted impact of X-ray heating can increase further, if one takes into consideration the higher heating efficiency (larger η in Eq. (9)) expected at short wavelengths (see e.g. Kubyshkina et al. 2022). We discuss this in more detail in Sect. 5.

Finally, the hydrodynamic model accounts for a range of chemical processes, such as photoionisation and collisional ionisation, recombination of ions, and dissociation of molecular hydrogen. For this purpose, the code solves the set of continuity equations nit+(niυr2)r2r=RiSi,${{\partial {n_{\rm{i}}}} \over {\partial t}} + {{\partial \left( {{n_{\rm{i}}}\upsilon {r^2}} \right)} \over {{r^2}\partial r}} = {R_{\rm{i}}} - {S_{\rm{i}}},$(11)

where the subscript ‘i’ stands for the specific species (molecular and atomic hydrogen, neutral and ionised), while Ri and Si represent, respectively, the replenishment and sink of the specific species due to all chemical reactions considered in the model. The complete list of chemical reactions and relative cross-sections considered in the hydrodynamic model is given by Kubyshkina et al. (2018).

3 Numerical implementation

In this section, we describe our approach for combining the hydrodynamic code with Cloudy. We start with describing the general scheme of the code (Sect. 3.1) and then discuss in more detail some of the input parameters and settings applied to the Cloudy runs. In particular, we describe the employed stellar spectra (Sect. 3.2), the boundary conditions employed for both Cloudy and the hydrodynamic model (Sect. 3.3), the considered atmospheric composition (Sect. 3.4), and the implementation of the adiabatic wind in Cloudy (Sect. 3.5).

3.1 Basic scheme

For the combined framework, we delegate to Cloudy the calculation of Htot and Ctot, as well as that of the chemical network, while everything else is left to the hydrodynamic code. Figure 1 shows the basic scheme of the code. It consists of four main blocks: the preliminary stage (turquoise), the main stage (purple), the block responsible for the data transfer between the hydrodynamic code and Cloudy (yellow), and Cloudy itself (green).

Given the complexity of the physical model and the code, calculations with Cloudy are time-consuming. A single run estimating the heating and cooling terms (hereafter referred to as heating function) and abundances of different atmospheric species, ionised and neutral, across the atmosphere can take from a few minutes (for a simple setup and an atmosphere consisting of pure hydrogen) to a few hours (for an atmosphere including helium and heavier elements, further on referred to as metals, and wind advection; see the details below). Therefore, as the hydrodynamic code needs an order of million steps (iterations) to converge, running Cloudy at every step is not feasible.

We tackle this problem in two ways. First, following the approach used previously for the hydrodynamic code (see Erkaev et al. 2016; Kubyshkina et al. 2018), we expect that the atmospheric structure changes slowly through the iterations of the numerical solution, namely the hydrodynamic timescales are considerably longer than the microphysical timescales (e.g. photoionisation and recombination timescales). Therefore, the heating function (and chemical structure) is redefined once over a certain number of steps Ncl. When running the hydrodynamic code alone, this number is set to the constant value of 500 steps, which was estimated to be an optimal number for the majority of the cases. Due to the higher complexity of the Cloudy code compared to the heating function described in Sect. 2.2, for the combined framework we apply a different approach. Namely, after the first Cloudy run, we evaluate the maximum relative changes in temperature (i.e. ΔT/T) and in mass flux (i.e. Δ()/) across the simulation domain over Ncl time steps and then we compare these values to the accuracy constant C1 (typically assigned to 5%). We then adjust Ncl in such a way that { ΔTT×Ncl,new Ncl,old =C1,max(ΔTT)>max(Δ(nv)nv),Δ(nv)nv×Ncl,new Ncl,old =C1,max(ΔTT)<max(Δ(nv)nv), $\left\{ {\matrix{ {{{{\rm{\Delta }}T} \over T} \times {{{N_{{\rm{cl}},{\rm{new }}}}} \over {{N_{{\rm{cl}},{\rm{old }}}}}} = {C_1},} \hfill &amp; {\max \left( {{{{\rm{\Delta }}T} \over T}} \right) > \max \left( {{{{\rm{\Delta }}(nv)} \over {nv}}} \right),} \hfill \cr {{{{\rm{\Delta }}(nv)} \over {nv}} \times {{{N_{{\rm{cl}},{\rm{new }}}}} \over {{N_{{\rm{cl}},{\rm{old }}}}}} = {C_1},} \hfill &amp; {\max \left( {{{{\rm{\Delta }}T} \over T}} \right) \max \left( {{{{\rm{\Delta }}(nv)} \over {nv}}} \right),} \hfill \cr } } \right.$(12)

and then run Cloudy again. Thus, Ncl increases if the relative changes are smaller than C1 to speed up the calculations, and otherwise decreases to keep up to the required accuracy. We then repeat this procedure until the simulation reaches a steady state. As an initial value of Ncl, we take 10–100 time steps, depending on the type of the simulated planet (the optimal values were defined as part of the code testing). During the course of testing the code, we verified that varying the initial value of Ncl and C1 within reasonable ranges (i.e. 1–1000 steps and 1–20%, respectively) affects just the number of iterations needed to reach convergence, and not the final solution.

Second, we include a preliminary stage (the turquoise area in the scheme shown in Fig. 1) in our simulations. In this phase, the atmosphere is simulated just by the hydrodynamic code (see Sect. 2.2) until it nearly converges and only then, we start employing Cloudy. In this way, we start the hydrodynamic simulation with Cloudy considering atmospheric parameters that are already realistic and not too far from the final solution. With such an approach, we typically need between 100–800 Cloudy runs until the solution reaches a steady state.

To solve numerically the hydrodynamic equations (Eqs. (1)(3)), both within the preliminary and the main stages, we apply the finite differential McCormack scheme of the second order (predictor-corrector-method; see Erkaev et al. 2016, for more detail).

As we already mentioned in Sect. 2.1, to solve the photoionisation balance, Cloudy requires as a minimal input the hydrogen density structure as a function of altitude and the SED of the host star. Additionally, one can specify the temperature profile, which crucially depends on the hydrodynamic effects, and information on the wind flow (see details in Sect. 3.5). This information, along with the simulation parameters, such as stellar luminosity, orbital distance, and atmospheric composition, has to be passed to Cloudy through input files organised in a specific format. The data transfer block of the code (yellow area in Fig. 1) is thus responsible for translating the atmospheric structure data produced by the hydrodynamic code into the format accepted by Cloudy, writing up the Cloudy input files, running Cloudy, control the Cloudy outputs, and, finally, translate the heating function and abundances back to the hydrodynamic code in the correct format.

In essence, the scheme of the code presented here is similar to that of the framework of Salz et al. (2015, PLUTO-CLOUDY Interface, TPCI, where PLUTO is the hydrodynamic code by Mignone et al. 2012), where most of the differences in the technical implementation arise from differences in the underlying hydrodynamic codes. A further difference is in the calculation of the time steps considered above, which is mainly controlled by changes in density and pressure in TPCI, while we use temperature and density. On the physical side, our hydrodynamic code does not include radiative pressure as an external force, but this is expected to have a minor influence on the results in most cases. The major difference between CHAIN and TPCI concerns the basic scheme and specifically the inclusion of the preliminary stage in CHAIN allowing the number of Cloudy runs to be reduced within one simulation.

thumbnail Fig. 1

Scheme of the numerical framework. The turquoise area represents the preliminary stage of the simulation carried out by the hydrodynamic code alone. The main stage of the simulation is highlighted in purple, while the yellow and green areas correspond to the data transfer and Cloudy sections. The step marked with an asterisk (*) in the data transfer section (yellow) is optional (see details in Sect. 3.5). Further explanation of the notation can be found in the text.

3.2 Stellar spectrum

Cloudy takes the information about the irradiation source in the form of two independent components. One is the shape of the SED (given as a separate input file) and the other one is the intensity of irradiation (set by the total luminosity distributed over the spectrum and the star-planet distance). The spectrum can be defined between low-frequency (low-energy) limit of 10 MHz up to the high-energy limit of 100 MeV, which safely covers the infrared to X-ray wavelength range (~0.001–1200 eV) most relevant for planetary atmospheres. Furthermore, Cloudy enables the user to include several radiation sources at the same time, so that the total incident radiation represents the sum of their inputs.

We use this possibility and split the stellar spectra into three parts corresponding to X-ray (0.5–10 nm), EUV (10–92 nm), and UV to infrared (92–3000 nm1) and set the fluxes within these wavelength intervals separately. This approach facilitates the scaling of the XUV flux, which is typically the main driver of the planetary outflow.

In this study, unless specified otherwise, we employ the spectrum of the present-day Sun (Claire et al. 2012) and scale the X-ray and EUV fluxes to the desired values (see Sects. 4 and 5). For use in the hydrodynamic code (within the preliminary stage), we employ only the XUV part of the spectrum, as described in Sect. 2.2; it is sufficient to bin it into 13–15 wavelength intervals to account for the shape of the SED sufficiently well. To study the effect of the shape of the stellar spectra on the atmospheric parameters, we additionally consider the spectra provided by the Measurements of the Ultraviolet Spectral Characteristics of Low-mass Exoplanetary Systems survey (MUSCLES; France et al. 2016; Youngblood et al. 2016, 2017; Loyd et al. 2016, 2018) for three warm Neptunes, namely GJ 1214 b (Charbonneau et al. 2009; Berta et al. 2011; Narita et al. 2013), GJ 436 b (Butler et al. 2004; Knutson et al. 2011), and HD 97658 b (Howard et al. 2011). We discuss the results obtained considering the different sources of the stellar SED in Sect. 6.

3.3 Boundary conditions

In the case of 1D models, the simulation domain is set by the conditions imposed at the lower and upper boundaries. For the hydrodynamic model, we commonly set the lower boundary at the photosphere of the planet (corresponding to pressure levels of ~ 10–1000 mbar; see Cubillos et al. 2017) and the upper boundary is taken at the Roche radius of the planet (Rroche), or far enough for the outflow to become supersonic (e.g. for planets at large orbital separations, where the Roche lobe lies at hundreds Rpl from the photosphere). At the upper boundary, we assume a continuous outflow (the first radial derivatives of density, velocity, and temperature are equal to zero), and at the lower boundary, we set pressure and temperature to the photospheric values and assume at the first step that the atmosphere is composed of neutral molecular hydrogen (see details in Kubyshkina et al. 2018). Throughout the run, after ρυr2 settles at a constant level in most of the simulation domain, we further control that the mass flow at the lower boundary remains continuous by adjusting the velocity term. In this way, we can avoid a flow discontinuity near the lower boundary originating from the parameters being forced to the fixed values at this point, which appeared in the earlier versions of the hydrodynamic code. We note, however, that this change does not have any considerable effect on the model predictions outside of the small region near the lower boundary (typically r ≲ 1.05 Rpl for sub-Neptune-like planets).

We note that setting the lower boundary at the pressure level corresponding to the planetary photosphere can be a matter of debate. We motivate this because it appears reasonable to include the whole region in which XUV (or more precisely, X-ray) heating can be effective, and thus account for the whole input from stellar heating. At moderate temperatures (~ 100–1000 K) the atmospheres below ~1 µbar can be strongly affected by condensation (aerosols production), not accounted for by our models. This can affect the opacity of this atmospheric region and restrict or prevent the transport of elements affected by condensation to the upper layers of the atmosphere. We do not expect the former effect to have a large influence on the predictions of our model. Tests of the hydrodynamic model have shown that in most cases the conditions at the lower boundary have a small influence on the results unless the presence of aerosols modifies the temperature at the lower boundary by more than ~30% or for weakly irradiated low-mass planets. Furthermore, in most of the cases the specific pressure at which the lower boundary is set also has a small impact on the results. In the cases in which the heating function below the 1 µbar level is significant (i.e. within an order of magnitude of the peak values), shifting the boundary to lower pressures can lead to a decrease of the predicted mass-loss rate and increase of the predicted temperatures, as some portion of the heating is excluded and the atmospheric expansion starts at altitudes with lower density. For the model planets considered here (see Sect. 5.1), we find that placing the lower boundary at pressure levels three orders of magnitude lower than the photo-spheric values results in mass-loss rate differences of less than a factor of 1.4 for Saturn-like and Earth-like planets, less than a factor of 2.5 for Neptune-like planets, and up to a factor of 5.6 for low-mass planets with voluminous/inflated atmospheres (i.e. super-puffs). In all cases, the maximum differences are achieved for the highest equilibrium temperatures and the highest XUV fluxes, when the atmospheres are most inflated. The changes in maximum temperatures are within ~0.5% for Saturn-like and Earth-like planets, within ~10% for Neptune-like planets, and within ~20% for super-puffs, although in the two latter cases the positions of the temperature maximum can shift upwards by up to a few planetary radii. Therefore, except for super-puffs, heating below the 1 µbar level has a small effect on the predictions of our model. We discuss the impact of condensation on the transport of specific elements in the next sections.

For what concerns the upper boundary, the continuous outflow conditions employed here force the atmospheric outflow to be hydrodynamic; such treatment becomes inapplicable if the exobase level (i.e. where the atmosphere becomes collision-less) is located in the atmosphere below the sonic point. In this case, atmospheric escape occurs in the Jeans-like regime. In the present study, we verify that the hydrodynamic approach is valid for each of the modelled planets a-posteriori; however, for a broader application, this limitation has to be accounted for within the simulation by switching the upper boundary conditions (e.g. Koskinen et al. 2014).

For the combined framework, we have to slightly alter the approach used by the hydrodynamic code. The typical densities at the photosphere predicted by lower atmosphere models are of the order of 1018 cm−3, while Cloudy has a maximum density limit of 1015 cm−3 above which calculations may become unreliable. Therefore, for modelling the entire atmosphere, the code is designed to employ the solution of the hydrodynamic code where the density is higher than 1015 cm−3 and consider what Cloudy gives at lower densities, controlling that the solution is continuous. Otherwise, when focusing on the upper atmosphere, we set the lower boundary directly at 1015 cm−3 or slightly above this level. Furthermore, the Roche lobes of close-in sub-Neptunes can lie close to the planets, namely just a few Rpl away from the photosphere, and placing the upper boundary so close to the planet can lead to numerical problems in Cloudy. Therefore, for the combined framework we ensure that the upper boundary is always at least 15 Rpl away from the planet.

3.4 Atmospheric composition

As discussed in Sect. 2.1, Cloudy can take into account elements from hydrogen to zinc and by definition assumes solar composition. However, the abundance of specific elements can be adjusted by the user and each specific element, except for hydrogen, can be excluded from the simulation. This provides significant flexibility and is most relevant for hot planets with massive atmospheres (see Sect. 5.4).

In this study, we consider the following three types of atmospheres:

  • 1.

    pure hydrogen atmosphere including atomic and molecular hydrogen species,

  • 2.

    hydrogen-helium atmosphere with helium fraction of 10%, and

  • 3.

    atmosphere including all elements up to zinc with solar abundances.

In the first case, the mean molecular weight of the atmosphere is set by hydrogen, as in the hydrodynamic code described in Sect. 2.2. Therefore, the differences in predicted atmospheric parameters between this case and the hydrodynamic model are purely given by a more accurate prescription of the hydrogen chemistry and, hence, a more realistic heating function. The better resolution of the stellar spectra described above (in comparison to the 2λ-approximation used by the hydrodynamic model) affects mainly the temperature and ionisation profiles across the atmospheres but has, in general, a minor effect on the outflow parameters, as we show in Sect. 5.4.

Differently from case (i) described above, the inclusion of a substantial fraction of helium in cases (ii) and (iii) affects considerably the mean molecular weight of the atmosphere, which can, in turn, affect the basic parameters of the hydrodynamic outflow. Therefore, when Cloudy is called in the framework, we adjust the mean molecular weight also in the hydrodynamic part of the code according to that of the hydrogen-helium mixture. For Neptune-like planets, this adjustment has a small but non-negligible impact on the results, which often appears more significant than the additional heating/cooling due to the chemical reactions involving helium. We discuss this in more detail in Sect. 5. Finally, in case (iii) we assume that the fraction of metals in the atmosphere relative to hydrogen and helium is too small (~0.1%) to affect considerably the mean molecular weight of the atmosphere and, thus, to affect the hydrodynamic outflow.

3.5 Adiabatic wind

Although the hydrodynamic solver is not included in Cloudy, it still enables users to account to some extent for gas motion, and thus for a planetary wind. More specifically, the recent versions of Cloudy (Ferland et al. 2013, 2017) include the possibility to prescribe a gas flow set up by an external model, which is then accounted for in the calculations of the advection of the atmospheric species (i.e. of the source and sink terms at the boundaries between the cells of the simulation domain). To this end, the flow (Φ = ) across the atmosphere has to be parametrised by the power law describing where in the atmosphere the wind is initiated (r0) and which velocity the flow reaches at the upper boundary of the simulation domain (υ1). Therefore, to account for the planetary wind effects we approximate the flow calculated by the hydrodynamic code (within the data transfer section of our code) each time before the Cloudy run as nv=Φ1((rr0)(r1r0))l.$nv = {{\rm{\Phi }}_1}{\left( {{{\left( {r - {r_0}} \right)} \over {\left( {{r_1} - {r_0}} \right)}}} \right)^l}.$(13)

Here, Φ1 = n1υ1 is the flow at the upper boundary (given that the density profile is already set, the code passes just the υ1 value to Cloudy) and l is the approximated power law index. In general, the approximation error does not exceed a few percent, and the maximum difference is reached at the region where the bulk flow is initiated and the outflow velocity is close to zero. Given that only relatively large velocities (order of a few km s−1) can have a significant influence on the advection, such accuracy is sufficient.

In both cases, with or without the wind prescription, Cloudy applies the iterative steady-state solver and goes through the simulation domain cell by cell until the solution converges. However, the number of iterations needed to reach convergence depends on whether the wind is included or not when running Cloudy. For simple hydrogen and hydrogen-helium atmospheres, the simulation without wind prescription requires just a few (~3–5) iterations to converge, while the one with wind prescription needs a few tens of iterations for the same model. Therefore, to reduce the total simulation time we do not include the wind from the beginning. Instead, we let the model nearly converge and only then ‘switch on’ the wind option in the Cloudy simulations. It is a reasonable approach, as for most of the planets the wind advection has just a minor impact on the results (see details in Sect. 5.3) and the ‘no-wind’ solution is typically close to the final one. Technically, this is equivalent to starting the simulation from different initial profiles, which has an effect on the number of iterations needed to reach convergence, but not on the final results. We verified this for the original hydrodynamic model and the combined CHAIN model.

Finally, we note that the wind advection remains an experimental feature of the Cloudy code and it is still under development (see code manuals at gitlab. nublado.org/cloudy/cloudy/-/wikis/home). This means that this implementation can suffer from numerical problems (particularly in the pressure solver when passing through the sonic point), some of which we have encountered through the testing phase of this study. Therefore, we consider the no-wind version of the model as the default one and treat the inclusion of the wind in the Cloudy simulations as an optional feature.

4 Validation of the model

To validate our framework, we compared the results of simulations of nine specific planets with previously published work by Salz et al. (2016a), which used a very similar approach to the one employed here (Salz et al. 2015), though considering an earlier version of Cloudy (Ferland et al. 2013). Specifically, we compare the results for five sub-Neptune-like planets (GJ 3470 b, HAT-P-11b, GJ 1214 b, GJ 436 b, and HD 97658 b) and four hot Jupiters (HD 149026 b, HD 189733 b, HD 209458 b, and WASP-80 b). We note that the simulations performed here are not expected to describe the realistic physical conditions of these planets, where the assumptions used by our models might be not valid (e.g. according to recent observations, the atmosphere of GJ 1214b is rich with metals and affected by cloud formation Kempton et al. 2023), but we only use them to compare to older results to test the code. Thus, any discussion provided here considers only the behaviour of the model. For this test, we employ the same planetary and stellar parameters as in Salz et al. (2016a) and set the lower boundary near the high-density applicability limit of Cloudy (i.e. 1015 cm−3). The latter corresponds to atmospheric pressures of the order of ~10−5 – 10−4 bar, which is much smaller than the photospheric pressures (~10−2 – 10−1 bar) that we typically employ when running the hydrodynamic code alone. For simplicity, we adopt this approach throughout this study.

The atmospheric composition adopted in Salz et al. (2016a) is a hydrogen-helium mixture with solar relative abundances and therefore corresponds to the case (ii) described in Sect. 3.4. The models of Salz et al. (2016a) also include wind advection, which is discussed in Sect. 3.5. For the comparison, we consider the results we obtained both with and without accounting for wind advection in the Cloudy simulations.

We follow the approach to construct the stellar spectra similar to that used by Salz et al. (2016a). We scale the X-ray, EUV, and bolometric luminosities to the same values (adopted from Dere et al. 1997, 2009; Pizzolato et al. 2003; Linsky et al. 2014) and use the same spectral resolution as in Salz et al. (2016a). The main difference with Salz et al. (2016a) is that for the shape of the SED, we use the solar spectrum given by Claire et al. (2012), while Salz et al. (2016a) uses that of Woods & Rottman (2002) for the XUV band and adopts black body radiation at longer wavelengths. Additional minor differences with the work of Salz et al. (2016a) are in the setup of the boundary conditions as a result of differences in the underlying hydrodynamic models.

The most relevant planetary parameters and the atmospheric mass-loss rates given by Salz et al. (2016a) and obtained from our model are listed in Table 1. To avoid possible biases, the mass-loss rates MSalz2016 listed in Table 1 were computed from the density and velocity profiles published by Salz et al. (2016a), instead of adopting them from their Table 3. We find an excellent agreement between the mass-loss rates obtained by Salz et al. (2016a) and from our model accounting for wind advection (Salz2016 and wind, respectively). The mass-loss rates obtained without wind advection (def) are, instead, ~5–50% higher, but such a difference is negligible in terms of planetary atmospheric evolution.

Figure 2 shows a comparison between the atmospheric profiles obtained by our model computed with wind advection and those of Salz et al. (2016a). The density profiles are nearly identical and the small differences below r~2–2.5 Rpl are due to differences in the hydrodynamic models. The bulk outflow velocity at the Roche radius (~4 Rpl) and beyond we obtained are ~10% larger than that predicted by Salz et al. (2016a). Similarly, we obtained about 10% higher maximum atmospheric temperature compared to Salz et al. (2016a). These differences are connected and are both caused by differences in the heating in the lower atmosphere, which are likely due to differences in the employed stellar SEDs (see the discussion in Sect. 6).

5 Application to Neptune-like planets

5.1 Model planets

To test how the inclusion of Cloudy in the computation of the energy balance affects the predicted atmospheric parameters of (sub-)Neptune-like planets, we consider here a set of planets with significantly different masses, radii, and orbital semi-major axes, and under different levels of stellar irradiation. We consider the following four cases:

  • (1)

    massive planet hosting a large atmosphere, with a mass of 45 M and a radius of 4 R, further on referred to as ‘subSaturn’;

  • (2)

    Earth-like planet (Mpl = 1 M, Rpl = 1 R) with a thin hydrogen-dominated atmosphere, further on referred to as ‘Earth-like planet’;

  • (3)

    low-mass planet of 2.1 M with a large hydrogen-dominated atmosphere (Rpl = 2R), further on referred to as ‘super-puff’;

  • (4)

    a typical sub-Neptune-like planet with a mass of 5 M and a radius of 2 R, further on referred to as ‘sub-Neptune’.

These test planets were chosen to represent the range of cases relevant for evolution studies of low- and intermediate-mass planets, which are those most vulnerable to atmospheric loss. Planet (1) represents the low-mass edge of the sub-giant regime, where planets are generally stable against photoevaporation, but can still lose a significant fraction of their mass if located close enough to their host stars (e.g. Hallatt & Lee 2022). Planet (2) lies close to the terrestrial regime and is not expected to keep its hydrogen-dominated atmosphere for long (e.g. Kubyshkina & Fossati 2022). Planet (3) has parameters that are expected to be typical of very young low-mass planets (e.g. Lopez & Fortney 2013); mass loss for such planets can be, to a large extent, controlled by their high internal thermal energy and low gravity, and in case only slightly enhanced by XUV-heating (e.g. Kubyshkina et al. 2018; Gupta & Schlichting 2019; Owen & Schlichting 2023). Finally, planet (4) represents a typical sub-Neptune-like planet close to the boundary between the sub-Neptune and super-Earth populations (e.g. Fulton et al. 2017). The stability of the atmospheres of such planets strongly depends on their orbital separation and host star properties (e.g. Kubyshkina & Fossati 2022).

The atmospheric composition of these model planets is assumed to be hydrogen-dominated (for each, we consider the range of compositions described in Sect. 3.4). The estimates of exact masses and extension of their lower atmospheres depend strongly on the assumptions of the internal structure models (e.g. the temperature and composition of the planetary solid core and the presence of water layers). In general, one can expect that the atmospheric mass fraction of the sub-Saturn model planet (1) is about 10–20%, and its extension is about 1.5R (assuming a ‘rocky’ – silicate plus iron – core of ~2.5 R and core temperatures typical for Gyr-old planets). Instead, for the Earthlike planet (2), the hydrogen-dominated atmosphere can only be ≤ ~0.1% of the total planetary mass, and its extension is negligible. For both the super-puff (3) and the sub-Neptune (4), the atmospheric mass fraction is of a few percent: in this mass range, the atmospheric mass and the temperature of the core are strongly degenerate for a given radius (e.g. there can be less atmosphere with a hotter core or more atmosphere with a cooler core, with a difference in atmospheric mass of at least a few times). Assuming core radii of ~1.5 and ~1.2R, respectively, the atmosphere extends to ~0.5 and ~0.8 R. The above estimates were made based on the rocky core mass-radius relations by Rogers & Seager (2010) and the lower atmosphere structure models derived by MESA (Modules for Experiments in Stellar Astrophysics; Paxton et al. 2018). However, these estimates can vary significantly between different structure models. Nevertheless, the predictions of our upper atmosphere models do not depend on the properties of the lower atmospheres other than the photospheric parameters, which have a small effect on our results (see Sect. 3.3).

We considered planets (1)–(4) at different orbital separations around a solar-mass star corresponding to equilibrium temperatures of 2000, 1500, and 1000 K in the case of the sub-Saturn, and of 1500, 1000, and 700 K for the other three cases. At the given orbits, the planets (1)–(4) are expected to experience an intense XUV-driven hydrodynamic outflow. At higher equilibrium temperatures compared to those considered here, the atmospheric escape from the planets (2)–(4) can be fully driven by the internal thermal energy with XUV heating becoming irrelevant (see e.g. Gupta & Schlichting 2019; Kubyshkina & Vidotto 2021). At much lower temperatures, instead, the escape becomes dominated by kinetic/non-thermal processes, especially for low levels of stellar irradiation (see e.g. Gronoff et al. 2020).

Atop of the above, we considered four different activity levels of the host star. To model the intensity of the stellar XUV emission, we employ the Mors code (Johnstone et al. 2021; Spada et al. 2013) and adopt the stellar X-ray and EUV luminosities predicted for the moderately rotating solar-mass star at ages of about 1Myr, 20Myr, 1Gyr, and 10Gyr. The first two ages roughly cover the possible range of protoplanetary disk dispersal times (e.g. Mamajek 2009), after which the evaporation of planetary atmospheres begins. The age of 1 Gyr corresponds approximately to the end of the initial phase of extreme atmospheric escape in planetary evolution (e.g. Kubyshkina et al. 2020), while the last point of 10Gyr is near the end of the main sequence phase of the host star. Between two consecutive points in the four considered ages, the X-ray luminosity changes by a factor of ten, and in total it varies from 4.7 × 1030 erg s−1 at 1Myr and 4.7 × 1027erg s−1 at 10Gyr. Following the empirical approximations used in the Mors model, the relation between stellar X-ray and EUV luminosity changes with time as illustrated in Fig. 3. At the age of 1 Myr, the stellar high-energy radiation is X-ray dominated (FX ≃ 1.7FEUV). At 20 Myr, the two luminosities become nearly equal, while at the age of 10Gyr this relation evolves to FX ≃ 0.28 FEUV. Therefore, between two consecutive points in the four considered ages, the EUV luminosity changes roughly 4.7 times. Scaled to the orbital separations corresponding to planetary equilibrium temperatures in the 700–2000 K range, the total XUV flux lies in the 220.6 − (4.5 × 106) erg s−1 cm−2 range. This is sufficient to ensure that the model planets undergo hydrodynamic escape and test how the photoionisation functions perform under different irradiation levels.

Table A.1 gives the full list of modelled planets. For each of them, we simulated the atmosphere employing the following configurations of our model: pure hydrodynamic code described in Sect. 2.2 (referred to in the following as ‘model #0’); combined hydrodynamic and Cloudy model assuming pure hydrogen atmosphere (see Sect. 3.4) and not accounting for the wind advection (‘model #1’); combined hydrodynamic and Cloudy model assuming pure hydrogen atmosphere and including wind advection (‘model #2’); combined hydrodynamic and Cloudy model for a hydrogen-helium atmosphere and without wind advection (‘model #3’); combined hydrodynamic and Cloudy model for a hydrogen-helium atmosphere and including wind advection (‘model #4’); and combined hydrodynamic and Cloudy model considering metals and excluding wind advection (‘model #5’).

To ease the understanding of our results, we start by analysing the output of different model configurations for a specific planet. In particular, we compare the results obtained with the different model assumptions listed above for the hot sub-Neptune under moderate XUV irradiation corresponding to the 1 Gyr-old host star. Next, in Sect. 5.3 we compare the estimates of the basic atmospheric parameters obtained considering a pure hydrogen atmosphere as given by the hydrodynamic model (model #0) and models #1 and #2 for the entire set of synthetic planets described above. Finally, we discuss the effects of different atmospheric compositions in Sect. 5.4.

For all simulations considered in the following sections, we performed our standard set of diagnostics to verify if the model results are physically adequate. In particular, we control that the exobase level lies above the sonic point or outside of the simulation domain (hence, the hydrodynamic approach is valid), the mass flow ρυr2 is constant throughout the simulation domain, and the terms of the energy equation are in balance.

Table 1

Parameters of the planets considered for the comparison with the results of Salz et al. (2016a).

thumbnail Fig. 2

Model results obtained for GJ 1214 b. Top: Density (left axis, solid lines) and velocity (right axis, dashed lines) profiles. Bottom: Temperature profiles. In both panels, the green lines are for the results obtained by Salz et al. (2016a), while the black lines are the results obtained from our model with wind advection in the Cloudy computations.

thumbnail Fig. 3

Stellar X-ray and EUV luminosities adopted by the models described in Sect. 5, as given by the Mors code (blue circles on the black line; Johnstone et al. 2021). For reference, the green line in the background denotes the LX = LEUV level.

5.2 Atmospheric outflow from the hot sub-Neptune

We start by considering the outputs of models #0 to #5 for the sub-Neptune planet orbiting its (solar-mass) host star at a distance of 0.0404 AU (corresponding to an equilibrium temperature of 1500 K) and exposed to the moderate XUV irradiation level of ~2.7 × 104 erg s−1 cm−2 (corresponding to a stellar age of 1 Gyr; model planet 4.2B in Table A.1). In Fig. 4, we compare the atmospheric profiles for volume heating rate, mass density, temperature, and bulk outflow velocity predicted by the six models, while in Table 2 we compare some of the basic outflow parameters, namely mass-loss rate (), maximum atmospheric temperature (Tmax), outflow velocity and density at the Roche radius (Vroche and ρroche), sonic radius (rsound), and total ion fraction defined as fion =RplR roche (nion /nneu ) dr.$\int {{f_{{\rm{ion }}}}} = \int_{R{\rm{pl}}}^{R{\rm{ roche }}} {\left( {{n_{{\rm{ion }}}}/{n_{{\rm{neu }}}}} \right)} \,{\rm{d}}r{\rm{.}}$(14)

Figure 4 demonstrates that the shape of the atmospheric profiles and the position of the maxima/minima is similar across all models. However, models #1 to #5 predict higher densities, lower velocities, closer-in maxima of the heating function, and, in general, higher temperatures of the outflow compared to model #0. The wind advection in models #2 and #4 is responsible for the redistribution of the (neutral and ionised) species upwards and adiabatic cooling. This leads to the reduction of the heating in the lowermost layers of the atmosphere (which can be seen well in volume heating and temperature profiles in panels a and c of Fig. 4, compare the magenta and light blue lines or orange and black lines) and the consequent reduction in the outflow density and increase in the outflow velocity.

thumbnail Fig. 4

Atmospheric profiles predicted for the hot (1500 K) 5 M sub-Neptune under moderate XUV irradiation (model planet 4.2B in Table A.1). The different line styles correspond to different model configurations, as indicated in the legend located in panel b. From top to bottom, the panels show profiles for volume heating rate (a), mass density (b), temperature (c), and bulk outflow velocity (d) as a function of radial distance. In the case of the basic hydrodynamic code (model #0), the volume heating rate corresponds to the sum of the input from the X-ray and EUV heating functions given in Sect. 2.2 (HX + HEUV). The maximum distance r = 4 Rpl shown in panel a is smaller than that considered in the other panels to facilitate the inspection of the details of the heating functions. The vertical grey line in panels b–d denotes the position of the Roche lobe. The 1015 cm−3 high-density limit of Cloudy lies at the lower boundary.

5.2.1 Pure hydrogen atmospheres

The direct comparison of the results of the hydrodynamic model described in Sect. 2.2 (model#0) with those obtained employing the more precise Cloudy calculations can be best done by considering the pure hydrogen atmosphere (model #1 and model #2). Model#1 predicts mass-loss rates of ~1.45 times higher and the density of the outflow at the Roche radius is almost a factor of two larger than those given by model #0. Instead, the bulk outflow velocity and the maximum temperature obtained from model #1 are ~1.3 and ~1.1 times smaller than those predicted by model #0, respectively (see Table 2). These differences decrease with the inclusion of wind advection (model #2), thus employing physics closer to that of model #0, but the inclusion of Cloudy leads to a slower and denser outflow, a slightly lower atmospheric mass-loss rate, and a slightly higher maximum temperature of the atmosphere (the latter two are not the case for all planets, as shown later).

The differences described above are due to differences in the treatment of how the atmosphere absorbs the stellar radiation. The profiles of the volume heating rate obtained including Cloudy (models #1 to #5) have considerably different shapes compared to those obtained from the hydrodynamic model alone (model #0), but are still characterised by two peaks in the region dominated by the absorption of X-ray (i.e. λ ≲ 10 nm; lower in the atmosphere) and EUV (i.e. λ ~ 10–90 nm; higher in the atmosphere) radiation, though spatially more separated, with the X-ray-dominated peak occurring closer-in and the EUV-dominated lying further away from the planet. Panel a of Fig. 5 shows the input from the specific wavelengths into the total ionising flux as a function of atmospheric radial distance. Interestingly, the peak in the lower part of the atmosphere (associated with absorption of X-ray photons) predicted by models #1–#5 is ~ 1.5–4.5 times higher than for model #0, while the other peak (associated with absorption of EUV photons) appears to be considerably lower. The latter results from the difference in atmospheric density of 2.1-4.4 times between model#0 and models #1–#2 at the position of the EUV-related peak near ~2– 2.5 Rpl (see panel b of Fig. 4). This can be verified by comparing the volume heating function of model #0 with the one calculated following the first iteration involving Cloudy within model #1, that is the two heating functions calculated using different approaches, but for the same density and temperature profiles (see Fig. 6). Here, the peaks due to absorption of EUV photons predicted by models #0 and #1 have similar heights, while the peaks connected to the absorption of X-ray photons have different amplitudes. Therefore, the strong difference in EUV-related peaks comes, mainly, not from the differences in photoionisation models but from the change in atmospheric parameters (over thousands of code iterations) due to the increase of the heating in the lowermost atmospheric layers, hence the reduction of the EUV peak is a direct consequence of the increase of the X-ray-related peak.

The reason for the increased heating in the X-ray-dominated region relates to one of the simplifications of the hydrodynamic code (model #0), which assumes that the whole heating is produced by photoionisation with a fixed heating efficiency of 0.15 for both X-ray and EUV flux (parameter η in Eq. (9)) that is constant with atmospheric height. Salz et al. (2016b) showed that this simplification is adequate for planets with gravitational potentials up to ~1013.1 erg g−1, at least for what concerns estimating mass-loss rates. However, the realistic shape of the heating efficiency (i.e. of the fraction of the total absorbed energy spent on heating; see Sect. 5.2.2) is more complicated as η depends on the wavelength of the incoming stellar radiation and atmospheric depth (e.g. Waite et al. 1983; Dalgarno et al. 1999; Yelle et al. 2008; Shematovich et al. 2014; Ionov & Shematovich 2015; García Muñoz 2023).

Differently from the basic hydrodynamic model, Cloudy solves the local equilibrium state in each cell of the simulation domain. It solves not only the ionisation/recombination and chemical reactions for each species, but in doing this it also accounts for the level populations of the single energy levels, and thus it implicitly computes the heating efficiency self-consistently. Figure 7 shows the height distribution of different hydrogen species, including neutrals and ions of hydrogen atoms and molecules (top panel) and the neutral atomic hydrogen in different excitation states (bottom panel) according to the predictions of model #1. One can see that the narrow lowermost region of the atmosphere (r ≲ 1.1 Rpl) is dominated by neutral molecular hydrogen, while the region from 1.1–4.5 Rpl, where most of the heating takes place, is dominated by neutral atomic hydrogen. Above this region (above the temperature maximum, where the atmosphere becomes optically thin at all XUV wave-lengths), the main constituent is hydrogen ions. Furthermore, the ion distribution peaks at about 1.25 Rpl, that is the position of the X-ray-dominated maximum of the heating function. The number of heavier ions H2+${\rm{H}}_2^ + $ and H3+${\rm{H}}_3^ + $, as well as H maximises below 1.5 Rpl and, in general, remains a few orders of magnitude smaller than for the species discussed above. In terms of energy levels of atomic hydrogen (whose ionisation contributes most to the heating of the atmosphere), the ground state (1S) is the most populated level, followed by 1P and 2S states, though ~7 orders of magnitude less abundant. The bottom panel of Fig. 7 shows the distribution for the energy levels up to 3D, and the distribution of atoms with higher energies is given as their sum (dotted magenta line); in total, Cloudy accounts for 69 hydrogen energy levels.

Given that Cloudy accounts for all considered opacity sources, the code also accurately computes the fraction of stellar flux that is absorbed at each specific height in the atmosphere (panel b of Fig. 5). Panel c of Fig. 5 shows the heating efficiency calculated a-posteriori from Cloudy outputs across the planetary atmosphere as the ratio between the heating rate and the total XUV deposition rate ηchy =Htot (r)WXUV(r)        =Htot (i4πni0λi,0Jλσλ,iexp(τ(λ,r))dλ)1.$\matrix{ {{\eta _{{\rm{chy }}}} = {{{H_{{\rm{tot }}}}(r)} \over {{W_{{\rm{XUV}}}}(r)}}} \hfill \cr {\,\,\,\,\,\,\,\, = {H_{{\rm{tot }}}}{{\left( {\sum\limits_{\rm{i}} 4 \pi {n_{\rm{i}}}\int_0^{{\lambda _{{\rm{i}},0}}} {{J_\lambda }} {\sigma _{\lambda ,{\rm{i}}}}\exp ( - \tau (\lambda ,r)){\rm{d}}\lambda } \right)}^{ - 1}}.} \hfill \cr } $(15)

Here, ni(r) is the numerical density of species ‘i’ relative to the hydrogen density, Jλ is the stellar flux at the specific wavelength λ in erg s−1 cm−2, σλ,i is the absorption cross-section of species i at the corresponding wavelength, and τ is the optical depth. The wavelength λi,0 corresponds to the minimum photon energy necessary to ionise species i. As separate species, we consider here the different chemical elements and their ionised and excited states. For model#1, the heating efficiency reaches its maximum below 1.5 Rpl, close to the position corresponding to the maximum of the volume heating rate associated with the absorption of X-ray photons. Above this point, the fraction of the absorbed radiation that is spent on heating decreases, until it reaches a constant value of about 0.4 (see the blue dash-dotted line in panel c of Fig. 5). Therefore, within model#1 the heating efficiency at the position of the maximum of the volume heating rate due to absorption of EUV photons (~2.3 Rpl) is about half of that corresponding to the maximum associated with absorption of X-ray photons. However, the total heating rate Htot in Eq. (15) includes the input from processes other than photoionisation. Specifically, the prominence of the left peak in the volume heating function and the maximum in heating efficiency in model#1 are associated with the iso-sequence line heating term Hlin (see Sect. 5.2.3 for detail). For the considered case, the efficiency of photoionisation itself maximises at photon energies of ~25–60 eV with a peak at ~32 eV. The higher-energy photoelectrons are expected to lose their energy in the cascade ionisation and internal excitation collisions with atomic hydrogen rather than in elastic collisions, which reduces their contribution to the heating of the atmosphere (e.g. Ionov & Shematovich 2015). For comparison, we include in Fig. 5 the efficiencies associated with photoionisation of atomic and molecular hydrogen only (i.e. Htot in Eq. (15) is substituted with HI + H2ph; see Sect. 5.2.3 for detail).

With the inclusion of wind advection (model #2), heat is transported upwards and the Hlin term is significantly suppressed. Therefore, η at the peak associated with the absorption of X-ray photons decreases, while it does not vary in the upper atmospheric layers (see the magenta solid line in panel c of Fig. 5). In turn, this also leads to modifications in the cooling fraction unaccounted for in the calculation of the heating efficiency (black dash-dotted and solid lines corresponding to models #1 and #2, respectively, in panel c of Fig. 5) where the maximum cooling input decreases in model #2 as a result of upwards heat transport.

In terms of the atmospheric parameters, the increase in the heating below r = 1.5 Rpl in models #1 and #2 compared to that in model #0 leads to the emergence of a planetary wind in deeper and denser atmospheric layers. Due to the more effective expansion, the density of the outflow above ~2Rpl increases, and the sonic point is pushed outwards from ~2.7 Rpl to ~3.5 Rpl. The inclusion of wind advection leads to upward redistribution of the heat, and thus the X-ray heating that in model #1 causes the secondary temperature maximum at ~1.5 Rpl (see the light blue dash-dotted line in panel c of Fig. 4), in model#2 can only lead to a less pronounced temperature minimum in comparison to model#0 (see magenta solid line compared to dark blue dotted line).

Table 2

Basic parameters of the atmospheric outflow predicted by different model configurations for the hot sub-Neptune planet under moderate XUV irradiation (model planet 4.2B in Table A.1).

thumbnail Fig. 5

Details of the heating profiles obtained from models #1 and #2 for the hot sub-Neptune 4.2B. Panel a: fraction of total photoionisation rate corresponding to the specific irradiation wavelengths as a function of radial distance. The dashed lines are for wavelengths in the X-ray band, while the solid lines are for wavelengths in the EUV band (see legend). Panel b: fraction of absorbed stellar flux (blue and magenta lines corresponding to model #1 and model #2, respectively; left y-axis) and total span of absorbed wavelengths at each given radial distance (grey dotted lines; right y-axis). Panel c: heating efficiency following the last Cloudy iteration of model #1 (blue dash-dotted line), and the last Cloudy iteration of model #2 (magenta solid line). The dashed lines in corresponding colours show the inputs from photoionisation heating only in models #1 and #2. The two black lines at the top show the relative cooling input for model #1 (dash-dotted line) and model #2 (solid line). The grey solid (model#2) and dash-dotted (model#1) lines show for comparison the heating efficiency given by the approximation of Murray-Clay et al. (2009) for the wavelengths that provide the largest input at the given radial distance. In each panel, the two vertical lines give the position of the two maxima of the volume heating rate.

thumbnail Fig. 6

Volume heating rate predicted by the basic hydrodynamic model #0 (dark blue dotted line) compared to the volume heating rate calculated considering Cloudy for the same density and temperature profiles (light blue dash-dotted line), not accounting for wind advection. These profiles result following the first instance in which Cloudy is run in the code.

5.2.2 A note on heating efficiency

The definition of heating efficiency is not unique across the literature and therefore direct comparisons might not be possible. In a most general sense, the heating efficiency relates the fraction of incoming (stellar) energy converted into heat with the total energy absorbed by the atmosphere. This value depends on the wavelength of the incoming radiation, on the atmospheric depth, and on the species absorbing the radiation (see Eq. (15)). However, while the value of the total XUV deposition rate (WXUV) is clearly defined, the heating rate (HtotCtot) depends on the considered physical processes and on their specific treatment. The most common approximation is that the heating is driven mostly by photoionisation (as in model #0) and the whole excess photon energy is converted into heating the atmosphere. In this case, the heating rate present in Eq. (15) can be expressed as HPE=i4πni0λi,0Jλ(EλEi)Eλσλ,iexp(τ(λ,r))dλ,${H_{{\rm{PE}}}} = \sum\limits_{\rm{i}} 4 \pi {n_{\rm{i}}}\int_0^{{\lambda _{{\rm{i}},0}}} {{J_\lambda }} {{\left( {{E_\lambda } - {E_{\rm{i}}}} \right)} \over {{E_\lambda }}}{\sigma _{\lambda ,{\rm{i}}}}\exp ( - \tau (\lambda ,r)){\rm{d}}\lambda ,$(16)

where Ei is the (threshold) ionisation energy of species i and Eλ is the photon energy. By considering a hydrogen atmosphere and the HPE/WXUV ratio, the maximum heating efficiency can be approximated as ηmax = 1 − l3.6eV/Eλ (Murray-Clay et al. 2009; Waite et al. 1983). For comparison with the value of η obtained using Eq. 15, panel c of Fig. 5 (grey dash-dotted and solid lines) also shows ηmax computed considering photoionisation of atomic hydrogen and just the wavelengths of the stellar irradiation that give the maximum yield in heating at a specific radial distance, as illustrated in panel a of Fig. 5.

In general, the approximation given by Eq. (16) leads to overestimating the heating efficiency (Shematovich et al. 2014). In reality, the excess energy released in the photoionisation reaction is not transferred into heat directly, but passed instead to the products of the photoionisation reaction (i.e. mainly to the free electron). The energetic electron can further lose this energy in elastic and inelastic collisions with other particles, where the latter can lead to secondary ionisation or excitation of atmospheric species. Furthermore, as we show in the next section, heating (and cooling) processes are not limited to photoionisation.

Several analytical models and hydrodynamic codes consider a constant heating efficiency that is not computed self-consistently. These parameters are normally estimated (semi-) empirically to predict as realistically as possible atmospheric mass-loss rates and are expected to parametrise a wide range of physical processes. For example, inserting the value of η = 0.15 employed in model#0 in the analytical energy-limited approximation (Watson et al. 1981) returns mass-loss rates in line with those predicted by Salz et al. (2015), which used a code comparable to what presented here. Alternatively, Owen & Wu (2017) suggested a value of η = 0.1(υesc/15 km/s)−2, where υesc is the escape velocity at the photosphere. This value of ŋ has been chosen, because it leads one to reproduce the radius valley (Fulton et al. 2017) employing the energy-limited approximation. Therefore, these approximations of the heating efficiency should not be directly compared with the values obtained self-consistently.

thumbnail Fig. 7

Distribution of hydrogen species against radial distance predicted by model#l. Top panel: numerical densities of neutral atomic hydrogen (blue solid line) and its ions (blue dashed), and H (blue dash-dotted), molecular hydrogen (green solid) and its ions (green dashed), and H3+${\rm{H}}_3^ + $ (violet dashed). Bottom panel: distribution of neutral atomic hydrogen in terms of excitation levels, i.e. numerical densities of hydrogen in 1S (light green solid line), 2S (dark green solid), 2P (dark yellow solid), 3S (black solid), 3P (orange solid), and 3D (violet solid) states. The dotted magenta line gives the summed numerical densities of hydrogen atoms in the energy levels 4S and higher. In both panels, the grey solid line gives the total density of all hydrogen species for reference.

5.2.3 Hydrogen-helium atmospheres and metal heating

With the inclusion of helium (models #3 and #4), the atmospheric mass-loss rates decrease by a factor of ~1.3 without accounting for wind advection and of ~1.15 with wind advection compared to the pure hydrogen case. Correspondingly, the outflow density decreases, respectively, by factors of 1.5 and 1.3, and the outflow velocity increases by about a factor of 1.15. Independently of the inclusion of wind advection, the maximum temperature increases ~1.3 times (see Table 2), which might suggest a decrease in the atmospheric heating in the lowermost layers of the atmosphere. However, an inspection of the temperature profiles in Fig. 4 indicates the opposite, as the temperature maximum corresponding to X-ray heating is higher than that obtained for a pure hydrogen atmosphere. Therefore, the variations in the outflow parameters described above are caused mainly by the increase in mean molecular weight.

In terms of the distribution of different atmospheric species, the picture is similar to the pure hydrogen case (see Fig. 8 for models #3 and #4). For model #3, the profiles of hydrogen species look nearly the same as in model #1, though all the characteristic features move slightly inwards. The total fraction of helium (relative to the total hydrogen density) is kept constant across the simulation domain; this might not always be the case in real atmospheres, but accounting for such effects requires employing multifluid hydrodynamics, as we noted above. Therefore, near the lower boundary neutral helium is a minor constituent relative to both atomic and molecular neutral hydrogen; with the steep decrease of the H2 abundance and the increase in ion fraction, however, neutral helium becomes the second most abundant element between 1.2 and 2.5 Rpl, where most of the heating takes place. The number density of helium ions, He+ and He++, is maximum near the EUV-dominated peak of the heating function, in contrast to the behaviour of the hydrogen ions; therefore, ionisation of helium contributes to EUV heating rather than to X-ray heating. The ionisation barrier (the point where the number of ions overcomes that of the neutral atoms for the specific species) for helium occurs closer to the planet compared to hydrogen (~2.5.Rpl against ~4.0 Rpl). This occurs because the number of ions in this region depends on the XUV irradiation level rather than on the available reservoir of neutral atoms: thus, nHe = 0.1nH but nHe+=0.3nH+${n_{{\rm{H}}{{\rm{e}}^ + }}} = \sim 0.3{n_{{{\rm{H}}^ + }}}$ near the helium ionisation barrier, meaning that the relation of the number density of ions to that of neutrals is higher for helium than for hydrogen there. The inclusion of wind advection in model #4 (bottom panel of Fig. 8) affects the distribution of the lighter hydrogen species rather than that of helium species. Specifically, hydrogen species are dragged upwards by the hydrodynamic wind, while their relative occurrence in the lowermost layer remains unaltered. The effect on neutral and ionised atomic hydrogen (see nH0${n_{{{\rm{H}}^0}}}$ and nH+${n_{{{\rm{H}}^ + }}}$) is limited, and they remain the dominant constituents in the upper atmospheric layers. The fraction of molecular hydrogen species (see nH2${n_{{{\rm{H}}_2}}}$, nH2+${n_{{\rm{H}}_2^ + }}$, and nH3+${n_{{\rm{H}}_3^ + }}$) in these upper layers, however, increases significantly, though it remains minor compared to that of the atomic hydrogen species.

In the following, we consider in more detail the specific processes that contribute to atmospheric heating in the frame of models #1, #3, and #5. For simplicity, we consider the runs not accounting for wind advection as the relative input from the different processes does not change significantly with the inclusion of wind advection, and the difference between models #1 and #2, and #3 and #4 is mainly due to the increased advection term (which dominates cooling above ~ 1.5–2%), while the radiative components remain similar.

In Fig. 9, the black solid lines show the total volume heating rate Htot, while the other lines indicate specific heating processes, as given by the legend. These processes are only shown in the regions, where they contribute not less than 5% to the total heating rate. For all three models, the peak at about 1.2 Rpl of the heating function is dominated by the iso-sequence line heating (Hlin, dark blue dotted line in Fig. 9), that is line heating due to all hydrogen species, which declines with decreasing density and contributes no more than ~ 10% of the total heating beyond r ~ 2Rpl. Given that heating in the lowermost atmospheric levels has a minor impact on the general outcome of the model (see the discussion in Sect. 3.3), we tested the impact of the Hlin term on our predictions by re-running the code for a few planets in the grid, explicitly excluding the Hlin heating. We found that, despite its relative prominence, Hlin contribution is negligible in terms of atmospheric mass-loss rates and only slightly affects the atmospheric temperature and ion fractions. The outermost peak of the volume heating profile is instead dominated by ionisation of atomic hydrogen (H1; solid blue line in Fig. 9), and at short radial distances, where Hlin dominates, this process contributes up to 25% of the total heating rate.

In the case of model #1 (atmosphere consisting solely of hydrogen species), below r ≤ 1.1Rpl the heating is mainly controlled by the ionisation of molecular hydrogen. However, the abundance of H2 steeply declines with height due to photodissociation, and thus H2 ionisation does not play a significant role above ~1.3Rpl. Other processes associated with hydrogen species contribute just a minor part to the total heating rate.

With the inclusion of helium in model #3, the heating increases by ~25–50% in the lower part of the atmosphere below ~2.5Rpl, predominantly due to the ionisation of atomic helium by photons more energetic than 24.5 eV (He i; solid orange line in Fig. 9). This process also overcomes the photoionisation of molecular hydrogen at the bottom of the atmosphere (though the densities of both neutral and ionised helium are lower than those of hydrogen in this region; see Fig. 8). The ionisation of He ii, in turn, contributes to the heating about an order of magnitude less than the ionisation of neutral atomic helium and is only accountable above ~1.75–2Rpl. Furthermore, with an increase of the temperature gradient, charge transfer heating increases at ~ 1.2–3Rpl, but it remains, however, a minor contributor.

Finally, in model #5 which assumes solar atmospheric abundances, the heating sources discussed above remain at a similar level. Additionally, some of the metal heating processes contribute considerably to the heating function. Among them, the major input comes from absorption by the Call line at 7291.47 Å, which pushes the heating at r ≤ 1.1 Rpl significantly above the value predicted by model #3 (i.e. without metals). However, for the considered planet, this does not have significant consequences for the atmospheric temperature or outflow parameters. In general, this heating source has a noticeable impact just for the hottest planets under low to moderate XUV irradiation, and we discuss this in more detail in Sect. 5.4. We note that in this specific model the µbar pressure level is located at about 1.2 Rpl. Given that the temperature in this region is close to 1500 K, condensation might lead to a lack of Ca in the upper atmosphere, thus making the impact of this specific heating term insignificant.

The total cooling rates change between models #1, #3, and #5 similarly to the heating rates discussed above (see Fig. 10).

Namely, the total cooling rate increases slightly in the lowermost part of the atmosphere (below ~1.2 – 41.3 Rpl) from model #1 to model #5. However, the cooling rates remain at least an order of magnitude lower compared to the heating rates, except at r ≤ 1.1 Rpl for the hydrogen-only and hydrogen-helium atmospheres, where heating and cooling rates have similar values. In the models #2 and #4 accounting for wind advection, cooling in the outer regions (above 1.5–2.0 Rpl) is dominated by cooling due to adiabatic expansion. In Cloudy, this term is hidden in the advection cooling term, which we include in the plots for reference.

Most of the cooling in all three models is produced by line cooling of atomic hydrogen (H-line; light-brown line in Fig. 10) and bremsstrahlung cooling from hydrogen and helium (free-free H; dark-brown line). At r ≤ 2Rpl, up to 30% of the cooling is provided by the production of ionised molecular hydrogen (H+H+H2+${\rm{H}} + {{\rm{H}}^ + } \to {\rm{H}}_2^ + $; light blue line) and collisions of neutral hydrogen atoms with energetic electrons (i.e. secondary ionisation; H + e → H + hv; purple line). Molecular hydrogen line cooling (dark-green line) dominates the cooling at r ≤ 1.1 Rpl for models #1 and #3. Furthermore, in models #3 and #5, helium line cooling (yellow line) contributes up to 20% of the total cooling rate close to the position of the maximum of the heating function corresponding to the absorption of the EUV radiation. However, the total cooling rate in this region of the atmosphere is 2–3 orders of magnitude smaller than heating. Finally, metal line cooling rates (see C-line, Mg-line, and Fe-line in the bottom panel of Fig. 10) contribute no more than ~1% of the total cooling rate.

thumbnail Fig. 8

Distribution of hydrogen and helium species against radial distance predicted by models #3 (top panel) and #4 (bottom panel). The grey solid line gives the total numerical density of all hydrogen species, for reference. The blue lines show the species of atomic hydrogen (solid for neutral H, dashed for H+, and dash-dotted for H), the green lines show molecular hydrogen (solid for neutral H2 and dashed for H+), the violet dashed line shows H3+${\rm{H}}_3^ + $, and the orange lines show helium species (solid for neutral He, dashed for He+, and dotted for He++).

thumbnail Fig. 9

Volume heating rates and their most relevant contributors (>5% of Htot at each specific r) calculated for the hot 5M sub-Neptune under moderate XUV irradiation. The top, middle, and bottom panels present the results of model#1 (pure hydrogen atmosphere), model#3 (hydrogen+helium), and model #5 (solar composition), respectively. The processes responsible for the heating and the corresponding line styles are given in the legend located above the top panel and with the following notation: Htot – total volume heating rate from all sources; Hlin – iso-sequence line heating; H i – heating due to photoionisation of atomic hydrogen; Hion – collisional ionisation heating (all hydrogen species); H- – H-heating; Hn = 2 – photoionisation from all excited states of hydrogen species; H2ph – H2 photoionisation heating; H2vH – heating by collisional de-excitation of vibrationally excited H2; H2dH – heating by photodissociation of H2 ; He ii – photoionisation of Hen; He i – photoionisation of He i; ChaT – charge transfer heating; Can – metal line heating dominated by absorption of the Can line at 7291.47 Å; O i – photoionisation of O i; Fe i – photoionisation of Fe i.

thumbnail Fig. 10

Volume cooling rates and their most relevant contributors (> 1 % of Ctot at their maximum) calculated for the hot 5 M sub-Neptune under moderate XUV irradiation. The top, middle, and bottom panels present the results of model#1 (pure hydrogen atmosphere), model#3 (hydrogen+helium), and model #5 (solar composition), respectively. The processes responsible for the cooling, and the corresponding line styles are given in the legend located above the top panel with the following notation: Ctot – total volume cooling from all sources; H-line – atomic hydrogen line cooling; free-free H – bremsstrahlung cooling from hydrogen (and helium, when included in the model); H2-molecule – H2 molecule cooling; H2-line (rotation) – line cooling within a H2 molecule; H+H+H2+${\rm{H}} + {{\rm{H}}^ + } \to {\rm{H}}_2^ + $ cooling due to recombination of H2+${\rm{H}}_2^ + $; H + e → H + hv − cooling due to an electron hitting a hydrogen atom in the ground state loosing its kinetic energy and hydrogen atom can emit a photon; He-line – helium line cooling; C-line – carbon line cooling; Mg-line – magnesium line cooling; Fe-line – iron line cooling. For reference, we include in each panel the advection term including adiabatic cooling from the models with the wind, with the respective composition.

5.3 Impact of accurate energy balance computation for Neptune-like planets with hydrogen atmospheres

In this section, we overview the effects of the inclusion of the precise energy balance computation provided by Cloudy on the atmospheric outflow from low-mass planets. Figure 11 shows the comparison among some basic parameters predicted by the hydrodynamic model #0 to those predicted by model #1 (i.e. without wind advection; left column) and by model #2 (with wind advection; right column). The differences between the results obtained for model #0 and #1 and for model #0 and #2 are qualitatively similar, therefore we start with comparing the results of models #0 and #1 and then discuss the impact of the inclusion of wind advection (model #2).

One of the most important parameters of atmospheric outflow, particularly relevant for planetary evolution, is the mass-loss rate. Panel a of Fig. 11 shows that the values predicted by model #1 are in most cases slightly higher than those predicted by model #0. In general, the difference does not exceed about a factor of two (see the grey line in panel a), and the increase in escape is maximum at high irradiation levels and for low planetary masses. In contrast, for planets with high mass and/or low temperature, the mass-loss rates predicted by model#1 are lower than those predicted by model#0 (e.g. planets 1.2B, 1.2C, 4.4B, and 4.4C in Table A.1). This trend remains if one considers a planet with a fixed mass and temperature. This suggests that the increase in heating efficiency at low altitudes discussed in Sect. 5.2 is most relevant for young, highly irradiated low-mass planets, where the X-ray dominated region of the atmosphere can be relatively extended. Instead, the accurate treatment of cooling processes is most relevant for weakly irradiated planets, where they compete with photoionisation heating.

With the inclusion of wind advection (model #2), the differences with model #0 decrease slightly and the turning point between high and low XUV regimes shifts to higher mass-loss rates (from ~1010 to ~1011 g s−1; see panels a and e of Fig. 11) due to a more consistent inclusion of adiabatic cooling. The correlations with planetary mass, temperature, and XUV flux, however, remain the same. Therefore, for both models #1 and #2, the differences in mass-loss rates compared to model#0 are quite low and are expected to be of little relevance in terms of atmospheric evolution.

At the Roche radius, the behaviour of the atmospheric density is similar to that of the mass-loss rate (see panels b and f of Fig. 11). Model #1 predicts about two–four times higher outflow densities compared to model#0, but its dependence on planetary mass and incident XUV flux is not as pronounced as for the mass-loss rate, while the dependence on equilibrium temperature is comparable. With the inclusion of wind advection, the difference from model #0 nearly vanishes, except for low-mass highly irradiated planets. We also find that for weakly irradiated planets the decrease in mass-loss rate comes predominantly from the decrease in outflow velocity.

The relation between the outflow velocity Vroche predicted by models #0 and #1 (see panel c of Fig. 11) is steeper and more spread than those discussed above. It is similar to the relation of maximum temperature Tmax, which we thus do not show; furthermore, as one can see from Fig. 4, the peak temperature values do not reflect well enough all the variations in the temperature profiles between different models, which are more complicated than a simple shift at lower/higher temperatures.

The total range of outflow velocities does not change much between the two models, with lower and upper limits shifting by only ~3 km s−1 towards lower values in model #1. However, the changes for individual planets can reach a factor of five and are maximum for cooler and more massive planets. The dependence of Vroche on the stellar XUV flux is similar to that of mass-loss rate and density, though steeper. The inclusion of wind advection in model #2 does not alter the difference to model#0 in terms of velocity qualitatively, but softens the dependence of Vroche on XUV.

The comparison presented above suggests that the inclusion of Cloudy leads to a relatively small influence on the predicted outflow and specifically on the mass-loss rates. However, the changes in the shape of the temperature profiles (see the discussion in Sect. 5.2) and ion fraction can be significant. Panels d and h of Fig. 11 presents a comparison of the integrated ion fractions below the Roche radius (Eq. (14)) between models #0, #1, and #2. In Eq. (14), nion and nneu are, respectively, the densities of ionised and neutral species. The models involving Cloudy predict lower total ion fractions compared to model#0. The lack of ions is most significant in the lower, dense layers of the atmosphere, which give the largest input to the total ion fraction given by Eq. 14 (see an example in Fig. 12). Therefore, for model #1, the difference in ∫ fion reaches an order of magnitude, while for model #2 it becomes even larger (see the grey lines in panels d and h of Fig. 11). The difference is strongly correlated with planetary mass and equilibrium temperature, with the largest difference achieved for the coolest and lowest mass planets. The dependence on stellar XUV, however, appears to be weak and is most likely connected with the correlation between FXUV and Teq imposed by our setup.

If, instead of the total ion fraction given by Eq. 14, we consider the ion fraction at the position of the Roche lobe (fion,roche), this quantity also decreases from model#0 to model#1, and the inclusion of wind advection in model #2 can further decrease fion,roche by a factor of a few. However, the difference between fion,roche for model#0 and #1 (or #2) correlates with the generalised Jeans escape parameter (Fossati et al. 2017) Λ = (GMv1µ)/(KbTeqRpl) rather than with planetary mass, and it is largest for low Λ values. Opposite to what occurs for the total ion fraction, the differences between the ion fractions obtained from model #0 and models #1 and #2 at the Roche radius, increase with increasing planetary equilibrium temperature.

To explain the change in the dependence on Teq between ∫ fion and ƒion,roche, we consider the following. The differences in ion fractions between the different models emerge due to differences in the treatment of the chemical network (between model#0 and models #1 and #2) and to differences in atmospheric structures, specifically due to the stronger atmospheric expansion and the consequent shift of fion(r) upwards. The latter mechanism affects the whole atmosphere above the lowermost region dominated by the absorption of X-ray photons, while most of the chemistry occurs below 2–3 Rpl, where photoionisation and interactions between atmospheric particles are strongest, hence differences between the models are largest. Therefore, the differences in ion fraction at the Roche radius between models #0 and #1 (or #2) are mainly driven by differences in the structural changes of the atmosphere, which increase for the hotter planets (see e.g. the mass-loss rates and densities shown in Fig. 11). At the same time, differences in the lower part of the atmosphere, and thus also the value of the total ion fraction, are mostly controlled by differences in the treatment of the chemical network by the different models.

thumbnail Fig. 11

Comparison of the basic parameters of the atmospheric outflow between models #0 and #1 (panels a-d) and models #0 and #2 (panels e–h). Specifically, the atmospheric mass-loss rate (panels a and e), the outflow density at Rroche (panels b and f), the outflow velocity at Rroche (panels c and g), and the total fraction of ions below Rroche (panels d and h) are compared. In each panel the x-axis corresponds to the value of the specific parameter predicted by model #0 and the y-axis corresponds to the same parameter predicted by model #1 (panels a–d) or model #2 (panels e–h). The different colours correspond to the different equilibrium temperatures and the different symbols correspond to the different planet types, as indicated in the legends in panels a and b. The black dash-dotted lines in each panel show the equality of the parameters predicted by the two models, and the additional grey lines show different ratios of the parameters P obtained from the different models in the form Pmodel#1/#2 = c × Pmodel#0, where the coefficient c is shown in the plots next to each grey line.

thumbnail Fig. 12

Ion fraction against planetary radial distance as predicted by model #0 (dark blue dotted line), model #1 (light blue dash-dotted line), and model #2 (magenta solid line) for the hot Neptune considered in Sect. 5.2. The grey vertical line denotes the position of the Roche radius.

5.4 Effect of atmospheric composition in the upper atmospheric properties of Neptune-like planets

5.4.1 Hydrogen atmospheres versus hydrogen-helium atmospheres

As we discussed in Sects. 3.4 and 5.2, the differences in upper atmospheric properties predicted by the models assuming a pure hydrogen atmosphere (#1 and #2) and those assuming hydrogen-helium composition (#3 and #4) result directly from the different chemical networks involved and from differences in mean molecular weight. In Sect. 5.2, we showed that for the hot sub-Neptune planet the heating is slightly larger for the hydrogen-helium atmosphere compared to the hydrogen-only atmosphere due to Hel photoionisation, while helium line cooling does not significantly contribute to the total cooling rate. This results in a less dense (but faster and hotter) outflow, and thus lower mass-loss rate, compared to the case of a pure hydrogen atmosphere (see Table 2). Here, we compare the predictions of models #1 and #3 (not accounting for wind advection) for the set of planets presented in Sect. 5.1, because the differences between models #2 and #4 (including wind advection) have similar behaviour.

Figure 13 shows the comparison between the results obtained from models #1 and #3 for mass-loss rate, maximum temperature, and ion fraction at the Roche radius. For mass-loss rates (panel a of Fig. 13), model #1 predicts systematically the larger values by about a factor of two compared to model #3 and this difference has a weak dependence on planetary mass and equilibrium temperature, increasing for lighter and hotter planets. The outflow density at the Roche radius behaves similarly to the mass-loss rate, but the maximum difference reaches about three times and the dependence on planetary mass is more pronounced.

As for the comparison between model #0 and models #1 and #2 presented in Sect. 5.3, maximum temperature and outflow velocity behave similarly. As shown by panel b of Fig. 2, with the inclusion of helium Tmax increases up to ~1.5 times and it is strongest for lower mass planets and for higher XUV fluxes. For FXUV ≳ 104 erg s−1 cm2, the differences in Tmax (and Vr0che) between models #1 and #3 decrease steeply.

The total ion fraction (not shown here) increases with the inclusion of helium, on average, by 10–20%, and the difference between models #1 and #3 increases towards high XUV flux levels. Finally, the inclusion of helium modifies significantly fion,roche for planets with Λ ≲ 7, that is hot low-mass planets (see panel c in Fig. 13). Such planets experience strong atmospheric expansion driven by their low gravity and high thermal energy, therefore the density of the outflow is large even at the position of the Roche lobe, and the ionising radiation cannot penetrate very deep into the atmosphere. Therefore, most of the ionisation occurs at relatively high altitudes, where helium atoms add considerably to the ion fraction in the upper atmospheric layers. However, since the densest lower atmospheric layers remain predominantly neutral, the inclusion of helium has little impact on the total (integrated) ion fraction.

5.4.2 Impact of the Inclusion of metals

As discussed in Sect. 5.2 for the hot sub-Neptune planet 4.2B, the main effect of the inclusion of metals consists in additional heating in the lowermost atmospheric layers (see the Ca ii line heating component in Fig. 9). This result applies to all considered synthetic planets. As expected, the additional metal heating is weakly dependent on the stellar XUV irradiation but depends strongly on the planetary equilibrium temperature, and thus the amount of stellar UV and optical irradiation, being largest for the hottest planets. For example, for the sub-Neptune planet under moderate XUV irradiation (model planets 4.2B, 4.3B, and 4.4B in Table A.1), the maximum value of metal heating (see Caii in Fig. 9) increases by ~4.5 times in the 1000–1500 K Teq range, and by ~2.5 times in the 700–1000 K Teq range, while among these planets FXUV varies by about 20 times. At the same time, for the hottest case of Teq = 1500 K, the maximum value of metal heating increases just about 1.5 times from the lowest to the highest XUV irradiation cases, where the difference in FXUV spans about three orders of magnitude (or about two orders of magnitude for the EUV flux).

Therefore, at high XUV irradiation, which is typical of young planets at the beginning of their evolution, metal line heating is fully overtaken by hydrogen and helium photoionisation and does not impact the outflow parameters. When FXUV drops below ~104 erg s−1 cm−2, the peak values of metal line heating and of hydrogen and helium photoionisation heating become comparable for hot planets (Teq ≳ 1000 K). However, metal heating impacts mostly a very narrow region in the denser part of the atmosphere, and hydrogen and helium photoionisation occurs in 10–50 times wider atmospheric region. This limits the impact of metal heating on the atmospheric parameters, except for hot planets at low XUV irradiation (see the ‘C’ model planets in Table A.1).

As an example, we compare in Fig. 14 the atmospheric profiles for the hot sub-Neptune planet under different levels of XUV irradiation, namely model planets 4.2O–4.2C in Table A.1, predicted by model #3 (black lines) and model#5 (green lines). For the planet with the lowest level of FXUV irradiation (dotted lines), the volume heating rate below ~1.1R predicted by model #5 reaches values similar to that given by the model run for an order of magnitude higher XUV flux (dash-dotted lines). Therefore, for this planet, differently from the more irradiated planets, additional heating leads to more effective atmospheric expansion and denser outflow (panel c). The temperature profile changes drastically below ~2Rpl and the maximum difference between model #5, which has a comparable secondary maximum, and model#3 reaches almost 1000K at ~1.45Rpl (compare the green and black dotted lines in panel d of Fig. 14).

Finally, the increase in heating between models #3 and #5 is accompanied by a decrease in ion fraction below ~1.1Rpl. Although the ionisation terms remain at a similar level in the two models (see Fig. 9), the additional heating leads to the upward shift of the ionisation profile. However, as noted above, at relatively moderate planets considered in the present study, the effects discussed above can be reduced as a result of condensation. Therefore, metal heating is expected to be more prominent for hotter planets (or subject to strong XUV heating) with hydrogen-dominated atmospheres, such as hot Jupiters (Fossati et al. 2021).

thumbnail Fig. 13

Comparison of the basic parameters predicted by models #1 and #3 for the set of planets presented in Sect. 5.1. The colours and symbols are the same as in Fig. 11, and the black lines denote the equality of parameters predicted by the two models. Panel a: mass-loss rate. Panel b: maximum temperature. Panel c: Ratio of the ion fraction predicted by models #1 and #3 at the Roche radius to the parameter Λ.

6 Impact of stellar spectra

In this section, we address the impact of stellar spectra on the atmospheric parameters predicted by our models. Until now, throughout this study, we employed the solar spectrum scaled to different values of X-ray, EUV, and bolometric flux as described in Sect. 3.2, which means that the results presented above can be to some extent biased by this choice. To test this possibility, we have considered the three sub-Neptune-like planets among those considered in Sect. 4 for which the spectra of the host stars were constructed in the frame of the MUSCLES survey (version 22; see France et al. 2016; Youngblood et al. 2016; Loyd et al. 2016), namely GJ 1214 b, GJ 436 b, and HD 97658 b. As the results obtained for these three planets are comparable, we focus here on the case of GJ 1214 b, and show the results for the other two planets in Appendix B.

Previous studies have shown that changes in the shape of the spectral energy distribution within the XUV band have a small influence on atmospheric mass-loss rates, but can affect considerably the temperature and ionisation profiles by altering the photochemical processes (e.g. Guo & Ben-Jaffel 2016; Odert et al. 2020; Kubyshkina et al. 2022), which is then important for the interpretation of observations. However, as we have shown in Sect. 5.2, the heating efficiency depends on the photon energy, which might then lead to the bulk outflow parameters and mass-loss rate depending on the shape of the stellar SED in the XUV band.

Figure 15 shows the comparison between the solar spectrum scaled to the luminosity of GJ 1214 with that given by the MUSCLES survey. To reduce the comparison to the shape of the SED, we scale the MUSCLES spectrum in the same manner as the solar spectrum. The original values of Lx ≃ 3.6 × 1025 erg s−1 cm−2, LEUV ≃ 3.3 × 1026 erg s−1 cm−2, and Lbol ≃ 1.4 × 1031 erg s−1 cm−2 of the MUSCLES spectrum are similar to the values employed by Salz et al. (2016a) (~8.1 × 1025 erg s−1 cm−2, ~4.1 × 1026 erg s−1 cm−2, and ~1.9 × 1031 erg s−1 cm−2 respectively). With respect to the shape of the SED, in the MUSCLES spectrum, the energy deposition in the X-ray (5–100 Å) and EUV (100–912 Å) bands is redistributed towards shorter wavelengths compared to the solar SED. Therefore, although the integrated flux in the respective intervals is the same in both cases, for an M-dwarf the XUV energy is, on average, transported by more energetic photons.

In Fig. 16, we show the ion fraction (a), mass density (b), temperature (c), and the bulk velocity (d) profiles for GJ 1214 b calculated by models #3 (dashed lines) and #4 (dash-dotted lines) considering the solar spectrum (violet lines) and the MUSCLES spectrum (blue lines). The redistribution of the X-ray and EUV flux towards larger photon energies leads to a temperature increase in the lower atmospheric layers, as the higher energy photons are absorbed deeper in the atmosphere. This leads to an increase in the density by a factor of ~2.0 and to a decrease in the outflow velocity by a factor of ~ 1.3. As these two effects cancel each other in terms of the mass outflow, the atmospheric mass-loss rates computed employing the more energetic spectrum increase by ~ 1.5 times (from 2.5 × 1010 g s−1 to 4.2 × 1010 g s−1 for model #3 and from 2.0 × 1010g s−1 to 2.7 × 1010g s−1 for model #4).

The differences in mass outflow between the results obtained considering the two different input stellar spectra are more pronounced in the case of model #3, hence not accounting for the wind advection, which in practice redistributes the absorbed energy across the atmosphere. In contrast, the differences in ion fraction and temperature are larger for model #4, hence including wind advection. The largest difference in the temperature profile is achieved at ~1.15 Rpl and is almost a factor of two for model#3 (from ~650K to ~1260K) and of ~2.6 for model#4 (from ~370 K to ~950K). For the ion fraction, the difference between the predictions of the models computed for different stellar spectra becomes large above ~1.2 Rpl and reaches factors of 2.9–3.6 at the Roche lobe. Therefore, the total ion fraction, which is controlled mainly by the lower atmospheric layers, does not change significantly (1.3–1.4 times).

The changes in the shape of the stellar SED, and the consequent changes in atmospheric parameters are qualitatively similar for GJ 436 b and HD 97658 b (see Appendix B). However, quantitatively the difference obtained from results computed with the different input stellar spectra decreases with increasing host star mass. This is because, with increasing mass, the input spectra become closer and closer to that of the Sun that we employed as a reference.

thumbnail Fig. 14

Atmospheric proflies for ion fraction (panel a), volume heating rate (panel b), mass density (panel c), and temperature (panel d) predicted by model #3 (hydrogen-helium atmosphere, black lines) and model #5 (solar abundances, green lines) for the hot sub-Neptune planet considered in Sect. 5.2 under different levels of XUV irradiation. The different line styles correspond to the different irradiation levels: FXUV = 1.5 × 106erg s−1 cm−2 (planet 4.2O in Table A.1; solid lines), FXUV = 1.8 × 105 erg s−1 cm−2 (4.2A; dashed lines), FXUV = 2.7 × 104 erg s−1 cm−2 (4.2B; dash-dotted lines), and FXUV = 4.64 × 103 erg s−1 cm−2 (4.2C; dotted lines).

thumbnail Fig. 15

Spectra used to model the upper atmosphere of GJ 1214 b. The violet line is the scaled solar spectrum, while the blue line is the MUSCLES spectrum for GJ 1214 scaled to the same values of LX, LEUV, and Lbol adopted by Salz et al. (2016a). The flux is scaled to the planetary orbit.

thumbnail Fig. 16

Atmospheric profiles of GJ 1214 b calculated using model #3 (dashed lines) and model #4 (dash-dotted lines) and employing scaled solar (violet) and MUSCLES (blue) input stellar spectra. For reference, we show the profiles from Salz et al. (2016a) in green. Panel a: Ion fraction. Panel b: Mass density. Panel c: Temperature. Panel d: Bulk velocity.

7 Conclusions

We presented a new code combining hydrodynamics of planetary upper atmospheres (Kubyshkina et al. 2018) with the accurate chemistry and radiative transfer NLTE solver Cloudy. We applied this tool to model a terrestrial planet hosting a thin hydrogen-dominated atmosphere, a typical sub-Neptunelike planet, a low-mass super-puff, and a sub-Saturn. Our aim was testing to what extent the more accurate chemistry and radiative transfer computations provided by Cloudy affect the predictions of atmospheric outflow for different types of planets. Each of the four test planets was considered to lie at different orbits, and hence with different equilibrium temperatures (700–2000 K) and different XUV irradiation levels. The latter corresponds to what is typically expected for Sun-like stars at young ages close to protoplanetary disk dispersal (~1– 20 Myr), at the end of the initial extreme phase of planetary atmospheric escape (~ 1 Gyr), and towards the end of the star’s main sequence lifetime (~10 Gyr). We also tested the impact of different atmospheric compositions, namely hydrogen-only atmosphere, hydrogen-helium atmosphere, and including metals in solar abundance to the hydrogen-helium atmosphere. Finally, we tested the impact of accounting or not for the drag of species caused by wind advection in the Cloudy computations. In total, we considered about 50 test cases. We further compared the results with the results obtained by employing the hydrodynamic model alone.

The approach of combining a hydrodynamic atmospheric escape model with Cloudy is not completely novel and was earlier performed by Salz et al. (2015, for the hydrodynamic code PLUTO; Mignone et al. 2007, 2012) and Linssen et al. (2022, for a Parker-wind model). Despite some differences in the numerical approach and the underlying hydrodynamic model, our code is closer to that of Salz et al. (2015). Therefore, we used the results of their model presented in Salz et al. (2016a) to validate our code.

By comparing the results of the modelling, we find that the atmospheric mass-loss rates, which are of key importance for atmospheric evolution studies, do not change significantly between our basic hydrodynamic model and the different model configurations involving Cloudy. The differences are largest for hot low-mass planets and for planets experiencing the highest XUV flux irradiation, but typically do not exceed a factor of two. Given that for young low- and moderate-mass planets, where such conditions are typical, the atmospheric mass-loss rates normally exceed ~1012 g s−1, and such changes are not expected to significantly impact the evolution of planetary atmospheres. Therefore, in terms of atmospheric mass-loss rates, the accurate photoionisation treatment can be more relevant for cooler planets orbiting billion-year-old stars.

Instead, the temperature and ionisation profiles, which are more relevant for the atmospheric characterisation, change significantly with the implementation of Cloudy in hydrodynamic modelling. The inclusion of Cloudy in the hydrodynamic computations can lead to total ion fraction differences of more than a factor of ten compared to those obtained from the hydrodynamic model alone. The difference increases for planets exposed to low to moderate XUV fluxes, that is planets with ages older than 1 Gyr, which comprise the majority of planets whose atmospheres are being characterised.

The specific atmospheric composition, and in particular metal line heating and cooling, appear to be most relevant for hot (Teq ≥ 1500 K) planets experiencing relatively low levels of XUV irradiation (FXUV < 104 erg s−1 cm−2). This supports the results obtained by Fossati et al. (2021) for KELT-9b, which is an ultra-hot Jupiter subject to extremely low XUV irradiation. For more moderate planets, such as those considered in this work, these effects can be decreased by condensation, which is expected to occur at altitudes similar to those of metal heating. At the very high XUV fluxes typical for young stars, all minor heating and cooling processes are suppressed by extreme photoionisation heating. The ionisation and temperature profiles in such cases are smoother than when employing the hydrodynamic model alone. For planets in a similar mass range, the differences between models computed assuming different atmospheric compositions are more pronounced for planets with thicker atmospheres. The total ion fractions estimated for different atmospheric types do not change much. However, the distribution of the ionised species and the ion fraction in the upper layers of the atmosphere can vary considerably, specifically for hot low-mass planets (Λ ≲ 7).

The results presented here call for a detailed parameter study of the impact of considering accurate chemistry and NLTE radiative transfer computations in hydrodynamic upper atmosphere modelling. This is particularly important to more accurately interpret the wide range of already available transmission spectroscopy observations spanning from the UV to the near-infrared bands collected for hot-Jupiter to sub-Neptune-like planets.

Acknowledgements

The authors acknowledge the valuable comments from Dr. Tommi Koskinen that helped to improve significantly the quality of this manuscript. N.V.E. acknowledges support from the Krasnoyarsk Mathematical Center financed by the Ministry of Science and Higher Education of the Russian Federation (Agreement No. 075-02-2023-912).

Appendix A List of modelled planets

In Table A.1, we list the parameters of the model planets considered in this study, namely planetary mass, radius, equilibrium temperature, semi-major axis, and X-ray and EUV fluxes. The first column lists the reference number of the model.

Table A.1

Input parameters of the synthetic planets considered in the paper.

Appendix B Impact of stellar spectra on the predicted atmospheric properties of GJ436b and HD 97658 b

Here, we present the comparison between the scaled solar spectra and the spectra constructed in a frame of MUSCLES survey for GJ436 (Figure B.1) and HD 97658 (Figure B.2). Figures B.3 and B.4 show the atmospheric profiles obtained from models #3 and #4 employing these spectra.

thumbnail Fig. B.1

Same as Figure 15, but for GJ 436.

thumbnail Fig. B.2

Same as Figure 15, but for HD 97658.

thumbnail Fig. B.3

Same as Figure 16, but for GJ 436 b.

thumbnail Fig. B.4

Same as Figure 16, but for HD 97658 b.

Appendix C The changes in heating efficiency with atmospheric parameters

Though the range of processes taken into consideration and the incoming radiation flux are being kept constant within a specific simulation, the height profile of the heating efficiency changes slightly from iteration to iteration as it follows the changes in atmospheric density and temperature. To illustrate it, we compare the heating efficiency predicted at the first iteration involving Cloudy and that of the converged solution in Figure C.1.

thumbnail Fig. C.1

Heating efficiency calculated at the first Cloudy iteration in model #1 (blue dotted line) and the last Cloudy iteration of model #1 (blue dash-dotted line). The grey dash-dotted line denotes the maximum heating efficiency calculated using the approximation from Murray-Clay et al. (2009), while the two vertical lines give the positions of the maxima of the heating function.

References

  1. Albarède, F., & Blichert-Toft, J. 2007, Comptes Rendus Geosci., 339, 917 [CrossRef] [Google Scholar]
  2. Allart, R., Bourrier, V., Lovis, C., et al. 2018, Science, 362, 1384 [Google Scholar]
  3. Bakos, G. Á., Torres, G., Pál, A., et al. 2010, ApJ, 710, 1724 [NASA ADS] [CrossRef] [Google Scholar]
  4. Berta, Z. K., Charbonneau, D., Bean, J., et al. 2011, ApJ, 736, 12 [NASA ADS] [CrossRef] [Google Scholar]
  5. Biddle, L. I., Pearson, K. A., Crossfield, I. J. M., et al. 2014, MNRAS, 443, 1810 [NASA ADS] [CrossRef] [Google Scholar]
  6. Bisikalo, D., Kaygorodov, P., Ionov, D., et al. 2013, ApJ, 764, 19 [NASA ADS] [CrossRef] [Google Scholar]
  7. Bonfils, X., Gillon, M., Udry, S., et al. 2012, A&A, 546, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Bouchy, F., Udry, S., Mayor, M., et al. 2005, A&A, 444, L15 [EDP Sciences] [Google Scholar]
  9. Butler, R. P., Vogt, S. S., Marcy, G. W., et al. 2004, ApJ, 617, 580 [NASA ADS] [CrossRef] [Google Scholar]
  10. Carleo, I., Gandolfi, D., Barragán, O., et al. 2020, AJ, 160, 114 [Google Scholar]
  11. Carolan, S., Vidotto, A. A., Hazra, G., Villarreal D'Angelo, C., & Kubyshkina, D. 2021, MNRAS, 508, 6001 [NASA ADS] [CrossRef] [Google Scholar]
  12. Carroll-Nellenback, J., Frank, A., Liu, B., et al. 2017, MNRAS, 466, 2458 [NASA ADS] [CrossRef] [Google Scholar]
  13. Castor, J. I. 1970, MNRAS, 149, 111 [NASA ADS] [Google Scholar]
  14. Charbonneau, D., Brown, T. M., Latham, D. W., & Mayor, M. 2000, ApJ, 529, L45 [Google Scholar]
  15. Charbonneau, D., Berta, Z. K., Irwin, J., et al. 2009, Nature, 462, 891 [NASA ADS] [CrossRef] [Google Scholar]
  16. Claire, M. W., Sheets, J., Cohen, M., et al. 2012, ApJ, 757, 95 [Google Scholar]
  17. Cohen, O., Alvarado-Gómez, J. D., Drake, J. J., et al. 2022, ApJ, 934, 189 [CrossRef] [Google Scholar]
  18. Crossfield, I. J. M., Knutson, H., Fortney, J., et al. 2012, ApJ, 752, 81 [Google Scholar]
  19. Cubillos, P. E., Fossati, L., Erkaev, N. V., et al. 2017, ApJ, 849, 145 [NASA ADS] [CrossRef] [Google Scholar]
  20. Cubillos, P. E., Fossati, L., Koskinen, T., et al. 2020, AJ, 159, 111 [Google Scholar]
  21. Dalgarno, A., Yan, M., & Liu, W. 1999, ApJS, 125, 237 [NASA ADS] [CrossRef] [Google Scholar]
  22. Dere, K. P., Landi, E., Mason, H. E., Monsignori Fossi, B. C., & Young, P. R. 1997, A&AS, 125, 149 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  23. Dere, K. P., Landi, E., Young, P. R., et al. 2009, A&A, 498, 915 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  24. Ehrenreich, D., Bourrier, V., Wheatley, P. J., et al. 2015, Nature, 522, 459 [Google Scholar]
  25. Elitzur, M. 1982, Rev. Mod. Phys., 54, 1225 [Google Scholar]
  26. Erkaev, N. V., Kulikov, Y. N., Lammer, H., et al. 2007, A&A, 472, 329 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  27. Erkaev, N. V., Lammer, H., Odert, P., Kulikov, Y. N., & Kislyakova, K. G. 2015, MNRAS, 448, 1916 [NASA ADS] [CrossRef] [Google Scholar]
  28. Erkaev, N. V., Lammer, H., Odert, P., et al. 2016, MNRAS, 460, 1300 [NASA ADS] [CrossRef] [Google Scholar]
  29. Erkaev, N. V., Odert, P., Lammer, H., et al. 2017, MNRAS, 470, 4330 [NASA ADS] [CrossRef] [Google Scholar]
  30. Esquivel, A., Schneiter, M., Villarreal D'Angelo, C., Sgró, M. A., & Krapp, L. 2019, MNRAS, 487, 5788 [NASA ADS] [CrossRef] [Google Scholar]
  31. Ferland, G. J., Korista, K. T., Verner, D. A., et al. 1998, PASP, 110, 761 [Google Scholar]
  32. Ferland, G. J., Porter, R. L., van Hoof, P. A. M., et al. 2013, Rev. Mexicana Astron. Astrofis., 49, 137 [Google Scholar]
  33. Ferland, G. J., Chatzikos, M., Guzmán, F., et al. 2017, Rev. Mexicana Astron. Astrofis., 53, 385 [Google Scholar]
  34. Fossati, L., Haswell, C. A., Froning, C. S., et al. 2010, ApJ, 714, L222 [Google Scholar]
  35. Fossati, L., Erkaev, N. V., Lammer, H., et al. 2017, A&A, 598, A90 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  36. Fossati, L., Young, M. E., Shulyak, D., et al. 2021, A&A, 653, A52 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  37. France, K., Loyd, R. O. P., Youngblood, A., et al. 2016, ApJ, 820, 89 [NASA ADS] [CrossRef] [Google Scholar]
  38. Fulton, B. J., Petigura, E. A., Howard, A. W., et al. 2017, AJ, 154, 109 [Google Scholar]
  39. García Muñoz, A. 2023, A&A, 672, A77 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  40. Ginzburg, S., Schlichting, H. E., & Sari, R. 2018, MNRAS, 476, 759 [Google Scholar]
  41. Gronoff, G., Arras, P., Baraka, S., et al. 2020, J. Geophys. Res. (Space Phys.), 125, e27639 [NASA ADS] [Google Scholar]
  42. Guo, J. H., & Ben-Jaffel, L. 2016, ApJ, 818, 107 [Google Scholar]
  43. Gupta, A., & Schlichting, H. E. 2019, MNRAS, 487, 24 [Google Scholar]
  44. Gupta, A., & Schlichting, H. E. 2020, MNRAS, 493, 792 [Google Scholar]
  45. Hallatt, T., & Lee, E. J. 2022, ApJ, 924, 9 [NASA ADS] [CrossRef] [Google Scholar]
  46. Haswell, C. A., Fossati, L., Ayres, T., et al. 2012, ApJ, 760, 79 [Google Scholar]
  47. Henry, G. W., & Winn, J. N. 2008, AJ, 135, 68 [NASA ADS] [CrossRef] [Google Scholar]
  48. Henry, G. W., Marcy, G. W., Butler, R. P., & Vogt, S. S. 2000, ApJ, 529, L41 [Google Scholar]
  49. Ho, C. S. K., & Van Eylen, V. 2023, MNRAS, 519, 4056 [NASA ADS] [CrossRef] [Google Scholar]
  50. Howard, A. W., Johnson, J. A., Marcy, G. W., et al. 2011, ApJ, 730, 10 [NASA ADS] [CrossRef] [Google Scholar]
  51. Hunten, D. M., Pepin, R. O., & Walker, J. C. G. 1987, Icarus, 69, 532 [NASA ADS] [CrossRef] [Google Scholar]
  52. Ionov, D. E., & Shematovich, V. I. 2015, Solar Syst. Res., 49, 339 [NASA ADS] [CrossRef] [Google Scholar]
  53. Jin, S., & Mordasini, C. 2018, ApJ, 853, 163 [Google Scholar]
  54. Johnstone, C. P., Bartel, M., & Güdel, M. 2021, A&A, 649, A96 [EDP Sciences] [Google Scholar]
  55. Kempton, E. M. R., Zhang, M., Bean, J. L., et al. 2023, Nature, 620, 67 [NASA ADS] [CrossRef] [Google Scholar]
  56. Khodachenko, M. L., Shaikhislamov, I. F., Lammer, H., et al. 2019, ApJ, 885, 67 [NASA ADS] [CrossRef] [Google Scholar]
  57. Khodachenko, M. L., Shaikhislamov, I. F., Lammer, H., et al. 2021, MNRAS, 507, 3626 [NASA ADS] [CrossRef] [Google Scholar]
  58. Knutson, H. A., Charbonneau, D., Cowan, N. B., et al. 2009, ApJ, 703, 769 [CrossRef] [Google Scholar]
  59. Knutson, H. A., Madhusudhan, N., Cowan, N. B., et al. 2011, ApJ, 735, 27 [NASA ADS] [CrossRef] [Google Scholar]
  60. Koskinen, T. T., Lavvas, P., Harris, M. J., & Yelle, R. V. 2014, Philos. Trans. Roy. Soc. Lond. Ser. A, 372, 20130089 [Google Scholar]
  61. Kubyshkina, D., & Fossati, L. 2022, A&A, 668, A178 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  62. Kubyshkina, D., & Vidotto, A. A. 2021, MNRAS, 504, 2034 [NASA ADS] [CrossRef] [Google Scholar]
  63. Kubyshkina, D., Fossati, L., Erkaev, N. V., et al. 2018, A&A, 619, A151 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  64. Kubyshkina, D., Vidotto, A. A., Fossati, L., & Farrell, E. 2020, MNRAS, 499, 77 [Google Scholar]
  65. Kubyshkina, D., Vidotto, A. A., Villarreal D'Angelo, C., et al. 2022, MNRAS, 510, 2111 [Google Scholar]
  66. Lammer, H., Leitzinger, M., Scherf, M., et al. 2020, Icarus, 339, 113551 [Google Scholar]
  67. Lavie, B., Ehrenreich, D., Bourrier, V., et al. 2017, A&A, 605, A7 [Google Scholar]
  68. Linsky, J. L., Fontenla, J., & France, K. 2014, ApJ, 780, 61 [Google Scholar]
  69. Linssen, D. C., Oklopcic, A., & MacLeod, M. 2022, A&A, 667, A54 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  70. Lopez, E. D., & Fortney, J. J. 2013, ApJ, 776, 2 [Google Scholar]
  71. Loyd, R. O. P., France, K., Youngblood, A., et al. 2016, ApJ, 824, 102 [NASA ADS] [CrossRef] [Google Scholar]
  72. Loyd, R. O. P., France, K., Youngblood, A., et al. 2018, ApJ, 867, 71 [Google Scholar]
  73. Mamajek, E. E. 2009, AIP Conf. Ser., 1158, 3 [Google Scholar]
  74. Mignone, A., Bodo, G., Massaglia, S., et al. 2007, ApJS, 170, 228 [Google Scholar]
  75. Mignone, A., Zanni, C., Tzeferacos, P., et al. 2012, ApJS, 198, 7 [Google Scholar]
  76. Miller, S., Stallard, T., Tennyson, J., & Melin, H. 2013, J. Phys. Chem. A, 117, 9770 [NASA ADS] [CrossRef] [Google Scholar]
  77. Murray-Clay, R. A., Chiang, E. I., & Murray, N. 2009, ApJ, 693, 23 [Google Scholar]
  78. Narita, N., Fukui, A., Ikoma, M., et al. 2013, ApJ, 773, 144 [NASA ADS] [CrossRef] [Google Scholar]
  79. Nortmann, L., Pallé, E., Salz, M., et al. 2018, Science, 362, 1388 [Google Scholar]
  80. Odert, P., Lammer, H., Erkaev, N. V., et al. 2018, Icarus, 307, 327 [NASA ADS] [CrossRef] [Google Scholar]
  81. Odert, P., Erkaev, N. V., Kislyakova, K. G., et al. 2020, A&A, 638, A49 [EDP Sciences] [Google Scholar]
  82. Orell-Miquel, J., Murgas, F., Pallé, E., et al. 2022, A&A, 659, A55 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  83. Owen, J. E., & Schlichting, H. E. 2023, MNRAS, accepted [arXiv:2388.88828] [Google Scholar]
  84. Owen, J. E., & Wu, Y. 2013, ApJ, 775, 105 [Google Scholar]
  85. Owen, J. E., & Wu, Y. 2017, ApJ, 847, 29 [Google Scholar]
  86. Owen, J. E., Shaikhislamov, I. F., Lammer, H., Fossati, L., & Khodachenko, M. L. 2020, Space Sci. Rev., 216, 129 [Google Scholar]
  87. Paxton, B., Schwab, J., Bauer, E. B., et al. 2018, ApJS, 234, 34 [NASA ADS] [CrossRef] [Google Scholar]
  88. Pizzolato, N., Maggio, A., Micela, G., Sciortino, S., & Ventura, P. 2003, A&A, 397, 147 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  89. Rogers, L. A., & Seager, S. 2010, ApJ, 712, 974 [Google Scholar]
  90. Salz, M., Banerjee, R., Mignone, A., et al. 2015, A&A, 576, A21 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  91. Salz, M., Czesla, S., Schneider, P. C., & Schmitt, J. H. M. M. 2016a, A&A, 586, A75 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  92. Salz, M., Schneider, P. C., Czesla, S., & Schmitt, J. H. M. M. 2016b, A&A, 585, L2 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  93. Sandoval, A., Contardo, G., & David, T. J. 2021, ApJ, 911, 117 [CrossRef] [Google Scholar]
  94. Sato, B., Fischer, D. A., Henry, G. W., et al. 2005, ApJ, 633, 465 [NASA ADS] [CrossRef] [Google Scholar]
  95. Schneiter, E. M., Esquivel, A., Villarreal D'Angelo, C. S., et al. 2016, MNRAS, 457, 1666 [NASA ADS] [CrossRef] [Google Scholar]
  96. Shematovich, V. I., Ionov, D. E., & Lammer, H. 2014, A&A, 571, A94 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  97. Silva-Valio, A. 2008, ApJ, 683, L179 [Google Scholar]
  98. Southworth, J. 2010, MNRAS, 408, 1689 [Google Scholar]
  99. Spada, F., Demarque, P., Kim, Y. C., & Sills, A. 2013, ApJ, 776, 87 [NASA ADS] [CrossRef] [Google Scholar]
  100. Spake, J. J., Sing, D. K., Evans, T. M., et al. 2018, Nature, 557, 68 [Google Scholar]
  101. Torres, G., Winn, J. N., & Holman, M. J. 2008, ApJ, 677, 1324 [Google Scholar]
  102. Triaud, A. H. M. J., Anderson, D. R., Collier Cameron, A., et al. 2013, A&A, 551, A80 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  103. Vidal-Madjar, A., Lecavelier des Etangs, A., Désert, J. M., et al. 2003, Nature, 422, 143 [Google Scholar]
  104. Villarreal D'Angelo, C., Esquivel, A., Schneiter, M., & Sgró, M. A. 2018, MNRAS, 479, 3115 [CrossRef] [Google Scholar]
  105. Villarreal D'Angelo, C., Vidotto, A. A., Esquivel, A., Hazra, G., & Youngblood, A. 2021, MNRAS, 501, 4383 [CrossRef] [Google Scholar]
  106. Vissapragada, S., Knutson, H. A., Jovanovic, N., et al. 2020, AJ, 159, 278 [Google Scholar]
  107. Vissapragada, S., Knutson, H. A., dos Santos, L. A., Wang, L., & Dai, F. 2022, ApJ, 927, 96 [NASA ADS] [CrossRef] [Google Scholar]
  108. Waite, J. H., Cravens, T. E., Kozyra, J., et al. 1983, J. Geophys. Res., 88, 6143 [NASA ADS] [CrossRef] [Google Scholar]
  109. Watson, A. J., Donahue, T. M., & Walker, J. C. G. 1981, Icarus, 48, 150 [NASA ADS] [CrossRef] [Google Scholar]
  110. Woods, T. N., & Rottman, G. J. 2002, Geophys. Monogr. Ser., 130, 221 [NASA ADS] [Google Scholar]
  111. Yelle, R., Lammer, H., & Ip, W.-H. 2008, Space Sci. Rev., 139, 437 [Google Scholar]
  112. Youngblood, A., France, K., Loyd, R. O. P., et al. 2016, ApJ, 824, 101 [Google Scholar]
  113. Youngblood, A., France, K., Loyd, R. O. P., et al. 2017, ApJ, 843, 31 [Google Scholar]
  114. Zahnle, K. J., & Kasting, J. F. 1986, Icarus, 68, 462 [NASA ADS] [CrossRef] [Google Scholar]

1

The upper wavelength boundary given here is indicative and depends on the specific spectrum. For the solar spectrum used in this study, the spectrum is available up to 2400 nm, while the spectra taken from the MUSCLES survey (https://archive.stsci.edu/prepds/muscles/) include fluxes up to 5500 nm.

All Tables

Table 1

Parameters of the planets considered for the comparison with the results of Salz et al. (2016a).

Table 2

Basic parameters of the atmospheric outflow predicted by different model configurations for the hot sub-Neptune planet under moderate XUV irradiation (model planet 4.2B in Table A.1).

Table A.1

Input parameters of the synthetic planets considered in the paper.

All Figures

thumbnail Fig. 1

Scheme of the numerical framework. The turquoise area represents the preliminary stage of the simulation carried out by the hydrodynamic code alone. The main stage of the simulation is highlighted in purple, while the yellow and green areas correspond to the data transfer and Cloudy sections. The step marked with an asterisk (*) in the data transfer section (yellow) is optional (see details in Sect. 3.5). Further explanation of the notation can be found in the text.

In the text
thumbnail Fig. 2

Model results obtained for GJ 1214 b. Top: Density (left axis, solid lines) and velocity (right axis, dashed lines) profiles. Bottom: Temperature profiles. In both panels, the green lines are for the results obtained by Salz et al. (2016a), while the black lines are the results obtained from our model with wind advection in the Cloudy computations.

In the text
thumbnail Fig. 3

Stellar X-ray and EUV luminosities adopted by the models described in Sect. 5, as given by the Mors code (blue circles on the black line; Johnstone et al. 2021). For reference, the green line in the background denotes the LX = LEUV level.

In the text
thumbnail Fig. 4

Atmospheric profiles predicted for the hot (1500 K) 5 M sub-Neptune under moderate XUV irradiation (model planet 4.2B in Table A.1). The different line styles correspond to different model configurations, as indicated in the legend located in panel b. From top to bottom, the panels show profiles for volume heating rate (a), mass density (b), temperature (c), and bulk outflow velocity (d) as a function of radial distance. In the case of the basic hydrodynamic code (model #0), the volume heating rate corresponds to the sum of the input from the X-ray and EUV heating functions given in Sect. 2.2 (HX + HEUV). The maximum distance r = 4 Rpl shown in panel a is smaller than that considered in the other panels to facilitate the inspection of the details of the heating functions. The vertical grey line in panels b–d denotes the position of the Roche lobe. The 1015 cm−3 high-density limit of Cloudy lies at the lower boundary.

In the text
thumbnail Fig. 5

Details of the heating profiles obtained from models #1 and #2 for the hot sub-Neptune 4.2B. Panel a: fraction of total photoionisation rate corresponding to the specific irradiation wavelengths as a function of radial distance. The dashed lines are for wavelengths in the X-ray band, while the solid lines are for wavelengths in the EUV band (see legend). Panel b: fraction of absorbed stellar flux (blue and magenta lines corresponding to model #1 and model #2, respectively; left y-axis) and total span of absorbed wavelengths at each given radial distance (grey dotted lines; right y-axis). Panel c: heating efficiency following the last Cloudy iteration of model #1 (blue dash-dotted line), and the last Cloudy iteration of model #2 (magenta solid line). The dashed lines in corresponding colours show the inputs from photoionisation heating only in models #1 and #2. The two black lines at the top show the relative cooling input for model #1 (dash-dotted line) and model #2 (solid line). The grey solid (model#2) and dash-dotted (model#1) lines show for comparison the heating efficiency given by the approximation of Murray-Clay et al. (2009) for the wavelengths that provide the largest input at the given radial distance. In each panel, the two vertical lines give the position of the two maxima of the volume heating rate.

In the text
thumbnail Fig. 6

Volume heating rate predicted by the basic hydrodynamic model #0 (dark blue dotted line) compared to the volume heating rate calculated considering Cloudy for the same density and temperature profiles (light blue dash-dotted line), not accounting for wind advection. These profiles result following the first instance in which Cloudy is run in the code.

In the text
thumbnail Fig. 7

Distribution of hydrogen species against radial distance predicted by model#l. Top panel: numerical densities of neutral atomic hydrogen (blue solid line) and its ions (blue dashed), and H (blue dash-dotted), molecular hydrogen (green solid) and its ions (green dashed), and H3+${\rm{H}}_3^ + $ (violet dashed). Bottom panel: distribution of neutral atomic hydrogen in terms of excitation levels, i.e. numerical densities of hydrogen in 1S (light green solid line), 2S (dark green solid), 2P (dark yellow solid), 3S (black solid), 3P (orange solid), and 3D (violet solid) states. The dotted magenta line gives the summed numerical densities of hydrogen atoms in the energy levels 4S and higher. In both panels, the grey solid line gives the total density of all hydrogen species for reference.

In the text
thumbnail Fig. 8

Distribution of hydrogen and helium species against radial distance predicted by models #3 (top panel) and #4 (bottom panel). The grey solid line gives the total numerical density of all hydrogen species, for reference. The blue lines show the species of atomic hydrogen (solid for neutral H, dashed for H+, and dash-dotted for H), the green lines show molecular hydrogen (solid for neutral H2 and dashed for H+), the violet dashed line shows H3+${\rm{H}}_3^ + $, and the orange lines show helium species (solid for neutral He, dashed for He+, and dotted for He++).

In the text
thumbnail Fig. 9

Volume heating rates and their most relevant contributors (>5% of Htot at each specific r) calculated for the hot 5M sub-Neptune under moderate XUV irradiation. The top, middle, and bottom panels present the results of model#1 (pure hydrogen atmosphere), model#3 (hydrogen+helium), and model #5 (solar composition), respectively. The processes responsible for the heating and the corresponding line styles are given in the legend located above the top panel and with the following notation: Htot – total volume heating rate from all sources; Hlin – iso-sequence line heating; H i – heating due to photoionisation of atomic hydrogen; Hion – collisional ionisation heating (all hydrogen species); H- – H-heating; Hn = 2 – photoionisation from all excited states of hydrogen species; H2ph – H2 photoionisation heating; H2vH – heating by collisional de-excitation of vibrationally excited H2; H2dH – heating by photodissociation of H2 ; He ii – photoionisation of Hen; He i – photoionisation of He i; ChaT – charge transfer heating; Can – metal line heating dominated by absorption of the Can line at 7291.47 Å; O i – photoionisation of O i; Fe i – photoionisation of Fe i.

In the text
thumbnail Fig. 10

Volume cooling rates and their most relevant contributors (> 1 % of Ctot at their maximum) calculated for the hot 5 M sub-Neptune under moderate XUV irradiation. The top, middle, and bottom panels present the results of model#1 (pure hydrogen atmosphere), model#3 (hydrogen+helium), and model #5 (solar composition), respectively. The processes responsible for the cooling, and the corresponding line styles are given in the legend located above the top panel with the following notation: Ctot – total volume cooling from all sources; H-line – atomic hydrogen line cooling; free-free H – bremsstrahlung cooling from hydrogen (and helium, when included in the model); H2-molecule – H2 molecule cooling; H2-line (rotation) – line cooling within a H2 molecule; H+H+H2+${\rm{H}} + {{\rm{H}}^ + } \to {\rm{H}}_2^ + $ cooling due to recombination of H2+${\rm{H}}_2^ + $; H + e → H + hv − cooling due to an electron hitting a hydrogen atom in the ground state loosing its kinetic energy and hydrogen atom can emit a photon; He-line – helium line cooling; C-line – carbon line cooling; Mg-line – magnesium line cooling; Fe-line – iron line cooling. For reference, we include in each panel the advection term including adiabatic cooling from the models with the wind, with the respective composition.

In the text
thumbnail Fig. 11

Comparison of the basic parameters of the atmospheric outflow between models #0 and #1 (panels a-d) and models #0 and #2 (panels e–h). Specifically, the atmospheric mass-loss rate (panels a and e), the outflow density at Rroche (panels b and f), the outflow velocity at Rroche (panels c and g), and the total fraction of ions below Rroche (panels d and h) are compared. In each panel the x-axis corresponds to the value of the specific parameter predicted by model #0 and the y-axis corresponds to the same parameter predicted by model #1 (panels a–d) or model #2 (panels e–h). The different colours correspond to the different equilibrium temperatures and the different symbols correspond to the different planet types, as indicated in the legends in panels a and b. The black dash-dotted lines in each panel show the equality of the parameters predicted by the two models, and the additional grey lines show different ratios of the parameters P obtained from the different models in the form Pmodel#1/#2 = c × Pmodel#0, where the coefficient c is shown in the plots next to each grey line.

In the text
thumbnail Fig. 12

Ion fraction against planetary radial distance as predicted by model #0 (dark blue dotted line), model #1 (light blue dash-dotted line), and model #2 (magenta solid line) for the hot Neptune considered in Sect. 5.2. The grey vertical line denotes the position of the Roche radius.

In the text
thumbnail Fig. 13

Comparison of the basic parameters predicted by models #1 and #3 for the set of planets presented in Sect. 5.1. The colours and symbols are the same as in Fig. 11, and the black lines denote the equality of parameters predicted by the two models. Panel a: mass-loss rate. Panel b: maximum temperature. Panel c: Ratio of the ion fraction predicted by models #1 and #3 at the Roche radius to the parameter Λ.

In the text
thumbnail Fig. 14

Atmospheric proflies for ion fraction (panel a), volume heating rate (panel b), mass density (panel c), and temperature (panel d) predicted by model #3 (hydrogen-helium atmosphere, black lines) and model #5 (solar abundances, green lines) for the hot sub-Neptune planet considered in Sect. 5.2 under different levels of XUV irradiation. The different line styles correspond to the different irradiation levels: FXUV = 1.5 × 106erg s−1 cm−2 (planet 4.2O in Table A.1; solid lines), FXUV = 1.8 × 105 erg s−1 cm−2 (4.2A; dashed lines), FXUV = 2.7 × 104 erg s−1 cm−2 (4.2B; dash-dotted lines), and FXUV = 4.64 × 103 erg s−1 cm−2 (4.2C; dotted lines).

In the text
thumbnail Fig. 15

Spectra used to model the upper atmosphere of GJ 1214 b. The violet line is the scaled solar spectrum, while the blue line is the MUSCLES spectrum for GJ 1214 scaled to the same values of LX, LEUV, and Lbol adopted by Salz et al. (2016a). The flux is scaled to the planetary orbit.

In the text
thumbnail Fig. 16

Atmospheric profiles of GJ 1214 b calculated using model #3 (dashed lines) and model #4 (dash-dotted lines) and employing scaled solar (violet) and MUSCLES (blue) input stellar spectra. For reference, we show the profiles from Salz et al. (2016a) in green. Panel a: Ion fraction. Panel b: Mass density. Panel c: Temperature. Panel d: Bulk velocity.

In the text
thumbnail Fig. B.1

Same as Figure 15, but for GJ 436.

In the text
thumbnail Fig. B.2

Same as Figure 15, but for HD 97658.

In the text
thumbnail Fig. B.3

Same as Figure 16, but for GJ 436 b.

In the text
thumbnail Fig. B.4

Same as Figure 16, but for HD 97658 b.

In the text
thumbnail Fig. C.1

Heating efficiency calculated at the first Cloudy iteration in model #1 (blue dotted line) and the last Cloudy iteration of model #1 (blue dash-dotted line). The grey dash-dotted line denotes the maximum heating efficiency calculated using the approximation from Murray-Clay et al. (2009), while the two vertical lines give the positions of the maxima of the heating function.

In the text

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

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

Initial download of the metrics may take a while.