1 Introduction

The observations showing the accelerating expansion of the universe [1] are one of the most important discoveries in cosmology in recent years. In order to explain such accelerating expansion, several models have been studied in general relativity and modified theories of gravity. In the context of general relativity, we can assume equations of state connecting the energy density and the pressure associated to the universe, which demand a negative pressure for the equations of state. Assuming a relation in the form \(p=w\rho \), where p is the pressure and \(\rho \) the energy density, the physical properties of the matter and energy of space-time depend on the values of the parameter w.

Kiselev proposed a general relation connecting energy density and pressure [2], where the components of the energy-momentum tensor can be associated to an anisotropic fluid that by taking the isotropic average over the angles, one obtains the barotropic equation of state. In this way, particular choices of the parameter of equations of state can be assumed in this formulation and some of these values reproduce, in the cosmological context, the accelerating pattern [2]. Kiselev solution [2] was also associated to a quintessence field, (See [3] for a discussion on the terminology issues concerning this solution), and, in this context, several investigations have been done on the shadow of black holes [4,5,6,7,8], quasinormal modes [9,10,11,12,13,14,15,16,17,18,19], thermodynamics of black holes [20,21,22,23,24,25,26,27,28,29,30,31,32,33,34], and other questions related to black holes surrounded by fluids in the framework of non-conservative gravity [35,36,37,38,39,40]. In which concerns the singularities present in several classes of black holes, the weak cosmic censorship conjecture demands that no naked singularities exist in the space-time, i.e, the singularities arising from the solutions of Einstein field equations are hidden within event horizons [41]. Although this conjecture is violated in solutions such as the extreme Reissner-Nordström and extreme Kerr black hole, some studies [42] reveal that it can be satisfied in Reissner-Nordström-AdS black hole surrounded by quintessence.

On the other hand, some extensions of the general relativity have gained interest in recent days due to the possibility of their use for addressing open problems in both astrophysical [43,44,45,46,47,48,49] and cosmological context [50,51,52]. In particular, motivated by the idea of considering different classes of coupling between matter and geometry in a general formalism, and by advances in cosmology due to the f(R) theories, it was proposed the f(RT) gravity theory [53]. It is well-known that theories with nontrivial matter-geometry coupling have additional effects on the dynamics of the bodies in the space-time. Indeed, motion of the massive particles in f(RT) is non-geodesic and undergoes an extra force depending on the coupling of the matter and the geometry. The possibility of reconstructing arbitrary Friedmann-Robertson-Walker cosmologies by an appropriate choice of a function f(T) has stimulated the study of the f(RT) in cosmological scenarios [54,55,56].

Such effects may become more prominent for high densities and pressures, in this way, it is natural to test the effects of modification of gravity imposed by f(RT) theory in the scale of compact objects. The influence of the dependency on the Ricci scalar R considering vacuum solutions has been studied in the literature in the context of f(R) gravity. In the case of theories of gravity in which the Lagrangian density depends on T, it is expected differences between solutions in these models and general relativity in the presence of a no-zero energy-momentum tensor, i.e, it is expected additional effects due to the matter-geometry coupling. In particular, the presence of fluids surrounding spherical sources of matter can be an interesting system to study the effects of this coupling between matter and geometry. In this paper, we study nontrivial black hole solutions for the field equations in the context of f(RT) gravity where the black hole is surrounded by the fluid discussed by Kiselev [2]. In addition, it is considered particular cases associated to the solution obtained by taking into account the appropriate values of the parameter of fluid equation of state. It is worth emphasizing that we will consider viable particular choices of the f(RT) function in such a way that the obtained results can be associated to an extension of the Kiselev solution [2] for this modified theory of gravity.

The paper is organized in the following way: In Sect. 2, we review the field equations in the context of f(RT) gravity and particularize it for a specific choice of f(RT) function. Section 3 is dedicated to the study of energy-momentum tensor associated to the fluid surrounding the black hole. In Sect. 4, we discuss the f(RT) gravity model in which the trace function is written in terms of an arbitrary exponent and we obtain an exact solution corresponding to a black hole surrounded by fluids. We also discuss general energy conditions, horizons, mass, and temperature for this solution. The analysis of the cases corresponding to particular choices of the parameter of the equation of state w and their relation with solutions in the context of general relativity is considered in Sect. 5. Finally, in Sect. 6, we present our final remarks.

2 Field equations

In this section, we briefly review the field equations in the context of f(RT) gravity [53]. In this formulation, it is assumed an action in the form

$$\begin{aligned} S=\frac{1}{16\pi }\int f(R,T)\sqrt{-g}d^4x + \int L_{m}\sqrt{-g}d^4x, \end{aligned}$$
(1)

with f(RT) being a function of the Ricci scalar, R, and of the trace T of the energy-momentum tensor of the matter. Note that \(L_m\) in Eq. (1) represents the matter Lagrangian density, this term is associated to a particular energy-momentum tensor. By varying the action S with respect to the metric tensor, we obtain the integral

