1 Introduction

Star clusters are one of the possible birthplaces of stars, and dynamical interactions between young stars may significantly affect the early life of its members. However, stars are not the only component of young star clusters: While in its earliest phases a large gas reservoir is also present, we also expect young stars to host planetary systems. In this paper, we explore the behavior of the planetary population which forms around the cluster members and its relation to the environment. The crowded nature of these structures brings cluster stars to experience more or less close encounters between them (for a sample of existing literature, see [1,2,3,4,5,6]). Besides the dynamical effects that encounters have in the evolution of the cluster itself, such as thermal equilibrium and relaxation, we are interested in the consequences that a close encounter between stars may have on a bound planetary system. Such encounters, indeed, can undermine the stability and even the very existence of a planetary system. Stellar encounters could occur while planets are still forming: for a review on this topic, see [7]. A consistent theory for exoplanetary population in star clusters should also include the effect of stellar fly-bys.

These phenomena are crucial for several reasons. Firstly, if a very low survival probability emerges from these kind of studies, this would challenge the apparent ubiquity of planetary systems in the Galaxy (see, e.g., [8]). Also, planetary ejections though fly-bys can be the origin of free floating planets and InterStellar Objects (ISOs). Up to now, only two ISOs were observed, I1/’Oumuamua [9] and I2/Borisov [10] and their origin can be considered within the perspectives of stellar fly-bys on planetary systems [11].

In recent years, the Atacama Large Millimeter Array (ALMA) has revealed that young stars surrounded by a disk often display significant substructure in the disk morphology at a distance of \(\approx 100\) au from the star, which are typically interpreted as the effect of the presence of a planet [12]. The origin of these substructures is still under debate, and they can be due to several other factors, such as stellar encounters or dead zones. In this paper, we assume that these structures are due to the presence of planets. Such young planet population is thus relatively weakly bound to their host star and may thus be more susceptible to ejection due to stellar fly-bys.

The aim of the present paper is to analyze the frequency of close stellar fly-bys inside star clusters and determine the survival probability of a (weakly bound) planet after such an event. We also find a relation between the property of the cluster and the planetary ejection rate, in order to provide a general guideline to describe the outcome of an encounter.

The paper is organized as follows: in Sect. 2, we describe the statistical and dynamical methods used in this work; in Sect. 3, we present and discuss our main results; in Sect. 4, we draw our conclusions.

2 Methods

Our methodology consists of the following steps. We consider a “target" young planetary system, composed of a host star and one single planet in a relatively weakly bound orbit (consistent with the expected population of young planets from ALMA studies). Then, we construct an ensemble of orbital properties for a second star (the "perturber"), by extracting them through Montecarlo sampling from a thermal distribution of stars within a star cluster of known physical parameters. For each of the encounter parameters considered, we evolve a three-body simulation involving the "target" star-planet system and the perturber. After the fly-by, we compute the orbital elements of the planet with respect to its host star and thus determine ejection and retention rates.

2.1 Modeling the stellar cluster

We assume that the stellar cluster is described using the Plummer model [13], a simple and spherically symmetric model (see, e.g., [1, 6, 14]). The density profile is thus given by:

$$\begin{aligned} \rho (R) = \frac{3M_{\text {cl}}}{4\pi R_{0}^3}\frac{1}{[1+(R/R_{0})^2]^{5/2}}, \end{aligned}$$
(1)

where R is the distance from the centre of the cluster, \(M_{\text {cl}}\) is the cluster mass and \(R_0\) is a scale radius connected to the half mass radius as \(R_{\text {h}} \approx 1.305 R_0\) and to the cluster core radius as \(R_{\text {c}} = R_0/\sqrt{2}\). Considering the cluster in virial equilibrium, the thermal velocity of the stars is given by [5]:

$$\begin{aligned} v_T = \bigg (\frac{3 \pi G M_{\text {cl}}}{32 R_0}\bigg )^{1/2}, \end{aligned}$$
(2)

