1 Introduction

At present, the type 1a supernova [1], cosmic microwave background (CMB) radiation [2], and the large scale structure [3, 4] have shown that our universe is currently in an accelerating expansion period. Dark energy is responsible for this acceleration and it has the strange property that it violates the null energy condition (NEC) and the weak energy condition (WEC) [5, 6] and produces strong repulsive gravitational effects. Recent observations suggests that approximately 74 % of our universe is occupied by dark energy and the rest 22 and 4 % is of dark matter and ordinary matter, respectively. Nowadays dark energy is the most challenging problem in astrophysics. Many theories have been proposed to handle this important problem in last two decades. Dark energy is modeled using the relationship between energy density and pressure by a perfect fluid with the equation of state (EoS) \(\rho = \omega p\). The candidates of dark energy are a phantom-like fluid \((\omega < -1)\), quintessence \((-1 < \omega < -1/3)\), and the cosmological constant \((\omega = -1)\) [7]. Other models are also proposed as an explanation of dark energy, like k-essence, DBI-essence, Hessence, dilation, tachyons, Chaplygin gas, etc. [816].

On the other hand, the existence of essential singularities [which leads to various black holes (BHs)] is one of the major problems in general relativity (GR) and it seems to be a common property in most of the solutions of Einstein’s field equations. To avoid these singularities, regular BHs (RBHs) have been developed. These BHs are solutions of Einstein’s equation with no essential singularity; hence their metric is regular everywhere. The strong energy condition (SEC) is violated by these RBHs somewhere in space-time [17, 18], while some of these satisfy the WEC. However, it is necessary for those RBHs to satisfy the WEC having a de Sitter center. The study of an RBHs solutions is very important for understanding the gravitational collapse. Since the Penrose cosmic censorship conjecture claims that singularities predicted by GR [19, 20] occur, they must be explained by event horizons. Bardeen [21] has done pioneering work in this way by presenting the RBH known as the “Bardeen black hole”, satisfying the WEC.

The discussion as regards the properties of the BHs have led to many interesting phenomena. Accretion onto the BHs is one of them. When massive condensed objects (e.g. black holes, neutron stars, stars etc.) try to capture a particle of the fluid from its surroundings, then the mass of condensed object has been effected. This process is known as accretion of fluid by condensed object. Due to accretion the planets and star form inhomogeneous regions of dust and gas. Supermassive BHs exist at the center of giant galaxies, which suggests that they could have formed through an accretion process. It is not necessary that the mass of the BH increases due to the accretion process, sometimes in-falling matter is thrown away like cosmic rays [22]. For a first time, the problem of accretion on a compact object was investigated by Bondi using the Newtonian theory of gravity [23]. After that many researchers such as Michel [24], Babichev et al. [25, 26], Jamil [27] and Debnath [31] have discussed the accretion on Schwarzschild BHs under different aspects. Kim and Kang [29] and Jimenez Madrid and Gonzalez-Diaz [30] studied accretion of dark energy on a static BH and a Kerr–Newman BH. Sharif and Abbas [28] discussed the accretion on stringy charged BHs due to phantom energy.

Recently, the framework of accretion on general static spherical symmetric BHs has been presented by Bahamonde and Jamil [22]. We have extended this general formalism for some RBHs. We analyze the effect of the mass of a RBH by choosing different values of the EoS parameter. This paper is organized as follows: In Sect. 2, we derive a general formalism for a spherically static accretion process. In Sect. 3, we discuss some RBHs and for each case, we explain the critical radius, critical points, speed of sound, radial velocities profile, energy density, and the rate of change of the RBH mass. In the end, we conclude our results.

2 General formalism for accretion

The generalized static spherical symmetry is characterized by the following line element:

$$\begin{aligned} \mathrm{d}s^{2}= & {} -X(r)\mathrm{d}t^{2}+\frac{1}{Y(r)}\mathrm{d}r^{2}\nonumber \\&+Z(r)(\mathrm{d}\theta ^{2}+\sin \theta ^{2}\mathrm{d}\phi ^{2}), \end{aligned}$$
(1)

where \(X(r)>0\), \(Y(r)>0\), and \(Z(r)>0\) are functions of r only. The energy-momentum tensor is considered in terms of a perfect fluid which is isotropic and inhomogeneous and defined as follows:

$$\begin{aligned} T_{\mu \nu } = (\rho + p)u_\mu u_\nu + p g_{\mu \nu }, \end{aligned}$$
(2)

where p is the pressure, \(\rho \) is the energy density, and \(u^{\mu }\) is the four-velocity, which is given by

$$\begin{aligned} u^{\mu } = \frac{\mathrm{d}x^{\mu }}{\mathrm{d}\tau } = (u^{t},u^{r},0,0), \end{aligned}$$
(3)

where \(\tau \) is the proper time. \(u^{\theta }\) and \(u^{\phi }\) both are equal to zero due to spherical symmetry restrictions. Here the pressure, the energy density, and the four-velocity components are only functions of r. The normalization condition of the four-velocity must satisfy \(u^{\mu } u_{\mu } = -1\), and we get

