1 Introduction

Flat rotation curves around galaxies constitute one of the most stunning astrophysical findings since 1930s. The cases can simply be attributed to the unobservable dark matter which still lacks a satisfactory candidate. On the general relativity side which reigns in the large universe an interesting approach is to develop appropriate models of constant centrifugal force. One such attempt was formulated by Grumiller in [1, 2], in which the centrifugal force was given by \(F=-\left( \frac{m}{r^{2}} +a\right) \). Here \(m\) represents the mass (both normal and dark), while the parameter “\(a\)” is a positive constant—called Rindler acceleration [3]—which gives rise to a constant attractive force. The Newtonian potential involved is \(\Phi \left( r\right) \sim -\frac{m}{r}+ar\), so that for \(r\rightarrow \infty \) the term \(\Phi \left( r\right) \sim ar\) becomes dominant. Since in Newtonian circular motion \(F=\frac{mv^{2}}{r}\), for a mass \(m,\) tangential speed \(v\left( r\right) \) and radius \(r\) are related by \(v\left( r\right) \sim r^{\frac{1}{2}}\) for large \(r\), which overall amounts to come slightly closer to the concept of flat rotation curves. No doubt, the details and exact flat rotation curves must be much more complicated than the toy model depicted here. Physically the parameter “\(a\)” becomes meaningful when one refers to an accelerated frame in a flat space, known as Rindler frame, and accordingly the terminology Rindler acceleration is adopted.

In [4] the impact of a Rindler-type acceleration is studied on the Oort cloud, and in [5, 6] the solar system constraints on Rindler acceleration are investigated, while in [7] bending of light in the model of gravity at large distances proposed by Grumiller [1, 2] is considered.

Let us add also that to tackle the flat rotation curves, Modified Newtonian Dynamics (MOND) in space was proposed [8]. Identifying a physical source for the Rindler acceleration term in the spacetime metric has been a challenge in recent years. An anisotropic fluid field was considered originally by Grumiller [1, 2], whereas nonlinear electromagnetism was proposed as an alternative source [8]. A fluid model with an energy-momentum tensor of the form \(T_{\mu }^{\nu }=diag[-\rho ,p,q,q]\) was proposed recently in the popular \(f(R)\) gravity [9]. For a review of the latter we propose [1012]. By a similar strategy we wish to employ the vast richness of \(f(R)\) gravity models to identify possible candidates that may admit a Rindler-type acceleration. Our approach in this study beside the Rindler acceleration is to elaborate on the energy conditions in \(f(R)\) gravity. Although violation of the energy conditions is not necessarily a problem (for instance, any quantum field theory violates all energy conditions), it is still interesting to investigate the non-violation of the energy conditions. Note that energy conditions within the context of dark matter in \(f(R)\) gravity have been considered by various authors [13, 14]. This at least will filter the viable models that satisfy the energy conditions. In brief, for our choice of energy-momentum the weak energy conditions (WECs) can be stated as follows: (1) WEC1 says that the energy density \(\rho \geqslant 0\). (2) WEC2 says that \(\rho +p\geqslant 0\), and (3) WEC3 states that \(\rho +q\geqslant 0\). Among the more stringent energy conditions, the strong energy conditions (SECs) amounts further to \(\rho +p+2q\geqslant 0\), which will not be our concern in this paper. However, some of our models satisfy SECs as well. Our technical method can be summarized as follows. Upon obtaining \(\rho ,\) \(p\), and \(q\) as functions of \(r\) we shall search numerically for the geometrical regions in which the WECs are satisfied. (A detailed treatment of the energy condition in \(f(R)\) gravity was given by J. Santos et al. in [15].)

From the outset our strategy is to assume the validity of the Rindler modified Schwarzschild metric a priori and search for the types of \(f(R)\) models which are capable to yield such a metric. Overall we test ten different models of \(f(R)\) gravity models and observe that in most cases it is possible to tune the free parameters in rendering the WECs satisfied. In doing this we entirely rely on numerical plots and we admit that our list is not an exhaustive one in the \(f(R)\) arena.

