1 Introduction

In General Relativity, it is a subject of long-standing interest to look for the exact solutions of Einstein’s field equations. Among these exact solutions, black hole solutions take an important position because thermodynamics, gravitational theory, and quantum theory are connected in quantum black hole physics. In addition, black holes might play an important role in developing a satisfactory full quantum theory of gravity which does not exist till today. Black holes are regions of space-time from which nothing, not even light, can escape. A typical black hole is the result of the gravitational force becoming so strong that one would have to travel faster than light to escape its pull. Such black holes generically contain a space-time singularity at their center; thus we cannot fully understand a black hole without also understanding the nature of singularities. Black holes, however, raise several additional conceptual problems and questions on their own. When quantum effects are taken into account, black holes, although they are nothing more than regions of space-time, appear to become thermodynamic entities, with a temperature and an entropy. The fundamental features of a black hole is the topology. In four-dimensional asymptotically flat stationary space-time, Hawking showed that a black hole has necessarily a \(S^{2}\) topology, provided that the dominant energy condition holds [1]. This result extends to outer apparent horizons in black hole space-times that are not necessarily stationary [2]. Such restrictive uniqueness theorems do not hold in higher dimensions, the most famous counter-example being the black ring of Emparan and Reall [3], with horizon topology \(S^2\times S^1\). Nevertheless, Galloway and Schoen [4] have shown that in arbitrary dimension, cross sections of the event horizon (in the stationary case) and outer apparent horizons (in the general case) admit metrics of positive scalar curvature. Hawking’s theorem was later generalized by Gannon [5] who had proved, replacing stationary by some weaker assumptions, that the horizon must be either spherical or toroidal. The topological censorship theorem [6] also plays an important role in black hole physics which states that in asymptotically flat space-times, only spherical horizons can give rise to well defined causal structure for a black hole. This is circumvented by the presence of a negative cosmological constant, in which case well defined black holes with locally flat or hyperbolic horizons have been shown to exist [7,8,9]. This kind of black holes with topologically non-trivial anti-de Sitter (AdS) asymptotics are relevant in testing the AdS/CFT correspondence.

In the framework of four-dimensions, it is well known that generic black hole solutions to Einstein–Maxwell equations are Kerr–Newman solutions [10, 11], which are characterized by only three parameters: the mass (M), charge (q), and angular momentum (J). It is often referred to as the non-hair conjecture of black holes and the space-time is asymptotically flat. When a non-zero cosmological constant is introduced, the space-time will become asymptotically de Sitter (dS) or anti-de Sitter (AdS) spaces depending on the sign of the cosmological constant. In a recent paper [12], Lemos constructed a cylindrical symmetric rotating and/or non-rotating and static black hole solutions (black strings) in four-dimensional Einstein gravity with a negative cosmological constant. The black string solutions of Lemos is asymptotically AdS not only in the transverse directions, but also in the string direction. Huang and Liang [13] further constructed the so-called torus-like black holes with the topology \(R^2\times S^1\times S^1\). The topological black holes in four-dimensional non-static space-time with non-zero cosmological constant, were investigated in [14]. Wu et al. [15] constructed a topologically charged static black hole solution in four-dimensions. Once the energy condition is relaxed, a black hole can have quite different topology. Such examples can occur even in four-dimensional space-times where the cosmological constant is negative [8, 16,17,18,19,20,21].

The curvature singularities of matter-filled as well as vacuum space-times are recognized from the divergence of the energy-density and/or the scalar curvature invariant, such as the zeroth order scalar curvature \(R_{\mu \nu \rho \sigma }\,R^{\mu \nu \rho \sigma }\) (so called the Kretschmann scalar), and \(R_{\mu \nu \rho \sigma }\,R^{\rho \sigma \lambda \tau }\,R^{\mu \nu }_{\lambda \tau }\). In addition, by analysing the outgoing radial null geodesics of a space-time containing space-time singularity, one can determine whether the curvature singularity is naked or covered by an event horizon (see Refs. [22, 23] for detail discussion). For the strength of curvature singularities, two conditions are generally used: first one being the strong curvature condition (SCC) given by Tipler [24], and second one is the limiting focusing condition (LFC) given by Krolak [25]. Meanwhile, the curvature singularities are basically of three types: first one being a space-like singularity (e.g. Schwarzschild singularity), second one is the time-like singularity, and third one is the null singularity. In time-like singularity, two possibilities arise: (i) there is an event horizon around a time-like singularity (e.g. RN black holes). Here an observer cannot see a time-like singularity from an outside region of the space-time, that is, the singularity is covered by an event horizon; (ii) there is no event horizon around a time-like singularity which we called naked singularities (NS), and it would observable for far away observers. Therefore existence of a naked singularity would present opportunities to observe the physical effects near the very dense regions that formed in the very final stages of a gravitational collapse. But in a black hole scenario, such regions are necessarily hidden within the event horizon. Attempts have been made to provide the theoretical framework to devise a technique to distinguish between black holes and naked singularities from astrophysical data mainly through gravitational lensing (GL) method. Some significant works in this direction are the study of strong gravitational lensing in the Janis–Newman–Winicour space-time [26, 27], and its rotating generalization [28], and notable work in [29,30,31,32]. Other workers have shown that naked singularities and black holes can be differentiated by the properties of the accretion disks that accumulate around them. Consequently, the study of naked singularities and space-time with such objects are of considerable current interest. In [33], the authors have enumerated three possible end states of gravitational collapse. There are examples of gravitational collapse model which formed a naked curvature singularity known. The earliest model is the Lemaitre–Tolman–Bondi (LTB) [34,35,36] solutions, a spherically symmetric in-homogeneous collapse of dust fluid that admits both naked and covered singularity. Papapetrou [37] pointed out the formation of naked singularities in Vaidya [38] radiating solution, a null dust fluid space-time generated from Schwarzschild vacuum solution. The examples of spherically symmetric gravitational collapse space-times with naked singularities would be [39,40,41,42,43,44,45,46,47,48,49] and many more. To counter the occurrence of naked singularity in a solution of the Einstein’s field equations, Penrose proposed a Cosmic Censorship Conjecture (CCC) [50,51,52]. However, the general and/or detail proofs of this Conjecture has not yet been given. On the contrary, there is no mathematical details yet known which forbid the appearance of naked singularity in a solution of the field equations.