$$\begin{aligned} u^{t} := \frac{\mathrm{d}t}{\mathrm{d}\tau } = \sqrt{\frac{u^2+Y}{XY}}, \end{aligned}$$
(4)

where \( u = \mathrm{d}r/\mathrm{d}\tau = u^{r}\) [22], \(u^{t}\) can be negative or positive due to the square root which represents the backward or forward in time conditions. However, \(u < 0\) is required for the accretion process, otherwise for any outward flows \(u > 0\). Both inward and outward flows are very important in astrophysics. One can assume that the fluid is determined by dark energy or any kind of dark matter. For a spherically symmetric BH, the proper dark energy model could be obtained by generalizing Michel’s theory. In dark energy accretion, Babichev et al. [25] have introduced the above generalization of the Schwarzschild black hole. Similarly, some authors [22, 31] have extended this procedure for a generalized static spherically symmetric BH. In these works, the equation of continuity plays an important role, which turns out to be

$$\begin{aligned} (\rho + p)u\frac{X(r)}{Y(r)}\sqrt{u^2+Y(r)}Z(r) = A_{0}, \end{aligned}$$
(5)

where \(A_0\) is the constant of integration. Using \(u_{\mu } T^{\mu \nu }_{\mu } = 0\), we obtain the continuity (or relativistic energy flux) equation

$$\begin{aligned} u^{\mu } \rho _{,\mu } + (\rho + p)u^{\mu }_{;\mu }=0. \end{aligned}$$
(6)

Furthermore, we assume \(p = p(\rho )\), a certain EoS in this case. After some calculations, the above equation becomes