The organization of the paper goes as follows. Section 2 introduces the formalism with derivation of density and pressure components. Section 3 presents 11 types of \(f(R)\) models relevant to the Mannheim metric. The paper ends with our conclusion in Sect. 4.

2 The formalism

Let us start with the following action (\(\kappa =8\pi G=1\)):

$$\begin{aligned} S=\frac{1}{2}\int \sqrt{-g}f(R) d^{4}x+S_{M} \end{aligned}$$
(1)

where \(f(R)\) is a function of the Ricci scalar \(R\) and \(S_{M}\) is the physical source for a perfect fluid-type energy momentum,

$$\begin{aligned} T_{\mu }^{\nu }=\left( \begin{array}{c@{\quad }c@{\quad }c@{\quad }c} -\rho &{} 0 &{} 0 &{} 0 \\ 0 &{} p &{} 0 &{} 0 \\ 0 &{} 0 &{} q &{} 0 \\ 0 &{} 0 &{} 0 &{} q \end{array} \right) \end{aligned}$$
(2)

We adopt the static spherically symmetric line element

$$\begin{aligned} ds^{2}=-A\left( r\right) dt^{2}+\frac{1}{A(r)}dr^{2}+r^{2}\left( d\theta ^{2}+\sin ^{2}\theta d\varphi ^{2}\right) \end{aligned}$$
(3)

with

$$\begin{aligned} A\left( r\right) =1-\frac{2m}{r}+2ar \end{aligned}$$
(4)

which will be referred to henceforth as the Mannheim metric [1618] (Note that it has been rediscovered by Grumiller in [1, 2].) The Einstein field equations follow the variation of the action with respect to \(g_{\mu \nu }\), reading

$$\begin{aligned} G_{\mu }^{\nu }=\frac{1}{F}T_{\mu }^{\nu }+\check{T}_{\mu }^{\nu }, \end{aligned}$$
(5)

in which \(G_{\mu }^{\nu }\) is the Einstein tensor. The share of the curvature in the energy-momentum is given by

$$\begin{aligned} \check{T}_{\mu }^{\nu }=\frac{1}{F}\left[ \nabla ^{\nu }\nabla _{\mu }F-\left( \square F-\frac{1}{2}f+\frac{1}{2}RF\right) \delta _{\mu }^{\nu } \right] , \end{aligned}$$
(6)

while \(T_{\mu }^{\nu }\) refers to the fluid source [1, 2]. Following the standard notation, \(\square =\nabla ^{\mu }\nabla _{\mu }=\frac{1}{\sqrt{-g}} \partial _{\mu }\left( \sqrt{-g}\partial ^{\mu }\right) \) and \(\nabla ^{\nu }\nabla _{\mu }u=g^{\lambda \nu }\nabla _{\lambda }u_{,\mu }=g^{\lambda \nu }\left( \partial _{\lambda }u_{,\mu }-\Gamma _{\lambda \mu }^{\beta }u_{,\beta }\right) \) for a scalar function \(u\). The three independent Einstein field equations are explicitly given by

$$\begin{aligned}&FR_{t}^{t}-\frac{f}{2}+\square F=\nabla ^{t}\nabla _{t}F+T_{t}^{t}, \end{aligned}$$
(7)
$$\begin{aligned}&FR_{r}^{r}-\frac{f}{2}+\square F=\nabla ^{r}\nabla _{r}F+T_{r}^{r}, \end{aligned}$$
(8)
$$\begin{aligned}&FR_{\theta _{i}}^{\theta _{i}}-\frac{f}{2}+\square F = \nabla ^{\theta _{i}}\nabla _{\theta _{i}}F+T_{\theta _{i}}^{\theta _{i}}, \end{aligned}$$
(9)
$$\begin{aligned}&\left( F=\frac{df}{dR}\right) , \end{aligned}$$
(10)

in which \(\theta _{i}=\left( \theta ,\varphi \right) .\) Adding these equations (i.e., \(tt\), \(rr\), \(\theta \theta \) and \(\varphi \varphi \)), one gets the trace equation

