1 Introduction

The study of particle dynamics and photon orbits in black hole spacetimes is very important from the astrophysical point of view. This study enables us to comprehend the strong gravitational field around black holes. The recent observation of gravitational waves from the merger of binary black holes [1], has increased our interest in the investigation of the black hole dynamics. Particle motion in the vicinity of black holes helps in understanding astrophysical phenomena such as perihelion shift, deflection of light, gravitational lensing, quasi-periodic oscillations of particles, and gravitational time dilation [2, 3]. The circular timelike and null geodesics explain the nature of the accretion disks around black holes where the particles are in circular motion. The investigation of the circular motion of photons around black holes may enhance our understanding of gravitational lensing, which is not only to distorts the image of the background galaxy but can also amplify its light. The radial null and timelike geodesics describe the formation jets in black hole spacetimes where the particle moves radially. A vast literature exist on the timelike and null particle motion in black hole spacetimes [4,5,6,7,8,9,10,11,12,13]. Different authors have been considered charged and neutral particle motion in the vicinity of different static and rotating black holes with and without charge [14,15,16,17,18,19]. The effect of different fields, including magnetic field, quintessence field, perfect fluid, and string clouds, has been investigated on the motion of massive and massless particles around black holes [20,21,22,23,24,25,26,27]. Particle dynamics have also been discussed in the theories of gravity other than General Relativity, in order to obtain some constraints on the different parameters involved in the theories (see for example [28,29,30,31,32,33,34,35]).

The null and timelike geodesic motion for both the circular and radial cases in the Schwarzschild black hole has been analyzed [36, 37]. Israel has shown that in the Schwarzschild black hole, in the radial motion, particles appear to slow down as they fall towards the Schwarzschild black hole released from rest at infinity [38]. He has further observed that the circular orbits with radii less than three times the Schwarzschild radius are unstable. These geodesics have also been investigated in the Ads-Schwarzschild black hole spacetime, and the effect of the cosmological constant has been observed on the circular orbits of the particle [39]. Recently the effects of the string clouds, which are a collection of strings formed in the early stages in the development of our Universe due to symmetry breaking, have been investigated on the null and timelike geodesics around the Schwarzschild black hole [13]. There it has been observed that in the presence of the string cloud parameter, the radii of the circular orbits is bigger than the radii of the circular orbits in the Schwarzschild black hole in the absence of the string cloud parameter. Further, it is observed there, with the increase in the value of the string cloud parameter, the particle can more easily escape to infinity. In another recent work, the effect of the quintessence, which is an appealing candidate for the accelerated expansion of our Universe, has been studied on the motion of particles in the spacetime of the Schwarzschild black hole [12], where it is shown that the quintessence field pushes the circular orbits away from the central object, i.e., the radii of the circular orbits are larger than the radii of the circular orbits in the pure Schwarzschild case. Null particle dynamics in the Schwarzschild black hole with quintessence have been analyzed by Fernando for some particular values of the equation of state parameter [40].

In the present work, we are interested in investigating the null and the timelike geodesics in the Schwarzschild black hole in the presence of both the string clouds and quintessence to examine their combined effects on the motion of particles. The details are given in the subsequent sections. The work done here may be of interest in developing new tests of the theory of General Relativity to get corresponding constraints on the parameters involved here. In the next section, we study the radial motion for both massive and massless particles in the vicinity of the Schwarzschild black hole with quintessence and string clouds. In Sect. 3, we consider null and timelike circular geodesics in the spacetime geometry of the same black hole. The last section is devoted to the summary and discussion of our work.

2 Basic calculations of particle trajectories

The spherically symmetric and static spacetime in the background of quintessence and cloud of strings is given as [41, 42]:

$$\begin{aligned} ds^{2}= & {} -\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{3\omega _{q}+1}}\right) dt^{2}\nonumber \\&+\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{3\omega _{q}+1}}\right) ^{-1}dr^2\nonumber \\&+r^{2}(d\theta ^{2}+sin^{2}\theta d\phi ^{2}), \end{aligned}$$
(1)