$$\begin{aligned} \frac{\rho ^{'}}{\rho + p} + \frac{u^{'}}{u} +\frac{X^{'}}{2X} + \frac{Y^{'}}{2Y}+ \frac{Z^{'}}{Z}=0, \end{aligned}$$
(7)

where a prime represents the derivative with respect to r. By integrating the last equation, we obtain

$$\begin{aligned} uZ(r)\sqrt{\frac{X(r)}{Y(r)}} e^{\int {\frac{\mathrm{d}\rho }{\rho +p(\rho )}}}=-A_1, \end{aligned}$$
(8)

where \(A_1\) is the constant of integration. By equating Eqs. (5) and (8), we get

$$\begin{aligned} (\rho +p)\sqrt{\frac{X(r)}{Y(r)}}\sqrt{u^2+Y} e^{-\int {\frac{\mathrm{d}\rho }{\rho +p(\rho )}}}=-\frac{A_0}{A_1}=A_3, \end{aligned}$$
(9)

where \(A_3\) is another constant, depending upon \(A_0\) and \(A_1\). Moreover, the equation of mass flux yields

$$\begin{aligned} \rho u\sqrt{\frac{X(r)}{Y(r)}}Z(r) = A_2, \end{aligned}$$
(10)

where \(A_2\) is the constant of integration. By using Eqs. (5) and (10), we obtain the following important relation:

$$\begin{aligned} \frac{(\rho +p)}{\rho } \sqrt{\frac{X(r)}{Y(r)}}\sqrt{u^2+Y} = \frac{A_1}{A_2}\equiv A_4, \end{aligned}$$
(11)

where \(A_4\) is arbitrary constant which depends on \(A_1\) and \(A_2\). Taking differentials of Eqs. (10) and (11) and some manipulation lead to

$$\begin{aligned}&\left( V^{2} - \frac{u^2}{u^2+Y}\right) \frac{\mathrm{d}u}{u} + \left( (V^{2}-1)\left( \frac{X^{'}}{X}-\frac{Y^{'}}{Y}\right) \right. \nonumber \\&\quad \left. +\frac{Z^{'}}{Z}V^{2}-\frac{Y^{'}}{2(u^{2}+Y)}\right) \mathrm{d}r = 0. \end{aligned}$$
(12)

In addition, we have introduced the variable

$$\begin{aligned} V^{2} \equiv \frac{\mathrm{d}\ln {\rho + p}}{\mathrm{d}\ln {\rho }} - 1. \end{aligned}$$
(13)

If the bracketed terms in Eq. (12) vanish, we obtain the critical point (where the speed of sound equals the speed of the flow), which is located at \(r = r_c\). Hence at the critical point, we get

$$\begin{aligned} V_c^{2} = \frac{u_c^2}{u_c^2+Y(r_c)}, \end{aligned}$$
(14)

and Eq. (12) turns out to be

$$\begin{aligned}&(V^{2}_c-1)\left( \frac{X^{'}(r_c)}{X(r_c)}-\frac{Y^{'}(r_c)}{Y(r_c)}\right) +\frac{Z^{'}(r_c)}{Z(r_c)}V^{2}_{c}\nonumber \\&\quad = \frac{Y^{'}(r_c)}{2(u^{2}_c+Y(r_c))}. \end{aligned}$$
(15)

Also, \(u_c\) is the critical speed of the flow evaluated at the critical value \(r = r_c\). We can decouple the above two equations and obtain

$$\begin{aligned} u^{2}_{c}= & {} \frac{Y(r_c)Z(r_c)X^{'}(r_c)}{2X(r_c)Z^{'}(r_c)},\quad \nonumber \\&V^{2}_{c}=\frac{Z(r_c)X^{'}(r_c)}{2X(r_c)Z^{'}(r_c)+Z(r_c)X^{'}(r_c)}. \end{aligned}$$
(16)

The speed of sound is evaluated at \(r = r_c\) as follows:

$$\begin{aligned} c^{2}_s=\frac{\mathrm{d}p}{\mathrm{d}\rho }|_{r =r_c}=A_4\sqrt{\frac{Y(r_c)}{X(r_c)(u^{2}_c+Y(r_c))}}-1. \end{aligned}$$
(17)

Obviously, \(u^{2}_c\) and \(V^{2}_c\) can never be negative and hence

$$\begin{aligned} \frac{X^{'}(r_c)}{Z^{'}(r_c)} > 0. \end{aligned}$$
(18)

Moreover, the rate of change of the BH mass can be defined as follows [31]:

$$\begin{aligned} \dot{M}_{\mathrm{acc}} = 4 \pi A_3 M^{2} (\rho + p). \end{aligned}$$
(19)

Here a dot is for a derivative with respect to time. We can observe that the mass of the BH will increase for the fluid, \(\rho +p>0\), and hence the accretion occurs outside the BH. Otherwise, for \(\rho +p<0\) like a fluid, the mass of the BH will decrease. The mass of the BH cannot remain fixed because it will decrease due to Hawking radiation, while it will increase due to accretion. If we consider the time dependence of the BH mass, then we first assume that it will not change the geometry and symmetry of space-time. Hence the space-time metric remains static spherically symmetric [22].

3 Spherically symmetric metrics with charged RBHs

In this section, we discuss the spherically symmetric metrics with charged RBHs in which \(X(r) = Y(r)\). For this assumption, Eq. (16) gives

$$\begin{aligned} u^{2}_{c}= & {} \frac{Z(r_c)X^{'}(r_c)}{2Z^{'}(r_c)},\quad \nonumber \\&V^{2}_{c}=\frac{Z(r_c)X^{'}(r_c)}{2X(r_c)Z^{'}(r_c)+Z(r_c)X^{'}(r_c)}. \end{aligned}$$
(20)

Although our focus is on charged RBHs metrics with event horizons, the present analysis is forbidden for a horizon space-time. In many cases, we are concerned with critical values (critical radius), critical velocities, speed of sound in fluid, behavior of energy density of fluid, radial velocity, and the rate of change of the mass of the accreting objects. So the horizon is not involved anywhere [22].

3.1 Charged RBH using Fermi–Dirac distribution

The said RBH solution has the following metric functions [32]:

$$\begin{aligned} X(r)= 1-\frac{2M}{r}\left( \frac{\xi (x)(\beta r)}{\xi _{\infty }}\right) ^{\beta }=Y(r), \end{aligned}$$
(21)

where the Fermi–Dirac distribution function is

$$\begin{aligned} \xi (x)=\frac{1}{e^{x}+1}. \end{aligned}$$
(22)

By replacing \(x = \frac{q^2}{M\beta r}\), we can obtain the distribution function as

$$\begin{aligned} \xi (\beta r)=\frac{1}{e^{\frac{q^2}{M\beta r}}+1}, \end{aligned}$$
(23)

with normalization factor \(\xi _{\infty }=\frac{1}{2}\). Also the distribution function satisfies

$$\begin{aligned} \frac{\xi (r)}{\xi _{\infty }}\rightarrow 1, \end{aligned}$$
(24)

where \(r\rightarrow \infty \). Hence the metric functions turn out to be

$$\begin{aligned} X(r)= Y(r)= 1-\frac{2M}{r} \left( \frac{2}{ e^{\frac{q^2}{Mr}}+1}\right) ^{\beta },\quad Z(r)=r^2.\nonumber \\ \end{aligned}$$
(25)

If we set \(\beta \) \(\rightarrow 0\) and \(\beta \) \(\rightarrow \) \(\infty \), we obtain

$$\begin{aligned} X(r)= & {} Y(r)= 1-\frac{2M}{r} e^{\frac{-q^2}{Mr}},\end{aligned}$$
(26)
$$\begin{aligned} X(r)= & {} Y(r)= 1-\frac{2M}{r} e^{\frac{-q^2}{2Mr}}. \end{aligned}$$
(27)

In both equations, the difference of the factor 2 must be noted [32].

It is possible to integrate the conversation laws and obtain analytical expressions of the physical parameters. For simplicity, we will study the barotropic case where the fluid has the equation \(p(r) = \omega \rho (r)\). Using (5) and (11), we obtain

$$\begin{aligned}&u(r)\nonumber \\&\quad = \frac{ \left( \left( 2M\left( \frac{1}{2} e^{\frac{q^2}{Mr}}+\frac{1}{2}\right) ^{-\beta }-r\right) \left( \omega +1\right) ^{2} +A^{2}_4 r \right) ^{1/2}}{(\omega +1)\sqrt{r}},\nonumber \\ \end{aligned}$$
(28)
$$\begin{aligned}&\rho (r)\nonumber \\&\quad = \frac{A_2 (\omega +1)}{r^{3/2}\sqrt{\left( 2M\left( \frac{1}{2} e^{\frac{q^2}{Mr}}+\frac{1}{2}\right) ^{-\beta }-r\right) \left( \omega +1\right) ^{2} +A^{2}_4 r }}.\nonumber \\ \end{aligned}$$
(29)
Fig. 1
figure 1

Velocity profile against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), and \(A_4 = 0.45\) of the charged RBH using the Fermi–Dirac distribution

Fig. 2
figure 2

Energy density against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.45\) of the charged RBH using the Fermi–Dirac distribution

The velocity profile for different values of \(\omega \) is shown in Fig. 1. Here \(\omega =1,0,-1\) refer to the stiff, dust, and cosmological constant cases, respectively, and \(-1 < \omega < -1/3\) and \(\omega < -1\) refer to quintessence and phantom energy. It can be seen that for \(\omega =-1.5,-2\) the radial velocity of the fluid is negative and it is positive for \(\omega =-0.5,0,0.5,1\). If the flow is outward then \(u < 0\) is not allowed and vice versa. In the case of \(\omega =-1.5,-0.5\) the fluid is at rest at \(x = 10\). Figure 2 represents the behavior of energy density of fluids in the surrounding area of the RBH. Obviously the WEC and DEC satisfied by dust, stiff, and quintessence fluids. When the phantom fluid (\(\omega =-1.5,-2\)) moves toward the RBH then the energy density decreases and the reverse will happen for dust, stiff, and quintessence fluids (\(\omega =-0.5,0,0.5,1\)). Asymptotically \(\rho \rightarrow 0\) at infinity for \(\omega =-1.5,-0.5\), while it approaches the maximum at \(x=1.2,1.3,1.8\) and near the RBH.

Using this metric, Eqs. (19) and (29), the rate of change of the mass of the RBH due to accretion becomes

$$\begin{aligned} \dot{M} = \frac{4 \pi A^{2}_2 A_4 (\omega +1)}{r^{3/2}\sqrt{\left( 2M\left( \frac{1}{2} e^{\frac{q^2}{Mr}}+\frac{1}{2}\right) ^{-\beta }-r\right) \left( \omega +1\right) ^{2} +A^{2}_4 r }}. \end{aligned}$$
(30)
Fig. 3
figure 3

Rate of change of the mass of a RBH against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.45\) of a charged RBH using the Fermi–Dirac distribution

Figure 3 represents the change in RBH mass for different values of \(\omega \). The mass of the RBH will increase near it and at \(x=1.2,1.3,1.7\) for \(\omega =1,0.5,0\), respectively. On the other hand, the mass of the RBH decreases near it and at \(x=1.7\) for \(\omega =-2\). Hence the mass of the RBH increases due to the accretion of quintessence, dust, and stiff matter, while it decreases due to the accretion of phantom-like fluids.

Table 1 Charged RBH using the Fermi–Dirac distribution

The critical values, critical velocities, and speed of sound are obtained for different values of the EoS parameter in Table 1. The critical radius is shifting to the left when \(\omega \ge 0\) increases. Thus, the in-falling fluid acquires supersonic speeds closer to RBH. The same critical radius is obtained for \(\omega = -2,0\) and \(\omega = -1.5, -0.5\) with the same critical velocities but in an opposite direction. We get a negative speed of sound at \(x = 7.5044\) and a positive speed of sound for the remaining critical radius. Also, the speed of sound increases near the RBH. For this metric, we find that

$$\begin{aligned} u^{2}_c = \frac{2^{\beta - 1}\left( \left( M r-q^{2}\right) e^{\frac{q^{2}}{\beta M r}}+Mr\right) }{r^{2}\left( e^{\frac{q^{2}}{\beta M r}}+1\right) ^{\beta +1}}, \end{aligned}$$
(31)
$$\begin{aligned} V^{2}_c = \frac{2^{\beta }\left( \left( M r-q^{2}\right) e^{\frac{q^{2}}{\beta M r}}+Mr\right) }{2r^{2}\left( e^{\frac{q^{2}}{\beta M r}}+1\right) ^{\beta +1}-2^{\beta }\left( \left( 3M r+q^{2}\right) e^{\frac{q^{2}}{\beta M r}}+3Mr\right) }. \end{aligned}$$
(32)

Also, the condition (18) yields

$$\begin{aligned} \frac{2^{\beta }\left( \left( M r-q^{2}\right) e^{\frac{q^{2}}{\beta M r}}+Mr\right) }{r^{4}\left( e^{\frac{q^{2}}{\beta M r}}+1\right) ^{\beta +1}}>0. \end{aligned}$$
(33)

3.2 Charged RBH using logistic distribution

The logistic distribution function is [32]

$$\begin{aligned} \xi (x)=\frac{e^{-x}}{(e^{-x}+1)^2}, \end{aligned}$$
(34)

in which we replace \(x=\frac{2q^2}{M\beta r}\); then we obtain the distribution function

$$\begin{aligned} \xi (\beta r)=\frac{e^{\frac{-2q^2}{M\beta r}}}{\left( e^{\frac{-2q^2}{M\beta r}}+1\right) ^2}, \end{aligned}$$
(35)

with normalization factor \(\sigma _{\infty }=\frac{1}{4}\). Also the distribution function satisfies

$$\begin{aligned} \frac{\xi (r)}{\xi _{\infty }}\rightarrow 1, \end{aligned}$$
(36)

where \(r\rightarrow \infty \). The horizons can be obtained for \(\beta =1\) where \(q = 1.055M\). The metric function can be written as

$$\begin{aligned} X(r)= & {} Y(r)= 1-\frac{2M}{r} \left( \frac{4 e^{-\sqrt{\frac{2q^{2}}{\beta M r}}}}{ \left( e^{-\sqrt{\frac{2q^2}{\beta M r}}}+1\right) ^{2}} \right) ^{\beta },\nonumber \\ Z(r)= & {} r^2. \end{aligned}$$
(37)

If we set \(\beta \rightarrow 0\), then we obtain the Schwarzschild BH, and if we set \(\beta \rightarrow \infty \) we get

$$\begin{aligned} X(r)= Y(r)= 1-\frac{2M}{r} e^{\frac{-q^2}{2Mr}}. \end{aligned}$$
(38)

It is noteworthy that this metric function corresponds to an Ayon-Beato and Garca BH [32].

The radial velocity and energy density for the metric (37) using Eqs. (5) and (10) is given by

$$\begin{aligned} u(r)= & {} \frac{1}{(\omega +1)\sqrt{r}}\nonumber \\&\times \left( \left( -2 M \left( \frac{4 e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}}{\left( e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}+1\right) ^{2}}\right) ^{\beta }+r\right) \left( \omega + 1\right) ^2-A^{2}_4 r \right) ^{1/2},\nonumber \\ \end{aligned}$$
(39)
Fig. 4
figure 4

Velocity profile against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), and \(A_4 = 0.4\) of a charged RBH using the logistic distribution

