1 Introduction

Studies concerning a formalism to obtain the solutions of the Einstein equations corresponding to a black hole surrounded by a cloud of strings were initiated by Letelier [1]. These studies were motivated, originally, by the fact that the nature can be represented, in principle, by a collection of extended objects, like one-dimensional strings, rather than of point particles, in a more appropriate way.Among various results obtained by Letelier [1], as for example, for plane, cylindrical and spherical symmetries, the one of our interest concerns the spherical symmetry and corresponds to a generalization of the Schwarzschild solution, more specifically, corresponds to the Schwarzschild black hole surrounded by a spherically symmetric cloud of strings [1]. In other words, it corresponds to a modification of Schwarzschild solution by taking a cloud of strings as an additional source of the gravitational field. Concerning this solution, if we consider the mass of the central body (black hole) equal to zero, we have only a cloud of strings, in which case we have no horizon, but just a naked singularity at \(r=0\). Returning to the combined sources, black hole and cloud of strings, we can conclude that the presence of the cloud of strings produces an effect of global origin associated with a solid deficit angle which depends on the parameter that codifies the presence of the cloud, similarly to what happens in the spacetime of a global monopole [2]. Additionally, the presence of the cloud produces a profound influence on the horizon structure, enlarging the radius of the horizon event as compared with the Schwarzschild radius. Thus, the effects of global origin associated with the solid deficit angle, which is determined by the presence of the cloud of strings, will produce possible astrophysical consequences, which justify the investigation of the role played by the cloud of strings in this scenario.

The astronomical observations confirming that the universe experiences an accelerated expansion constitutes one of the most important discoveries of the era of the observational cosmology [3]. This fact implies that at large scale structure, there exists a gravitationally repulsive energy component which indicates the existence of a negative pressure. One of the possible origins of this negative pressure is associated to a fluid that permeates the universe, with energy density constant in time and spatially uniform. In this case, the pressure is proportional to the energy density, with the proportionality constant assuming values in the interval (− 1, − 1/3), in order to have the desired cosmic acceleration. This kind of scenario corresponds to what is called quintessence or quintessence dark energy [4]. This permeates the universe and consequently surrounds a black hole and certainly produces profound astrophysical consequences. Therefore, it is important to know the solution of the Einstein equations for black holes surrounded by quintessence as was done by Kiselev [4].

The black hole surrounded by quintessence, in the way obtained by Kiselev [4] has been extensively studied in the literature even though this solution is not free of problems that deserve further discussion. We can cite, for example, the correspondence of the Keselev stress-energy tensor with the scalar model for quintessence and the fact that, if we consider the black hole-free solution, the metric is not homogeneous, as expected for cosmological models.

Black hole thermodynamics is one of the topics in gravitational physics which becomes an active and important area of research since the works of Bekenstein [5, 6] and Hawking [7,8,9] in the 1970’s up to now, in part, due to the window it opens to understand the connection between quantum mechanics and gravity, providing a deep insight in which concerns the understanding of the nature of quantum gravity.

The study of the thermodynamical features of charged AdS black holes showed that there exists a similarity between these astrophysical objects and liquid-gas systems. In particular, Reissner–Nordstrom AdS black holes present first-order phase transitions whose critical behavior is similar to the ones experienced by a system in condensed matter [10, 11]. Investigations concerning this topic have enhanced after the suggestion that the cosmological constant should be treated as the thermodynamic variable [12,13,14,15,16], which is interpreted as the thermodynamic pressure with the thermodynamic volume being the conjugate quantity. Taking this fact into account, more attention has been done to the study of black hole thermodynamics of AdS black holes [15,16,17,18,19,20,21,22,23,24,25,26,27,28], especially with respect to charged AdS black holes by the reason that there is an analogy between these objects and liquid-gas systems, phase transitions appear [17] and these must be investigated in order to find the whole phase structure, through the determination of the critical points associated with the thermodynamical quantities, but now, taking into account not only the quintessence, but also the presence of a cloud of strings.

Another idea that appears in the framework of black hole thermodynamics is related to the heat engine [29]. In this case, the efficiency can be determined analogously to a traditional heat engine [29,30,31,32,33]. Taking the pressure and the volume as dynamical variables, it is possible to extract mechanical work by using the pdV term. Similarly to what happens in classical thermodynamics, a heat engine is defined by a closed cycle in the pV plane [29]. In this scenario, the efficiency of the heat engines has been analyzed in different black hole spacetimes [26, 29, 34], among others.

In this paper, we analyze the thermodynamics of a Reissner–Nordstrom AdS black hole surrounded by a cloud of strings and quintessence, by calculating different thermodynamic variables, determining their critical values as well as the efficiency of a heat engine.