where \(\omega _{q}\), M, a, and q are the equation of state parameter (EoS) for quintessence field, mass of the black hole, string cloud parameter, and quintessence parameter respectively. The EoS parameter for the quintessence field has the values, i.e., \(-1<\omega _{q}<-\frac{1}{3}\) [43]. The present study is restricted to the case when \(\omega _{q}=\frac{-2}{3}\). In the absence of a and q, the above spacetime can be reduced to the Schwarzschild spacetime. The horizon structure of the spacetime given by Eq. (1) for \(\omega _{q}=\frac{-2}{3}\), is given as

$$\begin{aligned}&r_{q}=\frac{1-a+\sqrt{a^2-2 a-8 M q+1}}{2 q},\nonumber \\&r_{e}=\frac{1-a-\sqrt{a^2-2 a-8 M q+1}}{2 q}. \end{aligned}$$
(2)

For the quantity in the square root, in Eq. (2), to be positive we have \(0<q<\frac{a^2-2 a+1}{8 M}\) and \(0<a<1\). The root of the laps function, given by \(r_{q}\), is the horizon due to the quintessence term, which corresponds to the cosmological horizon and the other root represented by \(r_{e}\) corresponds to the event horizon. The presence of the string clouds and quintessence field increase \(r_{e}\). The \(r_{e}\), in the required limits reduces to the horizon of the Schwarzschild spacetime i.e. when \(a\rightarrow 0\) and \(q\rightarrow 0\), \(r_{e}=2M\). From the intervals obtained here for q and a, we find the region for the existence of the black hole, presented in the Fig. 1.

Fig. 1
figure 1

Shows the trusted region, where we can discuss the geodesic motions of the black hole. The shaded region shows the constraint on the cloud of strings and quintessence parameters, i.e., \(0<a<1\) and \(0<q<0.125\)

Fig. 2
figure 2

Shows the graphic analysis of \(r_{q}\) in first row and \(r_{e}\) in second row for the different possible values of a and q. The left panel of the first row represents \(q=0.00007\) (blue), \(q=0.00009\) (black), and \(q=0.00011\) (red). The right panel of the first row represents \(a=0.01\) (blue), \(a=0.17\) (black), and \(a=0.28\) (red). The left panel of the second row represents \(q=0.00007\) (blue), \(q=0.00009\) (black), and \(q=0.00011\) (red). The right panel of the second row represents \(a=0.01\) (blue), \(a=0.17\) (black), and \(a=0.28\) (red)

The behavior of both the horizons, i.e., \(r_{q}\) and \(r_{e}\) can be seen from the Fig. 2 for the different possible values of the string cloud parameter a and the quintessence parameter q.

The Lagrangian for the metric given by Eq. (1) with \(\omega _q=\frac{-2}{3}\) is

$$\begin{aligned} {\mathfrak {L}}= & {} \frac{m}{2}g_{\mu \nu }\dot{y}^{\mu }\dot{y}^{\nu }=m\bigg (-\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) \frac{\dot{t}^{2}}{2}\nonumber \\&+\frac{\dot{r}^{2}}{2\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) }+\frac{r^{2}}{2}(\dot{\theta }^{2}+sin^{2}\theta \dot{\phi }^{2})\bigg ). \end{aligned}$$
(3)

For this Lagrangian we have the following two conserved quantities, the specific energy E and the specific angular momentum L of the particle

$$\begin{aligned} \dot{t}= & {} -E\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) ^{-1}, \end{aligned}$$
(4)
$$\begin{aligned} \dot{\phi }= & {} \frac{L}{r^{2}sin^{2}\theta }, \end{aligned}$$
(5)

In the equatorial plane, i.e. we take \(\theta =\frac{\pi }{2}\), Eq. (3) becomes

$$\begin{aligned}&-\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) \dot{t}^{2}\nonumber \\&\quad +\frac{\dot{r}^{2}}{\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) }+r^{2}\dot{\phi }^{2}=-\zeta , \end{aligned}$$
(6)

where \(\zeta =0,1\) is used to define the null and timelike geodesics respectively. Using the normalization condition \(u^a u_a =-1\), the equation of motion is

$$\begin{aligned} \bigg (\frac{dr}{d\chi }\bigg )^{2}+ V_{eff}(r)=E^{2}, \end{aligned}$$
(7)