which provides a typical scale for the speed of the stars in the cluster. The stellar masses are drawn from the initial mass function of Kroupa [15], with a minimum mass of \(0.015 M_{\odot }\). We did not set an upper limit since the distribution rapidly decrease for higher masses, so the probability to extract an extremely massive star is negligible. The initial velocity \(v_\infty\) of the perturber at infinity, where the gravitational interaction with the host system is negligible, is drawn from a Maxwell–Boltzmann distribution

$$\begin{aligned} f(v_{\infty }) := \frac{\text {d}P(v_{\infty })}{\text {d}v_{\infty }} = \sqrt{\frac{6}{\pi }}\frac{3v_{\infty }^2}{v_{T}^3}\exp \biggl (-\frac{3v_{\infty }^2}{2v_{T}^2} \biggr ). \end{aligned}$$
(3)

Here, to use the Maxwell–Boltzmann distribution, we assumed that the cluster is virialized but not relaxed, an hypothesis that needs to be tested. To this effect, we calculate the relaxation and evaporation time of the cluster and assume that our model is valid for times shorter than the cluster relaxation time. A rough estimate of the relaxation time \(\tau _{\text {relax}}\) is given by (see [5])

$$\begin{aligned} \tau _{\text {relax}} \approx \frac{0.1 N}{\ln N} \tau _{\text {cross}}, \end{aligned}$$
(4)

where N is the number of stars in the cluster and the crossing time \(\tau _{\text {cross}}\) follows from

$$\begin{aligned} \tau _{\text {cross}} \approx \frac{2R_{\text {c}}}{v_T}. \end{aligned}$$
(5)

The values of these times for the different clusters considered here are reported in Tables 3 and 4.

We have constructed several different realizations of the model, by varying the cluster properties (its mass and radius). The cluster mass and the cluster core radius (and so the parameter \(R_0\)) are not independent, but we chose them in order to qualitatively follow a power-law fit that we have extrapolated from the observed cluster properties as reported in [16] (we excluded from the fit the sub-cluster of the Trapezium, because it is an outlier and we chose to focus on more regular clusters). We have interpolated the data using the formula

$$\begin{aligned} \frac{M_{\text {cl}}}{M_{\odot }} = \alpha \bigg (\frac{R_{\text {c}}}{\text {1pc}}\bigg )^{\beta } \end{aligned}$$
(6)

and the parameters of the fit are these:

$$\begin{aligned} \alpha = 345 \pm 17, \end{aligned}$$
(7)
$$\begin{aligned} \beta = 1.784 \pm 0.080. \end{aligned}$$
(8)

The fit and the data from the article are reported in Fig. 1, where we plot also the simulated parameters for the clusters. We report in Tables 3 and 4 the values of the different parameters used in the simulations.

Fig. 1
figure 1

Cluster mass as a function of the cluster core radius. Black points are observed clusters from [16], red points indicate the model clusters employed here. The dashed line is a fit of the observed points

2.2 Encounter rates and total number of encounters

In order to estimate the encounter rates and the total number of encounters in an open cluster, we use a cross-section argument. We define the cross section \(\sigma\) for two stars having a relative velocity at infinity \(v_{\infty }\) and pericenter \(R_{\text {p}}\). The cross section can be written as (see [1, 17, 18]):

$$\begin{aligned} \sigma = 2 \pi R_{\text {p}}^2 \biggr ( 1 + \frac{G M_{\text {tot}}}{R_{\text {p}} v_{\infty }^2} \biggr ), \end{aligned}$$
(9)

where \(M_{\textrm{tot}}\) is the total mass of the two stars and the second term in brackets expresses gravitational focussing.

We can now write the total number of encounters \(N_{\text {enc}}\) within a given time \(\tau\) as

$$\begin{aligned} N_{\text {enc}} = \int _{0}^{\tau } n \sigma \bar{v} \text{ d }t\approx n \sigma \bar{v} \tau , \end{aligned}$$
(10)