It is already known that a cloud of strings decreases the real and imaginary parts of the quasinormal frequencies of a black hole surrounded by quintessence, approaching the system from the astrophysical scenario [35].

In the present work, it will be shown that the presence of the cloud of strings gives rise to important issues in the thermodynamics of the black hole, if we compare with the one surrounded only by quintessence [36]. The cloud of strings parameter decreases the thermodynamic quantities as temperature, entropy and internal energy of the black hole. Furthermore, it increases the efficiency of the black hole considered as a heat engine. These important effects are extensively discussed in this paper.

This paper is organized as follows. In Sect. 2, we present the metric and the event horizons. In Sect. 3, we discuss the thermodynamics. In Sect. 4, the critical values for some thermodynamic variables and critical exponents are determined. In Sect. 5, we discuss how the black hole considered can be treated as a heat engine. Finally, in Sect. 6, we present the concluding remarks.

2 The metric and event horizons

In this section, we obtain the metric corresponding to the spacetime generated by a charged static black hole with cosmological constant and surrounded by a cloud of strings and quintessence.

Recently, it was obtained the solution corresponding to a black hole immersed in quintessence, whose energy–momentum tensor is given by [4]

$$\begin{aligned}&T^t_{t} = T^r_{r} = \rho _q, \end{aligned}$$
(1)
$$\begin{aligned}&T^\theta _{\theta } = T^\phi _{\phi } = -\frac{1}{2} \rho _q (3 \omega _q+1), \end{aligned}$$
(2)

where the pressure and density of quintessence are related by the equation of state \(p_q = \omega _q \rho _q\), with \(\omega _q\) being the quintessential state parameter.

If we consider this mass–energy content, we can adopt the static spherically symmetric metric background given

$$\begin{aligned} ds^2 = f(r)dt^2- \frac{1}{f(r)} dr^2 - r^2 d \varOmega ^2. \end{aligned}$$
(3)

with [4]

$$\begin{aligned} f(r) =1 -\frac{2M}{r}-\frac{\alpha }{r^{3\omega _q+1}}, \end{aligned}$$
(4)

where \(\alpha \) and M are normalization constants, which should be related to the quintessence and mass, respectively. With this solution, the spacetime metric is given by

$$\begin{aligned} ds^2= & {} \left( 1 -\frac{2 M}{r} - \frac{\alpha }{r^{3\omega _q+1}}\right) dt^2 \nonumber \\&-\left( 1 -\frac{2 M}{r} - \frac{\alpha }{r^{3\omega _q+1}}\right) ^{-1}dr^2 - r^2 d \varOmega ^2. \end{aligned}$$
(5)

which corresponds to a static black hole, with mass M, surrounded by quintessence, with density \(\rho _q\) given by

$$\begin{aligned} \rho _q = - \frac{\alpha }{2} \frac{3 \omega _q}{r^{3 ( \omega _q +1)}}. \end{aligned}$$
(6)

In order to get the scenario of accelerated expansion, it is necessary to impose that \(- 1<\omega _q< - 1/3\). As to \(\alpha \), it is a positive parameter such that, when it is equal to zero, we recover the Schwarzschild solution.

The metric given by Eq. (5) can be generalized by taking into account the presence of an electromagnetic field due to a charge Q, as well as, the cosmological constant. In this case, Eq. (5) turns into [4, 26, 36, 37]

$$\begin{aligned} ds^2= & {} \left( 1-\frac{2 M}{r} +\frac{Q^2}{r^2} - \frac{\alpha }{r^{3\omega _q+1}} - \frac{\varLambda r^2}{3}\right) dt^2 \nonumber \\&-\left( 1 -\frac{2 M}{r}+\frac{Q^2}{r^2} - \frac{\alpha }{r^{3\omega _q+1}} - \frac{\varLambda r^2}{3}\right) ^{-1}dr^2 \nonumber \\&- r^2 d \varOmega ^2. \end{aligned}$$
(7)

The solution of Einstein’s equations describing a black hole with a cloud of strings was obtained by Letelier [1]. First of all, we can consider that a moving infinitesimally thin string traces out a two-dimensional world sheet, \(\varSigma \), which can be described by the equation

$$\begin{aligned} x^\mu = x^\mu (\xi ^a), \qquad a=0,1, \end{aligned}$$
(8)

with \(\xi ^0\) and \(\xi ^1\) being timelike and spacelike parameters, respectively. Thus, the string is characterized by its world sheet. The induced metric, \(h_{ab}\), on the world sheet is given by

$$\begin{aligned} h_{ab}=g_{\mu \nu } \frac{\partial x^\mu }{\partial \xi ^a }\frac{\partial x^\nu }{\partial \xi ^b }. \end{aligned}$$
(9)

It can be associated to the string world sheet, a bivector \(\varSigma ^{\mu \nu }\), such that [1]