where

$$\begin{aligned} V_{eff}(r)= \left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) \left( \zeta +\frac{L^2}{r^2}\right) , \end{aligned}$$
(8)

represents the effective potential.

3 Radial geodesic motion

In this section, we explore the radial geodesics of particles in the black hole spacetime given by Eq. (1). In this regard, \(\dot{\phi }=0\) and the angular momentum vanishes, i.e., \(L=0\). Now, Eq. (7) takes the following form

$$\begin{aligned} \bigg (\frac{dr}{d\chi }\bigg )^{2}+ \zeta \times \left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) =E^{2}. \end{aligned}$$
(9)

3.1 Null radial geodesics

Here we discuss the null geodesics, i.e., the motion of massless particles by employing \(\zeta =0\) in Eq. (9), we obtain

$$\begin{aligned} \bigg (\frac{dr}{d\chi }\bigg )^{2}=E^{2}. \end{aligned}$$
(10)
Fig. 3
figure 3

Shows the behavior of t for the different possible values of a and q. The left panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.7\). The middle panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.8\). The right panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.9\). The left panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.05\). The middle panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.06\). The right panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.07\)

From Eqs. (4) and (10), we get the following relation

$$\begin{aligned} \bigg (\frac{dr}{dt}\bigg )=\pm \left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) . \end{aligned}$$
(11)

Integrating Eq. (11) we arrive at the expression for the coordinate time t for the outgoing and ingoing photons as

$$\begin{aligned} t=\frac{\pm \log (r (a+q r-1)+2 M)\mp \frac{2 (a-1) \tan ^{-1}\left( \frac{a+2 q r-1}{\sqrt{8 M q-(a-1)^2}}\right) }{\sqrt{8 M q-(a-1)^2}}}{2 q}.\nonumber \\ \end{aligned}$$
(12)

From the Fig. 3 it can be seen that with an increase in the values of both the parameters a and q, the time t decreases and as the photon getting closer and closer to the horizon of the black hole, there appears a turning point, after which, the effect of the quintessence field is just opposite on the time t. It means that in the presence of the string clouds and quintessence, for an external observer the particle first moving faster towards the black hole and after passing the turning point then it slows down under the influence of the quintessence field. This observation shows that the particle takes shorter to reach the horizon as compared to the case of the pure Schwarzschild black hole [38].

3.2 Timelike geodesics

For the timelike geodesics, we choose \(\zeta =1\), and Eq. (9) becomes

$$\begin{aligned} \bigg (\frac{dr}{d\tau }\bigg )=\sqrt{E^{2}-\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) }. \end{aligned}$$
(13)

The above Eq. (13) provides the following relation

$$\begin{aligned} \ddot{r}=-\frac{M}{r^{2}}-\frac{q}{2}. \end{aligned}$$
(14)

The above Eq. (14), reduces to that of the equation of motion for the Schwarzschild case when \(q=0\) [36]. It should be noticed that the equation of motion (14), is independent of the parameter a as it was the case for the Schwarzschild black hole with string clouds [13]. Here we observe that the particle will accelerate more rapidly towards the central object in the presences of the quintessence field. Further we can see that there is no effect of the string clouds on the acceleration of the particle.

Fig. 4
figure 4

Shows the behavior of \(\tau \) for the different possible values of a and q. The left panel of the first row represents \(a=0.1\) (blue), \(a=0.15\) (black), and \(a=0.2\) (red) with \(q=0.0010\). The middle panel of the first row represents \(a=0.1\) (blue), \(a=0.15\) (black), and \(a=0.2\) (red) with \(q=0.0011\). The right panel of the first row represents \(a=0.1\) (blue), \(a=0.15\) (black), and \(a=0.2\) (red) with \(q=0.0012\). The left the panel of the second row represents \(q=0.0010\) (blue), \(q=0.0011\) (black), and \(q=0.0012\) (red) with \(q=0.1\). The middle panel of the second row represents \(q=0.0010\) (blue), \(q=0.0011\) (black), and \(q=0.0012\) (red) with \(q=0.15\). The right panel of the second row represents \(q=0.0010\) (blue), \(q=0.0011\) (black), and \(q=0.0012\) (red) with \(q=0.2\)