$$\begin{aligned} FR-2f+3\square F=T, \end{aligned}$$
(11)

which is not an independent equation. Using the field equations one finds

$$\begin{aligned}&\rho =\nabla ^{t}\nabla _{t}F-FR_{t}^{t}+\frac{f}{2}-\square F, \end{aligned}$$
(12)
$$\begin{aligned}&p=-\nabla ^{r}\nabla _{r}F+FR_{t}^{t}-\frac{f}{2}+\square F, \end{aligned}$$
(13)

and

$$\begin{aligned} q=-\nabla ^{\theta }\nabla _{\theta }F+FR_{\theta }^{\theta }-\frac{f}{2} +\square F. \end{aligned}$$
(14)

In what follows we find the energy-momentum components for different models of \(f(R)\) gravity together with their thermodynamical properties.

3 \(f(R)\) Models covering the Rindler acceleration

In this section we investigate a set of possible \(f(R)\) gravity models which admit the line element (3) as the static spherically symmetric solution of its field equations. Then by employing Eqs. (1214) we shall find the energy density \(\rho \) and the pressures \(p\) and \(q.\) Having found \(\rho \), \( p\), and \(q\) we investigate the energy conditions together with the feasibility of the \(f(R)\) models numerically. More precisely we work out the weak energy conditions, which includes the three individual conditions

$$\begin{aligned} WEC1&= \rho \ge 0, \end{aligned}$$
(15)
$$\begin{aligned} WEC2&= \rho +q\ge 0, \end{aligned}$$
(16)

and

$$\begin{aligned} WEC3=\rho +p\ge 0. \end{aligned}$$
(17)

In the numerical plotting, we explicitly plot \(WEC1,\) \(WEC2,\) and \(WEC3\) in terms of \(r\) to work out the region(s) in which the WECs are satisfied. In addition to the WECs we plot \(f(R)\) in terms of \(R\) to find the physically acceptable model by imposing the well-known conditions on \(f(R)\), which are given by

$$\begin{aligned} F(R) =\frac{df(R)}{dR}>0 \end{aligned}$$
(18)

for not to have ghost field and

$$\begin{aligned} \frac{d^{2}f(R)}{dR^{2}}>0 \end{aligned}$$
(19)

to have a stable model. Before we start to study the \(f(R)\) models, we add that in the case of the Mannheim metric the Ricci scalar is given by \(R=-\frac{ 12a}{r}\), which is negative (\(a>0\)).

3.1 The Models

1. Our first model which we find interesting is given by [19]

$$\begin{aligned} f(R) =\sqrt{R^{2}+b^{2}} \end{aligned}$$
(20)

for \(b=\hbox {constant}\). For \(\left| R\right| \gg b,\) this model is a good approximation to Einstein’s \(f(R)=R\) gravity. For the other range, namely \( \left| R\right| \ll b\), \(b\) may be considered as a cosmological constant. Taking this \(f(R) \) one finds

$$\begin{aligned}&\frac{df}{dR}=\frac{R}{\sqrt{R^{2}+b^{2}}}, \end{aligned}$$
(21)
$$\begin{aligned}&\frac{d^{2}f}{dR^{2}}=\frac{b^{2}}{\left( R^{2}+b^{2}\right) ^{3/2}}, \end{aligned}$$
(22)

which are positive functions of \(R\). This means that this model of \(f(R)\) gravity satisfies the necessary conditions to be physical. Yet we have to check the WECs at least to see whether it can be a good candidate for a spacetime with Rindler acceleration, namely the Mannheim metric. Figure 1 displays \(WEC1,\) \(WEC2\), and \(WEC3\) together with a part of \(A(r)\) in terms of \(r.\) We see that the WECs are satisfied right after the horizon. Therefore this model can be a good candidate for what we are looking for. This model is also interesting in other respects. For instance in the limit when \(b\) is small one may write

$$\begin{aligned} f(R) \simeq \left| R\right| +\frac{b^{2}}{2}\frac{ \left| R\right| }{R^{2}}, \end{aligned}$$
(23)