$$\begin{aligned} \varSigma ^{\mu \nu } = \epsilon ^{ab} \frac{\partial x^\mu }{\partial \xi ^a }\frac{\partial x^\nu }{\partial \xi ^b }, \end{aligned}$$
(10)

where \(\epsilon ^{ab}\) is the two-dimensional Levi-Civita symbol, with \( \epsilon ^{01}=- \epsilon ^{10} = 1\).

Now, let us consider the energy–momentum tensor for a cloud of strings, characterized by a proper density \(\rho \), which can be written as [1]

$$\begin{aligned} T^{\mu \nu }=\frac{\rho \varSigma ^{\mu \beta } \varSigma ^{\phantom {a}\nu }_\beta }{\sqrt{-h}}, \end{aligned}$$
(11)

where \(h=\frac{1}{2} \varSigma ^{\mu \nu }\varSigma _{\mu \nu }\) is the determinant of the induced metric.

As the string cloud is spherically symmetric, the density, \(\rho \), and the bivector \(\varSigma ^{\mu \nu }\), should be functions only of the radial coordinate. In this case, the non vanishing components of the bivector are \(\varSigma ^{01}\) and \(\varSigma ^{10}\), which are related by \(\varSigma ^{01}=-\varSigma ^{10}\). Thus, \(T^0_0=T^1_1=-\rho \varSigma ^{01}\) and, using the relation [1]

$$\begin{aligned} \frac{d}{dr}[(r^2T^0_0)^\frac{1}{2}]=0, \end{aligned}$$
(12)

we find the following result

$$\begin{aligned} T^0_0= & {} T^1_1=\frac{a}{r^2}, \end{aligned}$$
(13)
$$\begin{aligned} T^2_2= & {} T^3_3=0, \end{aligned}$$
(14)

where a is an integration constant which is related to the presence of the cloud of strings. Using this mass–energy configuration, Letelier determined the spacetime metric of a black hole surrounded by a cloud of strings, which is written as [1]

$$\begin{aligned} ds^2= & {} \left( 1 -a-\frac{2 M}{r}\right) dt^2 -\left( 1 -a-\frac{2 M}{r} \right) ^{-1}dr^2 \nonumber \\&- r^2 d \varOmega ^2. \end{aligned}$$
(15)

Now, let us assume that the quintessence and the cloud of strings do not interact with each other, such that we can consider the energy–momentum tensor for both sources as a linear superposition given as follows

$$\begin{aligned} T^t_{t}= & {} T^r_{r} = \rho _q+\frac{a}{r^2}, \end{aligned}$$
(16)
$$\begin{aligned} T^\theta _{\theta }= & {} T^\phi _{\phi } = -\frac{1}{2} \rho _q (3 \omega _q+1). \end{aligned}$$
(17)

Considering, once again, the static spherically symmetric line element given by Eq. (3), we get the line element associated with a charged black hole surrounded by a cloud of strings and quintessence which is written as

$$\begin{aligned} ds^2= & {} \left( 1-a-\frac{2 M}{r} +\frac{Q^2}{r^2} - \frac{\alpha }{r^{3\omega _q+1}} - \frac{\varLambda r^2}{3}\right) dt^2 \nonumber \\&-\left( 1-a -\frac{2 M}{r}+\frac{Q^2}{r^2} - \frac{\alpha }{r^{3\omega _q+1}} - \frac{\varLambda r^2}{3}\right) ^{-1}dr^2 \nonumber \\&- r^2 d \varOmega ^2. \end{aligned}$$
(18)

In what follows, we will fix \(\omega _q = -2/3\).

Now, let us analyze the existence of horizons which are determined by imposing that

$$\begin{aligned} f(r) = 1-a-\frac{2 M}{r} +\frac{Q^2}{r^2} - {\alpha }r - \frac{\varLambda r^2}{3} = 0. \end{aligned}$$
(19)

The black hole has three positive horizons: the black hole event horizon, \(r_+\), the internal (Cauchy) horizon, \(r_-\), and a quintessential cosmological horizon, \(r_q\).

In Fig. 1, the graphs of the function f(r) is shown for different values of the parameters a and \(\alpha \), which codify the presence of the cloud of strings and the quintessence, respectively.

Fig. 1
figure 1

The function f(r) for different values of a and \(\alpha \). We choose \(M=1\) and \(Q^2=0.5\)

3 Black hole thermodynamics

In this section, we investigate the black hole thermodynamics, analyzing the thermodynamic potentials and intensive parameters.

For any horizon radius \(r_h\), the mass parameter of the black hole surrounded by a cloud of strings and quintessence can be written as