Now consider initially the particle is at rest i.e., \(\dot{r}=0\), and upon the gravitational attraction it accelerates towards the gravitating source from its initial location \(r=r_{0}\). From Eq. (13) we have

$$\begin{aligned} E^{2}=\left( 1-a-\frac{2 M}{r_{0}}-\frac{q}{r_{0}^{-1}}\right) \end{aligned}$$
(15)

and therefore

$$\begin{aligned} \bigg (\frac{dr}{d\tau }\bigg )^{2}=2M\bigg (\frac{1}{r}-\frac{1}{r_{0}}\bigg )+q\bigg (\frac{1}{r^{-1}}-\frac{1}{r^{-1}_{0}}\bigg ). \end{aligned}$$
(16)

In the limit \(q\rightarrow 0\), the above Eq. (16), reduces to the corresponding equation in the Schwarzschild black case [38]. This shows that the gain in the kinetic energy of the particle in the radial motion, falling from rest at \(r=r_0\), is equals to the sum of the loss in the gravitational potential energy of the particle and the contribution due to the quintessence dependent term. Further, we combine Eq. (13) with Eq. (4), and by sitting \(E=1\), we get the following expression

$$\begin{aligned} \frac{dt}{d\tau }=-\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) ^{-1} \end{aligned}$$
(17)

and

$$\begin{aligned} \frac{dr}{d\tau }=\sqrt{\left( a+\frac{2 M}{r}+\frac{q}{r^{-1}}\right) }. \end{aligned}$$
(18)

On integrating this last equation we get the following relation for the proper time \(\tau \)

$$\begin{aligned} \tau= & {} \frac{1}{2 \sqrt{2} q \sqrt{r_{0}} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}} \sqrt{a+\frac{2 M}{r_{0}}+q r_{0}}} \left( \left( \sqrt{a^2-8 M q}-a\right) \sqrt{\frac{-r_{0} \sqrt{a^2-8 M q}+a r_{0}+4 M}{M}}\right. \\&\times \left( \sqrt{\frac{2 q r_{0}}{a-\sqrt{a^2-8 M q}}+1} {\mathcal {E}}\left( \sinh ^{-1}\left( \sqrt{2} \sqrt{r_{0}} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}}\right) \left| \frac{a \left( \sqrt{a^2-8 M q}+a\right) -4 M q}{4 M q}\right. \right) \right. \\&\left. \left. -\,{\mathcal {F}} \left( \sinh ^{-1}\left( \sqrt{2} \sqrt{r_{0}} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}}\right) \left| \frac{a \left( \sqrt{a^2-8 M q}+a\right) -4 M q}{4 M q}\right. \right) \right) \right) \end{aligned}$$
$$\begin{aligned}&-\left( \frac{1}{2 \sqrt{2} q \sqrt{r} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}} \sqrt{a+\frac{2 M}{r}+q r}} \left( \left( \sqrt{a^2-8 M q}-a\right) \sqrt{\frac{-r \sqrt{a^2-8 M q}+a r+4 M}{M}}\right. \right. \nonumber \\&\times \left( \sqrt{\frac{2 q r}{a-\sqrt{a^2-8 M q}}+1} {\mathcal {E}}\left( \sinh ^{-1}\left( \sqrt{2} \sqrt{r} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}}\right) \left| \frac{a \left( \sqrt{a^2-8 M q}+a\right) -4 M q}{4 M q}\right. \right) \right. \nonumber \\&\left. \left. - {\mathcal {F}} \left( \sinh ^{-1}\left( \sqrt{2} \sqrt{r} \sqrt{\frac{q}{\sqrt{a^2-8 M q}+a}}\right) \left| \frac{a \left( \sqrt{a^2-8 M q}+a\right) -4 M q}{4 M q}\right) \right) \right) \right) , \end{aligned}$$
(19)

where \({\mathcal {F}}\) and \({\mathcal {E}}\) are the elliptic integrals of the first and second kind respectively. Here \(\tau \) is the time of approach of the massive particles towards the central object, measured by the observer in the rest frame, in radial motion. From its graphic behavior in the Fig. 4 it can be seen that with increase in the value of the quintessence parameter q, the proper time \(\tau \) decreases while with the increase in the values of the string cloud parameter a it increases.