The Gravitational collapsing of cylindrically symmetric models that is formed a naked singularity has been discussed in [53, 54]. Apostolatos and Thorne [55] investigated the collapse of counter-rotating dust shell cylinder. Echeverria [56] has studied the evolution of cylindrical dust shell analytically at late times and numerically for all times. Guttia et al. [57] have studied the collapse of non-rotating, infinite dust cylinders. Nakao and Morisawa [58] have studied the high-speed collapse of cylindrically symmetric thick shell composed of dust, and perfect fluid with non-vanishing pressure [59]. Recent work describes the cylindrically symmetric collapse of counter-rotating dust shell [60,61,62], self-similar scalar field [63], axially symmetric vacuum space-time [64], cylindrically symmetric anisotropic fluid space-time [65], axially symmetric null dust space-time [66], cylindrically symmetric type N anisotropic and null fluid space-time [67], cylindrically symmetric vacuum space-time [68], and cylindrically symmetric and static anisotropic fluid space-time [69]. Some other examples of non-spherical gravitational collapse with naked singularity would be discussed [70,71,72,73,74,75,76,77,78,79].

The Einstein field equations with cosmological constant \(\Lambda \) are given by

$$\begin{aligned} G_{\mu \nu }+\Lambda \,g_{\mu \nu }=\kappa \,T_{\mu \nu }, \end{aligned}$$
(1)

where \(T_{\mu \nu }\) is the stress–energy tensor. For our present work, we have chosen the following stress–energy tensors:

(i) Perfect fluid:

$$\begin{aligned} T^{0}_{0}=-\rho ,\quad T^{1}_{1}=T^{2}_{2}=T^{3}_{3}=p, \end{aligned}$$
(2)

where \(\rho \) is the energy-density and p is the isotropic pressure.

(ii) Electromagnetic field:

$$\begin{aligned} T_{\mu \nu }=\frac{2}{\kappa }\,\left( g^{\alpha \beta }\,F_{\alpha \mu }\,F_{\beta \nu }-\frac{1}{4}\,g_{\mu \nu }\,F_{\alpha \beta }\,F^{\alpha \beta }\right) , \end{aligned}$$
(3)

where \(F_{\mu \nu }=\partial _{\mu } A_{\nu }-\partial _{\nu } A_{\mu }\) is the electromagnetic field tensor satisfying the following conditions

$$\begin{aligned} F^{\mu \nu }_{\,\,\,;\nu }=0,\quad F_{[\mu \nu ;\alpha ]}=0, \end{aligned}$$
(4)

for the source-free regions, where \(A_{\mu }\) is the four-vector potential.

(ii) Anisotropic fluid:

$$\begin{aligned} T^{0}_{0}=-\rho ,\quad T^{1}_{1}=p_{r},\quad T^{2}_{2}=p_{t}=T^{3}_{3}, \end{aligned}$$
(5)

where \(\rho \) is the energy-density, and \(p_{r},p_{t}\) are the radial and tangential pressures, respectively.

In the present work, taking into account the energy conditions we attempt to generalize a four-dimensional cylindrically symmetric black hole into non-static case which may represent model of black holes and/or naked singularities under various parameters condition.

2 A four-dimensional non-static space-times

The four dimensional time-dependent cylindrical symmetry space-time is given by

$$\begin{aligned} ds^2= & {} g_{\mu \nu }\,dx^{\mu }\,dx^{\nu }\nonumber \\= & {} -f(r)\,dt^2+\frac{1}{f(r)}\,dr^2+r^2\,\left( A\,d\phi ^2+\frac{1}{A}\,dz^2\right) , \nonumber \\ \end{aligned}$$
(6)