$$\begin{aligned} M = \frac{1-a}{2} r_h +\frac{Q^2}{2 r_h}-\frac{\alpha }{2} r^2_h - \frac{\varLambda r_h^3}{6}. \end{aligned}$$
(20)

For a static spherically symmetric black hole, the entropy can be calculated by the area law, which is written as [5, 6]

$$\begin{aligned} S = \frac{A}{4} = \pi r_h^2, \end{aligned}$$
(21)

and thus, it is a monotonic function of the horizon radius.

Therefore, as a function of the black hole entropy, the mass parameter, which corresponds to the mass (energy) of the charged black hole modified due to the presence of the cosmological constant, cloud of strings and quintessence, is given by

$$\begin{aligned} M=M(S,Q,\varLambda )= \frac{1-a}{2}\sqrt{\frac{S}{\pi }}+\frac{Q^2}{2}\sqrt{\frac{\pi }{S}} -\frac{\alpha }{2}\frac{S}{\pi }- \frac{\varLambda }{6} \left( \frac{S}{\pi } \right) ^{3/2} \end{aligned}$$
(22)

and its behavior is represented in Fig. 2 for different values of the cloud of string and quintessence parameters.

Fig. 2
figure 2

Mass parameter as a function of the entropy, S, for different values of a and \(\alpha \)

Fig. 3
figure 3

The Hawking temperature T as a function of the entropy

Now, let us assume that in the context of the black hole thermodynamics, the pressure is related to the cosmological constant by [16]

$$\begin{aligned} p = -\frac{\varLambda }{8 \pi }. \end{aligned}$$
(23)

Thus, the mass parameter turns into

$$\begin{aligned} M= & {} M(S,Q,p) = \frac{1-a}{2}\sqrt{\frac{S}{\pi }}+\frac{Q^2}{2}\sqrt{\frac{\pi }{S}} -\frac{\alpha }{2}\frac{S}{\pi }\nonumber \\&+ \frac{4 \pi p }{3} \left( \frac{S}{\pi } \right) ^{3/2}. \end{aligned}$$
(24)

Due to its functional dependence, the mass parameter \(M = M (S,Q,p)\) can be associated with the enthalpy \(H = H(S,Q,p)\). Thus, the first law of black hole thermodynamics is written as

$$\begin{aligned} \delta M = T \delta S + \phi d Q+ V \delta p, \end{aligned}$$
(25)

where T is the Hawking temperature [8, 9], whose behavior as a function of entropy is shown in Fig. 3, and is given by

$$\begin{aligned} T = \left( \frac{\partial M}{\partial S} \right) _{Q,p} = \frac{1-a}{4\sqrt{S\pi }}-\frac{Q^2}{4 S}\sqrt{\frac{\pi }{S}} -\frac{\alpha }{2 \pi }+ 2p \sqrt{ \frac{S}{\pi } }.\qquad \end{aligned}$$
(26)

In which concerns the electric potential \(\phi \) and the volume parameter V, they are obtained by

$$\begin{aligned} \phi= & {} \left( \frac{\partial M}{\partial Q} \right) _{S,p} =Q \sqrt{\frac{\pi }{S}} = \frac{Q}{r_h}, \end{aligned}$$
(27)
$$\begin{aligned} V= & {} \left( \frac{\partial M}{\partial p } \right) _{S,Q} = \frac{4 \pi }{3} \left( \frac{S}{\pi } \right) ^{3/2} = \frac{4 \pi r_h^3 }{3}. \end{aligned}$$
(28)

As should be expected, the thermodynamical volume is a monotonic function of the horizon radius, given by \(4 \pi r_h^3/3\) and the electric potential is the one studied in classical electromagnetism. Note that, from Eqs. (21) and (28), we conclude that the entropy and the thermodynamical volume are not independent.

The internal energy of the black hole is obtained from Eq. (24) by a Legendre transformation and, thus, we have

$$\begin{aligned} E (S,Q,V)= & {} M(S,Q,p) - V p \nonumber \\= & {} \frac{1-a}{2}\sqrt{\frac{S}{\pi }}+\frac{Q^2}{2}\sqrt{\frac{\pi }{S}} -\frac{\alpha }{2}\frac{S}{\pi } \end{aligned}$$
(29)

On the other hand, the black hole heat capacity at constant pressure is calculated using the relation between entropy and the temperature obtained from Eq. (26), and thus we have

$$\begin{aligned} C_p= & {} T\frac{\partial S}{\partial T} \bigg |_{Q,p} \nonumber \\= & {} \frac{2 (1-a)S^2 -2 Q^2S - 4 \alpha S^2\sqrt{\frac{S}{\pi }}+16 pS^3}{-(1-a)S+3Q^2+ 8 p S^2}, \end{aligned}$$
(30)

while the heat capacity at constant volume is given by