where in the last equality we have considered the terms in the integral to be independent on time (an assumption that will be discussed below), n is the number density of the Plummer sphere at the core radius and \(\bar{v}\) is the mean velocity of the encounter, which will be set to \(v_{\text {T}}\).

The encounter rate is thus given by (where we set also \(v_{\infty } = v_{\text {T}}\))

$$\begin{aligned} \begin{aligned} f&= \frac{N_{\text {enc}}}{\tau } \\&\approx 3 \cdot 10^{-3} \bigg (\frac{N}{10^3}\bigg )^{3/2} \bigg ( \frac{R_{\text {c}}}{1 \text {pc}} \bigg )^{-7/2} \bigg ( 1 + 2.152 \bigg ( \frac{M_{\text {tot}}}{M_{\odot } } \bigg ) \bigg ( \frac{R_{\text {c}}}{1 \text {pc} } \bigg ) \bigg ) \bigg ( \frac{N}{10^3 } \bigg )^{-1} \bigg ) \text {My}^{-1}. \end{aligned} \end{aligned}$$
(11)

The typical encounter timescale is \(T=1/n\sigma \bar{v}\). In the limit where gravitational focussing dominates (\(GM_{\textrm{tot}}/R_{\textrm{p}} \gg v^2_{\infty }\)), we thus obtain the following estimate for T:

$$\begin{aligned} T \approx 37 \text {My} \biggl (\frac{100 \text {pc}^{-3}}{n}\biggr )\biggl (\frac{v_{\infty }}{1 \text {km/s}} \biggr ) \biggl (\frac{10^3 \text {au}}{R_{\text {p}}}\biggr ) \biggl ( \frac{M_{\odot }}{M_{\text {host}}}\biggr ). \end{aligned}$$
(12)

The result above is in good agreement with the result reported in [4, 19].

The result above is affected by many approximations, which will be discussed below, that limit the validity of the obtained results to the early stages of life of the open clusters, before the relaxation. It is also interesting to note that, as reported in Table 6 in Appendix, in the various clusters almost no star experienced a close fly by (with pericenter smaller than 1000 au) before the relaxation time. We will discuss all these results in the next sections.

2.3 Encounters in planetary systems

We choose a set of five model planetary systems composed by a star and a single orbiting planet, in order to investigate their differences in terms of emission rates. We built a “Standard” system, with a host mass of \(1M_\odot\) a planet mass of \(1M_{\textrm{Jup}}\) (Jupiter mass) at a distance of 100 au, while the other four have parameters corresponding to existing stars with hints of having young planets at large distances, based on dust morphologies observed with ALMA. Their fundamental characteristics are listed in Table 1.

Table 1 List of all planetary systems studied ([12, 20,21,22]).

First of all, we choose to consider as encounters, according to the current literature too (see, e.g., [2]), events in which the perturber reaches a pericentre distance below 1000 au. Consequently, we compute the distribution of the pericentres between 0 and 1000 au from the cross-section argument. It reads

$$\begin{aligned} \frac{\text {d} P(r_{\textrm{p}})}{\text {d} r_{\textrm{p}}}= \frac{2r_{\textrm{p}}+ GM_{\textrm{tot}}/v_\infty ^2}{(R_{\textrm{p}}^{\textrm{max}})^2+ GR_{\textrm{p}}^{\textrm{max}}M_{\textrm{tot}}/v_\infty ^2 }, \end{aligned}$$
(13)

where \(P(r_{\textrm{p}})= N_{\textrm{enc}}(r_{\textrm{p}}, t)/N_{\textrm{enc}}(R_{\textrm{p}}^{\textrm{max}}, t)\), \(r_{\textrm{p}}\) is the pericentre distance and \(R_{\textrm{p}}^{\textrm{max}} = 1000\) au.