$$\begin{aligned} \rho (r)= -\frac{A_2 (\omega +1)}{r^{3/2}\left( \left( 2 M \left( \frac{4 e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}}{\left( e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}+1\right) ^{2}}\right) ^{\beta }-r\right) \left( \omega + 1\right) ^2+A^{2}_4 r \right) ^{1/2}}. \end{aligned}$$
(40)
Fig. 5
figure 5

The energy density against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.4\) of a charged RBH using logistic distribution

The velocity profile for different values of \(\omega \) is shown in Fig. 4. It can be observed that for \(\omega =-1.5,-2\) the radial velocity of the fluid is negative and it is positive for \(\omega =-0.5,0,1\). If the flow is inward then \(u > 0\) is not allowed and vice versa. In the case of \(\omega =-2,0\) the fluid is at rest at \(x\approx 5\). Figure 5 represents the behavior of energy density of fluids in the surrounding area of the RBH. Obviously the WEC and DEC are satisfied by dust, stiff, and quintessence fluids. When a phantom-like fluid (\(\omega =-1.5,-2\)) moves toward a RBH the energy density decreases and the reverse will happen for dust, stiff, and quintessence fluids (\(\omega =-0.5,0,0.5,1\)).

The \(\dot{M}\) of an RBH for distinct EoS parameters is obtained by using (19),

