1 Introduction

The study of final outcomes of gravitational collapse is an interesting topic that explores the formation of various compact objects such as white dwarfs, neutron stars, naked singularities and black holes (BHs). The collapse end-state is a widely accepted research field from many perspectives, both theoretical and observational. The classical tgeneral relativity faces some major scientific issues precisely related to the paradoxical characteristics of BHs and naked singularities. An astronomical substance hypothesized as a substitute for the BH is a gravastar (gravitational vacuum star) based on the idea of Mazur’s and Motola’s theory [1, 2]. The basic idea is to prevent the formation of event horizons and singularities by stopping the collapse of matter at or near the position of event horizon. A gravastar appears similar to a black hole but does not contain event horizon and singularity.

Gravastars are of purely theoretical interest and can be described in three different regions with the specific equation of state (EoS). The first region is referred to as an interior (\(0\le r<r_1\)), second is the intermediate (\(r_1< r<r_2\)) and third is denoted as an exterior region (\(r_2<r\)). In the first region, the isotropic pressure (\(p=-\sigma \), where \(\sigma \) represents the energy density) produces a repulsive force on the intermediate thin-shell. It is assumed that the intermediate thin-shell is protected by ultrarelativistic plasma and fluid pressure (\(p=\sigma \)). The exterior region has zero pressure (\(p=0=\sigma \)) and can be supported by the vacuum solution of the field equations. It contains a stable thermodynamic solution and maximum entropy for small fluctuations. Visser’s cut and paste method provides a general formalism for the construction of thin-shell from the joining of two different spacetimes at hypersurface [3]. Mazur and Mottola [2] considered this approach to construct thin-shell gravastar from the matching of exterior Schwarzschild BH with interior de Sitter (DS) spacetime. This approach is very useful to avoid the presence of event horizon as well as central singularity in the geometry of gravastars.

The matter surface at thin-shell creates a sufficient amount of pressure to overcome the force of gravity effects that help to maintain its stable configuration. For the description of Mazur–Mottola scenario, Visser and Wiltshire [4] introduced the simplest model from the matching of exterior and interior geometries through the cut and paste approach. They also analyzed stable configuration of the developed structure for suitable choice of EoS for the transition layers. Carter [5] extended this concept by the joining of interior DS spacetime and exterior Reissner–Nordström (RN) BH. They examined the effects of EoS on the modeling of thin-shell gravastars. Horvat et al. [6] presented theoretical model of gravastars with electromagnetic field and studied the role of charge on the stable configuration of gravastars. Rahaman et al. [7, 8] studied physical features like proper length, entropy and energy contents of charged and charged free thin-shell gravastars in the background of (2+1)-dimensional spacetime. They claimed that the presented solutions are non-singular and physically viable as an alternative to BH. Banerjee et al. [9] investigated the braneworld thin-shell gravastars developed by using braneworld BH as an exterior manifold through cut and paste technique.

Rocha et al. [10,11,12] discussed stable configuration of thin-shell gravastars with perfect fluid distribution in Vaidya exterior spacetime. They proposed a dynamical model of prototype gravastars filled with phantom energy. It is found that the developed structure can be a BH, stable, unstable or “bounded excursion” gravastar for various matter distributions at thin-shell. Horvat et al. [13] studied the geometry of gravastars with continuous pressure by using the conventional Chandrasekhar approach and derived EoS for the static case. Lobo and Garattini [14] investigated the stability of noncommutative thin-shell gravastar and found that stable regions must exist near the expected position of the event horizon. Övgün et al. [15] developed thin-shell gravastar model from the matching of exterior charged noncommutative BH with interior DS manifold. They found that the developed structure follows the null energy condition and shows stable behavior for some suitable values of physical parameter near the expected event horizon. Recently, we have developed regular thin-shell gravastars in the background of Bardeen/Bardeen DS BHs as exterior manifolds through cut and paste method [16]. The stable configuration of the developed structure is explored through radial perturbation. It is found that stable regions decrease for large values of charge and increase for higher values of the cosmological constant.

The theoretical modeling of gravastar could be helpful for the better understanding of dark energy role in the accelerated expanding behavior of the universe. Ghosh et al. [17] examined physical characteristics of gravastar model with Kuchowicz metric potential. They claimed that this model overcomes the singularity problems that occurred for the geometry of BH in general relativity. Shamir and Ahmad [18] investigated physical features of gravastar model in the background of f(GT) gravity. Yousaf et al. [19] explored stable configuration of charged gravastar filled with isotropic fluid in f(RT) gravity. They found linear relation among the physical features and thickness of the shell. Sharif and Waseem [20] discussed charged gravastars with conformal motion in f(RT) gravity. There is a large body of literature [21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40] that explore the stable as well as dynamical configuration of thin-shell wormholes constructed from the matching various BHs with different EoS.

This paper presents the formalism of charged Kiselev thin-shell gravastars to explore stable configuration with different EoS. The paper has the following format. Section 2 explains the formalism of thin-shell gravastars in the background of charged Kiselev BH. In Sect. 3, we study the effects of barotropic and variable EoS on the stable configuration of the developed structure through radial perturbation. Finally, we summarize our results in the last section.

2 Gravastars formalism