$$\begin{aligned} \delta S=&\frac{1}{16\pi }\int \left[ f_{R}(R,T)R_{\mu \nu }\delta g^{\mu \nu } + f_{R}(R,T)g_{\mu \nu } \Box \delta g^{\mu \nu } \right. +\end{aligned}$$
(2)
$$\begin{aligned}&-f_{R}(R,T)\nabla _{\mu }\nabla _{\nu }\delta g^{\mu \nu } + f_{T}(R,T)\frac{\delta (g^{\eta \xi }T_{\eta \xi })}{\delta g^{\mu \nu }}\delta g^{\mu \nu }+\end{aligned}$$
(3)
$$\begin{aligned}&\left. -\frac{1}{2}g_{\mu \nu }f(R,T)\delta g^{\mu \nu }+\frac{16\pi }{\sqrt{-g}}\frac{\delta (\sqrt{-g}L_{m})}{\delta g^{\mu \nu }}\right] \sqrt{-g}d^4x \end{aligned}$$
(4)

where \(f_R(R,T)=\partial f(R,T)/\partial R\) and \(f_T(R,T)=\partial f(R,T)/\partial T\). By integrating the second and third terms and considering the variation of T as

$$\begin{aligned} \frac{\delta (g^{\eta \xi }T_{\eta \xi })}{\delta g^{\mu \nu }}=T_{\mu \nu } + \Theta _{\mu \nu } , \end{aligned}$$
(5)

where

$$\begin{aligned} \Theta _{\mu \nu } \equiv g^{\eta \xi }\frac{\delta T_{\eta \xi }}{\delta g^{\mu \nu }}=-2T_{\mu \nu }+g_{\mu \nu }L_{m}-2g^{\eta \xi }\frac{\partial ^2L_{m}}{\partial g^{\mu \nu }g^{\eta \xi }}, \end{aligned}$$
(6)

emerges from the definition of the variation of the matter Lagrangian, we obtain

$$\begin{aligned} f_{R}&(R,T)R_{\mu \nu }-\frac{g_{\mu \nu }}{2}f(R,T)+ (g_{\mu \nu }\Box - \nabla _{\mu }\nabla _{\nu })f_{R}(R,T) \nonumber \\&= 8\pi T_{\mu \nu } - f_{T}(R,T)T_{\mu \nu }- f_{T}(R,T)\Theta _{\mu \nu }\, , \end{aligned}$$
(7)

which is the form of the field equation in f(RT) gravity that we are going to use in this paper. In the special case in which \(f(R,T) \equiv f(R)\), Eq. (7) reduces to the field equations in the context of f(R) gravity. In this way, the novel feature introduced by f(RT) gravity is the possibility of arbitrary coupling between matter and geometry. An interesting choice of f(RT) functions is given by [53]

$$\begin{aligned} f(R,T)=R + 2f(T), \end{aligned}$$
(8)

where f(T) is an arbitrary function of the trace of the energy-momentum tensor. From Eq. (7) and by considering the trace function Eq. (8), the field equations are given by

$$\begin{aligned} R_{\mu \nu }-\frac{g_{\mu \nu }}{2}R=&8\pi T_{\mu \nu }- 2f'(T)T_{\mu \nu }\nonumber \\&- 2f'(T)\Theta _{\mu \nu } + f(T)g_{\mu \nu }, \end{aligned}$$
(9)