The orbital properties of the encounter, including the perturber mass and relative velocity, are instead randomly selected according to the chosen cluster features (as described above). Then we extract the three angles that determine the relative inclination of the perturber orbit with respect to the orbital plane of the planet. The distribution of inclination I is uniform in the varaiable \(\cos {I}\), with \(I \in [0, \pi ]\), while the distributions of the longitude of the ascending node \(\Omega\) and the argument of pericentre \(\omega\) are uniform in \(\Omega\) and \(\omega\), with \(\Omega \in [0, 2\pi )\) and \(\omega \in [0, \pi )\). Finally, we draw the pericentre distance \(r_{\textrm{p}}\) from the distribution (13) and \(v_\infty\) from the velocity distribution described in Sect. 2.1.

2.4 Numerical simulations

We tested our planetary systems with a wide variety of star clusters. We generated several different clusters, all of them through the Plummer model described in Sect. 2.1, and we extracted 10,000 initial conditions for each of them. We report the characteristics of these clusters and their details in Appendix A.

Fig. 2
figure 2

Flowchart of the code

We define the beginning of the encounter by setting the initial distance of the perturber to 5000 au, since the planet-perturber potential energy can be safely neglected with respect to the host-planet one at such a distance. The end of the encounter, and consequently of the single numerical simulation, happens when the perturber reaches a distance of 5000 au from the host again. The initial velocity of the perturber is set equal to \(v_\infty\).

We solve the three-body problem via standard integration techniques. We developed a code which employs a leapfrog method of integration [23], since it is a symplectic second-order algorithm. We report a flowchart of the code in Fig. 2. In order to numerically determine the outcome of an encounter, we computed at the end of each simulation the host-planet binding energy and the perturber-planet binding energy, assuming that these two couples were two independent two-body systems. We can safely make this hypotesis, since the host and the perturber stand at a very large distance at the end of a simulation (5000 au). Hence if the host-planet energy is negative, the planet is considered to be still bound to the host; if the host-planet energy is positive, the planet is considered to be torn away from the host. This is what we call emission. If the planet-perturber system energy is negative, the planet is considered to be captured by the perturber. We tested the stability and the precision of our code on particular two-body systems with very high eccentricities. We adopt a softening parameter for all the three bodies, which is set to \(\varepsilon =0.005\) au.

3 Results and discussion

The main result we present in this paper is the direct connection between emission rates and cluster thermal velocities. We define the emission probability \(P_{\textrm{em}}\) as \(P_{\textrm{em}}= N_{\textrm{em}}/N_{\textrm{tot}}\), where \(N_{\textrm{em}}\) is the total number of emission found for a single set of initial conditions and \(N_{\textrm{tot}}=10,000\) is the total number of encounters simulated for each set of initial conditions. We found a linear power law correlation between the emission probability and the cluster thermal velocities:

$$\begin{aligned} P_{\textrm{em}} (v_{\textrm{T}})= -A \cdot \frac{v_{\textrm{T}}}{1 \ \mathrm {km/s}} + B. \end{aligned}$$
(14)

In Table 2, we list the fitted values for the coefficients AB and their uncertainties \(\sigma _A, \sigma _B\). As we can see in Fig. 3 too, the emission probabilities are quite low: the highest of them is around \(2.7\%\) for the GO Tau system. We obtain that the mean value of the pericentre distribution is roughly 500 au. The pericentre distribution itself grows monothonically, leaving few perturbers within the 500 au threshold. This is probably the main cause of the lack of emissions, since the tested planets orbit their star no further than 100 au. Another relevant aspect that surely influenced this outcome is the mass distribution of the perturber. The Kroupa IMF [15] indeed has a mean value of \(0.46 M_\odot\), generally lower than the host mass. The rareness of (sufficiently) high mass perturbers combined with the lack of very close encounters hence leads to generally low emission probabilities for all the tested systems, independently from their binding energy.

Fig. 3
figure 3

Emission probability as a function of thermal velocity \(v_{\textrm{T}}\) for all planetary systems. The coloured dots represent the data points we obtained for each planetary system, while the solid lines are the respective best fit lines for them

Table 2 Numerical values of fit coefficients AB with their errors \(\sigma _A, \sigma _B\)