$$\begin{aligned}&\dot{M}\nonumber \\&\quad = -\frac{4 \pi A^{2}_2 A_4 (\omega +1)}{r^{3/2}\left( \left( 2 M \left( \frac{4 e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}}{\left( e^{-\sqrt{\frac{2 q^{2}}{\beta M r}}}+1\right) ^{2}}\right) ^{\beta }-r\right) \left( \omega + 1\right) ^2+A^{2}_4 r \right) ^{1/2}}.\nonumber \\ \end{aligned}$$
(41)
Fig. 6
figure 6

Rate of change of the mass of a RBH against \(x = \frac{r}{M}\) for \(\beta = 1\), \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.4\) of a charged RBH using the logistic distribution

Figure 6 represents the change in the RBH mass against x. It is evident that the mass of the RBH increases due to quintessence, dust, and stiff fluids and it decreases due to phantom fluids.

The critical radius, the critical velocity, and the speed of sound are obtained for different values of EoS parameter in Table 2. The critical radius is shifting to the right when \(\omega \ge 0\) increases. Thus the in-falling fluid acquires supersonic speeds closer to the RBH. For a phantom-like fluid, quintessence, dust, and stiff matter the critical radius and critical velocities are explained in Table 2. Same critical radius is obtained for \(\omega =-2,0\) and \(\omega =-1.5,-0.5\) with the same critical velocities but different in sign. We obtained a negative speed of sound at \(x=1.36375,3.777412\) and positive speed of sound at \(x=1.12974,1.1850\). Near the RBH the speed of sound will increase. For this metric we find that