where \(f'(T)=df(T)/dT\). Concerning the choice of the function f(T), before we write an explicit expression, it is instructive to discuss the form of the trace associated to a specific choice of the energy-momentum tensor of the matter. As we will see, the condition of additivity and linearity imposed to the Kiselev solution naturally restricts the form of this function.

3 Energy-momentum of the Kiselev black hole

Considering a spherically symmetric space-time, the line element associated to a static geometry can be written as

$$\begin{aligned} ds^2=B(r)dr^2-A(r)dr^2-r^2(d\theta ^2+\sin \theta ^2d\phi ^2), \end{aligned}$$
(10)

where B(r) and A(r) are unknown functions of the coordinate r. The energy-momentum tensor in Kiselev black holes is defined to have the components of the spatial sector proportional to the time sector:

$$\begin{aligned} T^{t}_{\,\,\,t}= T^{r}_{\,\,\,r}&=\rho (r), \end{aligned}$$
(11)
$$\begin{aligned} T^{\theta }_{\,\,\,\theta }= T^{\phi }_{\,\,\,\phi }&=-\frac{1}{2}\rho (3w+1), \end{aligned}$$
(12)

and w is the parameter of equation of state. In addition, by taking the isotropic average over the angles, in the place of equations (11) and (12), one obtain the barotropic equation of state \(p=w\rho \). Kiselev black [2] holes have the components of energy-momentum tensor effectively connected to an anisotropic fluid represented by

$$\begin{aligned} T^{\mu }_{\,\,\,\nu } = diag(\rho ,-p_r,-p_t,-p_t), \end{aligned}$$
(13)

where \(p_r=-\rho \) and \(p_t=\frac{1}{2}\rho (3w+1)\), which can be extracted from the general form of the anisotropic fluid [46]:

$$\begin{aligned} T_{\mu \nu }=-p_{t}g_{\mu \nu }+(p_{t}+\rho )U_{\mu }U_{\nu }+(p_{r}-p_{t})N_{\mu }N_{\nu } , \end{aligned}$$
(14)

where \(p_{t}(r)\), \(\rho (r)\) and \(p_{r}(r)\) are the tangential or transverse pressure, the energy density and the radial pressure of the fluid, respectively. The quantities \(U_{\mu }\) and \(N_{\mu }\) represent the four velocity and radial unit vector, respectively, are defined as

$$\begin{aligned} U^{\mu }=\left( \frac{1}{\sqrt{B(r)}},0,0,0\right) , \end{aligned}$$
(15)
$$\begin{aligned} N^{\mu }=\left( 0,\frac{1}{\sqrt{A(r)}},0,0\right) , \end{aligned}$$
(16)

and obey the conditions \(U_{\nu }U^{\nu }=1\), \(N_{\nu }N^{\nu }=-1\) and \(U_{\nu }N^{\nu }=0\). The matter Lagrangian density associated to the anisotropic fluid is given by \(L_{m}=(-1/3)(p_r+2p_t)\) [57]. This implies that Eq. (6) can be written as

$$\begin{aligned} \Theta _{\mu \nu }=-2T_{\mu \nu }-\frac{1}{3}(p_r+2p_t)g_{\mu \nu }. \end{aligned}$$
(17)

In the next section, we use these results in the context of the Kiselev solutions of black holes [2] that demands additivity and linearity between the metric components.

4 The \(f(T)=\varkappa T^{n}\) model

In this section, we consider the case where the trace is written in terms of an arbitrary exponent. Substituting the energy-momentum tensor (13) and \(f(T)=\varkappa T^{n}\) into the field equation (9), leads to

$$\begin{aligned} G^{t}_{\,\,\,t}&=H(\rho ) , \end{aligned}$$
(18)
$$\begin{aligned} G^{r}_{\,\,\,r}&=H(\rho ), \end{aligned}$$
(19)
$$\begin{aligned} G^{\theta }_{\,\,\,\theta }&=F(\rho ) , \end{aligned}$$
(20)

where the functions are given by

$$\begin{aligned} H(\rho )=&8\pi \rho -\frac{2n(w+1)(\varkappa \rho -3\varkappa \rho w)^n}{3w-1}+(\varkappa \rho -3\varkappa \rho w)^n, \end{aligned}$$
(21)
$$\begin{aligned} F(\rho )=&-(12w+4)\pi \rho +\frac{n(w+1)(\varkappa \rho -3\varkappa \rho w)^n}{3w-1}+\nonumber \\&+(\varkappa \rho -3\varkappa \rho w)^n, \end{aligned}$$
(22)

and were obtained from

$$\begin{aligned} G^{\mu }_{\,\,\,\nu }=R^{\mu }_{\,\,\,\nu }-\frac{1}{2}\delta ^{\mu }_{\,\,\,\nu }R. \end{aligned}$$
(23)

Equations (18),(19) and (20) form the independent set of field equations for black holes surrounded by a fluid whose components of the energy-momentum tensor are given by Eqs.(11) and (12). As required in Kiselev approach [2], Eqs. (18) and (19) yield the relation

$$\begin{aligned} G^{t}_{\,\,t}=G^{r}_{\,\,r} . \end{aligned}$$
(24)

The symmetry arising from Eq. (24) demands that

$$\begin{aligned} B(r)\frac{dA(r)}{dr}+A(r)\frac{dB(r)}{dr}=0 , \end{aligned}$$
(25)

and, as a consequence \(A(r)=1/B(r)\). Substituting this result in the original set of field equations, we obtain

$$\begin{aligned} G^{t}_{\,\,t}=G^{r}_{\,\,r}=&-\frac{1}{r}\frac{dB(r)}{dr} - \frac{B(r)}{r^2} + \frac{1}{r^2}= H(\rho ), \end{aligned}$$
(26)
$$\begin{aligned} G^{\theta }_{\,\,\theta }=G^{\phi }_{\,\,\phi }=&-\frac{1}{2}\frac{d^2B(r)}{dr^2}-\frac{1}{r}\frac{dB(r)}{dr} = F(\rho ) . \end{aligned}$$
(27)

Now, the conditions supposed in [2], including additivity and linearity, restricts the form of functions H and F. If one assumes a relation \(H=kF\), where k is an arbitrary constant, then the exponent of the function f(T) must be \(n=1\) Notice that this condition can differ depending on the requirement of the solution analyzed. For instance, cosmological bounds are set in [58], but considering \(n=1/2\), which would be responsible for preserving the continuity equation for an unperturbed matter/spacetime. Combining equations (26) and (27) with the aforementioned assumptions, the energy density dependence is eliminated, and we obtain the following result

$$\begin{aligned}&\frac{3\varkappa +8\pi -w\varkappa }{4(3\pi w + w\varkappa +\pi )}\left( \frac{1}{2}\frac{d^2B(r)}{dr^2}+\frac{1}{r}\frac{dB(r)}{dr}\right) \nonumber \\&\quad + \frac{1}{r}\frac{dB(r)}{dr} + \frac{B(r)}{r^2} - \frac{1}{r^2}=0. \end{aligned}$$
(28)

Equation (28) can be rewritten in the following way

$$\begin{aligned} \begin{aligned}&\frac{1}{r^2} \left( \frac{d}{dr} (r B(r)) -1 \right) \\&\quad = -\frac{1}{2 r} \left( \frac{3\varkappa +8\pi -w\varkappa }{4(3\pi w + w\varkappa +\pi )}\right) \frac{d }{dr} \left( \frac{d}{dr} (r B(r)) -1 \right) , \end{aligned} \end{aligned}$$
(29)

which can be easily integrated in order to get:

$$\begin{aligned} \frac{d}{dr} (r B(r)) -1 = cr^{-\frac{8(3\pi w + w\varkappa +\pi )}{3\varkappa +8\pi -w\varkappa }}, \end{aligned}$$
(30)

with c being an integration constant. By integrating once again, we get

$$\begin{aligned} B(r)=1+\frac{c_{1}}{r}+Kr^{-\frac{8(3\pi w + w\varkappa +\pi )}{3\varkappa +8\pi -w\varkappa }}, \end{aligned}$$
(31)

where \(c_{1}\) and K are constants. Thus, substituting (31) in the field equation, we obtain the following expression for the energy density

$$\begin{aligned} \rho = D{r}^{-6\,{\frac{ \left( w+1 \right) \left( 4\,\pi +{ \varkappa } \right) }{-w{ \varkappa }+8\,\pi +3\,{ \varkappa }}}}, \end{aligned}$$
(32)

where

$$\begin{aligned} D \equiv 3{\frac{K \left( 8\,\pi \,w+3\,w{\varkappa }-{\varkappa } \right) }{{w}^{2} {{ \varkappa }}^{2}-16\,\pi \,w{ \varkappa } -6\,w{{ \varkappa }}^{2}+64\,{\pi }^{2}+48\,\pi \,{ \varkappa }+9\,{{ \varkappa }}^{2}}}. \end{aligned}$$
(33)

By identifying \(c_{1}=-2M\), where M is the total mass of the black hole surrounded by the fluid, the solution obtained in this work reduces to the Schwarzschild solution in the absence of fluid, given by the condition \(K=0\). Besides that, when \(\varkappa =0\), this solution reduces to the standard Kiselev black hole in general relativity

$$\begin{aligned} B(r)_{\varkappa \rightarrow 0}=1+\frac{-2M}{r}+Kr^{-(3w+1)}. \end{aligned}$$
(34)

4.1 Conservation conditions

In general, it is known that f(RT)-type theories of gravity have extra geometric terms that add additional accelerations to the trajectory of bodies. Such terms can be associated with a non-vanishing covariant derivative of the energy-momentum tensor. However, specific choices of the function f(RT) and the physical parameters of the system can lead to particular cases where the energy-momentum tensor is conserved. To see this, consider the application of the covariant derivative to equation (9). By using the Bianchi identities the lhs is equal to zero. The resulting expression can be written as

$$\begin{aligned} \nabla ^{\mu }T_{\mu \nu }=-\frac{\varkappa }{2(4\pi +\varkappa )}\left[ -2\nabla ^{\mu }(L_{m}g_{\mu \nu })+g_{\mu \nu }\nabla ^{\mu }T\right] . \end{aligned}$$
(35)

The term on the right-hand side is originated from the modification in the conservation equation imposed by the f(RT) theory. As a condition for \(T_{\mu \nu }\) to be conserved in the present version, the rhs of Eq. (35) must be null, which provides the following equation

$$\begin{aligned} -\frac{\varkappa }{2(4\pi +\varkappa )}\left( 1-w\right) \nabla _{r}\rho (r)=0 . \end{aligned}$$
(36)

By using Eq. (32), the above expression can be written in the following form

$$\begin{aligned} \frac{9 \varkappa K \left( w ^2-1\right) (\varkappa (3 w -1)+8 \pi w ) r^{\frac{\varkappa (5 w +9)+8 \pi (3 w +4)}{\varkappa (w -3)-8 \pi }}}{(\varkappa (w -3)-8 \pi )^3} =0. \end{aligned}$$
(37)

We can see that doing \(\varkappa =0\) the conservation relation in general relativity is restored. This expression has many possible solutions depending on the choice of the values of w and \(\varkappa \). In particular the solution \(w=-1\) is independent of the parameter \(\varkappa \), it is associated a black hole surrounded by a cosmological field and besides satisfies the conservation condition obtained. In the next sections, we analyze in details specifics choices of the parameter of the equation of state.

In general, the conservation of the energy-momentum tensor, which is given by Eq. (37), and is obtained with the help of Bianchi’s identity, is not fulfilled. This is a feature of f(RT) gravity and other non-conservative theories of gravity. The non-conservation includes some particular cases studied in this paper \(w=0,\,1/3,\,-2/3,\,-4/3\), however, for specific choices of the parameter \(\varkappa \) some of these cases can satisfy the conservation condition. For example, for the case \(w=-2/3\), Eq. (37) is satisfied if \(\varkappa = - 16 \pi / 9\). In the present version of the f(RT) gravity, the non-conservation, that is related to trace of the stress-energy tensor, could be induced by exotic imperfect fluids or quantum effects [53]. The aim of this paper is to interpret the consequences of such non-conservation on some properties of the Kiselev black hole ansatz.

4.2 Energy conditions

Regarding the energy conditions for the anisotropic fluid, there are some requirements that the components of energy-momentum must satisfy in order to represent a realistic matter distribution. It is well-known that exotic matter violate certain energy conditions of the energy-momentum tensor. In the case of the strong energy condition (SEC), the expression for anisotropic fluids is given by the pair of equations

$$\begin{aligned} \text {SEC}:\,\, \rho + p_{n} \ge 0, \,\,\, \rho + \sum _{n} p_{n} \ge 0, \end{aligned}$$
(38)

where \(n=1,2,3...\) By considering the energy density (32) and the components of pressure defined in (13), we obtain the radial and tangential pressure in the form

$$\begin{aligned} p_r=&-\rho =-D{r}^{-6\,{\frac{ \left( w+1 \right) \left( 4\,\pi +{ \varkappa } \right) }{-w{ \varkappa }+8\,\pi +3\,{ \varkappa }}}}, \end{aligned}$$
(39)
$$\begin{aligned} p_t=&\frac{1}{2}(3w+1)D{r}^{-6\,{\frac{ \left( w+1 \right) \left( 4\,\pi +{ \varkappa } \right) }{-w{ \varkappa }+8\,\pi +3\,{ \varkappa }}}}. \end{aligned}$$
(40)

In this way, the SEC can be written as

$$\begin{aligned} \rho +p_r=&0, \end{aligned}$$
(41)
$$\begin{aligned} \rho +p_t=&\frac{3}{2}(w+1)D{r}^{-6\,{\frac{ \left( w+1 \right) \left( 4\,\pi +{ \varkappa } \right) }{-w{ \varkappa }+8\,\pi +3\,{ \varkappa }}}}, \end{aligned}$$
(42)
$$\begin{aligned} \rho +p_r+2p_t=&(3w+1)D{r}^{-6\,{\frac{ \left( w+1 \right) \left( 4\,\pi +{ \varkappa } \right) }{-w{ \varkappa }+8\,\pi +3\,{ \varkappa }}}}. \end{aligned}$$
(43)

As a consequence of Eqs. (41),(42) and (43), the conditions in which the SEC is satisfied are the following

$$\begin{aligned} \frac{K(8\pi w +3w\varkappa -\varkappa )(3w+1)}{w^2\varkappa ^2-16\pi w \varkappa -6w \varkappa ^2 +64\pi ^2+48\pi \varkappa +9\varkappa ^2}&\ge 0, \end{aligned}$$
(44)
$$\begin{aligned} \frac{K(8\pi w +3w\varkappa -\varkappa )(w+1)}{w^2\varkappa ^2-16\pi w \varkappa -6w \varkappa ^2 +64\pi ^2+48\pi \varkappa +9\varkappa ^2}&\ge 0. \end{aligned}$$
(45)

Possible solutions that satisfy the above equations connecting the parameters w, \(\varkappa \) and the SEC can be visualized in Figs. 1 and  2. In Fig. 1, we plot the left-hand side (LHS) of Eq. (44) and we consider positive values of K. In the case of Fig. 2, we plot the LHS of Eq. (45) and also consider positive values of K. In these plots, negative values of the independent variable (vertical axis) correspond to the region where the SEC is violated. Note that negative values of K cause a reflection on the values of the independent variable. We can see that in both the plots, positive values of K tend to produce results that do not violate the SEC.

Fig. 1
figure 1

Condition (44) is plotted as a function of w and \(\varkappa \) considering positive values of K. Negative values of the independent variable are associated to the regions where the SEC is violated

Fig. 2
figure 2

Condition (45) is plotted as a function of w and \(\varkappa \) considering positive values of K. Negative values are associated to the regions where the SEC is violated

4.3 Horizons, mass and temperature

By denoting the place where the metric function B(r) is equal to zero as \(r_h\), the horizons of a metric function are defined as \(B(r_h)=0\). It follows from this definition that the black hole mass parameter can be written in terms of \(r_h\), as follows

$$\begin{aligned} M(r_h)=\frac{1}{2}r_h\left[ 1+K r_h^{-\frac{8(3\pi w + w\varkappa +\pi )}{3\varkappa +8\pi -w\varkappa }}\right] , \end{aligned}$$
(46)

which represents a general relation connecting the mass, the parameters w and \(\varkappa \). In Fig. 3 we show B(r) in terms of r for a fixed value of the mass M and some specific values of the Kiselev parameter w (these specific cases are discussed in more detail in the sections below). The figure shows how the behavior of the curve B(r) changes as we vary the value of the parameter \(\varkappa \) of the f(RT) gravity. As a consequence, the points where B(r) is equal to zero, that is, the horizons \(r_h\), also change. For the values of parameters used in the figure, we can observe that positive values of \(\varkappa \) lead to horizons with smaller \(r_h\) radii, and negative values of \(\varkappa \) lead to even smaller horizons.

Fig. 3
figure 3

Plot of B(r) versus r, Eq. (31), in units of mass \((M=1)\), for three types of anisotropic fluid \((w=-2/3\), \(w=0\) and \(w=1/3)\), and for the cases \(\varkappa =-10\), \(\varkappa =0\) (which recovers GR) and \(\varkappa =10\). In this plot \(K=3/4\)

The surface gravity of the black hole surround by a fluid, given by \(\kappa =\frac{1}{2}\frac{dB(r)}{dr}\Big |_{r=r_h},\) can be evaluated, with the following result

$$\begin{aligned} \kappa =\frac{8\pi + 3\varkappa -w\varkappa -3K(8\pi w-\varkappa + 3w\varkappa ) r_h^{-\frac{8(3\pi w + w\varkappa +\pi )}{3\varkappa +8\pi -w\varkappa }}}{2(8\pi +3\varkappa - w\varkappa )r_h}. \end{aligned}$$
(47)

As can be shown, for instance by considering Hawking radiation as a tunneling effect [59], it is possible to relate the surface gravity of a black hole metric with the black hole temperature (which is a formula that only relies on the metric functions and is independent on the details of the field theory that originated the spacetime). In this case, it can be described in term of the equation of state w, and of the parameter of the f(RT) gravity \(\varkappa \) as \(T_{BH}=\hbar \kappa /(2\pi )\) as follows

$$\begin{aligned} T_{BH}=\frac{\hbar }{4\pi r_h}-\frac{ 3K \hbar (8\pi w-\varkappa + 3w\varkappa ) r_h^{-\frac{8(3\pi w + w\varkappa +\pi )}{3\varkappa +8\pi -w\varkappa }}}{4\pi (8\pi +3\varkappa - w\varkappa )r_h} . \end{aligned}$$
(48)

From this expression, we observe that Hawking temperature for a black hole surrounded by fluid in f(RT) gravity has an additional structure that comes from the dependence on the parameter \(\varkappa \). In the following, we analyze the influence of this result by taking into account particular choices of the parameter w.

5 Particular cases

Let us study some cases corresponding to particular choices of the parameter of the equation of state w and compare with the corresponding solutions in general relativity. As we will see, the values of the w associated to the well-known particular solutions will provide a family of solutions depending on the parameter \(\varkappa \) of the f(RT) gravity. We stress that particular choices of the parameter w regarding the solution obtained in f(RT) do not necessarily have the same interpretation as the solutions obtained in general relativity with the same value of w.

5.1 Black hole surrounded by a dust field

In this case we choice \(w=0\) [2, 60] such that Eq. (31) reduces to the form

$$\begin{aligned} B(r)=1-\frac{2M}{r}+Kr^{-\frac{8\pi }{3\varkappa +8\pi }}. \end{aligned}$$
(49)

The presence of the parameter \(\varkappa \) imply that this solution in not equivalent to the metric of the black hole surrounded by a dust field in the context of general relativity. In the case of \(\varkappa \rightarrow \) 0, Eq. (49) reduces to the metric associated to a Schwarzschild black hole with an effective mass \(M_{eff}=2M-K\). The energy density associated to Eq. (49) is given by

$$\begin{aligned} \rho =-\frac{3K \varkappa r^{-\frac{6(4\pi +\varkappa )}{8\pi +3\varkappa }}}{(8\pi +3\varkappa )^2}, \end{aligned}$$
(50)

which in turn differs from the Kiselev black hole [2],in general relativity. The SEC conditions, represented by Equations (44) and (45), are equivalent in the case \(w=0\) and are given by expression

$$\begin{aligned} \frac{-K\varkappa }{64\pi ^2+48\pi \varkappa +9\varkappa ^2} \ge 0 . \end{aligned}$$
(51)

For \(K>0\), the solution should satisfy the inequality \(\varkappa \le 0\) with \(\varkappa \ne -8\pi /3\). In Fig. 4, the region where the SEC is satisfied, according conditions imposed by Eq. 51, is plotted. In this way, in general relativity (\(\varkappa =0\)) the SEC is satisfied. In turn, in f(RT) gravity the SEC is satisfied or not, depending on values of \(\varkappa \).

Fig. 4
figure 4

Condition (51) is plotted as a function of \(\varkappa \) considering positive values of K. Negative values of this expression are associated to the regions where the SEC is violated

The Hawking temperature can be obtained by doing \(w=0\) in Eq. (48), and is given by

$$\begin{aligned} T_{BH}=\frac{8\pi +3\varkappa (1+K r_h^{-\frac{8\pi }{8\pi +3\varkappa }})}{4\pi r_h(8\pi +3\varkappa )}. \end{aligned}$$
(52)

This equation gives us a family of curves depending on the values of \(r_h\) and \(\varkappa \). In Fig. 5, we draw a set of graphs of the Hawking temperature \(T_{BH}\), with respect to \(r_h\) for different values of \(\varkappa \). For positive values of \(\varkappa \), the temperature remains positive, and increases when the value of \(r_h\) decreases. In contrast, negative values of \(\varkappa \) are associated to negative temperatures for small values of \(r_h\).

Fig. 5
figure 5

Equation (52) is plotted as a function of \(r_h\) considering several values for \(\varkappa \) with \(K=\hbar =1\), and \(w=0\). The curve with \(\varkappa =0\) (black curve) corresponds to the GR case

5.2 Black hole surrounded by the radiation field

We consider a black hole in which \(w=1/3\), according to Ref. [2, 60] this specific value reproduces a black hole surrounded by the radiation field in the context of general relativity. By using the value \(w=1/3\) in Eq. (31) the metric function can be written as

$$\begin{aligned} B(r)=1-\frac{2M}{r}+Kr^{-\frac{3\pi }{\varkappa +3\pi }-1}, \end{aligned}$$
(53)

due to the presence of the parameter \(\varkappa \), the metric associated to this expression is different from the metric of a black hole surrounded by the radiation field in general relativity. In the limit of \(\varkappa \rightarrow 0\), we obtain the metric function

$$\begin{aligned} B(r)=1-\frac{2M}{r}+\frac{K}{r^2}, \end{aligned}$$
(54)

corresponding to the black hole surrounded by the radiation field obtained in [2]. The metric function (54) is effectively the metric of Reissner-Nordström black hole with an effective charge \(Q_{eff}^2=K\). In this case, the energy density associated to solution (53) is written as

$$\begin{aligned} \rho =\frac{9K\pi r^{-3\frac{4\pi +\varkappa }{3\pi +\varkappa }}}{8(3\pi +\varkappa )^2}, \end{aligned}$$
(55)

that depends on the parameter of the \(\varkappa \) of the f(RT) gravity, which makes this result different from the one corresponding to the same system in general relativity, as expected. Regarding the SEC condition, represented by Equations (44) and (45), these relations, in the case \(w=1/3\), assume the form

$$\begin{aligned} \frac{3\pi K}{4(3\pi +\varkappa )^2} \ge 0, \end{aligned}$$
(56)
$$\begin{aligned} \frac{\pi K}{2(3\pi +\varkappa )^2} \ge 0. \end{aligned}$$
(57)

If one consider \(K \ge 0\), these expressions obtained imply that \(\varkappa \ne -\pi /3\).

Fig. 6
figure 6

Conditions given by Eqs. (56) and (57) are plotted as a function of \(\varkappa \) considering positive values of K. Negative values of this expression are associated to the regions where the SEC is violated

In Fig. 6, the regions where the SEC is satisfied are plotted. Note that the SEC is fulfilled everywhere except at \(\varkappa = -3\pi \) for \(K>0\), where there is a divergence in the equations for the SEC. For \(K<0\), the SEC is violated everywhere. By doing \(w=0\) in Eq. (48), we obtain the Hawking temperature for the black hole surrounded by the radiation field, given by

$$\begin{aligned} T_{BH}=\frac{1}{4\pi r_h}-\frac{3K r_h^{-2-\frac{3\pi }{3\pi +\varkappa }}}{4(3\pi +\varkappa )}. \end{aligned}$$
(58)

We draw a set of graphs of the Hawking temperature \(T_{BH}\) with respect to \(r_h\) for different values of \(\varkappa \) in Fig. 7. For all values of \(\varkappa \), the temperature remains positive in a region of considered and tends to negative values in the region where \(r_h\) is small.

Fig. 7
figure 7

The Hawking temperature, given in Equation (58), is plotted as a function of \(r_h\), considering several values for \(\varkappa \) with \(K=\hbar =1\), and \(w=1/3\). The curve with \(\varkappa =0\) (black curve) corresponds to the GR case

5.3 Black hole surrounded by the quintessence field

It is assumed that the parameter of the equation of state is \(w=-2/3\) [2, 60] in this solution. Thus, the function B(r) reads as

$$\begin{aligned} B(r)=1-\frac{2M}{r} + K r^{\frac{8(3\pi +2\varkappa )}{24\pi +11\varkappa }}, \end{aligned}$$
(59)

we can see that the presence of term \(\varkappa \), imply in a family of solutions associated to \(w=-2/3\) in the context of f(RT) gravity. The SEC conditions, (44) and (45) for \(w=-2/3\), take the following form

$$\begin{aligned} \frac{3K(16\pi +9\varkappa )}{(24\pi +11\varkappa )^2} \ge 0, \end{aligned}$$
(60)
$$\begin{aligned} \frac{K(-16\pi -9\varkappa ) }{(24\pi +11\varkappa )^2} \ge 0, \end{aligned}$$
(61)

once again, this expression depends on the signal of the constant K. But in this case, namely, \(w=-2/3\), the condition in which the SEC is not violated is given by the pair of equations that have different behavior in the domain under consideration. Now, there is only a point where Equations (60) and (61) are satisfied, given by \(\varkappa = -16\pi /9\). As we can see in Fig. 8, Eq. (60), represented by the continuous line and Eq. (61), represented by the dashed line, have opposite behavior. In this figure, it was considered positive values for K. By considering negative values, the shapes of curves are reversed.

Fig. 8
figure 8

Conditions (60) and (61) originated in (44) and (45) plotted as a function of \(\varkappa \) considering positive values of K. Negative values of ordinate axis are associated to the regions where the SEC is violated. There is one point where the SEC is satisfied, corresponding to the intersection of the curves

Assuming \(w=-2/3\) in Eq. (48), the Hawking temperature for the black hole surrounded by the quintessence field takes the form

$$\begin{aligned} T_{BH}=\frac{3K (9 \varkappa +16 \pi ) r_{h}^{\frac{8 (2 \varkappa +3 \pi )}{11 \varkappa +24 \pi }}+11 \varkappa +24 \pi }{4 \pi r_h (11 \varkappa +24 \pi )}, \end{aligned}$$
(62)

We can see in Fig. 9 the Hawking temperature \(T_{BH}\) as a function of \(r_h\) for different values of \(\varkappa \). In this case, the shape of curves changes significantly for each value of \(\varkappa \). Note that all the curves are associated to the positive values of temperature, except the green curve, where the Hawking temperature assumes negative values in the domain studied.

Fig. 9
figure 9

The Hawking temperature for the black hole surrounded by the quintessence field plotted as a function of \(r_h\) considering different values of \(\varkappa \) with \(K=\hbar =1\), and \(w=-2/3\). The curve with \(\varkappa =0\) (black curve) corresponds to the GR case

5.4 Black hole surrounded by the cosmological constant field

According to Ref. [2, 61], the value \(w=-1\) corresponds to the black hole surrounded by the cosmological constant field. Then, Eq. (31), in the context of the f(RT) gravity, considering the equation of state with \(w=-1\), reduces to

$$\begin{aligned} B(r)=1-\frac{2M}{r}+Kr^2. \end{aligned}$$
(63)

This is the same function obtained in [2] in the context of general relativity. Thus, we conclude that the case \(w=-1\) in f(RT) gravity corresponds, exactly, to the one obtained in the framework of general relativity. The energy density assumes the form

$$\begin{aligned} \rho = -\frac{3K}{8\pi + 4\varkappa } , \end{aligned}$$
(64)

where \(\varkappa \ne -2\pi \) in order to avoid the singularity at this point. Using \(w=-1\) in Equations (60) and (61), we conclude that Eq. (61) is zero and Eq. (60) can be written as

$$\begin{aligned} \frac{K}{4\pi +2\varkappa } \ge 0, \end{aligned}$$
(65)

with \(\varkappa >-2\pi \). In Fig. 10, we show the behavior of the LHS of Eq. (65) considering \(K>0\).

Fig. 10
figure 10

Condition (65) plotted as a function of \(\varkappa \) considering positive values of K. Negative values of vertical axis are associated to the regions where the SEC is violated. In this graph, the SEC is not violated if \(\varkappa >-2\pi \)

5.5 Black hole surrounded by the phantom field

The black hole associated to the phantom field can be obtained in general relativity, considering \(w=-4/3\) [61]. Substituting this value in Eq. (31), we find the following metric function

$$\begin{aligned} B(r)=1-\frac{2M}{r} + Kr^{\frac{8(9\pi +4\varkappa )}{24\pi +13\varkappa }} . \end{aligned}$$
(66)

The presence of the parameter \(\varkappa \), imply that the solutions associated to \(w=-4/3\) in the context of f(RT) gravity and the solutions with \(w=-4/3\) in general relativity, are not equivalent. The SEC conditions, (44) and (45) for \(w=-4/3\) are given by relations

$$\begin{aligned} \frac{9K(32\pi +15\varkappa )}{(24\pi +13\varkappa )^2} \ge 0, \end{aligned}$$
(67)
$$\begin{aligned} \frac{K(32\pi +15\varkappa ) }{(24\pi +13\varkappa )^2} \ge 0, \end{aligned}$$
(68)

where the solution of the pair of equations above demands that

$$\begin{aligned} -\frac{32\pi }{15} \le \varkappa < -\frac{24\pi }{13},\,\,\text {or}\,\,\,\, \varkappa >-\frac{24\pi }{13}. \end{aligned}$$
(69)

In Fig. 11, Eqs. (68) and (69), represented by the continuous line and dashed lines, respectively, have similar behavior. In this figure, it was considered positive values for K. The shapes of the curve for negative values of K, are reversed as compared to the one for positive values of K.

Fig. 11
figure 11

Conditions (60) and (61) originated from (44) and (45) plotted as a function of \(\varkappa \) considering positive values of K. Negative values of ordinate axis are associated to the regions where the SEC is violated. There is one point where the SEC is satisfied, corresponding to the intersection of the curves

Assuming \(w=-4/3\) in Eq. (48), the Hawking temperature for the black hole surrounded by the quintessence field takes the form

$$\begin{aligned} T_{BH}=\frac{3 K (15 \chi +32 \pi ) r^{\frac{8 (4 \chi +9 \pi )}{13 \chi +24 \pi }}+13 \chi +24 \pi }{4 \pi r (13 \chi +24 \pi )}. \end{aligned}$$
(70)

The Hawking temperature, in this case, is shown in Fig. 12. The shape of curves do not change significantly for each value of \(\varkappa \). We observe that all the curves are associated to the positive values of temperature in the domain studied.

Fig. 12
figure 12

The Hawking temperature for the black hole surrounded by the quintessence field plotted as a function of \(r_h\) considering different values of \(\varkappa \) with \(K=\hbar =1\), and \(w=-4/3\). The curve with \(\varkappa =0\) (black curve) corresponds to the GR case

6 Final remarks

The results obtained in this paper provide, for the first time in the literature, a solution of the gravitational field equation in f(RT) gravity corresponding to the fluid of Kiselev’s. This solution has an interesting feature: by choosing particular values of the parameter of the equations of state, namely w, we are able to reproduce well-known solutions of the Einstein field equation as particular cases. As we have seen in this paper, this remarkable feature is present in the context of f(RT) gravity.

This fluid has been studied in the context of general relativity and modified theories of gravity. In the present paper, we have considered the model \(f(T)=\varkappa T^{n}\) and the conditions that it must satisfy in order to generate Kiselev black holes in the context of this theory of gravity. Indeed, the additivity and linearity conditions suggests that the accepted value of n should be 1. The general solution obtained has an additional structure that comes from the dependence on the parameter \(\varkappa \) of the f(RT) gravity. This property implies that several particular values of the parameter w in modified gravity lead to solutions which differs from the Kiselev black hole, in general relativity.

To carry out a systematic analysis of the solution obtained in f(RT) gravity, we use particular values for w associated to the solutions corresponding to a black holes surrounded by dust field (\(w=0\)), radiation field (\(w=1/3\)), quintessence field (\(w=-2/3\)), cosmological constant field (\(w=-1\)), phantom field (\(w=-4/3\)) and so on. Considering the particular solutions studied, only the case \(w=-1\) is equivalent to the solution obtained in general relativity. The other cases studied, have an additional structure in the solutions provided by the modified gravity, which is characterized by dependence on the parameter \(\varkappa \).

Due to the presence of the additional structure from f(RT) gravity, in the majority of the solutions considered, the SEC condition can be satisfied, considering the particular cases. We have analyzed in details the conditions imposed by SEC on the parameter \(\varkappa \) of the theory and on the constant K and conclude that the particular solutions that depend on \(\varkappa \) are more flexible regarding the energy conditions. We studied the horizons associated to the solution obtained and determined the Hawking temperatures. As we can see, in some particular cases studied, the Hawking temperature can reach negative values for certain values of \(\varkappa \), which means that some restrictions should be imposed to the values of \(\varkappa \) in order to avoid this behavior.

Finally, we observe that the choice of models of f(RT) gravity with high order terms in R or T can lead to difficulties in finding exact solutions due to the condition \(H=kF\), supposed in the solution obtained.