The dynamical argument standing behind the dependence on thermal velocity is the effective time scale during which linear momentum can be transferred from the perturber to the planet. If we consider the planet as a test particle, then we can neglect the momentum transferred from the planet to the perturber. We can justify this approximation by noticing that the ratio between the planet mass and the perturber mass sits always below \(10^{-2}\). From the definition of the momentum change \(\Delta \vec {p}\), we can immediately write the following inequalities:

$$\begin{aligned} 0 \le \vert \Delta \vec {p} (t)\vert = \left| \int _{t_0}^t \vec {F}_{\textrm{pp}} (\vec {r}) \ \text {d}t' \right| \le \int _{t_0}^t \vert \vec {F}_{\textrm{pp}} (\vec {r})\vert \ \text {d}t'. \end{aligned}$$
(15)

where \(\vec {F}_{\textrm{pp}} (\vec {r})\) is the perturber gravitational pull acting on the planet and t is the time passed since the instant \(t_0\) in which the encounter begins. Inequality (15) states that a longer fly-by time allows a larger interval for \(\vert \Delta \vec {p} (t)\vert\) to span during the encounter. Hence rasing the momentum transferred \(\vert \Delta \vec {p} (t)\vert\) threshold could become crucial for a planet in order to overcome the host escape velocity. Furthermore, the fly-by duration is directly related to the initial velocity \(v_\infty\) and consequently to \(v_{\textrm{T}}\). A high \(v_{\textrm{T}}\) indeed allows encounters with a high \(v_\infty\) (and a small interaction time) to happen more frequently. Vice versa, a low \(v_{\textrm{T}}\) makes rare rapid encounters, allowing more planets to escape their hosts.

We present in Fig. 4 a relation between emission rates and the inclination angle I. This relation is taken from the dataset of the Standard system at low thermal velocity, where emissions are more abundant. Similar results are found for the other tested systems. We can easily expect higher emission rates for prograde encounters, since the relative velocity between the planet and the perturber is lower, and consequently, it is easier to transfer momentum to the planet. Unexpectedly, we find a rise of probabilities for retrograde events. However, the available statistic for these events is still low to ensure that this is a real feature of encounters. We think that this rise is caused by two (or more) consecutive encounters between the planet and the perturber, where the first encounter triggers the second. This behavior of planetary systems on retrograde encounters can be an interesting topic for future papers.

The second main result we report is the calculation of the encounter rates in an open star cluster and the probability that an encounter between a star from the star cluster, and an host system leads to an emission of the planet orbiting around the latter one. This probability is simply calculated by multiplying the encounter rates by the emission rates presented before. For the encounter rates, in Appendix B we report all the encounter rates f calculated for the parameters of the different simulations, while in Fig. 5 we plot the rates f as a function of the cluster core radius and of the different number of stars in the cluster.

Fig. 4
figure 4

The effect of inclinations on emission events. We named “expulsion” an emission event in which the planet, after the encounter, is gravitationally unbound from both the host and the perturber. We named “capture” an emission event in which the planet leaves its host star and it is captured by the perturber. The amount of emissions is the sum of expulsion and capture events number. An inclination of \(0^\circ\) corresponds to a fully prograde encounter, vice versa an inclination of \(180^\circ\) stands for a fully retrograde encounter

Instead of reporting the results found for the simulation, which are strongly dependent on the chosen cluster parameters, we focus on presenting the values that are compatible with the correlation between mass and core radius found in Sect. 2.1. As it can be seen, there are not many differences and the encounter rates goes from \(\approx\) 1 encounter every Myears, for very dense clusters, to 1 encounter every hundreds Myears, for the less dense clusters.

Fig. 5
figure 5

Encounter rates for every host system, they are sorted from the left to the right and from the top to the bottom. N is the number of stars in the cluster, the blue dashed line is the power law fit presented in eq. (6) and the red dot are the simulated clusters, which parameters are reported in Tables 3 and 4