$$\begin{aligned} C_V = T\frac{\partial S}{\partial T} \bigg |_{Q,V} = 0. \end{aligned}$$
(31)

Thus, we can conclude that \(C_V\) vanishes since, from Eq. (28), one can verify that, if V is constant, S is also constant, which means that, for this black hole, isochoric processes are also adiabatic ones, due to the relations between the entropy and the volume.

The behavior of \(C_p\) as a function of entropy is shown in Fig. 4. Note that there are second-order phase transitions for different values of the parameters \(\alpha \) and a, except for \(a = 0.9\), in which case this transition is suppressed.

Fig. 4
figure 4

The heat capacity at constant pressure, \(C_p\), as a function of the entropy, S

If we rewrite Eq. (26) as a function of p and V, we find the equation of state

$$\begin{aligned} T(p,V) = \frac{1-a}{(4\pi )^{2/3}(3V)^{1/3}} -\frac{Q^2}{3V}-\frac{\alpha }{2 \pi }+2 p \left( \frac{3V}{4 \pi } \right) ^{1/3}. \end{aligned}$$
(32)

whose diagrams p x V are shown in Figs. 5, 6 and 7.

Fig. 5
figure 5

Graphs p x V for different values of T. We assumed that \(Q = M = 1\) e \(a= 0.1\)

Fig. 6
figure 6

Graphs p x V for \(T = 0.1\), \(\alpha = 0.01\) and different values of a

Fig. 7
figure 7

Graphs p x V for \(T = 0.1\), \(a = 0.1\) and different values of \(\alpha \)

Finally, let us consider that the parameters related to the cloud of string and the quintessence, respectively a and \(\alpha \), are extensive thermodynamic parameters [26]. As a consequence, the first law of thermodynamics must be modified to

$$\begin{aligned} \delta M = T \delta S + \phi \delta Q+ V \delta p+{\mathscr {A}}\delta \alpha +{\mathscr {B}}\delta a. \end{aligned}$$
(33)

with

$$\begin{aligned} {\mathscr {A}} = - \frac{r_h^2}{2} = - \frac{S}{2 \pi } \end{aligned}$$
(34)

and

$$\begin{aligned} {\mathscr {B}} = - \frac{r_h}{2} =-\frac{1}{2}\sqrt{\frac{S}{\pi }}, \end{aligned}$$
(35)

where \({\mathscr {A}}\) and \({\mathscr {B}}\) are conjugate to the parameters \(\alpha \) and a, respectively.

4 Critical thermodynamic variables

In this section, let us investigate the critical thermodynamic variables and determine the critical exponents.

The Hawking temperature given by Eq. (26) can be written as a function of \(r_h\) as

$$\begin{aligned} T= \frac{1-a}{4 \pi r_h} -\frac{Q^2}{4 \pi r_h^3} - \frac{\alpha }{2 \pi } + 2 p r_h, \end{aligned}$$
(36)

from which we can obtain the equation of state as

$$\begin{aligned} p = \frac{T}{2 r_h} - \frac{1-a}{8 \pi r_h^2} + \frac{Q^2}{8 \pi r_h^4} + \frac{\alpha }{4 \pi r_h}. \end{aligned}$$
(37)

Now let us define \(v = 2 r_h\) [36], which is the double of the horizon radius and differs from the usual definition of specific volume in thermodynamics.Thus, Eq. (37) turns into

$$\begin{aligned} p = \frac{T}{v} - \frac{1-a}{2 \pi v^2} + \frac{ 2 Q^2}{ \pi v^4} + \frac{\alpha }{2 \pi v}. \end{aligned}$$
(38)

In order to obtain the critical points, let us take into account the following conditions

$$\begin{aligned}&\frac{\partial p}{\partial v} \Big |_{T=T_c} = 0, \end{aligned}$$
(39)
$$\begin{aligned}&\frac{\partial ^2 p}{\partial v^2} \Big |_{T=T_c} = 0. \end{aligned}$$
(40)

Using the first condition, we get the following relation between the critical Hawking temperature, \(T_c\), and the critical specific volume, \(v_c\),

$$\begin{aligned} T_c = \frac{1-a}{\pi v_c} - \frac{8 Q^2}{\pi v_c^3} - \frac{\alpha }{2 \pi }. \end{aligned}$$
(41)

Similarly, the critical pressure can be obtained and is given by

$$\begin{aligned} p_c = \frac{1-a}{2 \pi v_c^2} - \frac{6 Q^2}{\pi v_c^4}. \end{aligned}$$
(42)

From the condition given by Eq. (40), we get the critical values of the thermodynamics quantities, namely,