This section explores the geometrical construction of thin-shell gravstars from the joining of lower (\(\Upsilon ^-\)) and upper (\(\Upsilon ^+\)) manifolds through cut and paste technique. For this purpose, we consider DS spacetime as a lower manifold and charged BH surrounded by the quintessence matter as an upper manifold. The motivation behind the consideration of this model can be explained as follows. The matter with negative pressure can be characterized for the current evolutionary phase of the universe with cosmological constant and quintessence [41]. The mathematical representation of quintessence matter distribution that linear relates energy density (\(\sigma _q\)) and pressure (\(p_q\)) is \(p_q=w\sigma _q\), where \(\omega \) denotes the quintessence parameter. This parameter explains that the universe is in the phase of accelerated expansion if \(-1<\omega <-1/3\), decelerates if \(\omega >-1/3\) and shows inertial behavior (constant expansion rate) if \(\omega =-1/3\). This means that observers must have future horizons in all accelerated models [42]. In an accelerated expanding universe, two objects separated with a relative fixed distance r must achieve relative speed to the speed of light after some time and will no longer communicate. For the case of decelerated expansion, the breakdown of such a communication does not happen whereas it becomes less relativistic with time. However, the speed of relative moving observers must be constant for the case of \(\omega =-1/3\). They can communicate but cannot maintain this forever as they recede away from each other.

Kiselev [43] introduced uncharged and charged BH surrounded by the quintessence matter distribution as a static spherically symmetric solution of the field equations. The line element of charged Kiselev BH is given as

$$\begin{aligned} ds^2_+= & {} -\Psi (r_+)dt^{2}+\Psi (r_+)^{-1}dr^{2}_++r^2_+d\theta ^2_+\nonumber \\&+r^2_+\sin ^2\theta _+ d\phi ^2_+, \end{aligned}$$
(1)

where

$$\begin{aligned} \Psi (r_+)=1-\frac{2m}{r_+}-\frac{\alpha }{r^{3\omega +1}_+}+\frac{Q^2}{r^2_+}, \end{aligned}$$

m is the mass of BH, Q denotes the charge of BH, \(\alpha \) stands for the Kiselev parameter and \(\omega \) is the quintessence parameter with \(-1<\omega <-1/3\). The boundary values of EoS parameter recover the case of cosmological constant (extraordinary quintessence) for \(\omega =-1\) and \(\omega =0\) is referred to as the dust fluid. If \(Q=0\), then it reduces to Kiselev BH and RN BH is recovered when Kiselev parameter vanishes. The charged Kiselev BH reduces to Schwarzschild BH in the absence of both charge and Kiselev parameter. The corresponding metric function of Kiselev BH has the following form

$$\begin{aligned} \Psi (r_+)=1-\frac{2m}{r_+}-\frac{\alpha }{r^{3\omega +1}_+}. \end{aligned}$$

Extreme BHs are expected to have both stable and unstable properties, this makes their analysis very interesting and challenging. We consider \(\omega =-2/3\in (-1,-1/3)\) to observe the event horizon of Kiselev BH. The corresponding event horizons are given as

$$\begin{aligned} r_h=\frac{1\pm \sqrt{1-8 \alpha m}}{2 \alpha }. \end{aligned}$$

It is found that

  • for \(\alpha =1/8m\), it denotes extreme Kiselev BH,

  • for \(\alpha <1/8m\), it represents the non-extreme Kiselev BH,

  • for \(\alpha >1/8m\), it shows naked singularity.

Since the charged Kiselev BH metric function is much complicated than RN and Kiselev BH, so its event horizon for \(\omega =-2/3\) has much complicated expression. Thus we only discuss values of the parameter for which it shows different geometrical structure. It follows that

  • for \(Q^2=\frac{2}{27\alpha ^2}\left( -2+18m\alpha -2(1-6m\alpha )^{3/2}\right) \), it denotes extreme charged Kiselev BH,

  • for \(Q^2>\frac{2}{27\alpha ^2}\left( -2+18m\alpha -2(1-6m\alpha )^{3/2}\right) \), it represents the non-extreme charged Kiselev BH,

  • for \(Q^2<\frac{2}{27\alpha ^2}\left( -2+18m\alpha -2(1-6m\alpha )^{3/2}\right) \), it shows naked singularity.

The line element of DS geometry is given as

$$\begin{aligned} ds^2_{-}= & {} -\Phi (r_{-})dt_{-}^2+\Phi ^{-1}(r_{-})dr_{-}^2 +r_{-}^2d\theta _{-}^2\nonumber \\&+r_{-}^2\sin ^2\theta _{-} d\phi _{-}^2, \end{aligned}$$
(2)