We finally notice the existence of a relation between emission rates and the mean eccentricity of the perturbers. We observe decreasing emission rates as the mean eccentricity rises. This behavior is also related to the role of thermal velocity. In a two-body hyperbolic orbit, the eccentricity e is related to the encounter velocity as

$$\begin{aligned} e= 1+ \frac{r_{\textrm{p}} v_\infty ^2}{G(M_1+M_2)}. \end{aligned}$$
(16)

The quadratic dependence from \(v_\infty\) explains, through its distribution, the role of thermal velocity in the emission-eccentricity relation. A bit of information here is added by the contribution of the pericentre distance \(r_{\textrm{p}}\), which can occasionally balance the \(v_\infty\) term. We also find, unsurprisingly, that the emission probability grows with the perturber mass and it is decreasing with the pericentre distance, as depicted in Fig. 6.

Fig. 6
figure 6

On the left panel, we draw an example, taken from GO Tau dataset, of the dependence of emission probabilities on the mass of the perturber. On the right panel, instead we report an example, taken from Standard system dataset, of the dependence of emission probabilities on the pericentre of the perturber. Similar results are found for the other systems

3.1 Discussion of results

Let us start discussing the approximations done, and how they influenced the results. First of all, we assumed the cluster to be in virial equilibrium, this is a sensible approximation since the time it takes for the cluster to virialize is much shorter than the relaxation time. For the distribution of the speed at infinity, we used a Maxwell–Boltzmann distribution, which would assume a high frequency of encounters/interactions between the stars in the cluster with respect to the relaxation time. Now, this hypothesis, a posteriori, is not verified so the only thing we can assume is that the distribution of the speeds is not very different from the Maxwell–Boltzmann one. However, assuming a quasi-virialized velocity distribution does not affect our results heavily. Since we found a relation between thermal velocities and emission rates, for a quasi-virialized cluster it will be sufficient to compute an “effective” thermal velocity from the virial theorem (see [5]) in order to use such relation and obtain a corrected result.

Secondly, in order to describe the density profile of the cluster, we used the Plummer model, which does not contain a time dependence and does not take in consideration relaxation effects.

Furthermore we can see that, since we have no time dependencies in eq. (10), the rate is constant and so the number of encounter increases linearly with time, which can not be true due to cluster relaxation mechanisms and as shown trough N-body simulations (see [1] for example). These are the main reasons for which we can assume that our results are valid only during the early stages of life of the cluster and before the relaxation. Obviously, more accurate assumption should be done in order to predict the rates of encounter valid also after the relaxation. For example, we could insert a time dependence in the mass density of the cluster following the values found in [24]. Another way to consider the relaxation effects could be to consider a cross section dependent on the number of encounters: This could be an interesting topic for further studies.

Another aspect that deserves to be discussed is the possibility of having more than a single planet (or star!) in the considered planetary system. In our work, we do not consider these possibilities too, but we can make a comparison with the existing literature. We refer to the work by Li et al. [25] for the effects of the presence of binaries in the considered clusters. It is shown how binary systems are much more effective in triggering the emission of a planet from its host star. On the planetary side, the case of multiplanetary systems has been explored by Davies et al. [1], who consider the behavior of four giant planets after a close stellar fly-by. Here planet-planet scattering phenomena acquire great importance after the encounter, eventually leading the system to disruption. But when these effects of mutual planet interaction are negligible, which happens when the encounter is grazing, they find a fraction \(f_{\textrm{ion}}\) of immediately ejected planet of \(\approx 1\%-3\%\), consistent with our results.

We can provide a check of our results through the work of Fujii and Hori [6]. We approached semi-analytically the encounter rate problem, and we explored numerically the effective encounter dynamics. Vice versa, Fujii and Hori made numerical simulations for the cluster dynamics and determined through semi-analytical methods the outcome of close star encounters. We found a range of values for the rates of emission of a planet through the quantity \(f_{\text {ejected}}\), defined as follows:

$$\begin{aligned} f_{\text {ejected}} = f P_{\text {em}} t, \end{aligned}$$
(17)