$$\begin{aligned} v_c= & {} \frac{2 \sqrt{6}Q}{1-a}, \quad T_c= \frac{(1-a)^2}{2 \sqrt{\pi }Q}\left( \frac{2-a}{3} \right) -\frac{\alpha }{2 \pi }, \nonumber \\ p_c= & {} \frac{(1-a)^3(1+a)}{96 \pi Q^2}. \end{aligned}$$
(43)

The combined effects of the cloud of strings and quintessence are shown explicitly in Eq. (43). Note that if we consider \(a = 0\), which means that there is no cloud of strings, we get the results already obtained in the literature [36], when the Reissner–Nordstrom AdS black hole surrounded by quintessence was considered. Similarly, in the absence of the quintessence and the cloud of strings, we get the known critical variables of the static charged black hole in a cosmological constant background [17]. The values of the critical thermodynamic quantities, when we vary the string cloud parameter a, are represented in Tables 12 and 3. The diagram pV represented in Fig. 6 shows the critical behavior for different values of the parameter a. In this case, the critical value of the temperature, \(T_c\), is 0.14472.

Table 1 Behaviour of the critical parameters \(v_c\), \(T_c\), \(p_c\) and \(\frac{p_c v_c}{T_c}\) for different values of a and for \(Q=1\), \(\alpha = 0.01\) and \(\omega _q = -2/3\)
Table 2 Behaviour of the critical parameters \(v_c\), \(T_c\), \(p_c\) e \(\frac{p_c v_c}{T_c}\) for different values of \(\alpha \) and for \(Q=1\), \(a = 0.1\) and \(\omega _q = -2/3\)
Table 3 Behaviour of the critical parameters \(v_c\), \(T_c\), \(p_c\) e \(\frac{p_c v_c}{T_c}\) for different values of \(\alpha \) and for \(Q=1\), \(a = 0.25\) and \(\omega _q = -2/3\)

Finally, the Gibbs free energy of the black hole is defined by

$$\begin{aligned} G(T,Q,p)=M(S,Q,p) - TS {=} \frac{1-a}{4}r_h {+}\frac{3Q^2}{4r_h} -\frac{2 \pi p r_h^3}{3}, \end{aligned}$$
(44)

and its behavior is represented in the Fig. 8.

Fig. 8
figure 8

Graph of the Gibbs free energy as a function of the Hawking temperature T,for \(Q = 1\)

The critical exponents help us to describe the behavior of a system near the critical point [36]. To this proposal, let us define, for convenience, the following quantities

$$\begin{aligned} t = \frac{T}{T_c} -1, \quad \epsilon = \frac{v}{v_c} - 1, \quad {\tilde{p}} = \frac{p}{p_c}. \end{aligned}$$
(45)

Thus, the critical exponents can be expressed in terms of a power law, as [36]:

$$\begin{aligned}&C_v =\, \propto |t|^{-\xi } \end{aligned}$$
(46)
$$\begin{aligned}&\eta \propto |t|^\beta \end{aligned}$$
(47)
$$\begin{aligned}&\kappa _T \propto |t|^{- \gamma } \end{aligned}$$
(48)
$$\begin{aligned}&|p-p_c| \propto |v - v_c|^\delta , \end{aligned}$$
(49)

where \(\xi \), \(\beta \), \(\gamma \) and \(\delta \) characterize the behavior of the heat capacity at constant volume, order parameter, isothermal compressibility, and pressure, respectively.

According to Eq. (31), \(C_V = 0\) and, thus, \(\xi = 0\). Now, let us consider the behavior of the equation of state in the neighborhood of the critical point. Thus, Eq. (38) can be expanded as [36]

$$\begin{aligned} {\tilde{p}} = 1+ b_{10}t+b_{01}\epsilon + b_{11} t \epsilon + b_{02} \epsilon ^2+ b_{03} \epsilon ^3 + {\mathscr {O}} (t \epsilon ^2, \epsilon ^4), \end{aligned}$$
(50)

where

$$\begin{aligned} b_{10}= & {} b_{02} =0, \end{aligned}$$
(51)
$$\begin{aligned} b_{10}= & {} \frac{T_c}{p_c v_c}, \end{aligned}$$
(52)
$$\begin{aligned} b_{11}= & {} -\frac{T_c}{p_c v_c}, \end{aligned}$$
(53)
$$\begin{aligned} b_{03}= & {} \frac{24 T_c}{p_c v_c} - \frac{18(1-a)}{\pi p_c v_c^2}+ \frac{12 \alpha }{p_c v_c}. \end{aligned}$$
(54)

Assuming that the black hole undergoes a transition from a large state, l, for a small one, s, and that, during the phase transition, the pressure is kept constant, Li [36] verified that

$$\begin{aligned} \epsilon _l = -\epsilon _s = \sqrt{\frac{-b_{11}t}{b_{03}}}, \end{aligned}$$
(55)