which is a kind of small fluctuation from \(R\) gravity for \(\left| R\right| \gg b\).

Fig. 1
figure 1

A plot of \(WEC1,\) \(WEC2\), and \(WEC3\) for \(m=1\), \(a=0.1\), and \(b=1.\) To have an idea of the range in which the WECs are satisfied we also plot the metric function which identifies the location of the horizon. It is observed from the figure that the WECs are all satisfied for \(r\ge r_{h}\), in which \( r_{h} \) is the event horizon of the Grumiller metric. Since \(R<0\), the plot of \(f(R)\) is from \(-\infty \) up to zero, and as can be seen we have \(\frac{df}{dR}<0\), while \(\frac{d^{2}f}{dR^{2}}>0\). We also plot the heat capacity \(C\) w.r.t. the horizon radius \(r_{h}\)

In particular, this model of \(f(R)\) gravity is satisfying all necessary conditions to be a physical model to host the Mannheim metric. Hence we go one step further to check the heat capacity of the spacetime to investigate if the solution is stable from the thermodynamical point of view. To do so, first we find the Hawking temperature

$$\begin{aligned} T_{H}=\left. \frac{\frac{\partial }{\partial r}g_{tt}}{4\pi }\right| _{r=r_{h}}=\frac{m+ar_{h}^{2}}{2\pi r_{h}^{2}}. \end{aligned}$$
(24)

Then from the general form of the entropy in \(f(R)\) gravity we find

$$\begin{aligned} S=\left. \frac{\mathcal {A}}{4G}F\right| _{r=r_{h}}=\pi r_{h}^{2}F_{h}, \end{aligned}$$
(25)

in which \(\left. \mathcal {A}\right| _{r=r_{h}}=4\pi r_{h}^{2}\) is the surface area of the black hole at the horizon and \(\left. F\right| _{r=r_{h}}=\frac{-12a}{\sqrt{\frac{144a^{2}}{r_{h}^{2}}+b^{2}r_{h}}}\). Having \(T_{H}\) and \(S\) available one may find the heat capacity of the black hole as

$$\begin{aligned} C=T\left( \frac{\partial S}{\partial T}\right) =\frac{12\left( 1+4ar_{h}\right) \left( 288a^{2}+b^{2}r_{h}^{2}\right) r_{h}^{2}\pi a}{ \left( 144a^{2}+b^{2}r_{h}^{2}\right) ^{3/2}}.\nonumber \\ \end{aligned}$$
(26)

We comment here that \(C\) is always positive and nonsingular, irrespective of the values of the free parameters, given the fact that \(a>0\). This indeed means that the black hole solution will not undergo a phase change as expected form a stable physical solution.