where \(\Phi (r_{-})=1-r^2_-/\beta ^2\) and \(\beta \) is a nonzero positive constant. We use cut and paste method to obtain the geometry of thin-shell gravastars from the matching of two distinct spacetimes \(\Upsilon ^-\) and \(\Upsilon ^+\). These manifolds have the metric functions defined by \(g^{\pm }_{\mu \nu }(x_{\pm }^\mu )\) with independent coordinates \(x_{\pm }^\mu \) and bounded by the hypersurfaces \(\partial \Upsilon ^{\pm }\) with induced metrics \(h_{ij}^{\pm }\), respectively. According to the Darmoise junction conditions, the induced metrics are isometric and follow the relation \(h_{ij}^{+}(\xi ^i)=h_{ij}(\xi ^i) =h_{ij}^{-}(\xi ^i)\), where \(\xi ^i\) represents the coordinates of \(\partial \Upsilon ^{\pm }\). These geometries are glued at the hypersurface to obtain the single manifold \(\Upsilon =\Upsilon ^+\cup \Upsilon ^-\) with boundary \(\partial \Upsilon =\partial \Upsilon ^+=\partial \Upsilon ^-\). Mathematically, these spacetimes can be described as

$$\begin{aligned} \Upsilon ^\pm =\{x_{\pm }^\mu |t_{\pm }\ge T_{\pm }(\tau ) \quad \text {and}\quad r\ge b(\tau )\}, \end{aligned}$$

where \(\tau \) and \(b(\tau )\) denote the proper time and radius of thin-shell. The corresponding hypersurface that linked these geometries can be parameterized as

$$\begin{aligned} \partial \Upsilon =\{\xi ^i|t_{\pm }\ge T_{\pm }(\tau ) \quad \text {and}\quad r=b(\tau )\}. \end{aligned}$$

The induced 3D metric at hypersurface \((h_{ij})\) can be expressed as

$$\begin{aligned} ds^2_{\partial \Upsilon }=h_{ij}d\xi ^id\xi ^j=-d\tau ^2+b(\tau )^2d \theta ^2+b(\tau )^2 \sin ^2\theta d\phi ^2, \end{aligned}$$

where \(\xi ^{i}=(\tau ,\theta ,\phi )\). The normal vector components of \(g_{\mu \nu }\) on the \(\partial \Upsilon \) are defined as

$$\begin{aligned} n^{\mu }=\frac{f(r,b(\tau ))_{,\mu }}{|f(r,b(\tau ))_{,\nu } f(r,b(\tau ))^{,\nu }|^{1/2}}, \end{aligned}$$

where \(f(r,b(\tau ))=r-b(\tau )=0\) represents the function of \(\partial \Upsilon \) and \(b(\tau )=b\) denotes the shell’s radius. The components of normal vectors corresponding to upper and lower spacetimes are

$$\begin{aligned} n_{+}^{\mu }= & {} \left( \frac{\dot{b}}{1-\frac{2m}{b}-\frac{\alpha }{b^{3\omega +1}}+\frac{Q^2}{b^2}},\right. \nonumber \\&\quad \times \left. \sqrt{1-\frac{2m}{b}-\frac{\alpha }{b^{3\omega +1}}+\frac{Q^2}{b^2} +\dot{b}^2},0,0\right) ,\nonumber \\ \end{aligned}$$
(3)
$$\begin{aligned} n_{-}^{\mu }= & {} \left( \frac{\dot{b}}{1-\frac{b^2}{\beta ^2}},\sqrt{1-\frac{b^2}{\beta ^2} +\dot{b}^2},0,0\right) , \end{aligned}$$
(4)

respectively. Here, dot represents derivative with respect to \(\tau \). The normal vector satisfies the condition \(n^\mu n_\mu =1\) for spherical symmetric manifolds. The discontinuity in the second fundamental form (extrinsic curvature) exist due to the presence of matter surface at \(\partial \Upsilon \). The extrinsic curvature components for both geometries are

$$\begin{aligned} K_{\tau }^{\tau +}= & {} \frac{\alpha (3 \omega +1) b^{1-3 \omega }+2 b m-2 Q^2+2\ddot{b}b^3}{b^3\sqrt{1-\frac{2m}{b}-\frac{\alpha }{b^{3\omega +1}}+\frac{Q^2}{b^2}+\dot{b}^2}}, \end{aligned}$$
(5)
$$\begin{aligned} K_{\theta }^{\theta +}= & {} \frac{1}{b}\sqrt{1-\frac{2m}{b}-\frac{\alpha }{b^{3\omega +1}}+\frac{Q^2}{b^2}+\dot{b}^2}, \end{aligned}$$
(6)
$$\begin{aligned} K_{\tau }^{\tau -}= & {} \frac{-\frac{2 b}{\beta ^2}+2\ddot{b}}{\sqrt{1-\frac{b^2}{\beta ^2}+\dot{b}^2}}, \end{aligned}$$
(7)
$$\begin{aligned} K_{\theta }^{\theta -}= & {} \frac{1}{b}\sqrt{ 1-\frac{b^2}{\beta ^2}+\dot{b}^2}, \end{aligned}$$
(8)
$$\begin{aligned} K^{\phi \pm }_{\phi }= & {} \sin ^2\theta K_{\theta }^{\theta \pm }, \end{aligned}$$
(9)

The matter surface at thin-shell produces discontinuity in the extrinsic curvatures of both spacetimes. If \(K_{ij}^{+}-K_{ij}^{-}\ne 0\), then it represents the presence of matter thin layer on \(\partial \Upsilon \). The components of energy-momentum tensor (\(S^{i}_{j}\)) of such a matter surface are determined by the Lanczos equations. Mathematically, it can be expressed as