$$\begin{aligned} u^{2}_c= & {} \frac{2^{-2+2\beta }\sqrt{M}e^{\sqrt{\frac{2q^2\beta }{Mr}}} \left( \left( \sqrt{2}q\beta +2\sqrt{\beta M r}\right) + \left( -\sqrt{2}q\beta +2\sqrt{\beta M r}\right) e^{\sqrt{\frac{2q^2\beta }{Mr}}}\right) }{\sqrt{\beta }r^{3/2}\left( e^{\sqrt{\frac{2q^2\beta }{Mr}}}\right) },\end{aligned}$$
(42)
$$\begin{aligned} V^{2}_c= & {} \left( 2^{\beta }M e^{\sqrt{\frac{2q^2\beta }{Mr}}}\left( \left( \sqrt{2}q\beta +2\sqrt{\beta M r}\right) + \left( -\sqrt{2}q\beta +2\sqrt{\beta M r}\right) e^{\sqrt{\frac{2q^2\beta }{Mr}}}\right) \right) \nonumber \\&\times \left( \phantom {\left. \left. e^{-\sqrt{\frac{2q^2}{\beta M r}}}+ \sqrt{2}M q \beta +6\sqrt{\beta r}M^{3/2}\right) \right) }4\sqrt{\beta M}r^{3/2} \left( e^{\sqrt{\frac{2q^2\beta }{M r}}}\right) -2^{\beta }e^{-\sqrt{\frac{2\beta q^2}{M r}}}\left( \phantom {\left. \left. e^{-\sqrt{\frac{2q^2}{\beta M r}}}+ \sqrt{2}M q \beta +6\sqrt{\beta r}M^{3/2}\right) \right) }\left( -\sqrt{2}M q \beta +6 \sqrt{\beta r}M^{3/2}\right) \right. \right. \nonumber \\&\times \left. \left. e^{-\sqrt{\frac{2q^2}{\beta M r}}}+ \sqrt{2}M q \beta +6\sqrt{\beta r}M^{3/2}\right) \right) ^{-1}. \end{aligned}$$
(43)

Also, the condition (18) yields

$$\begin{aligned} \frac{2^{-1+2\beta }\sqrt{M}e^{-\sqrt{\frac{2q^2\beta }{Mr}}} \left( \left( \sqrt{2}q\beta +2\sqrt{\beta M r}\right) e^{-\sqrt{\frac{2q^2\beta }{Mr}}}+\left( -\sqrt{2}q\beta +2\sqrt{\beta M r}\right) \right) }{\sqrt{\beta }r^{7/2}\left( e^{\sqrt{\frac{2q^2\beta }{Mr}}}\right) }>0. \end{aligned}$$
(44)
Table 2 Charged RBH using logistics distribution

3.3 Charged RBH from nonlinear electrodynamics

We use the line element

$$\begin{aligned} X(r)= Y(r)= 1-\frac{2M(r)}{r}. \end{aligned}$$
(45)

Here the function

$$\begin{aligned} M(r) = M\left( 1-\tan h\left( \frac{q^2}{2Mr}\right) \right) , \end{aligned}$$
(46)

and its associated electric field source is

$$\begin{aligned} E= & {} \frac{q}{r^2}\left( 1-\tan h^{2}\left( \frac{q^2}{2Mr}\right) \right) \nonumber \\&\times \left( 1-\frac{q^2}{4Mr}\tan h\left( \frac{q^2}{2Mr}\right) \right) , \end{aligned}$$
(47)

where q and M represent the electric charge and the mass, respectively [33]. The solution elaborates RBH and its global structure is like R-N BH. The asymptotic behavior of the solution is

$$\begin{aligned} X(r) = 1-\frac{2M}{r}+\frac{q^2}{r^2}+O\left( \frac{1}{r^4}\right) . \end{aligned}$$
(48)

So we have the metric function

$$\begin{aligned} X(r)= & {} Y(r)\nonumber \\= & {} 1-\frac{2M}{r} \left( M\left( 1-\tan h(\frac{q^2}{2Mr})\right) \right) , \quad Z(r)=r^2.\nonumber \\ \end{aligned}$$
(49)

The radial velocity and energy density for this metric are given by

$$\begin{aligned} u(r) = \frac{\sqrt{\left( -2 M \tan h\left( \frac{q^2}{2Mr}\right) +2M-r\right) \left( \omega +1\right) ^2+A^{2}_4 r}}{(\omega +1)\sqrt{r}}, \end{aligned}$$
(50)
$$\begin{aligned} \rho (r) = \frac{(\omega +1)A_2}{r^{3/2}\sqrt{\left( -2 M \tan h(\frac{q^2}{2Mr}+2M-r)\right) \left( \omega +1\right) ^2+A^{2}_4 r}}. \end{aligned}$$
(51)
Fig. 7
figure 7

Velocity profile against \(x = \frac{r}{M}\) for \(q = 1.055M\), \(M = 1\), and \(A_4 = 0.7\) of a charged RBH from nonlinear electrodynamics

Fig. 8
figure 8

Energy density against \(x = \frac{r}{M}\) for \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.7\) of a charged RBH from nonlinear electrodynamics