The effective potential of the massive particles in radial motion is given as

$$\begin{aligned} V_{eff}(r)=\left( 1-a-\frac{2 M}{r}-\frac{q}{r^{-1}}\right) . \end{aligned}$$
(20)

In the Figs. 5 and 6, the behavior of \(V_{eff}(r)\) is revealed for a unit mass black hole. This shows that the effective potential for the timelike geodesics in the radial motion decreases with the increasing values of the string cloud parameter a and the quintessence parameter q. In the same Figs. 5 and 6, the regions of positive and negative effective potentials are also shown for different values of a and q.

Fig. 5
figure 5

Shows the behavior of \(V_{eff}(r)\) for the different possible values of a and q. The left panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.3\). The middle panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.5\). The right panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.7\). The second row shows the positive and negative region of \(V_{eff}(r)\) for three different values of \(a=0.3\) (left panel), \(a=0.5\) (middle panel), and \(a=0.7\) (right panel)

Fig. 6
figure 6

Shows the behavior of \(V_{eff}(r)\) for the different possible values of a and q. The left panel of the first row represents \(a=0.3\) (blue), \(a=0.5\) (black), and \(a=0.7\) (red) with \(q=0.01\). The middle panel of the first row represents \(a=0.3\) (blue), \(a=0.5\) (black), and \(a=0.7\) (red) with \(q=0.02\). The right panel of the first row represents \(a=0.3\) (blue), \(a=0.5\) (black), and \(a=0.7\) (red) with \(q=0.03\). The second row shows the positive and negative region of \(V_{eff}(r)\) for three different values of \(q=0.01\) (left panel), \(q=0.02\) (middle panel), and \(q=0.03\) (right panel)

From Eq. (4) with Eq. (9), we get the following relation

$$\begin{aligned} \bigg (\frac{dr}{dt}\bigg )^{2}=\frac{\left( -a-\frac{2 M}{r}-q r+1\right) ^2 \left( E^{2}-\left( -a-\frac{2 M}{r}-q r+1\right) \right) }{E^{2}}.\nonumber \\ \end{aligned}$$
(21)

On solving the Eq. (21), we get the following expression

$$\begin{aligned} t= & {} \frac{l_1 l_2}{q^2 r^2 \sqrt{\frac{(r (a+q r-1)+2 M)^2 \left( r \left( a+q r+E^{2}-1\right) +2 M\right) }{E^{2} r^3}}}\nonumber \\&\times \bigg (\frac{\frac{l_9 EllipticPi \left( l_{10};l_7|l_8\right) }{l_{11}}-\frac{l_5 EllipticPi \left( l_6;l_7|l_8\right) }{l_{11}}}{\sqrt{(a-1)^2-8 M q}}+EllipticF\left( l_3|l_4\right) \bigg ) \nonumber \\ \end{aligned}$$
(22)

where EllipticPi, EllipticF are special functions, and \(l _j(j=1\ldots 12)\) are given in Appendix I.

Fig. 7
figure 7

Shows the behavior of t for the different possible values of a and q. The left panel of the first row represents \(q=0.007\) (blue), \(q=0.008\) (black), and \(q=0.009\) (red) with \(a=0.93\). The middle panel of the first row represents \(q=0.007\) (blue), \(q=0.008\) (black), and \(q=0.009\) (red) with \(a=0.95\). The right panel of the first row represents \(q=0.007\) (blue), \(q=0.008\) (black), and \(q=0.009\) (red) with \(a=0.97\). The left panel of the second row represents \(a=0.93\) (blue), \(a=0.95\) (black), and \(a=0.97\) (red) with \(q=0.007\). The middle panel of the second row represents \(a=0.93\) (blue), \(a=0.95\) (black), and \(a=0.97\) (red) with \(q=0.008\). The right panel of the second row represents \(a=0.93\) (blue), \(a=0.95\) (black), and \(a=0.97\) (red) with \(q=0.009\)

From the graphical behavior of t given in Fig. 7, it is clear that t decreases as the values of both the parameters q and a increase. Thus in the presence of quintessence and string clouds a test particle takes longer to reach the horizon of the black hole as compared to the pure Schwarzschild case.