$$\begin{aligned} S^{i}_{j}=-\frac{1}{8\pi }\{[K^{i}_{j}]-\delta ^{i}_{j}K\}, \end{aligned}$$
(10)

where \([K^{i}_{j}]=K^{+i}_{j}-K^{-i}_{j}\) and \(K=tr[K_{ij}]=[K^{i}_{j}]\). The above equation in terms of perfect fluid distribution becomes

$$\begin{aligned} S^{i}_{j}=v^i v_j\left( p+\sigma \right) +p\delta ^{i}_{j}, \end{aligned}$$
(11)

here \(v_i\) denotes thin-shell velocity components. By considering Eqs. (5)–(11), we obtain \(\sigma \) and p in the following form

$$\begin{aligned} \sigma= & {} -\frac{1}{4\pi b}\left\{ \sqrt{1-\frac{2m}{b}-\frac{\alpha }{b^{3\omega +1}}+\frac{Q^2}{b^2}+\dot{b}^2} -\sqrt{1-\frac{b^2}{\beta ^2}+\dot{b}^2}\right\} ,\nonumber \\ \end{aligned}$$
(12)
$$\begin{aligned} p= & {} \frac{{2\dot{b}^{2} + 2b\ddot{b} + \frac{{\alpha (3\omega - 1)b^{{ - 3\omega }} - 2m}}{b} + 2}}{{8\pi b\, \sqrt{1 - \frac{{2m}}{b} - \frac{\alpha }{{b^{{3\omega + 1}} }} + \frac{{Q^{2} }}{{b^{2} }} + \dot{b}^{2} } }} -\frac{2\dot{b}^2+2b\ddot{b} +2-\frac{4 b^2}{\beta ^2}}{8\pi b\sqrt{1-\frac{b^2}{\beta ^2}+\dot{b}^2}}.\nonumber \\ \end{aligned}$$
(13)

Here, we assume that \(\dot{b}_{0}=\ddot{b}_{0}=0\), where \(b_0\) is the position of equilibrium shell’s radius. This shows that shell’s motion along the radial direction vanishes at \(b=b_0\). The respective expressions for surface stresses at \(b=b_0\) yield

$$\begin{aligned} \sigma (b_0)= & {} \sigma _0\nonumber \\= & {} -\frac{1}{4\pi b_0}\left\{ \sqrt{1-\frac{2m}{b_0}-\frac{\alpha }{b_0^{3\omega +1}}+\frac{Q^2}{b_0^2}}-\sqrt{1-\frac{b^2_0}{\beta ^2}}\right\} ,\nonumber \\ \end{aligned}$$
(14)
$$\begin{aligned} p(b_0)= & {} p_0\nonumber \\= & {} \frac{1}{8\pi b_0}\left\{ \frac{\alpha (3 \omega -1) b_0^{-3 \omega }-2 m+2b_0}{b_0\sqrt{1-\frac{2m}{b_0}-\frac{\alpha }{b^{3\omega +1}_0}+\frac{Q^2}{b^2_0}}}-\frac{2\beta ^2-4 b_0^2}{\beta ^2\sqrt{1-\frac{b^2_0}{\beta ^2}}}\right\} .\nonumber \\ \end{aligned}$$
(15)

The continuity of perfect fluid gives the relationship between the surface stresses of thin-shell gravastars as

$$\begin{aligned} 4\pi \frac{d}{d\tau }( b^2 \sigma )+4\pi p\frac{d b^2}{d\tau }=0, \end{aligned}$$
(16)

which can be expressed as

$$\begin{aligned} \frac{d\sigma }{db}=-\frac{2}{b}(\sigma +p). \end{aligned}$$
(17)

The second order derivative of \(\sigma \) with respect to b yields

$$\begin{aligned} \frac{d^2\sigma }{db^2}=\frac{2(p+\sigma )}{b^2}\left( 3+2\varsigma ^2\right) , \end{aligned}$$
(18)

where \(\varsigma ^2=dp/d\sigma \) denotes the EoS parameter. Equations (16)–(18) are very useful to explore the dynamics and stable configurations of constructed geometry with different types of matter distribution.

For the physical viability of a geometrical structure, some constraints must be imposed known as energy conditions. The well-known energy conditions are null: \(\sigma _0+p_0>0\); weak: \(\sigma _0>0\), \(\sigma _0+p_0>0\); strong: \(\sigma _0+3p_0>0\), \(\sigma _0+p_0>0\); dominant: \(\sigma _0>0\), \(\sigma _0\pm p_0>0\). If these energy conditions are verified then the developed model is physically viable. Here, we are interested to check the null energy condition that ensure the presence of normal or exotic matter at thin-shell. It is interesting to mention here that the violation of the null energy condition leads to the violation of remaining conditions. We see that thin-shell gravastars follow the null energy condition for different values of charge and mass of BH as shown in Fig. 1. These values of physical parameters have frequently been used in literature that examine the stable as well as dynamical behavior of thin-shell constructed from different singular and non-singular BHs [24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]. Thus we use them to determine the effects of charge and mass on the energy conditions, physical features as well as stability of thin-shell gravastars (see Appendix A).

Fig. 1
figure 1