Therefore, the order parameter has the following behavior in terms of the reduced temperature

$$\begin{aligned} \eta = v_l - v_s = v_c (\epsilon _l-\epsilon _s) = 2 v_c \sqrt{\frac{-b_{11}t}{b_{03}}} \propto (-t)^{1/2}.\qquad \end{aligned}$$
(56)

Thus, we get \(\beta = 1/2\). As to the isothermal compressibility, \(\kappa _T\), we get the following result

$$\begin{aligned} \kappa _T = -\frac{1}{v} \frac{\partial v}{\partial p} \bigg |_{v_c} \propto -\frac{1}{\frac{\partial {\tilde{p}}}{\partial \epsilon }} \bigg |_{\epsilon = 0} = -\frac{1}{b_{11}t}, \end{aligned}$$
(57)

and, as a consequence, we obtain that \(\gamma = 1\). Finally, if we consider the reduced temperature equal to zero, \(t = 0\), we get

$$\begin{aligned} {\tilde{p}} - 1 = b_{03} \epsilon ^3, \end{aligned}$$
(58)

which gives us that \(\delta =3\).

From these results we conclude that the critical exponents are exactly the same obtained for a Reissner–Nordström-AdS black hole surrounded by quintessence [36] Thus, the presence of the cloud of strings does not modify the values of the critical exponents.

5 Black hole as heat engine

We will deal with a black hole as a thermo-gravitational heat engine [26, 38]. As it is known, heat engines are devices that, receiving energy from a hot source (\(Q_H\)), are able to do an work (W), transferring the residual heat (\(Q_C\)) to a cold reservoir. The efficiency of a heat engine (\(\eta \)) is, thus, defined as the ratio between the work it produces and the heat it receives, which is expressed by

$$\begin{aligned} \eta = \frac{W}{Q_H} = 1 - \frac{Q_C}{Q_H}. \end{aligned}$$
(59)

where we used the energy conservation law \(Q_H=W+Q_C\), with the work done in a cycle, W, being given exactly by the area of the cycle in the pV plane. As a black hole can be considered a heat engine with the thermodynamic potentials determined in the last section, in what follows we will consider that it operates in two different cycles.

Firstly, we consider that the black hole operates in a cycle formed by two isobaric and two isochoric processes, as shown in Fig. 9. This rectangular cycle can be used to built cycles of arbitrary shapes, by using a large number of small rectangular cycles.

Fig. 9
figure 9

pxV diagram of a heat engine operating by two isobaric and two isochoric processes

We will compare the efficiency of the engine described above with the one of the engine that produces the maximal efficiency. The classical Carnot heat engines, which operates by two isothermal and two adiabatic processes, produces the maximal efficiency, which it is given by

$$\begin{aligned} \eta _c = 1 - \frac{T_C}{T_H}, \end{aligned}$$
(60)

with \(T_C\) and \(T_H\) being the temperatures of the cold source and the hot reservoir, respectively. As can be seen from Eq. (28), the thermodynamical volume of the black hole is a function of the entropy [26]. Thus, for the system considered, the adiabatic processes (S constant) are also isochoric and the cycle represented in Fig. 10 (in which \(1 \rightarrow 2\) and \(3 \rightarrow 4\) are isothermic processes) will produce the maximal efficiency.

Fig. 10
figure 10

pxV diagram of a heat engine that produces the maximal efficiency

In the cycle represented in Fig. 9, which is calculated by the area of the figure formed, we obtain that

$$\begin{aligned} W = (V_2 - V_1)(p_1-p_4) = \frac{4}{3\sqrt{\pi }}\left( S_2^{3/2} - S_1^{3/2}\right) (p_1-p_4). \end{aligned}$$
(61)

As discussed above, there is no heat exchange in isochoric processes and \(Q_H\) is the heat received in the isobaric process \(1 \rightarrow 2\). Thus, from Eq. (30), we obtain

$$\begin{aligned} Q_H= & {} \int ^{T_2}_{T_1} C_p(p_1,T)dT = \int ^{S_2}_{S_1} C_p(p_1,S)\frac{\partial T}{\partial S}\bigg |_p dS \nonumber \\= & {} \int ^{S_2}_{S_1} T dS = \int _{1}^{2} d M = M_2 - M_1\nonumber \\= & {} \frac{1-a}{2}\sqrt{\frac{S_2}{\pi }}+\frac{Q^2}{2}\sqrt{\frac{\pi }{S_2}} -\frac{\alpha }{2}\frac{S_2}{\pi }+ \frac{4 \pi p_2 }{3} \left( \frac{S_2}{\pi } \right) ^{3/2} \nonumber \\&- \left[ \frac{1-a}{2}\sqrt{\frac{S_1}{\pi }}+\frac{Q^2}{2}\sqrt{\frac{\pi }{S_1}} -\frac{\alpha }{2}\frac{S_1}{\pi }+ \frac{4 \pi p_1 }{3} \left( \frac{S_1}{\pi } \right) ^{3/2} \right] .\nonumber \\ \end{aligned}$$
(62)