4 Circular motion

In this section we examine the circular motion of massive particles and photons. The expressions for energy \(E^2\) and angular momentum \(L^2\) are given below whose graphical behavior is shown in Figs. 8 and 9 for different values of the parameters a and q.

$$\begin{aligned} E^{2}= & {} \frac{2 r}{r^2 \left( -\frac{2}{r (a+q r-1)+2 M}-q\right) +2 M}, \end{aligned}$$
(23)
$$\begin{aligned} L^{2}= & {} \frac{r^4 \left( q - \frac{2 M}{r^2}\right) }{r^2 \left( -\frac{2}{r (a+q r-1)+2 M}-q\right) +2 M}. \end{aligned}$$
(24)
Fig. 8
figure 8

Shows the behavior of \(E^2\) for the different possible values of a and q. The left panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.7\). The middle panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.8\). The right panel of the first row represents \(q=0.05\) (blue), \(q=0.06\) (black), and \(q=0.07\) (red) with \(a=0.9\). The left panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.05\). The middle panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.06\). The right panel of the second row represents \(a=0.7\) (blue), \(a=0.8\) (black), and \(a=0.9\) (red) with \(q=0.07\)

Fig. 9
figure 9

Shows the behavior of \(L^2\) for the different possible values of a and q. The left panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.1\). The middle panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.2\). The right panel of the first row represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red) with \(a=0.3\). The left panel of the second row represents \(a=0.1\) (blue), \(a=0.2\) (black), and \(a=0.3\) (red) with \(q=0.01\). The middle panel of the second row represents \(a=0.1\) (blue), \(a=0.2\) (black), and \(a=0.3\) (red) with \(q=0.02\). The right panel of the second row represents \(a=0.1\) (blue), \(a=0.2\) (black), and \(a=0.3\) (red) with \(q=0.03\)

5 Null case

The derivative of the effective potential, given by Eq. (8), when \(\zeta =0\) is expressed as

$$\begin{aligned} \frac{dV_{eff}(r)}{dr}=\frac{L^2 \left( \frac{2 M}{r^2}-q\right) }{r^2}-\frac{2 L^2 \left( -a-\frac{2 M}{r}-q r+1\right) }{r^3}.\nonumber \\ \end{aligned}$$
(25)

The radii of the unstable photon orbit can be derived by taking \(\frac{dV_{eff}(r)}{dr}=0\) as

$$\begin{aligned}&r^{N}_{q}=\frac{1-a-\sqrt{a^2-2 a-6 M q+1}}{q},\nonumber \\&r^{N}_{e}=\frac{1-a+\sqrt{a^2-2 a-6 M q+1}}{q}. \end{aligned}$$
(26)

In the required limit \(r^{N}_{e}\), reduces to that for the Schwarzschild case. The \(r^{N}_{q}\), is due to the presence of the quintessence field. The graphical behavior of \(r^{N}_{e}\) and \(r^{N}_{q}\), can be seen from Figs. 10 and 11 respectively.

Fig. 10
figure 10

Shows the graphic analysis of \(r^{N}_{b}\) (negative). The left panel represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red). The right panel represents \(a=0.1\) (blue), \(a=0.3\) (black), and \(a=0.5\) (red)

Fig. 11
figure 11

Shows the graphic analysis of \(r^{N}_{b}\). The left panel represents \(q=0.01\) (blue), \(q=0.02\) (black), and \(q=0.03\) (red). The right panel represents \(a=0.1\) (blue), \(a=0.3\) (black), and \(a=0.5\) (red)

Fig. 12
figure 12

Shows the behavior of \(V^{N}_{eff}\) for the different possible values of a and q. The left panel of the first row represents \(a=0.1\) (blue), \(a=0.3\) (black), and \(a=0.5\) (red) with \(q=0.01\). The middle panel of the first row represents \(a=0.1\) (blue), \(a=0.3\) (black), and \(a=0.5\) (red) with \(q=0.05\). The right panel of the first row represents \(a=0.1\) (blue), \(a=0.3\) (black), and \(a=0.5\) (red) with \(q=0.09\). The second row shows \(q=0.01\) (blue), \(q=0.05\) (black), and \(a=0.09\) (red) with \(a=0.1\). The middle panel of first row represents \(q=0.01\) (blue), \(q=0.05\) (black), and \(a=0.09\) (red) with \(a=0.3\). The right panel of the first row represents \(q=0.01\) (blue), \(q=0.05\) (black), and \(a=0.09\) (red) with \(a=0.5\)