where t is the time passed since the birth of the cluster. The result is reported in Fig. 7, which has to be compared with Fig. 7, model w3-ld, of Fujii and Hori [6]. There is a large variability in our results, because the host-planet distance varies for each planetary system and we simulate clusters with different parameters. Anyway, our results describe low-density clusters (according to the distinction made in [6]) and, remembering Table 1, we are interested in the fraction of emitted planets with distance from the star between 10 and 100 au. Hence we obtained from Eq. 17 a range of values, in which we highlight the average fraction. Fujii and Hori for this kind of planetary systems find \(f_{\text {ejected}} \approx 10^{-3}\) at 10 Myr, and their emission rates for planets with distance from the star between 10 and 100 au are well placed into our simulations range of Fig. 7. We can state that there is a significant overlap between our results and the one reported in the article.

In summary, our results are consistent with the existing stellar cluster based planet formation studies and they add more quantitative information to be compared with [1, 3, 4, 6].

Fig. 7
figure 7

Fraction of emitted planets as a function of the time (the range of the axes is chosen to ease the comparison with Fig. 7, Model w3-ld, of the work [6]). The blue region represents the range of possible values obtained from the simulations. The red line is a rough estimate of the average values found in the simulations

4 Summary and conclusions

We have modeled a series of star clusters, according to the observed power law in [16], in order to obtain the encounter rates between stars. For each cluster, we used the Plummer model [13] and the initial mass function (IMF) from Kroupa [15], while we varied the core radius and the number of stars. Our models and approximations provided those values for a limited time interval over the clusters lifetime. We indeed refer our results to the early times after the clusters formation, safely before that the relaxation time occurs. From each cluster we inferred the distribution of velocities and the distribution of pericenters in order to perform numerical simulations of the encounters. We employed a wide set of clusters for each tested system: we wanted indeed to sample as better as we could a realistic interval of thermal velocities. This interval is once again derived from the data in [16], reported in Fig. 1, using Eq. 2. We tested five different planetary systems, each one underwent 10,000 encounters with fellow cluster members.

  1. 1

    We found encounter rates that span between 1 encounter/Myr, for high density clusters, to \(\approx 10^{-2}\) encounters/Myr, for very low density clusters. Our method led to a result that is in good agreement with the work by Pfalzner [4].

  2. 2

    From the numerical simulations performed, we obtained the emission rates (or survival probabilities) for a sample of planetary systems. The emission probability for a single encounter we found is generally small, below 3%, hence a single planet has quite a high probability to survive after a close encounter. Planetary systems with more than a single planet involve further complications than the single perturber pull: Davies et al. [1] investigated this branch of the problem. They also found a fraction \(f_{\textrm{ion}}\) of immediately ejected planets that is in good agreement with our results, since in an immediate emission event we can neglect the effects of planet-planet scattering.

  3. 3

    We observed a direct relation between emission rates and the thermal velocity of the considered clusters. This relation can be expressed as a linear power law for all the tested systems: Hence we saw how the environment can influence his own planetary population. Comparing emission rates with the mean eccentricity provides an indirect way to see this relation and adds the contribution of the pericentre distance. We also checked that parameters such as the perturber mass, the pericentre distance or the perturber inclination influence the encounter outcome in the usually expected way.

In summary, we studied the relation between a planetary system and its external environment by directly testing the environment influence on the actual encounters. We saw how this environment affects the planetary populations hosted and the timescales on which this process acts. Our numerical approach allows to compute the emission probabilities with an accuracy that is way better than through the existing semianalytical methods. Further studies may enlighten some aspects we neglected or improve the approximations we made. A worthy advance could be made by studying the behavior of emission rates after the cluster relaxation and the differences with the early times here analyzed. Still on the early times of the cluster, it could be improved this study by picking a non-equilibruim velocity distribution for the stars. It could also be interesting to investigate more thoroughly the dynamics of the fully retrograde encounter, checking if it effectively leads to a rise of emissions.