where the ranges of the coordinates are \(-\infty< t < \infty \), \(r \in [0, +\infty [\), \(-\infty< z < \infty \), \(\phi \in [0, 2\,\pi )\) and

$$\begin{aligned} f(r)=\left( \frac{2\,\beta }{r}+\frac{\alpha ^2}{r^2}+b^2\,r^2+\delta \,r\right) ,\quad A=A(t)=e^{-2\,\gamma \,t}.\nonumber \\ \end{aligned}$$
(7)

Here \(\beta \) represents mass parameter, \(\alpha \) represents charge, \(b^2\) is related to cosmological constant (\(\Lambda \)), \(\delta \) and \(\gamma \) are integer. The metric functions with its inverse are

$$\begin{aligned} g_{00}= & {} -f(r)=\frac{1}{g^{00}},\quad g_{11}=\frac{1}{f(r)}=\frac{1}{g^{11}},\nonumber \\ g_{22}= & {} r^2\,e^{-2\,\gamma \,t}=\frac{1}{g^{22}},\quad g_{33}=r^2\,e^{2\,\gamma \,t}=\frac{1}{g^{33}}. \end{aligned}$$
(8)

The metric is Lorentzian with signature \((-,+,+,+)\) and the determinant of the corresponding metric tensor \(g_{\mu \nu }\) is

$$\begin{aligned} det\;g=-r^4. \end{aligned}$$
(9)

The non-zero components of the Einstein tensor \(G^{\mu \nu }\) are

$$\begin{aligned} G^{0}_{0}= & {} 3\,b^2-\frac{\alpha ^2}{r^4}+\frac{2\,\delta }{r}+\frac{\gamma ^2}{f(r)},\nonumber \\ G^{1}_{1}= & {} 3\,b^2-\frac{\alpha ^2}{r^4}+\frac{2\,\delta }{r}-\frac{\gamma ^2}{f(r)},\nonumber \\ G^{2}_{2}= & {} G^{3}_{3}=3\,b^2+\frac{\alpha ^2}{r^4}+\frac{\delta }{r}-\frac{\gamma ^2}{f(r)}. \end{aligned}$$
(10)

The time-like four-velocity vector when t is time-like and r is space-like defined by

$$\begin{aligned} u^{\mu }={f(r)}^{-1/2}\,\delta ^{\mu }_{t},\quad u^{\mu }\,u_{\mu }=-1, \end{aligned}$$
(11)

such that the four-acceleration vector

$$\begin{aligned} a^{\mu }=u^{\mu \,;\,\nu }\,u_{\nu }=k(r)\,\delta ^{\mu }_{r},\quad k(r)=\frac{1}{2}\,f'(r). \end{aligned}$$
(12)

Before proceeding, we do the following transformation

$$\begin{aligned} t\rightarrow v-\int \frac{dr}{f(r)} \end{aligned}$$
(13)

into the metric (6), one will get

$$\begin{aligned} ds^2= & {} -f(r)\,dv^2+2\,dv\,dr+r^2\,(H(v,r)\,d\phi ^2\nonumber \\&+\frac{1}{H(v,r)}\,dz^2), \end{aligned}$$
(14)

where

$$\begin{aligned} H(v,r)=e^{-2\,\gamma \,v}\,e^{2\,\gamma \,\int \frac{dr}{f(r)}}. \end{aligned}$$
(15)

Now, we study the following cases of the above space-time in details.

$$\begin{aligned} \mathbf{Case\,1}{:}\ \beta \rightarrow -\beta ,\quad b^2>0,\quad \alpha =0,\quad \delta =0,\quad \gamma \ne 0. \end{aligned}$$

The function f(r) and the quantity k(r) under this case are

$$\begin{aligned} f(r)= & {} \left( b^2\,r^2-\frac{2\,\beta }{r}\right) =\frac{2\,\beta }{r}\,\left( \frac{r^3}{r^{3}_{0}}-1\right) ,\quad \nonumber \\ k(r)= & {} \left( b^2\,r+\frac{\beta }{r^2}\right) . \end{aligned}$$
(16)

The quantity k(r) for \(f(r_0)=0\) is \(k(r=r_0)=\frac{3}{2}\,b^2\,r_0>0\) which is space-like where, \(r=r_0=(\frac{2\,\beta }{b^2})^{\frac{1}{3}}\). Here v is time-like as long as \(r > r_0\) and k(r) is space-like for all \(r>0\). One can easily check that the scalar curvature invariant constructed from the Riemann tensor is singular at \(r=0\) which is covered by an event horizon \(r=r_0\) and vanish rapidly at \(r\rightarrow \infty \).

Consider the stress–energy tensor the perfect fluid (2), from the field equations (1) using (10), we get

$$\begin{aligned} \Lambda =-3\,b^2<0,\quad \kappa \,\rho =\kappa \,p=-\frac{\gamma ^2}{\frac{2\,\beta }{r}\,\left( \frac{r^3}{r^{3}_{0}}-1\right) }. \end{aligned}$$
(17)

The energy-density violate the weak energy conditions in the exterior region \( r > r_0\). Inside the black hole region \(0< r < r_0\), the energy-density satisfy the energy conditions. If one takes \(\gamma =0\), this corresponds to the well-known Lemos cylindrical symmetric and static black hole solution [12].

Thus from the above analysis we have seen that for \(\gamma \ne 0\), the solution represent a non-static stiff fluid black holes model in the background of anti-de Sitter (AdS) spaces with black holes region \(r \le r_0\), a generalization of Lemos static black hole solution into non-static one.

$$\begin{aligned} \mathbf{Case\,2}{:}\ \beta =0,\quad \alpha ^2\rightarrow -\alpha ^2, \quad b^2>0,\quad \gamma =0,\quad \delta =0. \end{aligned}$$

The function f(r) and the surface gravity k(r) are given by

$$\begin{aligned}&f(r)=\left( b^2\,r^2-\frac{\alpha ^2}{r^2}\right) =\frac{\alpha ^2}{r^2}\,\left( \frac{r^4}{r^{4}_{0}}-1\right) ,\nonumber \\&k (r)=\left( b^2\,r+\frac{\alpha ^2}{r^3}\right) ,\quad r_0=\left( \frac{\alpha ^2}{b^2}\right) ^{\frac{1}{4}}. \end{aligned}$$
(18)

The Kretschmann scalar given by

$$\begin{aligned} R_{\mu \nu \rho \sigma }\,R^{\mu \nu \rho \sigma }=\frac{56\,\alpha ^4}{r^8}+24\,b^4 \end{aligned}$$
(19)

is singular at \(r=0\) which is covered by an event horizon \(r=r_0\) and becomes finite at \(r\rightarrow \infty \). The surface gravity for \(f(r_0)=0\) is \(k (r_0)=2\,b^2\,r_0>0\) which is space-like. Here t is time-like and r is space-like for \(r>r_0\) and vice-versa in the region \(r <r_0\).

Considering anisotropic fluid (5) as the stress–energy tensor, from the field equations (1) using (10) we have

$$\begin{aligned} \Lambda =-3\,b^2,\quad \kappa \,\rho =\kappa \,p_{t}=-\frac{\alpha ^2}{r^4},\quad \kappa \,p_{r}=\frac{\alpha ^2}{r^4}. \end{aligned}$$
(20)

We have seen from above that at the point of curvature singularity \(r=0\), the stress–energy tensor diverge and vanish rapidly at \(r\rightarrow \infty \). Thus the solution is radially asymptotically AdS. For stationary black hole solution case, we have from (14)

$$\begin{aligned} ds^2=-f(r)\,dv^2+2\,dv\,dr+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(21)

For light-like curves, from the metric (21) the null condition implies (radial condition \(\phi =const\), \(z=const\))

$$\begin{aligned} -f(r)\,dv+2\,dr=0\Rightarrow 2\,\frac{dr}{dv}=f(r). \end{aligned}$$
(22)

   Thus we see that

$$\begin{aligned} \frac{dr}{dv}=\frac{1}{2}\,f(r)=\frac{\alpha ^2}{r^3}\,\left( \frac{r^4}{r^{4}_{0}}-1\right)> & {} 0\quad \text{ for }\ r >r_0\nonumber \\< & {} 0\quad \text{ for }\ r < r_0. \end{aligned}$$
(23)

Let us consider a closed two-surface, S, of constant v and r, from the metric (21) we have two null vector fields

$$\begin{aligned} k^{\mu }= & {} -\partial _{r}\quad (\text{ the } \text{ inner } \text{ null } \text{ normal })\nonumber \\ l^{\mu }= & {} \partial _{v}+\frac{1}{2}\,f(r)\,\partial _{r}\quad (\text{ the } \text{ outer } \text{ null } \text{ normal }). \end{aligned}$$
(24)

We compute the expansion scalar associated with \(\mathbf{k, l}\) for two-surface [80, 81]

$$\begin{aligned} \Theta _{k}= & {} h^{\mu \nu }\,\nabla _{\nu }\,k_{\mu }=-\frac{2}{r}\nonumber \\ \Theta _{l}= & {} h^{\mu \nu }\,\nabla _{\nu }\,l_{\mu }=\frac{f(r)}{r}=\frac{\alpha ^2}{r^3}\,\left( \frac{r^4}{r^{4}_{0}}-1\right) , \end{aligned}$$
(25)

where \(h_{\mu \nu }\) is the spatial metric in the two-space defined by

$$\begin{aligned} h_{\mu \nu }=g_{\mu \nu }+k_{\mu }\,l_{\nu }+l_{\mu }\,k_{\nu }, \end{aligned}$$
(26)

satisfy the conditions \(h_{\mu \nu }\,k^{\nu }=h_{\mu \nu }\,l^{\nu }=0\), \(h^{\mu }_{\mu }=2\) and \(h^{\mu }_{\nu }\) is the projection operator.

Once we have the expansions, following Penrose definition [82] one can define that the two-surface, S, of constant v and r is trapped, marginally trapped, or un-trapped, according to whether \(\Theta _{l}\,\Theta _{k}>0\), \(\Theta _{l}\,\Theta _{k}=0\), or \(\Theta _{l}\,\Theta _{k}<0\). An apparent horizon, or trapping horizon in Hayward’s terminology [54, 83] is defined as a hypersurface foliated by marginally trapped surfaces. However, this need not be the case in regions of strong curvature.

In our case, we have

$$\begin{aligned} \Theta _{l}> & {} 0\quad \text{ for }\ r > r_0\nonumber \\= & {} 0\quad \text{ for } \ r = r_0\nonumber \\< & {} 0\quad \text{ for } \ r < r_0. \end{aligned}$$
(27)

Thus, in the quotient manifold with metric \(g=-f(r)\,dv^2+2\,dv\,dr\), we have

$$\begin{aligned} \text{ Regular } \text{ region }, { R}= & {} \{(v,r): r >r_0\},\nonumber \\ \text{ Trapped } \text{ region }, { T}= & {} \{(v,r): r <r_0\},\nonumber \\ \text{ Apparent } \text{ region }, { A}= & {} \{(v,r): r =r_0\}. \end{aligned}$$
(28)

The induced metric on A is

$$\begin{aligned} h=2\,dv\,dr=2\,\left( \frac{1}{2}\,f(r)\,dv\right) \,dv=f(r)\,dv^2, \end{aligned}$$
(29)

vanish at \(r=r_0\), a null hypersurface condition, where we have used Eq. (22). So A is a null hypersurface.

The 2-surface S with \(\Theta _{k}<0\) [80,81,82,83,84]

$$\begin{aligned} S\ \text{ is } \text{ called } \text{ untrapped } \quad \text{ if }\ \Theta _{l}> & {} 0\nonumber \\ \text{ marginally } \text{ trapped } \quad \text{ if } \ \Theta _{l}= & {} 0\nonumber \\ \text{ trapped } \quad \text{ if } \ \Theta _{l}< & {} 0 \end{aligned}$$
(30)

and we can rephrase as

$$\begin{aligned} S_{v,r}\ \text{ is } \text{ untrapped } \quad \text{ for } \ r> & {} r_0\nonumber \\ \text{ marginally } \text{ trapped } \quad \text{ for }\ r= & {} r_0\nonumber \\ \text{ trapped } \quad \text{ for }\ r< & {} r_0. \end{aligned}$$
(31)

A future outer trapping horizon (FOTH) is the closure of a surface foliated by marginal surfaces, such that \(k^{\mu }\,\nabla _{\mu }\,\Theta _{l}|_{r=r_0} < 0\), \(\Theta _{l}=0\) and \(\Theta _{k}<0\). In our case, we have

$$\begin{aligned} k^{\mu }\,\nabla _{\mu }\,\Theta _{l}= & {} -\alpha ^2\,\left( \frac{3}{r^4}+\frac{1}{r^{4}_{0}}\right)<0,\nonumber \\ k^{\mu }\,\nabla _{\mu }\,\Theta _{l}|_{r=r_0}= & {} -\frac{4\,\alpha ^2}{r^{4}_{0}}=-4\,b^2=\frac{4}{3}\,\Lambda <0. \end{aligned}$$
(32)

To show that the region \( r \le r_0\) represent a black hole region for the metric (6) under this case with the event horizon exist at \(r=r_0\), we apply the theorem (theorem 1.2.5) [85]. From (21), we get

$$\begin{aligned} g_{vv}=-f(r),\quad g_{\phi \phi }=r^2,\quad g_{vr}=1=g_{rv},\quad g_{zz}=r^2. \nonumber \\ \end{aligned}$$
(33)

The inverse metric tensor for the metric (21) in this case can be express as

$$\begin{aligned} g^{\mu \nu }\,\partial _{\mu }\,\partial _{\nu }=2\,\partial _{v}\,\partial _{r}+f(r)\,\partial _{r}^2+r^{-2}\,\partial _{\phi }^2+r^{-2}\,\partial _{z}^2. \end{aligned}$$
(34)

Since the metric component \(g^{vv}\) from (21) is

$$\begin{aligned} g^{vv}=0\Rightarrow g(\nabla v,\nabla v)=0, \end{aligned}$$
(35)

which implies that the integral curves of

$$\begin{aligned} \nabla v=g^{\mu \nu }\,\partial _{\mu }\,v\,\partial _{\nu }=\partial _{r}, \end{aligned}$$
(36)

are null, affinely parameterized geodesic, that means, the curves are the null geodesic (since the conditions \(X^{\nu } \nabla _{\nu }\,X^{\mu }=0\) hold where, we have defined \(X=\nabla \,v\)).

Again from metric (21), we have

$$\begin{aligned} \nabla r=g^{\mu \nu }\,\partial _{\mu }\,r\,\partial _{\nu }=\partial _{v}+f(r)\,\partial _{r}=\partial _{v} \end{aligned}$$
(37)

provided \(f(r)=0\Rightarrow r=r_0=(\frac{\alpha ^2}{b^2})^{\frac{1}{4}}\). Since at \(r=r_0\), the metric function \(f(r)=0\) which implies \(g^{rr}=f(r=r_0)=0\), the null hypersurface condition. Therefore the curve \(\gamma (\lambda )\) defined by \(\{v=v(\lambda ), r=r_0, \phi =const, z=const\}\) are the null geodesics where, \(\lambda \) is an affine parameter. The null geodesics are the generators of the event horizon.

Now we study the geodesic motion of test particles. The Lagrangian of the metric (6) in the constant z-planes in this case is given by

$$\begin{aligned} -f (r)\,{\dot{t}}^2+\frac{{\dot{r}}^2}{f (r)}+r^2\,{\dot{\phi }}^2=-\epsilon , \end{aligned}$$
(38)

where \(\epsilon =0,1\) for photon and massive particles, respectively. There are two constants of motion which are given by

$$\begin{aligned} {\dot{t}}=\frac{E}{f (r)},\quad {\dot{\phi }}=\frac{L}{r^2}. \end{aligned}$$
(39)

Therefore from (38) we have

$$\begin{aligned} \frac{1}{2}\,\left( \frac{dr}{d\lambda }\right) ^2+V_{eff}=\frac{1}{2}\,E^2, \end{aligned}$$
(40)

where the effective potential is given by

$$\begin{aligned} V_{eff} (L,r)=\frac{f (r)}{2}\,\left[ \frac{L^2}{r^2}+\epsilon \right] . \end{aligned}$$
(41)

This potential equals 0 at the surface of the black holes.

According to the classical black hole (BH) thermodynamics [86,87,88,89], the surface gravity of BH, k, is connected with the temperature \(T_h\) known as Hawking temperature, given by,

$$\begin{aligned} T_h=\frac{k}{2\,\pi }. \end{aligned}$$
(42)

In our case we have the black holes temperature

$$\begin{aligned} T_{h} (r_0)=\frac{2\,b^2\,r_0}{2\,\pi }=\frac{\sqrt{\alpha }}{\pi }\,\left[ -\frac{\Lambda }{3}\right] ^{\frac{3}{4}}. \end{aligned}$$
(43)

Thus from above analysis we have seen that the solution (6) in this case represent a non-rotating cylindrical symmetry and static charged singular black hole solution with anisotropic fluid as the stress–energy tensor violating the weak energy condition (WEC) in the backgrounds of anti-de Sitter (AdS) spaces.

$$\begin{aligned} \mathbf{Case\,3}{:}\ \beta \ne 0,\quad \alpha \ne 0,\quad b^2=0,\quad \gamma =0,\quad \delta \ne 0. \end{aligned}$$

The metric under this case is given by

$$\begin{aligned} ds^2=-f(r)\,dt^2+\frac{dr^2}{f(r)}+r^2\,(d\phi ^2+dz^2), \end{aligned}$$
(44)

where the function f(r) is given by

$$\begin{aligned} f(r)=\left( \frac{\alpha ^2}{r^2}+\frac{2\,\beta }{r}+\delta \,r\right) . \end{aligned}$$
(45)

The Kretschmann scalar given by

$$\begin{aligned} R_{\mu \nu \rho \sigma }\,R^{\mu \nu \rho \sigma }= & {} \frac{8}{r^8}\,[7\,\alpha ^4+12\,r\,\alpha ^2\,\beta +6\,r^2\,\beta ^2\nonumber \\&-r^3\,\alpha ^2\,\delta +r^6\,\delta ^2] \end{aligned}$$
(46)

is singular at \(r=0\) and tends to zero, as \(r\rightarrow \infty \).

The non-zero components of the Einstein’s tensor are

$$\begin{aligned} G^{0}_{0}=G^{1}_{1}=-\frac{\alpha ^2}{r^4}+\frac{2\,\delta }{r},\quad G^{2}_{2}=G^{3}_{3}=\frac{\alpha ^2}{r^4}+\frac{2\,\delta }{r}. \end{aligned}$$
(47)

Considering the stress–energy tensor the electromagnetic field given by

$$\begin{aligned} -T^{0}_{0}=-T^{1}_{1}=T^{2}_{2}=T^{3}_{3}=\frac{B^2}{\kappa \,r^4}, \end{aligned}$$
(48)

where we have chosen the electromagnetic field tensor \(F_{32}=-F_{23}=B^1=B\) and others are zero. The stress–energy tensor of anisotropic fluid is given by (5).

Therefore for zero cosmological constant, from the field equations \(G_{\mu \nu }=\kappa \,T_{\mu \nu }=\kappa \,(T_{\mu \nu }(\text{ e.m. })+T_{\mu \nu }(\text{ f }))\), we get

$$\begin{aligned} B=\alpha ,\quad -\kappa \,\rho =\kappa \,p_{r}=\frac{2\,\delta }{r},\quad \kappa \,p_{t}=-\frac{\delta }{r}. \end{aligned}$$
(49)

From above it is clear that the physical parameters \(\rho , p_{r},p_{t}\) are singular at \(r=0\) and tends to zero at \(r \rightarrow \infty \). The matter-energy tensor the anisotropic fluid satisfy the following energy conditions provided \(\delta >0\)

$$\begin{aligned}&WEC{:} \quad \rho<0,\nonumber \\&WEC_{r}{:}\quad \rho +p_{r}=0,\nonumber \\&WEC_{t}{:}\quad \rho +p_{t}<0,\nonumber \\&SEC{:}\quad \rho +\sum _{i} p_{i}<0. \end{aligned}$$
(50)

And for \(\delta <0\) we have

$$\begin{aligned}&WEC{:} \quad \rho>0,\nonumber \\&WEC_{r}{:}\quad \rho +p_{r}=0,\nonumber \\&WEC_{t}{:}\quad \rho +p_{t}>0,\nonumber \\&SEC{:}\quad \rho +\sum _{i} p_{i}>0. \end{aligned}$$
(51)

A cylindrically symmetric space-time locally is defined by the existence of two commuting, spacelike Killing vectors, whose one orbits are closed and other is open. According to the definition in Ref. [90], a space-time (Mg) is cylindrically symmetric if and only if it admits a \(G_2\) on \(S_2\) group of isometries containing an axial symmetry (see also, Refs. [91,92,93]). For the space-time (44), the metric tensor is independent of the coordinates \((\phi , z)\) so that the Killing vectors are \((\xi _{(\phi )}, \xi _{(z)})=(\partial _{\phi }, \partial _{z})\). The existence of axial symmetry about z-axis (since \(|g_{\phi \phi }|\rightarrow 0\), as \(r\rightarrow 0\)) implies that the orbits of one of these Killing vectors, namely, \(\partial _{\phi }\) are closed but those of the other (\(\partial _{z}\)) is open. In addition, these spacelike Killing vectors generates a two-dimensional isometry group \(G_2\) and they commute. Here the assumption on the existence of two-surfaces (\(S_2\)) orthogonal to the group orbits is not necessary for the definition of cylindrical symmetry. So in the astrophysical context, the orthogonal transitivity in the definition of cylindrical symmetry is removed and we assume the space-time is cylindrically symmetric.

The norm of the spacelike Killing vectors \((\partial _{\phi }, \partial _{z})\) are invariant, namely, the circumferential radius

$$\begin{aligned} \zeta =\sqrt{|\xi _{(\phi )\mu }\,\xi _{(\phi )\nu }\,g^{\mu \nu }|}, \end{aligned}$$
(52)

and the specific length

$$\begin{aligned} l=\sqrt{|\xi _{(z)\mu }\,\xi _{(z)\nu }\,g^{\mu \nu }|}. \end{aligned}$$
(53)

The gravitational energy per unit specific length in cylindrical symmetry system (also known as C-energy) is defined as [53, 72]

$$\begin{aligned} \mathbf{U}=\frac{1}{8}\,\left( 1-\frac{1}{4\,\pi ^{2}}\,l^{-2}\,\nabla ^{\mu } \mathbf{A}\,\nabla _{\mu } \mathbf{A}\right) , \end{aligned}$$
(54)

where \(\mathbf{A}=\zeta \,l\) is the areal radius (area of two-dimensional cylindrical surface where the cylindrical space-time lies), and \(\mathbf{U}\) is the C-energy scalar.

For the metric (44), \(\zeta =r\) and \(l=r\) so that area of the two-dimensional cylindrical surface \(\mathbf{A}=r^2\). Hence the C-energy scalar \(\mathbf{U}\) is

$$\begin{aligned} \mathbf{U}=\frac{1}{8}\,\left[ 1-\frac{f(r)}{\pi ^{2}}\right] . \end{aligned}$$
(55)

The C-energy is defined in terms of the C-energy flux vector \(P^{\mu }\) which satisfies the conservation law \(\nabla _{\mu }\,P^{\mu }=0\). The C-energy flux vector \(P^{\mu }\) is defined by

$$\begin{aligned} P^{\mu }=2\,\pi \,\epsilon ^{\mu \nu \rho \sigma }\,\mathbf{U}_{,\nu }\,\xi _{(z)\rho }\,\xi _{(\phi )\sigma }, \end{aligned}$$
(56)

where \(\epsilon ^{\mu \nu \rho \sigma }\) is the Levi-Civita skew tensor, and the C-energy flux vector is

$$\begin{aligned} P^{\mu }=-\frac{r^4\,f' (r)}{4\,\pi }\,(1,0,0,0). \end{aligned}$$
(57)

The C-energy density measured by an observer whose world-line has a tangent vector \(u^{\mu }\) is

$$\begin{aligned} \mathbf{E}(r)= & {} -P^{\mu }\,u_{\mu }=\frac{r^4\,f' (r)\,\sqrt{f (r)}}{4\,\pi },\quad \text{ where }\quad \nonumber \\ u^{\mu }= & {} \frac{1}{\sqrt{f (r)}}\,\delta ^{\mu }_{t}. \end{aligned}$$
(58)

Sub-case (i): If \(\beta =0=\delta \).

The metric in this case reduces to

$$\begin{aligned} ds^2=-\frac{\alpha ^2}{r^2}\,dt^2+\frac{r^2}{\alpha ^2}\,dr^2+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(59)

By applying the transformations \(t\rightarrow v-\frac{r^3}{3\,\alpha ^2}\) into the above metric, one will get

$$\begin{aligned} ds^2=-\frac{\alpha ^2}{r^2}\,dv^2+2\,dv\,dr+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(60)

The above solution represents a Petrov type D static and cylindrical symmetry model with non-null electromagnetic field possesses a naked singularity.

The Lagrangian of metric (59) is

$$\begin{aligned} { L}=\frac{1}{2}\,\left[ -\frac{\alpha ^2}{r^2}\,{\dot{t}}^2+\frac{r^2}{\alpha ^2}\,{\dot{r}}^2+r^2\,({\dot{\phi }}^2+{\dot{z}}^2)\right] . \end{aligned}$$
(61)

There are three constant of motions corresponding to three cyclic coordinates t, \(\phi \) and z. These are

$$\begin{aligned} {\dot{t}}=\frac{r^2}{\alpha ^2}\,E,\quad p_{\phi }=r^2\,{\dot{\phi }},\quad p_{z}=r^2\,{\dot{z}}. \end{aligned}$$
(62)

Substituting (62) into (61) for null geodesics, we have

$$\begin{aligned} \frac{{\dot{r}}}{\sqrt{1-\frac{a^2}{r^4}}}=E,\quad a^2=\alpha ^2\,(p^{2}_{\phi }+p^{2}_{z}). \end{aligned}$$
(63)

For the radial null geodesic \({\dot{\phi }}=0\) in the constant z-plane, we have from (61)

$$\begin{aligned} {\dot{r}}=\frac{\alpha ^2}{r^2}\,{\dot{t}}=E\Rightarrow r(\lambda )=E\,\lambda +c_1, \end{aligned}$$
(64)

where \(c_1\) is arbitrary constant. Therefore from (62) for time coordinate

$$\begin{aligned} {\dot{t}}=\frac{E}{\alpha ^2}\,(E\,\lambda +c_1)^2\Rightarrow t(\lambda )=\frac{1}{3\,\alpha ^2}\,(E\,\lambda +c_1)^3. \end{aligned}$$
(65)

From Eqs. (64) and (65) it is clear that the radial null geodesics path t and r are bounded for finite value of the affine parameter \(\lambda \), and thus the presented space-time is radially null geodesically complete but incomplete for non-radial null geodesics.

Consider a congruence of radial null geodesics having the tangent vector \(K^{\mu }(r)=(K^{t},K^{r},0,0)\), where \(K^{t}=\frac{dt}{d\lambda }\) and \(K^{r}=\frac{dr}{d\lambda }\). The geodesic expansion is defined by [94]

$$\begin{aligned} \varvec{\Theta }=K^{\mu }_{\,\,;\,\mu }=\frac{1}{\sqrt{-g}}\,\frac{\partial }{\partial \,x^{i}}\,(\sqrt{-g}\,K^{i}). \end{aligned}$$
(66)

For the metric (59) we get

$$\begin{aligned} \varvec{\Theta }=\frac{\partial K^{r}}{\partial r}+\frac{K^{r}}{\sqrt{-g}}\,(\sqrt{-g})^{'}, \end{aligned}$$
(67)

where prime denotes derivative w. r. t. r. We proceed by noting that

$$\begin{aligned} \frac{dK^{r}}{d\lambda }= & {} \frac{\partial K^{r}}{\partial r}\,\frac{\partial r}{\partial \lambda },\nonumber \\ \frac{dK^{t}}{d\lambda }= & {} \frac{\partial K^{t}}{\partial r}\,\frac{\partial r}{\partial \lambda }. \end{aligned}$$
(68)

Therefore the final expression of the geodesic expansion from (67) is

$$\begin{aligned} \varvec{\Theta }(r)= & {} \frac{1}{K^{r}}\,\frac{dK^{r}}{d\lambda }+\frac{2}{r}\,K^{r}\nonumber \\= & {} \frac{1}{K^{r}}\,[-\Gamma ^{r}_{tt}\,(K^{t})^2-\Gamma ^{r}_{rr}\,(K^{r})^2]+\frac{2}{r}\,K^{r}\nonumber \\= & {} -\frac{(K^{t})^2}{K^{r}}\,\Gamma ^{r}_{tt}-\Gamma ^{r}_{rr}\,K^{r}+\frac{2}{r}\,K^{r}\nonumber \\= & {} \frac{(K^{t})^2}{K^{r}}\,\frac{\alpha ^4}{r^5}-\frac{1}{r}\,K^{r}+\frac{2}{r}\,K^{r}\nonumber \\= & {} \frac{2\,E}{r},\quad K^{t}=\frac{r^2}{\alpha ^2}\,E\nonumber \\> & {} 0, \end{aligned}$$
(69)

which is positive, a fact that indicates the nature of singularity which is formed due to scalar curvature is naked. One can easily check that the naked singularity (NS) which is formed due to the scalar curvature satisfies neither the strong curvature condition developed by Tipler [24] (see also, [95]) nor the limiting focusing condition developed by Krolak [25]. These two criteria are as follows:

$$\begin{aligned} \lim _{\lambda \rightarrow 0} \lambda ^2\,R_{\mu \nu }\,\frac{dx^{\mu }}{d\lambda }\,\frac{dx^{\nu }}{d\lambda }\ne 0\ (>0), \end{aligned}$$
(70)

where \(\frac{dx^{\mu }}{d\lambda }\) is the tangent vector field to the radial null geodesics. And

$$\begin{aligned} \lim _{\lambda \rightarrow 0} \lambda \,R_{\mu \nu }\,\frac{dx^{\mu }}{d\lambda }\,\frac{dx^{\nu }}{d\lambda }\ne 0. \end{aligned}$$
(71)

Therefore, the analytical extension of the space-time through the singularity is possible.

The C-energy density in this sub-case is given by

$$\begin{aligned} E (r)=-\frac{\alpha ^3}{2\,\pi }<0 \end{aligned}$$
(72)

which may positive or negative depending on the sign of \(\alpha \).

Sub-case (ii): If \(\beta =0=\alpha \).

The metric in this case reduces to

$$\begin{aligned} ds^2=-\delta \,r\,dt^2+\frac{1}{\delta \,r}\,dr^2+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(73)

And doing transformation \(t\rightarrow v-\frac{1}{\delta }\,\text{ ln } r\) into the above metric, one will get

$$\begin{aligned} ds^2=-\delta \,r\,dv^2+2\,dv\,dr+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(74)

This solution represents a cylindrical symmetry and conformally flat static solution of only anisotropic fluid (49). It is worth mentioning the conformally flat condition for static and cylindrically symmetric case with anisotropic fluids was obtained by Herrera et al. [96]. They had shown that any conformally flat and cylindrically symmetric static source cannot be matched through Darmois conditions to the Levi-Civita space-time, satisfying the regularity conditions. Furthermore, all static, cylindrical symmetric solutions (conformally flat or not) for anisotropic fluids have been found in [97]. Very recently, a conformally flat cylindrical symmetry and static anisotropic solution of the field equations with naked singularities appeared in [69]. Therefore the study static and cylindrical symmetry space-time (73) is a special case of these known solutions.

The C-energy density in this sub-case is given by

$$\begin{aligned} E (r)=\frac{\delta ^{\frac{3}{2}}\,r^{\frac{9}{2}}}{4\,\pi }. \end{aligned}$$
(75)

Sub-case (iii): For \(\delta =0=\alpha \).

The metric in this case reduces to

$$\begin{aligned} ds^2=-\frac{2\,\beta }{r}\,dt^2+\frac{r}{2\,\beta }\,dr^2+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(76)

And by doing transformation \(t\rightarrow v-\frac{r^2}{4\,\beta }\) into the metric, one will get

$$\begin{aligned} ds^2=-\frac{2\,\beta }{r}\,dv^2+2\,dv\,dr+r^2\,(d\phi ^2+dz^2). \end{aligned}$$
(77)

The metric (84) represents a cylindrical symmetry type D vacuum solution of the field equations since \(R_{\mu \nu }=0\). This type D vacuum solution possess a naked curvature singularity at \(r=0\) not covered by an event horizon.

We determine the fourteen scalar invariants of the Riemann–Christoffel curvature tensor for the vacuum spacetime from the list provided in [98] which is based on the one in [99]. Of these fourteen, only four do not vanish identically for a vacuum spacetime (Ricci flat). These are (using the notation of [98, 99])

$$\begin{aligned} J_1= & {} A_{hijk}\,g^{hj}\,g^{ik},\nonumber \\ J_2= & {} B_{hijk}\,g^{hj}\,g^{ik},\nonumber \\ J_3= & {} A_{ab}^{\quad cd}A_{cd}^{\quad ab}-\frac{1}{2}\,J^2_1,\nonumber \\ J_4= & {} A_{ab}^{\quad cd}B_{cd}^{\quad ab}-\frac{5}{12}\,J_1\,J_2, \end{aligned}$$
(78)

where the tensors \(A_{hijk}\) and \(B_{hijk}\) are obtained from the Weyl tensor C (which is identical to the Riemann tensor in empty space) via

$$\begin{aligned}&A_{hijk}=C_{hipq}\,C_{rsjk}\,g^{pr}\,g^{qs}\nonumber \\&B_{hijk}=C_{hipq}\,A_{rsjk}\,g^{pr}\,g^{qr}. \end{aligned}$$
(79)

For the metric (76), we find that

$$\begin{aligned}&J_1=J_2=\frac{48\,\beta ^2}{r^6},\quad J_3=-\frac{576\,\beta ^4}{r^{12}}\quad \text{ and } \nonumber \\&\quad J_4=-\frac{384\,\beta ^2}{r^{12}}. \end{aligned}$$
(80)

From above analysis with the Kretschmann scalar, we have seen that the curvature invariants diverge at \(r=0\) not covered by an event horizon.

The C-energy density in this sub-case is given by

$$\begin{aligned} E (r)=-\frac{(2\,\beta \,r)^{\frac{3}{2}}}{4\,\pi }<0. \end{aligned}$$
(81)

By doing similar analysis as done in sub-case (i) earlier, one can show that the singularity which is formed due to scalar curvature is naked which satisfies neither the strong curvature condition nor the limiting focusing condition. Recently, the author with other [68] constructed a cylindrical symmetric type D vacuum solution of the field equations which is free-from causality possesses a naked singularity.

$$\begin{aligned} \mathbf{Case \,4}{:}\ \beta =0,\quad \alpha =0,\quad b^2 \ne 0,\quad \delta =0,\quad \gamma \ne 0. \end{aligned}$$

The metric is given by

$$\begin{aligned} ds^2= & {} -b^2\,r^2\,dt^2+\frac{1}{b^2}\,\frac{dr^2}{r^2}+r^2\,(e^{-2\,\gamma \,t}\,d\phi ^2\nonumber \\&+\,e^{2\,\gamma \,t}\,dz^2). \end{aligned}$$
(82)

The Kretschmann scalar given by

$$\begin{aligned} R^{\mu \nu \rho \sigma }\,R_{\mu \nu \rho \sigma }=24\,b^4+\frac{12\,\gamma ^4}{b^4\,r^4}-\frac{8\,\gamma ^2}{r^2} \end{aligned}$$
(83)

is singular at \(r=0\) not clothed and thus a naked singularity is formed. At spatial infinity along the radial direction, that is, at \(r\rightarrow \infty \), the curvature scalar \(R^{\mu \nu \rho \sigma }\,R_{\mu \nu \rho \sigma }\rightarrow 24\,b^4\) which indicates that the solution is asymptotically de-Sitter or anti-de Sitter spaces. One can easily check the solution is of Petrov type D metric with naked singularities.

Consider the stress–energy tensor the perfect fluid (15), from the field equations (6) and (10), we get

$$\begin{aligned} \Lambda =-3\,b^2,\quad \kappa \,\rho =\kappa \,p=-\frac{\gamma ^2}{b^2\,r^2}, \quad \Lambda <0 \quad \text{ or }\ >0. \nonumber \\ \end{aligned}$$
(84)

There are two possible sub-cases arise:

Sub-case (i): For \(b^2<0\), that is, \(\Lambda >0\), t is space-like and r is a time-like coordinate. The matter-energy sources the stiff perfect fluid satisfies the energy condition. The physical parameter \(\rho (=p)\) is singular at \(r=0\) and tends to zero at spatial infinity along the radial distances i.e., \(r\rightarrow \infty \). Thus the non-static type D solution corresponds to a stiff perfect fluid in the backgrounds of de-Sitter (dS) spaces with naked singularities.

Sub-case (ii): For \(b^2>0\), that is, \(\Lambda <0\), t is time-like and r is a space-like coordinate. In that case, the stiff perfect fluid violates the weak energy condition. Therefore the non-static type D solution corresponds to a stiff fluid in the background of anti-de Sitter (AdS) spaces with naked singularities violating the weak energy condition.

Noted that if one takes \(\gamma =0\), then the static space-time represent a de-Sitter or anti-de Sitter spaces, depending on the signs of the cosmological constant \(\Lambda \) whose global structure were studied extensively in [100].

$$\begin{aligned} \mathbf{Case \,5}{:}\ \beta =0,\quad \alpha \ne 0,\quad b^2 \ne 0,\quad \gamma =0,\quad \delta \ne 0. \end{aligned}$$

The function f(r) and the surface gravity k(r) is given by

$$\begin{aligned} f(r)= & {} \left( \frac{\alpha ^2}{r^2}+b^2\,r^2+\delta \,r\right) ,\quad \nonumber \\ k(r)= & {} \left( -\frac{\alpha ^2}{r^3}+b^2\,r+\frac{\delta }{2}\right) . \end{aligned}$$
(85)

In that case, the space-time represents a cylindrical symmetric and static solution with naked singularities which we discuss graphically i.e. one can see that no horizon exists for specific values of the parameters. Figure 1 indicates that naked singularities exist for positive values of \(\alpha \) and \(\delta \) with both de-Sitter and anti de-Sitter spaces. Figure 2 indicates that naked singularities exist for negative values of \(\alpha \) and positive values of \(\delta \) with both de-Sitter and anti de-Sitter spaces.

Fig. 1
figure 1

Variation of f(r) with respect to r for positive values of \(\alpha , \delta \). (Left panel) de-Sitter spaces (right panel) anti de-Sitter spaces

Fig. 2
figure 2

Variation of f(r) with respect to r for negative values of \(\alpha \) and positive values of \(\delta \). (Left panel) de-Sitter spaces (right panel) anti de-Sitter spaces

One can easily check that the stress–energy tensor corresponds to non-null electromagnetic field coupled with anisotropic fluid. The different physical parameters are as follows:

$$\begin{aligned} B= & {} \alpha>0,\quad \Lambda =-3\,b^2 < 0\quad \text{ or }\quad >0,\nonumber \\ \kappa \,\rho= & {} -\frac{2\,\delta }{r},\quad \kappa \,p_{r}=\frac{2\,\delta }{r},\quad \kappa \,p_{t}=\frac{\delta }{r}. \end{aligned}$$
(86)

The anisotropy difference along the radial and tangential directions, respectively are

$$\begin{aligned} \kappa \,(\rho -p_{r})=-\frac{4\,\delta }{r},\quad \kappa \,(\rho -p_{t})=-\frac{3\,\delta }{r}. \end{aligned}$$
(87)

Therefore the static solution corresponds to an anisotropic fluid coupled with non-null electromagnetic field in the backgrounds of de-Sitter and anti-de Sitter spaces with naked singularities.

3 Conclusions

The General Theory Relativity (GTR) is the successful theory not only because of the predictions of black holes but also its capability of predicting its shortcomings. One of the apparent shortcomings of General Relativity is that it predicts the existence of singularities, space-time geometrical points where curvature becomes infinite and laws of physics are no longer working. Interestingly the Penrose–Hawking singularity theorems do not say much about geometrical locations of singularities [100]. Since the introduction of cosmic censorship conjecture by Penrose, many endeavours attempted to argue in favour (please see, [101]) or against the weak and strong versions of cosmic censorship conjecture. None came with conclusive definitive proof whether naked singularities could or could not physically exist. On the contrary, there are a number of spherical and non-spherical gravitational collapse solution with naked singularities exist (For a review, see, [23]). For regular or non-singular black hole solution, Bardeen proposed the first static and spherically symmetric regular black hole solution [102]. After that several authors investigated this type black hole solution. For a comprehensive review of this type black hole solution, see [103]. In the present work, we are mainly interested on singular black hole solution where the central singularity is covered by an event horizon.

A four dimensional non-static or static space-time with the matter-energy sources the stiff fluid, anisotropic fluid and an electromagnetic field, is analyzed here. The space-time represents naked singularity models and/or singular black hole solutions depending on the various parameters conditions on the metric functions in the background of de-Sitter (dS) or anti de-Sitter (AdS) spaces. In Case 1, we have presented a generalization of cylindrical symmetric and static Lemos black hole solution into non-static one with a perfect fluid satisfying the weak energy condition (WEC) within the black hole region. In Case 2, a cylindrical symmetric and static black hole solution with a negative cosmological constant and anisotropic fluid as the stress–energy tensor, is discussed in details. In Case 3, type D cylindrical symmetric and non-static solutions of non-null electromagnetic field and anisotropic fluid as the stress–energy tensor with a naked curvature singularity, is presented. There we have discussed three sub-cases by (i)–(iii) of the space-time. In sub-case (i), we have constructed a type D cylindrical symmetric and static space-time of non-null electromagnetic field only which possesses a naked curvature singularity. We have shown that the space-time is radially null geodesically complete. Also we have shown there that the singularity which is formed due to scalar curvature (or the Kretschmann scalar) is naked and satisfies neither the strong curvature condition nor the limiting focusing condition. In sub-case (ii), a cylindrical symmetric and conformally flat type O solution of anisotropic fluid only with a naked curvature singularity, is presented. It is worth mentioning the conformally flat condition for static and cylindrically symmetric case with anisotropic fluids was obtained by Herrera et al. [96]. Furthermore, all static, cylindrical symmetric solutions (conformally flat or not) for anisotropic fluids have been found in [97]. Thus cylindrical symmetric and conformally flat static space-time discussed in sub-case (ii) is a special case of these known solutions. In sub-case (iii), we constructed a cylindrical symmetric and static type D vacuum space-time with a naked curvature singularity. In Case 4, type D cylindrical symmetric and non-static solution of stiff perfect fluid in the backgrounds of de-Sitter (dS) and anti-de Sitter (AdS) spaces with a naked curvature singularity, is presented. In case 5, cylindrical symmetric and static solution of anisotropic fluid coupled with a non-null electromagnetic field in the backgrounds of de-Sitter (dS) and anti-de Sitter (AdS) spaces with a naked singularity, is presented. We have plotted graphs (Figs. 1 and 2) showing variation of the function f(r) against r in the backgrounds of de-Sitter and anti-de Sitter spaces by choosing suitable parameters \(\alpha \) and \(\delta \).