Fig. 13
figure 13

Shows the behavior of \(r^{P}_{b}\) for the different possible values of a, L, and q. The left panel of the first row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(q=0.01\). The middle panel of the first row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(q=0.02\). The right panel of the first row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(q=0.03\). The left panel of the second row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(a=0.1\). The middle panel of the second row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(a=0.3\). The right panel of the second row represents \(L=\sqrt{12}\) (blue), \(L=\sqrt{16}\) (black), and \(L=\sqrt{20}\) (red) with \(a=0.5\)

Fig. 14
figure 14

Shows the behavior of \(V^{P}_{eff}\) for the different possible values of a and q. The left panel of the first row represents \(a=0.001\) (blue), \(a=0.009\) (black), and \(a=0.015\) (red) with \(q=0.00001\). The middle panel of the first row represents \(a=0.001\) (blue), \(a=0.009\) (black), and \(a=0.015\) (red) with \(q=0.00009\). The right panel of the first row represents \(a=0.001\) (blue), \(a=0.009\) (black), and \(a=0.015\) (red) with \(q=0.00015\). The left panel of the second row represents \(q=0.00001\) (blue), \(q=0.00009\) (black), and \(q=0.00017\) (red) with \(a=0.001\). The middle panel of the second row represents \(q=0.00001\) (blue), \(q=0.00009\) (black), and \(q=0.00017\) (red) with \(a=0.009\). The right panel of the second row represents \(q=0.00001\) (blue), \(q=0.00009\) (black), and \(q=0.00017\) (red) with \(a=0.015\)

The graphical analysis of \(V^{N}_{eff}\) is given in the Fig. 12.

6 Timelike case

Here we calculate the derivative of the effective potential given by Eq. (8), for the timelike geodesics i.e., when \(\zeta =1\), as

$$\begin{aligned}&\frac{dV_{eff}(r)}{dr}=\left( \frac{L^2}{r^2}+1\right) \left( \frac{2 M}{r^2}-q\right) \nonumber \\&-\frac{2 L^2 \left( -a-\frac{2 M}{r}-q r+1\right) }{r^3}. \end{aligned}$$
(27)

To find the radii of the circular orbits for massive particles we put \(\frac{dV_{eff}(r)}{dr}=0\), which gives us

$$\begin{aligned} r^{P}_{b}= & {} -\frac{1}{2} \sqrt{-\frac{L^2 (-q)-2 M}{q}-\frac{L^2 q+2 M}{3 q}-\frac{\root 3 \of {2} \left( L^4 q^2-68 L^2 M q+4 M^2\right) }{3 q \root 3 \of {\Psi _1+\Psi _2}}-\frac{\root 3 \of {\Psi _1+\Psi _2}}{3 \root 3 \of {2} q}}+\frac{1}{2}\nonumber \\&\times \sqrt{-\frac{4 \left( a L^2-L^2\right) }{\Psi _3}+\frac{L^2 q+2 M}{3 q}-\frac{L^2 (-q)-2 M}{q}+\frac{\root 3 \of {2} \left( L^4 q^2-68 L^2 M q+4 M^2\right) }{3 q \root 3 \of {\Psi _1+\Psi _2}}+\frac{\root 3 \of {\Psi _1+\Psi _2}}{3 \root 3 \of {2} q}} \end{aligned}$$
(28)

where