The absolute value of the velocity profile for different values of \(\omega \) is shown in Fig. 7. It can be observed that for \(\omega = -2\) the radial velocity of the fluid is negative and it is positive for \(\omega =0.5,0,1\). If the flow is inward then \(u > 0\) is not allowed and vice versa. In the case of \(\omega = -2,0\) the fluid is at rest at \(x \approx 5\). Figure 8 represents the energy density of fluids in the region of the RBH. It is apparent that the WEC and DEC is satisfied by phantom fluids. When the phantom fluids moves toward the RBH the energy density increases; on the other hand it decreases for dust and stiff matter.

The rate of change of the mass is given by

$$\begin{aligned} \dot{M} = -\frac{4 \pi A^{2}_2 A_4 (\omega +1)}{r^{3/2}\sqrt{\left( -2 M \tan h\left( \frac{q^2}{2Mr}+2M-r\right) \right) \left( \omega +1\right) ^2+A^{2}_4 r}}. \end{aligned}$$
(52)
Fig. 9
figure 9

Rate of change of the mass of an RBH against \(x = \frac{r}{M}\) for \(q = 1.055M\), \(M = 1\), \(A_2 = 1\), and \(A_4 = 0.7\) of charged RBH from nonlinear electrodynamics

The rate of change of in the RBH mass against x is plotted in Fig. 9. Due to accretion of dust and stiff matter the mass of the RBH will increase for small values of x and vice versa for phantom fluids. It is also noted that the maximum rate of the RBH mass increases due to \(\omega =1\) followed by \(\omega =0.5,0,-2\).

The critical values, critical velocities, and speed of sound are obtained for different values of the EoS parameter in Table 3. The critical radius is shifting to the right when \(\omega \ge 0\) increases. The speed of sound is negative at \(x = 3.685523529\) and near the BH the speed of sound will increase. For this RBH we find that

$$\begin{aligned} u^{2}_c = \frac{q^2\left( \tan h^{2}\left( \frac{q^2}{2Mr}\right) -1\right) +2 M r\left( -\tan h\left( \frac{q^2}{2Mr}\right) +1\right) }{4 r^2},\nonumber \\ \end{aligned}$$
(53)
$$\begin{aligned} V^{2}_c = \frac{q^2\left( \tan h^{2}\left( \frac{q^2}{2Mr}\right) -1\right) +2 M r\left( -\tan h\left( \frac{q^2}{2Mr}\right) +1\right) }{4 r^2+q^2\left( \tan h^{2}\left( \frac{q^2}{2Mr}\right) -1\right) +6+ M r\left( \tan h\left( \frac{q^2}{2Mr}\right) -1\right) }.\nonumber \\ \end{aligned}$$
(54)

Also, the condition (18) yields

$$\begin{aligned} \frac{\left( \tan h^{2}\left( \frac{q^2}{2Mr}\right) -1\right) q^{2}+2 Mr\left( -\tan h\left( \frac{q^2}{2Mr}\right) +1\right) }{2 r^{4}}> 0. \end{aligned}$$
(55)
Table 3 Charged RBH from nonlinear electrodynamics

3.4 Kehagias–Sftesos asymptotically flat BH

KS studied the following BH metric:

$$\begin{aligned} X(r)= Y(r)= 1+b r^{2}-\sqrt{b^{2}r^{4}+ 4Mbr},\quad Z(r)=r^2. \end{aligned}$$
(56)

In the frame work of Horava theory, where m is the mass, b is the positive constant related to the coupling constant of the theory. The metric asymptotically behaves like the usual Schwarzschild BH [34],

$$\begin{aligned} X(r)=Y(r)\approx 1-\frac{2M}{r}+O\left( \frac{1}{r^4}\right) , \end{aligned}$$
(57)

for \(r \gg (\frac{r}{b})^{1/3}\). The KS metric has two horizons at

$$\begin{aligned} r_{\pm } = M\left( 1\pm \sqrt{\left( 1-\frac{1}{2 b M^2}\right) }\right) , \end{aligned}$$
(58)

with \(2bM^2\ge 1\) [34].

The radial velocity and energy density are given by

$$\begin{aligned} u(r) = \frac{\left( A^{2}_4+\left( \sqrt{b^{2}r^{4}+ 4Mbr}-br^{2}-1\right) \left( \omega +1\right) ^{2} \right) ^{1/2}}{\omega +1}, \end{aligned}$$
(59)
Fig. 10
figure 10

Velocity profile against \(x = \frac{r}{M}\) for \(M = 1\), \(b = 0.9\) and \(A_4 = 0.9\) of a Kehagias–Sftesos asymptotically flat BH

$$\begin{aligned} \rho (r) = \frac{A_2(\omega +1)}{r^{2}\left( A^{2}_4+\left( \sqrt{b^{2}r^{4}+4Mbr}-br^{2}-1\right) \left( \omega +1\right) ^{2}\right) ^{1/2}}. \end{aligned}$$
(60)
Fig. 11
figure 11

Energy density against \(x = \frac{r}{M}\) for \(M = 1\), \(A_2 = 1\), \(b = 0.9\), and \(A_4 = 0.9\) of the Kehagias–Sftesos asymptotically flat BH