Plots of the null energy condition for charged Kiselev thin-shell gravatars. We examine graphical behavior of \(\sigma +p\) at \(b=b_0\) verses \((b_0,Q)\) (left plot) and \((b_0,m)\) (right plot) for \(\omega =-2/3\), \(\alpha =0.2\) and \(\beta =0.5\)

3 Stability analysis

This section studies stability of thin-shell gravastars using linear perturbation in the radial direction at \(b=b_0\) with different variable EoS. The stable and unstable configurations of thin-shell gravastars can be analyzed through the behavior of effective potential of thin-shell. The equation of motion of thin-shell that explains the stable as well as dynamical characteristics of respective geometry is obtained directly from Eq. (12) as

$$\begin{aligned} \dot{b}^2+\Omega (b)=0, \end{aligned}$$
(19)

here \(\Omega (b)\) denotes the potential function of thin-shell gravastar as

$$\begin{aligned} \Omega (b)=-\frac{\xi (b)^2}{64 \pi ^2 b^2 \sigma ^2}+\frac{1}{2}\zeta (b)-4 \pi ^2 b^2\sigma ^2, \end{aligned}$$
(20)

where

$$\begin{aligned}&\xi (b)=\frac{\alpha b^{1-3 \omega }-\frac{b^4}{\beta ^2}+2 b m-Q^2}{b^2}, \\&\quad \zeta (b)=2+\frac{-\alpha b^{1-3 \omega }-\frac{b^4}{\beta ^2}-2 b m+Q^2}{b^2}. \end{aligned}$$