$$\begin{aligned} \Psi _1= & {} \sqrt{\left( -108 q \left( a L^2-L^2\right) ^2+2 \left( L^2 q+2 M\right) ^3+432 L^2 M q \left( L^2 q+2 M\right) \right) ^2-4 \left( \left( L^2 q+2 M\right) ^2-72 L^2 M q\right) ^3},\\ \Psi _2= & {} -108 q \left( a L^2-L^2\right) ^2+2 \left( L^2 q+2 M\right) ^3+432 L^2 M q \left( L^2 q+2 M\right) ,\\ \Psi _3= & {} q \sqrt{-\frac{L^2 (-q)-2 M}{q}-\frac{L^2 q+2 M}{3 q}-\frac{\root 3 \of {2} \left( L^4 q^2-68 L^2 M q+4 M^2\right) }{3 q \root 3 \of {\Psi _1+\Psi _2}}-\frac{\root 3 \of {\Psi _1+\Psi _2}}{3 \root 3 \of {2} q}}. \end{aligned}$$

The behavior of the \(r^{P}_{b}\) can be checked from the Fig. 13. The \(V^{P}_{eff}\) is calculated as

$$\begin{aligned} V^{P}_{eff}=\left( \frac{L^2}{r^2}+1\right) \left( -a-\frac{2 M}{r}-\frac{q}{\frac{1}{r}}+1\right) . \end{aligned}$$
(29)

The behavior of \(V^{P}_{eff}\) can be seen from the Fig. 14. Here we see that the stable circular orbits exist for small positive values of both the parameters i.e. for \(0<a\ll 1\) and \(0<q\ll 1\).

7 Summary

In this article we have investigated the dynamics of massive particles and photons in the Schwarzschild black hole with string clouds and quintessence scalar field. We have found upper and lower bounds on the values of the string cloud parameter a and the quintessence parameter q, for the existence of black hole horizon, which are shown in Fig. 1. The Schwarzschild black hole surrounded by string clouds and quintessence field exists only for \(0<a<1\) and \(0<q<0.125\). For these values of a and q two horizons \(r_q\) and \(r_e\) of the black hole exist, given in Eq. (2). The \(r_q\) is purely due to the quintessence field while the \(r_e\) is the event horizon, which reduces to that of the Schwarzschild black hole when both the parameters a and q vanish. The behavior of \(r_q\) and \(r_e\) is shown in Fig. 2 for different values of the parameters a and q.

We have discussed the radial geodesics of null and timelike particles for the allowed ranges of the parameters a and q. In the null particle case, we have found that if the values of the parameters a and q increase then the coordinate time t first decreases and then after crossing a turning point it increases with the increasing values of the parameter q, which is shown in Fig. 3. Thus in the presence of the string clouds and quintessence field for an external observer the particle will take shorter to reach the event horizon of the black hole as compared to the case of the pure Schwarzschild black hole, i.e. without string clouds and quintessence. In the case of the timelike redial geodesics the proper time \(\tau \) decreases as a increases and it increases with increase in the values of the parameter q, shown in Fig. 4. In the same case the behavior of the coordinate time t is shown in Fig. 7 against the radial coordinate r for different values of the parameters a and q. With increase in the values of both the parameters a and q the time t decreases. This shows that in the presence of the string clouds and quintessence field the particle will reach earlier to the event horizon of the black hole as compared with the case of the pure Schwarzschild black hole. It is evident from Eq. (14) that the test particle will accelerates more rapidly towards the black hole in the presences of the quintessence scalar field. In the Figs. 5 and 6, the behavior of the effective potential is given which shows that the effective potential for the massive particles in the radial motion decreases with increase in the values of the string cloud parameter a and the quintessence parameter q.

Further we have discussed the circular motion of both the massive and massless particles for the permitted values of the parameters a and q. For the allowed values of the angular momentum L and energy E, it is obtained that the stable circular orbits of the test particles exist for very small values of the string cloud parameter and the quintessence field i.e. for \(0<a\ll 1\) and \(0<q\ll 1\), shown in Fig. 14. We have observed that the radii of the unstable photon circular orbits increase as the values of the parameters a and q increase, shown in Fig. 10. In the case of the stable circular orbits of the test particles the radii of the orbits increase as the values of a increase and with an increase in q they go on decreasing, as shown in Fig. 13. Here we see that for massive particles the behavior of string clouds is repulsive. While the quintessence field when combined with string clouds behave attractive for massive particles. It should be noted that in the absence of quintessence field, our obtained results coincide with those of the Schwarzschild black hole with string clouds [13].