The radial velocity for different values of \(\omega \) is shown in Fig. 10. The radial velocity is negative for a phantom-like fluid and positive for quintessence, dust, and stiff matter. The evolution of the energy density of the fluids in the surrounding area of an RBH is plotted in Fig. 11. The energy density for phantom fluids is negative, while the energy density for stiff, dust, and quintessence fluids is positive.

For this RBH, rate of change of the mass becomes

$$\begin{aligned} \dot{M} = \frac{4 \pi A^{2}_2 A_4(\omega +1)}{r^{2}\left( A^{2}_4+\left( \sqrt{b^{2}r^{4}+4Mbr}-br^{2}-1\right) \left( \omega +1\right) ^{2}\right) ^{1/2}}. \end{aligned}$$
(61)
Fig. 12
figure 12

Rate of change of the mass of an RBH against \(x = \frac{r}{M}\) for \(M = 1\), \(A_2 = 1\), \(b = 0.9\), and \(A_4 = 0.9\) of a Kehagias–Sftesos asymptotically flat BH

Figure 12 represents the rate of change in an RBH mass against x. We see that the RBH mass will increase for \(\omega =-0.35, 0,0.5,1\), and it will decrease for \(\omega =-2\).

Table 4 Kehagias–Sftesos asymptotically flat BH

The critical values, critical velocities, and speeds of sound for different values of \(\omega \) are presented in Table 4. For quintessence matter, we obtain a very large critical radius. Similarly to the case before, we obtain the same critical radius for dust and phantom-like fluids and the same critical velocities but different in sign. If we increase the EoS parameter then the critical radius is shifted near RBH. It is evident that the critical velocity is negative for a phantom-like fluid and positive for quintessence, dust, and stiff matter. The speed of sound is negative at \(x = 30267.74\) and positive for the remaining critical radius. For this metric, we find that

$$\begin{aligned} u^{2}_c = \frac{r}{4}\left( 2br - \frac{2b^{2} r^{3}+2 M b}{\sqrt{r\left( b^{2} r^{3}+4 M b\right) }}\right) , \end{aligned}$$
(62)
$$\begin{aligned} V^{2}_c = \frac{r^2 \left( 2br - \frac{2b^{2} r^{3}+2 M b}{\sqrt{r\left( b^{2} r^{3}+4 M b\right) }}\right) }{r^{2}\left( 2br - \frac{2b^{2} r^{3}+2 M b}{\sqrt{r\left( b^{2} r^{3}+4 M b\right) }}\right) +4r\left( 1 + br^{2}-{\sqrt{r\left( b^{2} r^{3}+4 M b\right) }}\right) }. \end{aligned}$$
(63)

The condition (18) becomes

$$\begin{aligned} \frac{\left( 2br - \frac{2b^{2} r^{3}+2 M b}{\sqrt{r\left( b^{2} r^{3}+4 M b\right) }}\right) }{2r}>0. \end{aligned}$$
(64)

4 Concluding remarks

In this work, we have investigated the accretion onto various RBHs (such as an RBH using the Fermi–Dirac distribution, a RBH using the logistic distribution, an RBH using nonlinear electrodynamics, and a Kehagias–Sftesos asymptotically flat RBH) which asymptotically leads to Schwarzschild and Reissner–Nordstrom BHs (most of them satisfy the WEC). We have followed the procedure of Bahamonde and Jamil [22] and obtained the critical points, critical velocities, and the behavior of the speed of sound for the chosen RBHs. Moreover, we have analyzed the behavior of the radial velocity, the energy density, and the rate of change of the mass for RBHs for various EoS parameters. For calculating these quantities, we have assumed the barotropic EoS and found the relationship between the conservation law and the barotropic EoS. We have found that the radial velocity (u) of the fluid is positive for stiff, dust, and quintessence matter and it is negative for phantom-like fluids. If the flow is inward then \(u < 0\) is not allowed and \(u > 0\) is not allowed for outward flow. Also, we have seen that the energy density remains positive for quintessence, dust, and stiff matter, while it becomes negative for a phantom-like fluid near RBHs.

In addition, the rate of change of the mass of the BH is a dynamical quantity, so the analysis of the nature of its mass in the presence of various dark energy models may become very interesting in the present scenario. Also, the sensitivity (increasing or decreasing) of the BHs’ mass depends upon the nature of the fluids which accrete onto it. Therefore, we have considered the various possibilities of accreting fluids, such as dust and stiff matter, quintessence, and phantom. We have found that the rate of change of the mass of all RBHs increases for dust and stiff matter, and quintessence-like fluids, since these fluids do not have enough repulsive force. However, the mass of all RBHs decreases in the presence of a phantom-like fluid (and the corresponding energy density and radial velocity become negative) because it has a strong negative pressure. This result shows the consistency with several works [22, 31, 3547]. Also, this result favors the phenomenon that the universe undergoes the big rip singularity, where all the gravitationally bounded objects are dispersed due to the phantom dark energy.

Although we have assumed the presence of a static fluid, this may be extended for a non-static fluid without assuming any EoS and thus can be obtained more interesting results. This is left for future considerations.