The stable behavior of thin-shell gravastars is studied by using second derivative of the effective potential at \(b=b_0\). The basic conditions for the stable behavior can be written as \(\Omega (b_0)=0=\Omega '(b_0)\) and \(\Omega ''(b_0)>0\). If \(\Omega ''(b_{0})<0\), then it shows unstable behavior and it is unpredictable if \(\Omega ''(b_{0})=0\) [30]. To check the stability through radial perturbation, we linearize the potential function using Taylor series expansion around equilibrium radius \(b_0\) as follows

$$\begin{aligned} \Omega (b)= & {} \Omega (b_{0})+\Omega '(b_{0})(b-b_{0})+\frac{1}{2} \Omega ''(b_{0})(b-b_{0})^2\\&+O[(b-b_{0})^3]. \end{aligned}$$

We examine that \(\Omega (b_0)=0=\Omega '(b_0)\), hence it reduces to

$$\begin{aligned} \Omega (b)=\frac{1}{2}(b-b_{0})^2\Omega ''(b_{0}). \end{aligned}$$
(21)

The corresponding second derivative of \(\Omega (b)\) at \(b=b_0\) becomes

$$\begin{aligned} \Omega ''(b_0)= & {} \frac{2 M(b_0) M'(b_0)}{b^3_0}-\frac{b_0^2 \xi (b_0)\xi ''(b_0)}{2M(b_0)^2}\nonumber \\&+\frac{2 b_0^2 \xi (b_0) M'(b_0) \xi '(b_0)}{M(b_0)^3} \nonumber \\&-\frac{M'(b_0)^2}{2b_0^2}-\frac{b_0^2 \xi '(b_0)^2}{2M(b_0)^2}-\frac{3 b_0^2 \xi (b_0)^2 M'(b_0)^2}{2M(b_0)^4}\nonumber \\&-\frac{2 b_0 \xi (b_0) \xi '(b_0)}{M(b_0)^2}\nonumber \\&+\frac{\zeta ''(b_0)}{2}-\frac{3 M(b_0)^2}{2b_0^4}+\frac{ b_0^2 \xi (b_0)^2 M''(b_0)}{2M(b_0)^3}\nonumber \\&-\frac{M(b_0) M''(b_0)}{2b_0^2} \nonumber \\&-\frac{\xi (b_0)^2}{2M(b_0)^2}+\frac{2 b_0 \xi (b_0)^2 M'(b_0)}{M(b_0)^3}, \end{aligned}$$
(22)

where \(M(b_0)=4\pi b_0^2 \sigma _0\) denotes the total mass distribution at equilibrium shell’s radius. The corresponding first and second derivatives of the total mass with respect to b at \(b=b_0\) become

$$\begin{aligned}&M'(b_0)=-8\pi b_0 p_0,\\&M''(b_0)=-8\pi p_0+16\pi \varsigma _0^2 (\sigma _0+p_0), \end{aligned}$$

and \(\varsigma _0^2=dp/d\sigma |_{b=b_0}\).

Fig. 2
figure 2

Stability of thin-shell gravastars with barotropic EoS for \(\beta =0.5=m=Q\) with different values of \(\omega \). The left plot shows unstable behavior and right plot expresses the stable structure

Firstly, we begin with barotropic EoS to discuss the stability of the developed geometry. It gives linear relation between the surface stresses of thin-shell as \(p=\gamma \sigma \) with real constant \(\gamma \). Consequently, the solution of conservation equation (17) for barotropic EoS is given as

$$\begin{aligned} \sigma =\left( b_{0}b^{-1}\right) ^{2(1+\gamma )}\sigma _{0}. \end{aligned}$$
(23)

The corresponding potential function becomes

$$\begin{aligned} \Omega (b)= & {} \frac{\zeta (b)}{2}-\frac{\xi (b)^2 \left( \frac{b_0}{b}\right) ^{-4 (\gamma +1)}}{64 \pi ^2 b^2 \sigma _0^2}\nonumber \\&-4 \pi ^2 b^2 \sigma _0^2 \left( \frac{b_0}{b}\right) ^{4 (\gamma +1)}, \end{aligned}$$
(24)

which turns out to be zero at throat radius \(b=b_0\). The corresponding first derivative of \(\Omega (b)\) yields

$$\begin{aligned} \Omega '(b_0)= & {} \frac{\zeta '(b_0)}{2}-\frac{\xi (b_0) \left( 2 \gamma \xi (b_0)+b_0 \xi '(b_0)+\xi (b_0)\right) }{32 \pi ^2 \sigma _0^2 b_0^3}\nonumber \\&+8 \pi ^2 \sigma _0^2 (2 \gamma +1) b_0, \end{aligned}$$
(25)

which vanishes only if

$$\begin{aligned} \gamma =\frac{-256 \pi ^4 \sigma _0^4 b_0^4-16 \pi ^2 \sigma _0^2 b_0^3 \zeta '(b_0)+b_0 \xi (b_0)\xi '(b_0)+\xi (b_0)^2}{2 \left( 256 \pi ^4 \sigma _0^4 b_0^4-\xi (b_0)^2\right) }.\nonumber \\ \end{aligned}$$
(26)

The second derivative of \(\Omega (b)\) at \(b=b_0\) yields

$$\begin{aligned} \Omega ''(b_0)= & {} \frac{\zeta ''(b_0)}{2}\nonumber \\&-\frac{1}{32 \pi ^2 \sigma _0^2 b_0^4}\left\{ b_0 \xi (b_0) \left( (8 \gamma +4) \xi '(b_0)+b_0\xi ''(b_0)\right) \right. \nonumber \\&+\left. \left( 8 \gamma ^2+6 \gamma +1\right) \xi (b_0)^2+b_0^2 \xi '(b_0)^2\right\} \nonumber \\&-8 \pi ^2 \sigma _0^2 (2 \gamma +1) (4 \gamma +3), \end{aligned}$$
(27)

This equation explains stable and unstable configurations of thin-shell gravastars for barotropic EoS. Due to complexity of this expression, we use numerical approach to observe the effects of physical parameters on the stability of developed structure. We study the graphical behavior of \(\Omega ''(b_{0})\) by using Eqs. (26) and (14). It is found that stable structure of thin-shell is greatly affected by the presence of quintessence EoS parameter. We examine that thin-shell expresses unstable behavior for every values of Q, m, \(\alpha \) and \(\beta \) with \(\omega =-2/3\) as shown in the left plot of Fig. 2. We obtain unstable configuration for every choice of \(\omega \) except for extraordinary quintessence parameter \(\omega =-1\) (right plot of Fig. 2). Hence, the barotropic type fluid distribution at thin-shell shows stable behavior only for \(\omega =-1\) otherwise gives unstable solutions.

Current observational data seem to point towards an accelerated expansion of the universe [44,45,46]. If general relativity is assumed to be correct theory of gravity describing the large-scale behavior of the universe, then its energy density and pressure should violate the strong energy condition. Several models for the matter leading to such a situation have been proposed [47,48,49]. One of them is the Chaplygin gas [50,51,52], a perfect fluid satisfying the EoS \(p \sigma = \eta \), where \(\eta <0\). A remarkable property of the Chaplygin gas is that the squared sound velocity \(v_s^2=\eta /\sigma ^2\) is always positive even in the case of exotic matter. Varela [21] considered the EoS of the type \(p=p(\sigma ,b)\) to discuss the stability of thin-shell wormhole developed from two equivalent copies of the Schwarzschild BH. Such type of EoS is known as variable EoS. The generalized form of the Chaplygin gas presents the mathematical formulation in which surface pressure depends on the radius of the shell.

Therefore, we consider general form of Chaplygin EoS (\(p=p(\sigma ,b)\)) to study the stable behavior of the respective geometry, i.e., \(p=\frac{1}{b^n}\frac{\eta }{\sigma }\) with real constants \(\eta <0\) and n [21]. It is observed that the Chaplygin gas model is recovered for \(n=0\) [53]. The respective solution of conservation equation for such a model can be written as

$$\begin{aligned} \sigma ^2=\frac{(n-4)\sigma _{0}^2b_{0}^{n+4}b^n+4\eta b^4b_{0}^n-4\eta b^nb_{0}^4}{b^{n+4}b_{0}^{n}(n-4)}. \end{aligned}$$
(28)

The effective potential for this model turns out to be

$$\begin{aligned} \Omega (b)= & {} -\frac{4 \pi ^2 b^{-n-2} b_0^{-n} \left( b_0^4 b^n \left( (n-4) \sigma _{0}^2 b_0^n-4 \eta \right) +4 b^4 \eta b_0^n\right) }{n-4}\nonumber \\&+\frac{\zeta (b)}{2}\nonumber \\&-\frac{(n-4) b^{n+2} \xi (b)^2 b_0^n}{64 \pi ^2 \left( b_0^4 b^n \left( (n-4) \sigma _{0}^2 b_0^n-4 \eta \right) +4 b^4 \eta b_0^n\right) }. \end{aligned}$$
(29)

It is observed that \(\Omega (b_0)=0\) and \(\Omega '(b_0)\) becomes

$$\begin{aligned} \Omega '(b_0)= & {} -\frac{\eta b_0^{-n-3} \xi (b_0)^2}{16 \pi ^2 \sigma _{0}^4}+16 \pi ^2 \eta b_0^{1-n}\\&-\frac{\xi (b_0) \xi '(b_0)}{32 \pi ^2 \sigma _{0}^2 b_0^2}-\frac{\xi (b_0)^2}{32 \pi ^2 \sigma _{0}^2 b_0^3}\\&+8 \pi ^2 \sigma _{0}^2 b_0+\frac{\zeta '(b_0)}{2}. \end{aligned}$$

For \(\Omega '(b_0)=0\), we have

$$\begin{aligned} \eta =-\frac{\sigma _{0}^2 b_0^n \left( 256 \pi ^4 \sigma _{0}^4 b_0^4+16 \pi ^2 \sigma _{0}^2 b_0^3 \zeta '(b_0)-b_0 \xi (b_0) \xi '(b_0)-\xi (b_0)^2\right) }{2 \left( 256 \pi ^4 \sigma _{0}^4 b_0^4-\xi (b_0)^2\right) }.\nonumber \\ \end{aligned}$$
(30)

Consequently, \(\Omega ''(b_0)\) has the following form

$$\begin{aligned} \Omega ''(b_0)= & {} -\frac{\eta ^2 b_0^{-2 (n+2)} \xi (b_0)^2}{2 \pi ^2 \sigma _{0}^6}-\frac{\eta b_0^{n-2 (n+2)+1} \xi (b_0) \xi '(b_0)}{4 \pi ^2 \sigma _{0}^4}\nonumber \\&+\frac{\eta n b_0^{n-2 (n+2)} \xi (b_0)^2}{16 \pi ^2 \sigma _{0}^4}\nonumber \\&-\frac{7 \eta b_0^{n-2 (n+2)} \xi (b_0)^2}{16 \pi ^2 \sigma _{0}^4}-16 \pi ^2 \eta b_0^{n-2 (n+2)+4}\nonumber \\&-16 \pi ^2 \eta n b_0^{n-2 (n+2)+4}\nonumber \\&-\frac{b_0^{2 n-2 (n+2)+2} \xi (b_0) \xi ''(b_0)}{32 \pi ^2 \sigma _{0}^2}\nonumber \\&-\frac{b_0^{2 n-2 (n+2)+1} \xi (b_0) \xi '(b_0)}{8 \pi ^2 \sigma _{0}^2}\nonumber \\&-\frac{b_0^{2 n-2 (n+2)+2} \xi '(b_0)^2}{32 \pi ^2 \sigma _{0}^2}-\frac{b_0^{2 n-2 (n+2)} \xi (b_0)^2}{32 \pi ^2 \sigma _{0}^2}\nonumber \\&-24 \pi ^2 \sigma _{0}^2 b_0^{2 n-2 (n+2)+4}\nonumber \\&+\frac{1}{2} b_0^{2 n-2 (n+2)+4} \zeta ''(b_0). \end{aligned}$$
(31)
Fig. 3
figure 3

Stable behavior of thin-shell gravastars with Chaplygin gas model (\(n=0\)) for \(\beta =0.5=m=Q\) with different values of \(\omega \)

Fig. 4
figure 4

Stability of thin-shell gravastars with generalized Chaplygin gas EoS with different values of n. For \(\omega =-1\), the left plot shows unstable behavior for \(n=0\) and right plot expresses the stable structure for \(n=1\)

Fig. 5
figure 5

Stable behavior of thin-shell gravastars for different values of n. The stability of developed structure is enhanced for large values of n

Fig. 6
figure 6

Stable and unstable behavior of thin-shell gravastars with phantomlike EoS (\(n=0\)) for different values of \(\omega \). It shows stable behavior initially then expresses unstable configuration for every choice of \(\omega \)

Fig. 7
figure 7

Stable and unstable behavior of thin-shell gravastars for generalized phantomlike EoS with different values of \(\omega \)

Now, we observe the effects of the generalized Chaplygin gas EoS on the stability of developed geometry. In this regard, we observe the graphical behavior of \(\Omega ''(b_0)\) for this model. It is found that thin-shell expresses stable behavior for every choice of the physical parameters except \(\omega =-1\) when \(n=0\) (Fig. 3). This shows that thin-shell becomes stable for the choice of Chaplygin gas model (\(n=0\)) and represents unstable behavior only for \(\omega =-1\) (left plot of Fig. 4). It is also analyzed that the general case of Chaplygen EoS (\(n\ne 0\)) shows stable behavior for every choice of \(\omega \) with \(n=1\) (right plot of Fig. 4). We see that stable behavior (\(\Omega ''(b_0)>0\)) increases for higher values of n as shown in Fig. 5.

Finally, we study the effects of generalized phantomlike variable EoS on the stability of thin-shell [21] whose EoS is \(p=\frac{\Theta \sigma }{b^n}\) with real constants \(\Theta \) and n. The phantomlike EoS is recovered if \(n=0\) [54]. By using this expression in Eq.(17), we have

$$\begin{aligned} \sigma =b_{0}^2b^{-2}\sigma _{0}e^{\frac{ \Theta \left( b_0^{-n}-b^{-n}\right) }{n}}, \end{aligned}$$
(32)

and it follows that

$$\begin{aligned} \Omega (b)= & {} -\frac{b^2 \xi (b)^2 e^{\frac{2 \Theta \left( b_0^{-n}-b^{-n}\right) }{n}}}{64 \pi ^2 \sigma _{0} b_0^4}\nonumber \\&-\frac{4 \pi ^2 \sigma _{0} b_0^4 e^{\frac{2 \Theta \left( b^{-n}-b_0^{-n}\right) }{n}}}{b^2}+\frac{\zeta (b)}{2}. \end{aligned}$$
(33)

It is noted that \(\Omega (b_0)=0\) and by considering \(\Omega '(b_0)=0\), we obtain

$$\begin{aligned} \Theta =-\frac{b_0^n \left( 256 \pi ^4 \sigma _{0}^2 b_0^4+16 \pi ^2 \sigma _{0} b_0^3 \zeta '(b_0)-b_0 \xi (b_0) \xi '(b_0)-\xi (b_0)^2\right) }{256 \pi ^4 \sigma _{0}^2 b_0^4-\xi (b_0)^2},\nonumber \\ \end{aligned}$$
(34)

and hence

$$\begin{aligned} \Omega ''(b_0)= & {} -\frac{\Theta ^2 b_0^{-2 n-4} \xi (b_0)^2}{16 \pi ^2 \sigma _{0}}-16 \pi ^2 \Theta ^2 \sigma _{0} b_0^{-2 n}\nonumber \\&-\frac{\Theta b_0^{-n-3} \xi (b_0) \xi '(b_0)}{8 \pi ^2 \sigma _{0}}\nonumber \\&-\frac{\Theta b_0^{-n-4} \xi (b_0)^2}{16 \pi ^2 \sigma _{0}}-\frac{\Theta (1-n) b_0^{-n-4} \xi (b_0)^2}{32 \pi ^2 \sigma _{0}}\nonumber \\&-16 \pi ^2 \Theta \sigma _{0} b_0^{-n}\nonumber \\&+8 \pi ^2 \Theta (-n-3) \sigma _{0} b_0^{-n}-\frac{\xi (b_0) \xi ''(b_0)}{32 \pi ^2 \sigma _{0}b_0^2}\nonumber \\&-\frac{\xi (b_0) \xi '(b_0)}{8 \pi ^2 \sigma _{0} b_0^3}-\frac{\xi '(b_0)^2}{32 \pi ^2 \sigma _{0} b_0^2}\nonumber \\&-\frac{\xi (b_0)^2}{32 \pi ^2 \sigma _{0} b_0^4}-24 \pi ^2 \sigma _{0}+\frac{\zeta ''(b_0)}{2}. \end{aligned}$$
(35)

For the general form of phantomlike EoS, we see that thin-shell shows initially stable behavior then expresses unstable configuration for every choice of physical parameters (Figs. 6 and 7). We conclude that the constructed geometry is neither stable nor unstable completely for the choice of both phantomlike and general form of phantomlike EoS.

4 Final remarks

This paper investigates the construction of thin-shell gravastars from the matching of two different spacetimes, i.e., DS as a lower spacetime and charged Kiselev BH as an upper manifold. These geometries are connected through the well-known cut and paste method. We match these manifolds at \(r=b\) with \(b>r_h\) to avoid the presence of event horizon (\(r_h\)) and singularity in the developed structure. The presence of matter thin layer at the joining surface produces discontinuity in the extrinsic curvature. It is found that the null energy condition is verified for the developed structure (Fig. 1). We have studied stable characteristics of thin-shell gravastars with barotropic type fluid distribution and two variable EoS, i.e., generalized Chaplygin gas and phantomlike EoS.

For barotropic model, we have obtained stable solution for the choice of \(\omega =-1\) and unstable solution for any other choice of \(\omega \) (Fig. 2). It is interesting to mention here that this model mostly indicates unstable behavior for thin-shell WHs in several spacetimes [21,22,23, 37,38,39,40]. These results express that the stable solution can be obtained through barotropic model for some suitable choice of physical parameters. The stable structure is obtained for Chaplygin gas model (\(n=0\)) for every choice of \(\omega \) other than extraordinary quintessence parameter \(\omega =-1\). For generalized Chaplygin gas EoS, we have obtained stable solution for every values of physical parameter and found more stable structure for higher values of n (Figs.  3, 4, 5). Finally, for generalized phantomlike EoS, thin-shell shows initially stable behavior and then expresses unstable configuration for every choice of the physical parameters (Figs. 6 and  7).

We conclude that charged Kiselev thin-shell gravastars are more stable for the choice of generalized Chaplygin gas model. It is worthwhile to mention here that this model is more stable with considered EoS than thin-shell WHs in the background of various BHs [21,22,23, 37,38,39,40]. This shows completely stable structure of thin-shell gravastar with extraordinary quintessence parameter for both barotropic and generalized Chaplygin gas model.