2. The second model which we shall study, in this part, has been introduced and studied by Nojiri and Odintsov in [20]. As they have reported in their paper [20, “this model naturally unifies two expansion phases of the Universe: inflation at early times and cosmic acceleration at the current epoch”. This model of \(f(R)\) is given by

$$\begin{aligned} f(R)=R-\frac{c}{\left( R-\Lambda _{1}\right) ^{\nu }}+b\left( R-\Lambda _{2}\right) ^{\mu }, \end{aligned}$$
(27)

in which \(b,\) \(c,\) \(\Lambda _{1},\) \(\Lambda _{2},\) \(\mu \), and \(\nu \) are some adjustable parameters. Our plotting strategy of each model is such that if the WECs are violated (note that such cases are copious) we ignore such figures; the regions satisfying WECs are shaded. The other conditions \(\frac{ df}{dR}>0,\) \(\frac{d^{2}f}{dR^{2}}>0\) are satisfied in some cases whereas in the other cases they are not. In Figs. 2 and 3 we plot \(WEC1,\) \(WEC2\), and \(WEC3\) in terms of \(r\) for specific values of \(\nu ,\) \(\mu ,b,\) and \(c\), i.e., in Fig. 2 \(\nu =1,\mu =2,\) \(b=1,\) \(c=-1\), \(\Lambda _{1}=0\), and \(\Lambda _{2}=0.\) In Fig. 3 \( \nu =1,\) \(\mu =3,\) \(b=-1,\) \(c=-1,\Lambda _{1}=0\), and \(\Lambda _{2}=0\).

Fig. 2
figure 2

Our choice of the parameters is \(\nu =1,\mu =2, b=1, c=-1, \Lambda _{1}=0=\Lambda _{2}\). WECs are shown to be satisfied, while stability is valid only for \(R<-1\). This can easily be checked from \( f(R) =R+\frac{1}{R}+R^{2}.\) Thermodynamic stability (i.e. \(C>0\)) is also shown

Fig. 3
figure 3

Our parameters in this case are \(\nu =1,\) \(\mu =2,\) \(b=-1,\) \(c=-1\), with \(\Lambda _{1}=0=\Lambda _{2}\). Now \(f(R)\) takes the form \(f(R) =R+\frac{1}{R}-R^{3}\), which satisfies the WECs. This choice yields a stable model for \(R<-\frac{1}{\root 4 \of {3}}.\) Beyond a certain horizon radius the specific function \(C\) is also positive

Among the particular cases which are considered here, one observes that Fig. 2 and Fig. 3, which correspond to

$$\begin{aligned} f(R) =R+\frac{1}{R}+R^{2} \end{aligned}$$
(28)

and

$$\begin{aligned} f(R) =R+\frac{1}{R}-R^{3}, \end{aligned}$$
(29)

respectively, are physically acceptable as far as WECs are concerned. We also note that in these two figures we plot the heat capacity in terms of \( r_{h}\) to show whether the solutions are thermodynamically stable. \(\frac{ d^{2}f}{dR^{2}}\) reveals that Eqs. (28) and (29) are locally stable.

3. Our next model is a Born–Infeld-type version of gravity, which has been studied in the more general form of Dirac–Born–Infeld modified gravity by Quiros and Ureña-López in [21, 22]. The Born–Infeld model of gravity is given by \(f(R) =2b\left( 1-\sqrt{1+\frac{\left| R\right| }{b}}\right) ,\) which implies

$$\begin{aligned} F(R) =\frac{1}{\sqrt{1+\frac{\left| R\right| }{b}}} \end{aligned}$$

and

$$\begin{aligned} \frac{d^{2}f}{dR^{2}}=\frac{1}{2\left( 1+\frac{\left| R\right| }{b} \right) ^{3/2}}. \end{aligned}$$
(30)

Clearly both are positive functions of \(R\); therefore the solution given in this model is stable and ghost-free. In spite of that, the WECs are not satisfied; therefore this model is not a proper model for the Mannheim metric as far as the energy conditions are concerned.

4. Another interesting model of \(f(R)\) gravity is given by [23]:

$$\begin{aligned} f(R) =R-\mu b\left[ 1-\left( 1+\frac{R^{2}}{b^{2}}\right) ^{-n} \right] , \end{aligned}$$
(31)

in which \(\mu ,b\), and \(n\) are constants. Figure 4 with \(\mu =1,b=1,n=-3\) shows that between horizon and a maximum radius we may have a physical region in which \(f^{\prime \prime }>0\). Now let us consider [24] the model

$$\begin{aligned} f(R) =R-\mu b\frac{\left( \frac{R}{b}\right) ^{2n}}{\left( \frac{ R}{b}\right) ^{2n}+1}, \end{aligned}$$
(32)

which amounts to Fig. 5, and clearly there is no physical region.

Fig. 4
figure 4

From Eq. (31) we choose the parameters as \(\mu =1,\) \(b=1\), and \(n=-3\). We find a restricted domain in which the WECs are satisfied. From those parameters beside WECs from \(\frac{d^{2}f}{dR^{2}}=6\left( 1+R^{2}\right) \left( 1+5R^{2}\right) >0\), the stability condition also is satisfied

Fig. 5
figure 5

In this model given by the \(f(R)\) in Eq. (32) we have not been able to find a physically admissible region to satisfy the WECs

5. Here, we use another model introduced in [25, 26], which is given by

$$\begin{aligned} f(R) =R\left( 1-c\right) +c\varepsilon \ln \left( \frac{\cosh \left( \frac{R}{\varepsilon }-b\right) }{\cosh \left( b\right) }\right) + \frac{R^{2}}{6m^{2}}, \end{aligned}$$
(33)

in which \(c,\varepsilon ,b\), and \(\mu \) are all constants. Our analysis yields Fig. 6 with \(c=\frac{1}{3}\) and Fig. 7 with \(c=1.1\). One observes that although in Fig. 6 there is no physical region possible for different \(c\), in Fig. 7 and for \(r>r_{h}\) our physical conditions are satisfied provided \(\left| R\right| <\left| R_{0}\right| \), where \(R_{0}\) is the point for which \(f(R) =0.\)

Fig. 6
figure 6

From the \(f(R) \) model in Eq. (33) the choice \(c=1/3,\) \( \varepsilon =1\) and \(b=1\), we observe that WECs are not satisfied. The specific heat function is also pictured

Fig. 7
figure 7

The choice of parameters \(c=1.1,\) \(\varepsilon =1\), and \(b=1\) in Eq. (33) yields a region where the WECs are satisfied. It can be checked that \(\frac{d^{2}f}{dR^{2}}>0\) is also satisfied. For \(\left| R\right| >\left| R_{0}\right| \), where \(f^{\prime }\left( R_{0}\right) =0,\) we have \( \frac{df}{dR}>0\), which implies a ghost-free solution. The everywhere positive specific heat \(C\) is also shown

6. In Ref. [27] an exponential form of \(f(R)\) is introduced which is given by

$$\begin{aligned} f(R) =Re^{\frac{b}{R}}, \end{aligned}$$
(34)

in which \(b=\) constant with first derivative

$$\begin{aligned} F(R) =e^{\frac{b}{R}}\left( 1-\frac{b}{R}\right) . \end{aligned}$$
(35)

Our numerical plotting admits Fig. 8 for this model with \(b=-1\). We comment here that although the case \(b=-1\) leads to the WECs being satisfied, in both cases \(f^{\prime \prime }(R)\) is negative. This makes the model unphysical.

Fig. 8
figure 8

The model with \(f(R) =R\)e\(^{-\frac{1}{R}}\) gives a region in which WECs are satisfied. Furthermore, since \(\frac{d^{2}f}{dR^{2}} =\frac{1}{R^{3}}e^{-\frac{1}{R}}<0\), it gives an unstable model. Beyond a certain radius the specific heat is also positive, which is required for thermodynamical stability

7. Another exponential model, which is also given in [27], reads

$$\begin{aligned} f(R)=Re^{bR}, \end{aligned}$$
(36)

in which \(b=\hbox {constant}\) and

$$\begin{aligned} F(R)=e^{bR}\left( 1+bR\right) . \end{aligned}$$
(37)

This does not satisfy the energy conditions and therefore it is not a physically interesting case.

8. In Ref. [28] a modified version of our models 6 and 7 is given in which

$$\begin{aligned} f(R)=R\left( e^{\frac{b}{R}}-1\right) , \end{aligned}$$

with \(b=\hbox {constant}\) and

$$\begin{aligned} F(R)=e^{\frac{b}{R}}\left( 1-\frac{b}{R}\right) -1. \end{aligned}$$

Figure 9 shows our numerical results with \(b=0.1\). For a region bounded from above and from below the WECs are satisfied, while \(f^{\prime \prime }(R) \) is negative, which makes our model unphysical.

Fig. 9
figure 9

Our model in this case is given by \(f(R) =R\left( e^{ \frac{b}{R}}-1\right) \) with \(b=const\). With the choice \(b=0.1\) it is observed that WECs are satisfied, while the stability condition is violated in spite of the fact that the specific heat \(C\) is everywhere positive

9. Among the exponential models of gravity let us consider [29, 30]

$$\begin{aligned} f(R) =R+be^{\alpha R} \end{aligned}$$
(38)

where \(\alpha \) and \(b\) are constants and

$$\begin{aligned} F(R) =1+b\alpha \text { }e^{\alpha R}. \end{aligned}$$

Figure 10 displays our numerical calculations for the specific value of \(\alpha =-1\). Evidently from these figures we can conclude that this model is not a feasible model.

Fig. 10
figure 10

In this model we use \(f(R) =R+be^{\alpha R}\), where \(\alpha \) and \(b\) are constants. For \(\alpha =-1\) and \( b=1,\) the WECs are satisfied and \(\frac{d^{2}f}{dR^{2}}>0\). The specific heat is shown also to be positive

10. Finally we consider a model of gravity given in Ref. [31]

$$\begin{aligned} f(R) =\left( \left| R\right| ^{b}-\Lambda \right) ^{ \frac{1}{b}}, \end{aligned}$$
(39)

in which \(b\) is a constant. The first derivative of the model is given by

$$\begin{aligned} F(R)=\left| R\right| ^{b-1}\left( \left| R\right| ^{b}-\Lambda \right) ^{\frac{1}{b}-1}. \end{aligned}$$

Figures 11 and 12 are for \(b=\frac{1}{2}\) and \(b=2,\) respectively, for \( \Lambda =1.\) We observe that WECs are satisfied in a restricted region, while for \(b=2\) / \(\frac{1}{2}\) it gives a stable / unstable model.

Fig. 11
figure 11

Our model is given by \(f(R) =\left( \mid R\mid ^{2}-1\right) ^{2}\), which has the WECs satisfied, but \(\frac{d^{2}f}{dR^{2}}>0\), for \(\left| R\right| >\left| R_{0}\right| \) where \(f^{\prime }\left( R_{0}\right) =0.\) This indicates the stability of the solution. Furthermore the specific heat suggests a thermodynamically stable model too

Fig. 12
figure 12

This is the model with \(f(R) =\left( \mid R\mid ^{\frac{ 1}{2}}-1\right) ^{\frac{1}{2}}\), which has the WECs all satisfied, while the stability condition is violated. It is thermodynamically stable since \(C>0\)

4 Conclusion

In Einstein’s general relativity, which corresponds to \(f(R)=R\), the Rindler modification of the Schwarzschild metric faces the problem that the energy conditions are violated. For a resolution to this problem we invoke the large class of \(f(R)\) theories. From a cosmological standpoint the main reason that we should insist on the Rindler acceleration term can be described as follows: at large distances such a term may explain the flat rotation curves as well as the dark matter problem. Our physical source beside the gravitational curvature is taken to be a fluid with equal angular components. Being negative the radial pressure is repulsive in accordance with the expectations of the dark energy. Our scan covered ten different \(f(R)\) models and in most cases by tuning of the free parameters we show that the WECs are satisfied. In ten different models we searched primarily for the validity of WECs as well as for \(\frac{d^{2}f}{ dR^{2}}>0\), i.e. the stability. With some effort thermodynamic stability can also be checked through the specific heat. With equal ease \(\frac{df}{dR}>0,\) i.e., the absence of ghosts can be traced. Figure 1, for instance, depicts the model with \(f(R)=\sqrt{R^{2}+b^{2}}\), (\(b=\)constant) in which WECs and stability, even the thermodynamic stability, are all satisfied, however, it hosts ghosts since \(\frac{df}{dR}<0\) for \(R<0\). Finally, among all models considered herein, we note that Fig. 7 satisfies WECs, stability conditions, as well as the ghost-free condition for \(r>r_{\min }\) in which \(r_{\min }\ge r_{h}\) depends on the other parameters.

Finally we comment that the abundance of parameters in the \(f(R)\) theories is one of its weak aspects. This weakness, however, may be used to obtain various limits and for this reason particular tuning of parameters is crucial. Our requirements have been weak energy conditions (WECs), Rindler acceleration, stability, and the absence of ghosts. Naturally further restrictions will add further constraints, which may lead us to dismiss some cases that are considered as viable in this study.