Therefore, the efficiency of the thermogravitational machine is given by

$$\begin{aligned} \eta =\frac{\left( 1-\frac{p_4}{p_1}\right) }{\xi }, \end{aligned}$$
(63)

where

$$\begin{aligned} \xi= & {} 1+\frac{3(1-a)(\sqrt{S_2}-\sqrt{S_1})}{8( S_2^{3/2}- S_1^{3/2})}\nonumber \\&+\frac{3\pi Q^2}{8( S_2^{3/2}- S_1^{3/2})}\left( \frac{1}{\sqrt{S_2}} -\frac{1}{\sqrt{S_2}}\right) \nonumber \\&-\frac{3 \alpha }{8 \sqrt{\pi }}\frac{S_2-S_1}{ S_2^{3/2}- S_1^{3/2}}. \end{aligned}$$
(64)

Otherwise, the efficiency of the Carnot engine is calculated by [26]:

$$\begin{aligned} \eta _c = 1 - \frac{T_4(p_4,S_1)}{T_2(p_1,S_2)}, \end{aligned}$$
(65)

In Figs. 11 and 12, we represent the behaviour of \(\eta \) and of the ratio \(\eta /\eta _c\) for different values of the cloud of string parameter a.

Fig. 11
figure 11

Parameter, \(\eta \), as a function of the entropy, S, for different values of a

Fig. 12
figure 12

Rate of \(\eta /\eta _c\) as a function of the entropy, S, for different values of a

Note that, when the parameter a increases, the efficiency increases as shown in Fig. 11. On the other hand, Fig. 12 show us that, when a increases, the ratio between the efficiency of the engine and the maximal efficiency decreases.

6 Concluding remarks

We considered the cosmological constant as the thermodynamic pressure and analyzed the thermodynamics of the Reissner–Nordstrom AdS black hole surrounded by a cloud of strings and quintessence, for the specific case with \(\omega _q= -2/3\), and obtained analytic expressions for the thermodynamical quantities as well as for their values in the critical points. The thermodynamic quantities as temperature, entropy, internal energy, and heat capacity are analogous to the corresponding expressions when only the quintessence is present [36]. In fact, the role played by the cloud of strings is to decrease these quantities as compared to both cases, namely, when only the quintessence is present.

These effects due to the cloud of strings are shown in Fig. 2, for the mass parameter, and in Fig 3, for the Hawking temperature. Otherwise, the analytic expression corresponding to the internal energy, given by Eq. (29), and the one corresponding to the heat capacity at constant pressure, given by Eq. (30), show us that the effect of the cloud of strings is to decrease the values of these quantities as compared with the case in which only the quintessence is present [36].

In which concerns the critical Hawking temperature, critical pressure and critical specific volume, given by Eqs. (41), (42) and (43), respectively, they are affected by the presence of the cloud of strings, which decreases the values of these quantities when compared with the case where only the quintessence is present. Note that, when the cloud of strings is absent, the results coincide with the ones already obtained in the literature [36]. It is worth calling attention to the fact that the critical specific volume, \(v_c\), increases when the parameter which codifies the presence of the cloud of strings, a, increases, as shown in Table 1. On the other hand, when a increases, the critical temperature, \(T_c\), and the critical pressure, \(p_c\), decreases, as shown in Table 1.

When we consider the effect of the normalization factor, as shown in Tables 2 and 3, we conclude that in the presence of the cloud of strings, for the values assumed for this factor, the critical specific volume and the critical pressure are, approximately, constants, while the critical temperature varies. Therefore, the ration \(p_c v_c/T_c\) is not constant, but depends on the normalization factor, \(\alpha \), as well as on the parameter \(\omega _q\), which, in this paper, we fixed such that \(\omega _q = -2/3\). It is worth calling attention to the fact that the critical exponents have the same values as the ones obtained when only the quintessence is present [36], which means that the presence of the cloud of strings does not affect these parameters.

As to the heat engine, we investigated the effects of the cloud of strings, for fixed \(\omega _q\), on its efficiency. The efficiency, as shown in Fig. 11, increases when the parameter a increases, for fixed value of \(\omega _q\). Thus, the presence of the cloud of strings improves the heat engine efficiency which will increases as the parameter a grows. On the other hand, the ratio \(\eta /\eta _c\) decreases with the parameter a which codifies the presence of the cloud of strings.

The results obtained, in fact, show us how the thermodynamics of the system under consideration is affected by the presence of the cloud of strings as well as by the quintessence.