1 Introduction

In 1915, Albert Einstein proposed the General Theory of Relativity (GR), which aims to express the gravitational interaction as a geometric effect of space-time in light of a matter source [1, 2]. Over time, it has been demonstrated to be very emphasized, providing predictability of different phenomena [3,4,5]. Karl Schwarzschild, in 1916 found the first non-trivial analytic solution of Einstein GR in [6]. Also, solution of Schwarzschild displays a removable singularity at a regular point, called the event horizon. This concept provided the idea of the black hole, and recently its existence has been proved in [7, 8]. Interestingly, in the same year, 1916, Wheeler [9] discovered another possible solution nowadays known as white hole.

Einstein and Rosen, in 1935, first adopted the concept of GR and made a hypothetical bridge called the Einstein–Rosen bridge or wormholes through space-time [10]. Basically, wormholes are used to connect two asymptotically flat different regions of space-time by a throat [11]. Nevertheless, the wormhole’s existence requires to be observed experimentally. Morris and Thorne first introduced the idea of a traversable wormhole in 1988 [12]. Two geometric conditions need to be imposed to maintain the wormhole’s traversability: the flare-out condition [13] (it is affiliated to minimization of the wormhole throat) and the finite redshift function (to avoid the event horizon). To support the construction of the wormhole, a hypothetical type of matter requires so-called exotic matter, which obeys the flare-out condition and disrespects the weak energy condition (WEC) [14]. However, the author of Ref. [15] demonstrated using the embedding procedure that negative energy density fulfills the flare-out condition for the Morris–Thorne (MT) type wormhole, although it is not mandatory to violate the WEC [16]. Understanding such solutions has evolved into the topic of enthusiastic research in recent years [17], including the finding of humanly traversable wormholes in Ref. [18].

It is known that GR describes the universe well enough; however, some recent observations demand modifying the classical relativity into some alternative that could explain well, such as the late-time acceleration expansion of the universe [19,20,21,22]. Thus, different modified theories have been introduced to overpass these issues (for examples f(R) gravity [23, 24], f(RT) gravity [25], etc.). Numerous articles are available on wormhole geometry in the field of modified theories of gravity [26,27,28,29,30,31,32,33]. Recently, some interesting works on Kerr-like wormholes and the shadows of wormholes have been investigated in [34,35,36,37], also in f(R) [38] and f(T) gravity [39].

In recent years there has been some development in the Casimir wormhole. It is well known that for the wormhole to be stable, we need to violate the Null Energy Condition (NEC), which can only be done by so-called exotic matter. One practical example of such matters can be found in Casimir effect [40] in quantum field theory, where we can get tap into infinite vacuum energy by just putting two parallel conducting plates. A similar calculation was also done by Lifshitz etc. [41] via a little different route but yielded the same result. In 1997 it was shown experimentally by Lamoreaux [42] confirming the earlier assertion about the effect. Later the experiment was improved, and Bressi [43] obtained an even better result.

Even though results for the Casimir effect for parallel plates are well known, it becomes very difficult to calculate the Casimir force when the shape of the conductors is different are rather hard to compute. Fortunately, there are some cases where the exact results are known, like two concentric cylinders or two concentric spheres, but to handle the general cases, one needs to approach some kind of approximate method to get the result. Two popular approximation methods are PFA and the other being the multiple scattering approach. For this paper, we have taken three energy densities to calculate the various quantities of wormholes that is the parallel plate, the concentric cylinder, and two spheres separated by a distance.

Later the calculation for Casimir effects was extended two add more nontrivial geometry via the method of Proximity Force Approximation (PFA) first done by [44, 45]. The idea of PFA was that even if the plates are not completely parallel to each other, we can approximately use this formula to calculate the energy

$$\begin{aligned} E_{PFA}=\int _{\Sigma }d\sigma E_{pp}(Z) \end{aligned}$$

where \(E_{pp}=\frac{\pi ^2}{720}\frac{S}{a^3}\) and \(\Sigma \) is one of the surfaces (under PFA approximation, it does not matter which one) and \(d\sigma \) denotes the area of the surface.

This article aims to study the Casimir effect in wormhole space-time geometry. Here, we investigate three different cases of the Casimir effect such as (i) parallel plates, (ii) two concentric cylinders (commonly known as the “rack and pinion” model), and (iii) two spheres, and discuss the behavior of shape functions and energy conditions in modified symmetric teleparallel gravity or f(Q) gravity.

The f(Q) gravity (where Q is the non-metricity scalar) is a recently proposed non-metricity-based modified gravity proposed by Jimenez et al. [46]. Although, it is recently proposed gravity, many interesting works have already been done, such as, cosmography [47], energy conditions [48], covariant formulation [49], signature of f(Q) gravity [50] etc. The coupling matter in modified Q gravity has been analyzed by Harko et al. in [51]. Also, the authors of Ref. [52] discussed The growth index of matter perturbations in this modified gravity. Another interesting work by Anagnostopoulos et al. [53], where they provide evidence that non-metricity f(Q) gravity could challenge the \(\Lambda \)CDM model. Moreover, in the field of astrophysical objects, some interesting literature are there in f(Q) gravity such as in black holes [54] wormhole geometry [55,56,57,58], compact star [59] and so on. One may check the Refs. [60,61,62,63], where the authors have done some interesting works on cosmological and astrophysical aspects as well.

These inspired us to study the Casimir effect in wormholes geometry in f(Q) gravity. This paper is organized as follows: In Sect. 2, we have introduced the basic formalism of f(Q) gravity and also constructed the field equations of MT wormhole metric for the corresponding gravity. The Casimir effect has been discussed in the Sect. 3. Further, in the same section, we consider three different cases of the Casimir effect and compare them with the energy density of wormhole metric and study the behavior with energy conditions. Moreover, in Sect. 4, we checked our obtained wormhole solutions with the TOV equation. We concluded our results in Sect. 5.

2 Wormholes in modified theory of gravity

This section will provide the basic formalism of f(Q) gravity and develop the field equations for this modified gravity. In the following sections, we will study the Casimir effect of wormhole solutions with energy conditions.

2.1 The f(Q) gravity

In this subsection, we are going to briefly present some generalities about the f(Q) gravity. The so-called symmetric teleparallel gravity or f(Q) gravity was introduced by Jimenez et al. [46]. The action for this gravity can be define by

$$\begin{aligned} {\mathcal {S}}=\int \frac{1}{2}\,f(Q)\sqrt{-g}\,d^4x+\int {\mathcal {L}}_m\,\sqrt{-g}\,d^4x, \end{aligned}$$
(1)

where, f(Q) denoted as the arbitrary function of Q and \({\mathcal {L}}_m\) is Lagrangian density of matter. g is the determinant of the metric tensor \(g_{\mu \nu }\).

The nonmetricity tensor is define by

$$\begin{aligned} Q_{\lambda \mu \nu }=\bigtriangledown _{\lambda } g_{\mu \nu }=\partial _\lambda g_{\mu \nu }-\Gamma ^\beta _{\,\,\,\lambda \mu }g_{\beta \nu }-\Gamma ^\beta _{\,\,\,\lambda \nu }g_{\mu \beta }, \end{aligned}$$
(2)

where, \(\Gamma ^\beta _{\,\,\,\mu \nu }\) is the metric affine connection.

Also, the superpotential or the non-metricity conjugate can be defined in terms of the nonmetricity tensor as

$$\begin{aligned} P^\alpha \;_{\mu \nu }= & {} \frac{1}{4}\left[ -Q^\alpha \;_{\mu \nu }+2Q_{(\mu }\;^\alpha \;_{\nu )}+Q^\alpha g_{\mu \nu }-{\tilde{Q}}^\alpha g_{\mu \nu }\right. \nonumber \\{} & {} \left. -\delta ^\alpha _{(\mu }Q_{\nu )}\right] , \end{aligned}$$
(3)

where

$$\begin{aligned} Q_{\alpha }=Q_{\alpha }\;^{\mu }\;_{\mu },\; {\tilde{Q}}_\alpha =Q^\mu \;_{\alpha \mu }, \end{aligned}$$
(4)

are two independence traces.

The nonmetricity scalar represented as [46]

$$\begin{aligned} Q=-Q_{\alpha \mu \nu }\,P^{\alpha \mu \nu }. \end{aligned}$$
(5)

In order to find the field equations for this theory of gravity, we very the action (1) with respect to the metric tensor \(g_{\mu \nu }\), resulting in

$$\begin{aligned}{} & {} \frac{2}{\sqrt{-g}}\bigtriangledown _\gamma \left( \sqrt{-g}\,f_Q\,P^\gamma \;_{\mu \nu }\right) +\frac{1}{2}g_{\mu \nu }f \nonumber \\{} & {} \quad +f_Q\left( P_{\mu \gamma i}\,Q_\nu \;^{\gamma i}-2\,Q_{\gamma i \mu }\,P^{\gamma i}\;_\nu \right) =-T_{\mu \nu }, \end{aligned}$$
(6)

where \(f_Q=\frac{df}{dQ}\), and \(T_{\mu \,\nu }\) is the standard energy–momentum tensor, whose form is

$$\begin{aligned} T_{\mu \nu }=-\frac{2}{\sqrt{-g}}\frac{\delta \left( \sqrt{-g}\,{\mathcal {L}}_m\right) }{\delta g^{\mu \nu }}. \end{aligned}$$
(7)

Moreover, by varying the action over the connection, we are able to derive the extra constraint

$$\begin{aligned} \bigtriangledown _\mu \bigtriangledown _\nu \left( \sqrt{-g}\,f_Q\,P^\gamma \;_{\mu \nu }\right) =0. \end{aligned}$$
(8)

Also, one may study this theory with a special coordinate choice, the so-called coincident gauge. In that case, the connection will vanish. Thus, the non-metricity (2) reduces to

$$\begin{aligned} Q_{\lambda \mu \nu }=\partial _\lambda g_{\mu \nu }. \end{aligned}$$
(9)

This simplifies the calculation since only the metric is the fundamental variable. However, in this case, the action no longer remains diffeomorphism invariant, except for standard GR [64].

2.2 Wormholes in f(Q) gravity

Let us consider the static and spherically symmetric Morris–Thorne wormhole metric [11, 12], define by

$$\begin{aligned} ds^2= & {} -e^{2\phi (r)}dt^2+\left( 1-\frac{b(r)}{r}\right) ^{-1}dr^2\nonumber \\ {}{} & {} +r^2d\theta ^2+r^2\text {sin}^2\theta d\Phi ^2, \end{aligned}$$
(10)

where, \(\phi (r)\) and b(r) denoted as the redshift function and the shape function, respectively [65] and both are functions of radial coordinate r. The radial coordinate r decreases from infinity to a minimum radius \(r_0\) (\(r_0\) is the throat radius), where \(b(r_0)=r_0\), then it increases to infinity. An important criteria of a traversable wormholes is the flaring out condition which is given by \((b-b'r)/b^2>0\) [12] and at the throat of the wormhole this condition will reduce to \(b^{\,\prime }(r_0)<1\). Also, another condition, for \(r>r_0\), \(1-\frac{b(r)}{r}>0\) need to be satisfied. In classical GR, these conditions may confirms the presence of exotic matter which requires the NEC violation. Also, to avoid the presence of event horizon, one must demand the redshift function should be finite everywhere.

In this work, we study with the energy–momentum tensor for an anisotropic fluid which is define by

$$\begin{aligned} T_{\mu \,\nu }=\left( \rho +P_t\right) u_{\mu }\,u_{\nu }+P_t\, \delta _{\mu \,\nu }+\left( P_r-P_t\right) v_{\mu }\,v_{\nu }, \end{aligned}$$
(11)

where, \(u_{\mu }\) and \(v_{\mu }\) represents the four-velocity vector and the unitary space-like vector, respectively and they satisfy the conditions \(u_{\mu }u^{\nu }=-v_{\mu }v^{\nu }=-1\). \(\rho \) denoted as the energy density. \(P_r\) and \(P_t\) define as the radial and tangential pressure, respectively and both are function of radial coordinate r only.

Using Eq. (5), we can determine the nonmetricity scalar for the metric (10) is given by

$$\begin{aligned} Q=-\frac{b}{r^2}\left( \frac{r b'-b}{r (r-b)}+2 \phi ^{'}\right) . \end{aligned}$$
(12)

One can note that the above non-metricity scalar will be different if we assume the coincident gauge connection. The authors of [55, 56, 63] considered this special connection in their study on this f(Q) gravity.

Now, the field equations for the wormhole metric (10) under anisotropic matter source (11) in modified symmetric teleparallel gravity can be obtained as

$$\begin{aligned} \rho= & {} \frac{(r-b)}{2 r^3}\left[ \,r\,f_{QQ}Q^{'}\frac{b}{r-b}\right. \nonumber \\{} & {} \left. +f_Q \left( \frac{(2 r-b) \left( r b^{'}-b\right) }{(r-b)^2}+\frac{b \left( 2 r \phi ^{'}+2\right) }{r-b}\right) \right. \nonumber \\ {}{} & {} \left. +\frac{f r^3}{r-b}\right] , \end{aligned}$$
(13)
$$\begin{aligned} P_r= & {} -\frac{\left( r-b\right) }{2 r^3}\left[ \,r\,f_{QQ}Q^{'}\frac{b}{r-b}\right. \nonumber \\{} & {} \left. +f_Q \left( \frac{b}{r-b}\left( \frac{r b{'}-b}{r-b}+2 r \phi ^{'}+2\right) -4 r \phi ^{'}\right) \right. \nonumber \\ {}{} & {} \left. +\frac{f r^3}{r-b}\right] , \end{aligned}$$
(14)
$$\begin{aligned} P_t= & {} -\frac{\left( r-b\right) }{4 r^2}\left[ -4\,r\,\phi ^{'} f_{QQ} Q^{'}\right. \nonumber \\{} & {} \left. + f_Q \left( \frac{\left( r b^{'}-b\right) }{r (r-b)}\left( \frac{2 r}{r-b}+2 r \phi ^{'}\right) +\frac{4 (2 b-r) \phi ^{'}}{r-b}\right. \right. \nonumber \\{} & {} \left. \left. -r \left( 2 \phi ^{'}\right) ^2-4 r \phi ^{''}\right) +\frac{2 f r^2}{r-b}\right] , \end{aligned}$$
(15)

where \({'}\) represents \(\frac{d}{dr}\). In this study we are working with the simplest linear form of f(Q) gravity such as \(f(Q)=\alpha Q+\beta \) [66]. Therefore, we get the revised field equations as follows

$$\begin{aligned} \rho= & {} \frac{\alpha b'}{r^2}+\frac{\beta }{2}, \end{aligned}$$
(16)
$$\begin{aligned} P_r= & {} \frac{1}{r^3}\left[ 2 \alpha r \left( r-b\right) \phi '-\alpha b\right] -\frac{\beta }{2}, \end{aligned}$$
(17)
$$\begin{aligned} P_t= & {} \frac{1}{2 r^3}\left[ \alpha \left( r \phi '+1\right) \left( -r b'+2 r (r-b) \phi '+b\right) \right] \nonumber \\{} & {} +\frac{\alpha (r-b) \phi ''}{r}-\frac{\beta }{2}. \end{aligned}$$
(18)

Now, with the above expressions (1618), we try to find the wormhole solutions under different Casimir sources and study the behavior of those solutions with various tools.

Let us devote a couple of words to classical energy conditions developed from the Raychaudhuri equations. Since we are studying with anisotropic fluid matter distribution, the energy condition retrieved from standard GR are

\(\bullet \) Null energy condition (NEC) if \(\rho +P_r\ge 0\),    \(\rho +P_t\ge 0\).

\(\bullet \) Weak energy conditions (WEC) if \(\rho \ge 0\),    \(\rho +P_r\ge 0\),    \(\rho +P_t\ge 0\).

\(\bullet \) Dominant energy conditions (DEC) if \(\rho -\mid P_r\mid \ge 0\),    \(\rho +\mid P_t\mid \ge 0\).

\(\bullet \) Strong energy conditions (SEC) if \(\rho +P_r+2P_t\ge 0\).

In the context of GR, wormhole disrespect these energy conditions (especially NEC). Taking this in mind, we are going to analyze these energy conditions by defining

\(NEC1=\rho +P_r\),    \(NEC2=\rho +P_t\),    \(DEC1=\rho -\mid P_r \mid \),    \(DEC2=\rho -\mid P_t \mid \),    \(SEC=\rho +P_r+2P_t\)

for our study.

Also, in this work, we consider the constant redshift function i.e., \(\phi '(r)=0\), to avoid the event horizon issue.

3 The Casimir effect

The Casimir effect is a direct manifestation of the fact that in quantum field theory, the vacuum is not really a “vacuum,” but it is filled with infinite energy coming from the ground states of the simple harmonic oscillator. As typical scattering processes measure the difference between ground state energy, so those are not really helpful in probing the infinite vacuum energy. It was first [40] and independently [41] who were first able to show that if you put two conducting parallel uncharged plates at a very close distance(closer than the characteristic length scale of the dimension of the plate), then this plates can indeed work as a potential wall and if one sum over the modes one can certainly find the non-trivial energy density. From density, one can find the effective pressure or effective force and then see with experiment whether they match or not as done in [42].

There are mainly two similar ways of counting the normal modes for the Casimir effect; as the summation of normal modes leads to summing a divergent series, one has to use either a mathematical cut-off via zeta function regularization [67] or via introducing a physical cut off [68]. Both of them give the same results. That is,

$$\begin{aligned} E(a)=-\frac{\pi ^2}{720}\frac{S}{a^3}, \end{aligned}$$
(19)

where S is the area of the plates, and a is the separation between the plates. This calculation can be performed by adding all the normal modes of the field.

The reason why the Casimir effect is so important in the context of the wormhole is that it violates the NEC, which is necessary for the wormhole to be stable [12].

3.1 Case-I: Parallel plates

As we have discussed earlier, this is done in various cases of the wormhole. For this case, we have taken motivation from [69], and in this paper, we are extending the work in the f(Q) model.

The Casimir force for the two parallel plates is given by the Eq. (19). The energy density \(\rho \) is given by the fact that if we bring the two plates closer the energy density is given by the fact that,

$$\begin{aligned} \rho (a)=-\frac{\pi ^2}{720}\frac{1}{a^4}. \end{aligned}$$
(20)

We can also get the pressure by the thermodynamic relation

$$\begin{aligned} p(a)=-\frac{1}{S}\frac{dE(a)}{da}=-\frac{\pi ^2}{240}\frac{1}{a^4}. \end{aligned}$$

So the equation of state is given by

$$\begin{aligned} p=3\rho . \end{aligned}$$

Comparing with the general EoS \(P=\omega \rho \), we can deduce that the \(\omega =3\). In this case, we replace distance a by radial coordinate r. Such a choice favours wormhole throat of Planckian scale [70].

Comparing Eqs. (16) and (20) and integrating, we get the following form of shape function

$$\begin{aligned} b(r)=-\frac{1}{720 \alpha }\left( 120 \beta r^3-\frac{\pi ^2}{r}\right) +c_1, \end{aligned}$$
(21)

where \(c_1\) is the integrating constant and it can be obtained by imposing the throat condition \(b(r)=r_0\) at \(r=r_0\)

$$\begin{aligned} c_1=r_0+\frac{1}{720 \alpha }\left( 120 \beta r_0^3-\frac{\pi ^2}{r_0}\right) . \end{aligned}$$
(22)

Inserting Eq. (22) into Eq. (21), we obtain the shape function as follows:

$$\begin{aligned} b(r)=r_0+\frac{\pi ^2}{720 \alpha }\left( \frac{1}{r}-\frac{1}{r_0}\right) +\frac{\beta }{6 \alpha }\left( r_0^3-r^3\right) . \end{aligned}$$
(23)

One may observe that the above equation is not asymptotically flat, i.e., for \(r\rightarrow \infty \), \(\frac{b(r)}{r}\nrightarrow 0\). It happens because of the third term of the above equation. But, if we consider \(\beta \rightarrow 0\), it will satisfy the flatness condition. Thus, to satisfy the asymptotic flatness condition, we are bound to consider vanishing \(\beta \) for this case. Thus the above expression reduces to

$$\begin{aligned} b(r)=r_0+\frac{\pi ^2}{720 \alpha }\left( \frac{1}{r}-\frac{1}{r_0}\right) . \end{aligned}$$
(24)

Figure 1 shows the behavior of shape functions for parallel plates for different possible parameters. In this particular subsection, we have considered the throat radius \(r_0=1\). It is observed that the shape function b(r) shows positively increasing behavior for different positively increasing values of \(\alpha \) and also satisfies the flaring out conditions, i.e., \(b^{'}(r)<1\) at wormhole throat under asymptotically flatness background. For negative \(\alpha \), these conditions will not validate.

Fig. 1
figure 1

Shape function and flare-out condition for parallel plates with \(r_0=1\)

The radial and tangential pressure for the parallel plates in the symmetric teleparallel gravity become

$$\begin{aligned} P_r= & {} \frac{\pi ^2 (r-r_0)}{720 r^4 r_0}-\frac{\alpha r_0}{r^3}, \end{aligned}$$
(25)
$$\begin{aligned} P_t= & {} \frac{\alpha r_0}{2 r^3}-\frac{\pi ^2 (r-2 r_0)}{1440 r^4 r_0}. \end{aligned}$$
(26)

Let us now define a radial EoS parameter \(\omega _r(r)=\frac{p_r}{\rho }\) which can be obtained as

$$\begin{aligned} \omega _r(r)=\frac{720 \alpha r r_0}{\pi ^2}-\frac{r}{r_0}+1. \end{aligned}$$
(27)

Similarly for a scenario with the EoS parameter \(\omega _t(r)=\frac{p_t}{\rho }\) which can be obtained as

$$\begin{aligned} \omega _t(r)=-\frac{360 \alpha r r_0}{\pi ^2}+\frac{r}{2 r_0}-1. \end{aligned}$$
(28)
Fig. 2
figure 2

The EoS parameter \(\omega \) for parallel plates with \(r_0=1\)

Figure 2 shows the behavior of EoS parameter \(\omega \) against the radial distance r for different values of \(\alpha \). It can be observed that the radial EoS parameter increases with the increase of radial distance r, whereas the tangential EoS parameter decreases with the increase of radial distance.

Now, to study the behavior of the energy conditions, we obtained the relations among the components of anisotropic energy–momentum tensors as follows:

$$\begin{aligned}{} & {} NEC1:\quad \frac{\pi ^2 (r-2 r_0)}{720 r^4 r_0}-\frac{\alpha r_0}{r^3}, \end{aligned}$$
(29)
$$\begin{aligned}{} & {} NEC2:\quad -\frac{\pi ^2-720 \alpha r_0^2}{1440 r^3 r_0}, \end{aligned}$$
(30)
$$\begin{aligned}{} & {} DEC1:\quad \frac{\alpha r_0}{r^3}-\frac{\pi ^2}{720 r^3 r_0}, \end{aligned}$$
(31)
$$\begin{aligned}{} & {} DEC2:\quad \frac{\pi ^2 (r-4 r_0)-720 \alpha r r_0^2}{1440 r^4 r_0}. \end{aligned}$$
(32)

At the throat of the wormhole, the expression (29) and (30) reduces to

$$\begin{aligned}{} & {} NEC1\mid _{r=r_0}:\quad -\left[ \frac{\alpha }{r_0^2}+\frac{\pi ^2}{720 r_0^4}\right] , \end{aligned}$$
(33)
$$\begin{aligned}{} & {} NEC2\mid _{r=r_0}:\quad \frac{\alpha }{2 r_0^2}-\frac{\pi ^2}{1440 r_0^4}. \end{aligned}$$
(34)

Since the right-hand side of the Eq. (33) has a negative sign, hence for any positive \(\alpha \) and vanishing \(\beta \), it is obvious that NEC will be violated for radial pressure at the wormhole throat. Also, from Eq. (34), it can be concluded that the NEC will be satisfied for the tangential pressure.

In this case, the expression for SEC will be

$$\begin{aligned} SEC: 0. \end{aligned}$$

This result aligns with work done in [71]. In Figs. 3 and 4, we have depicted the behavior of NEC and DEC graphically. We have mentioned above that NEC is violated for radial pressure for any positive \(\alpha \). DEC is also violated for tangential pressure only but satisfied for radial pressure.

Fig. 3
figure 3

The variation of NEC against r for parallel plates with \(r_0=1\)

Fig. 4
figure 4

The variation of DEC against r for parallel plates with \(r_0=1\)

3.2 Case-II: Parallel cylinder

It is known that from [72, 73] (mode counting of sphere) the exact formula between Casimir interaction energy between two concentric cylinder (where length L and radius a and b, and \(\gamma =\frac{b}{a}\)) is given by

$$\begin{aligned} E^{cc}_{12}= & {} \frac{L}{4\pi a^2}\int _0^{\infty }d \beta \beta ln\left( \prod _{n}\left[ 1-\frac{I_n(\beta )K_n(\gamma \beta )}{I_n(\gamma \beta K_n{\beta })}\right] \right. \nonumber \\{} & {} \left. \times \left[ 1-\frac{I'_n(\beta )K'_n(\gamma \beta )}{I'_n(\gamma \beta K'_n{\beta })}\right] \right) , \end{aligned}$$
(35)

where \(I_n\) and \(K_n\) are modified Bessel functions of the First kind and second kind, respectively, and \('\) denotes the derivative of the Bessel function.

The contribution of \(I_n\) comes from the Dirichlet boundary conditions Transverse Magnetic (TM) modes of the electromagnetic field, and the contribution of \(K_n\) comes from the Neumann boundary conditions Transverse Electric (TE) modes.

The parallel cylinder is more feasible for practical purposes. Here, we are considering the case where two concentric cylinders of radius a and b (where \(b>a\)) and the length of both is L. We know that the general solutions of the energy are given by (using the PFA method) [72]

$$\begin{aligned} E= & {} \frac{\pi ^3L}{360a^2(\gamma -1)^3}\\ {}{} & {} \times \left\{ 1+\frac{1}{2}(\gamma -1)- \left( \frac{2}{\pi ^2}\frac{1}{10}\right) (\gamma -1)^2+\cdots \right\} , \end{aligned}$$

where \(\gamma \) is given by \(\gamma =\frac{b}{a}.\) Now we can take two limits

In the short distance limit \((\gamma -1\ll 1)\) we get,

$$\begin{aligned} E=-\frac{\pi ^3L}{360a^2}\frac{1}{(\gamma -1)^3}. \end{aligned}$$

In this case we can find the \(\rho \) by the fact that the volume between two concentric cylinders is \(V=\pi (b^2-a^2)L\).

So the energy density is given by

$$\begin{aligned} \rho =\frac{E}{\pi (b^2-a^2)L}=\frac{E}{\pi a^2(\gamma ^2-1)L}. \end{aligned}$$
(36)

Also, the pressure is given by the equation

$$\begin{aligned} P=-\frac{1}{S}\frac{\partial E}{\partial a}=-\frac{1}{2\pi aL}\frac{\partial E}{\partial a}=-\frac{\pi ^2}{360a^4(\gamma -1)^3}. \end{aligned}$$

We have taken b or the outer radius of the cylinder as our r as the model. We have in our mind that the system of two parallel cylinders is inserted through the wormhole’s throat. So by observing the geometry, we have taken r as b (outer radius).

Equating Eqs. (16) and (36) and solving the differential equation one can get the shape function as follows:

$$\begin{aligned} b(r)= & {} -\frac{1}{17280 \alpha }\left[ \frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}\right. \nonumber \\{} & {} +\left. \frac{3 \pi ^2 (\log (a+r)-\log (r-a))}{a}+2880 \beta r^3\right] \nonumber \\ {}{} & {} +c_2, \end{aligned}$$
(37)

where \(c_2\) is the integrating constant. Now, by imposing the throat condition \(b(r_0)=r_0\) in Eq. (37), we are able to find the final version of shape function b(r) given by

$$\begin{aligned} b(r)= & {} r_0+\frac{1}{17280 \alpha }\left[ -\frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}-{\mathcal {F}}_1\right. \nonumber \\{} & {} \left. +\frac{3 \pi ^2 (\log (a+r_0)-\log (r_0-a))}{a}+2880 \beta (r_0^3-r^3)\right] ,\nonumber \\ \end{aligned}$$
(38)

where,

$$\begin{aligned} {\mathcal {F}}_1= & {} \frac{3 \pi ^2 (\log (a+r)-\log (r-a))}{a}\nonumber \\{} & {} -\frac{2 \pi ^2 \left( -2 a^2+3 a r_0+3 r_0^2\right) }{(a-r_0)^3}. \end{aligned}$$
(39)

It is noted that the obtained shape function (38) does not follow the asymptotically flatness condition, which is a necessary condition of the shape function. We noticed that for vanishing \(\beta \), this condition would satisfy. Therefore, for \(\beta \rightarrow 0\), the Eq. (38) reduces to

$$\begin{aligned} b(r)= & {} r_0+\frac{1}{17280 \alpha }\left[ -\frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}-{\mathcal {F}}_1\right. \nonumber \\{} & {} \left. +\frac{3 \pi ^2 (\log (a+r_0)-\log (r_0-a))}{a}\right] . \end{aligned}$$
(40)

The graphical behavior of the shape functions has been shown in Fig. 5. One can observe that b(r) shows positively decreasing behavior for any positive values of \(\alpha \). Also, the flaring-out condition is satisfied in the vicinity of the throat under asymptotic background. In this case, we consider the throat radius \(r_0=0.5\).

Fig. 5
figure 5

Shape function and flare-out condition for the parallel cylinder with \(r_0=0.5\)

For the parallel cylinder case, the components of energy–momentum tensors define as

$$\begin{aligned} \rho= & {} -\frac{\pi ^2 a}{360 (a-r)^4 (a+r)}, \end{aligned}$$
(41)
$$\begin{aligned} P_r= & {} \frac{1}{17280 r^3}\left[ \frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}+{\mathcal {F}}_1\right. \nonumber \\{} & {} \left. -\frac{3 \pi ^2 (\log (a+r_0)-\log (r_0-a))}{a}\right] -\frac{\alpha r_0}{r^3}, \end{aligned}$$
(42)
$$\begin{aligned} P_t= & {} \frac{1}{34560}\left[ \frac{1}{r^3}\left( -\frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}\right. \right. \nonumber \\{} & {} \left. \left. -{\mathcal {F}}_1+\frac{3\pi ^2}{a}\left( \log (a+r_0) -\log (r_0-a)\right) \right) \right. \nonumber \\{} & {} \left. +\frac{48 \pi ^2 a}{(a-r)^4 (a+r)} +\frac{17280 \alpha r_0}{r^3}\right] . \end{aligned}$$
(43)

Taking the Eqs. (4143) into account, we have plotted the graphs for EoS parameter \(\omega (r)\) in Fig. 6. As usual, we could observe that the radial EoS parameter increases with the radial distance, whereas tangential EoS parameter shows completely opposite behavior, i.e., it decreases with the increasing of radial distance r.

Fig. 6
figure 6

The EoS parameter \(\omega \) for parallel cylinder with \(r_0=0.5\)

Let us now discuss the energy conditions for the parallel cylinder case. Considering the Eqs. (4143), we can write the expressions for NEC as follows:

$$\begin{aligned}{} & {} NEC1:\quad \frac{1}{17280}\left[ \frac{1}{r^3}\left( \frac{2 \pi ^2 \left( -2 a^2+3 a r+3 r^2\right) }{(a-r)^3}\right. \right. \nonumber \\{} & {} \quad \left. \left. +{\mathcal {F}}_1-\frac{1}{a}\left( 3 \pi ^2 (\log (a+r_0)-\log (r_0-a))\right) \right) \right. \nonumber \\{} & {} \quad \left. -\frac{48 \pi ^2 a}{(a-r)^4 (a+r)}-\frac{17280 \alpha r_0}{r^3}\right] , \end{aligned}$$
(44)
$$\begin{aligned}{} & {} NEC2:\quad \frac{1}{34560 r^3 (a-r)^4}\left[ \frac{1}{a (a-r_0)^3}\left( (a-r)\right. \right. \nonumber \\{} & {} \quad \left. \left. \times \left( (a-r_0)^3 \left( 2 \pi ^2 a \left( 2 a^2-3 a r-3 r^2\right) \right. \right. \right. \right. \nonumber \\{} & {} \quad \left. \left. \left. \left. +3 \pi ^2 (a-r)^3 (\log (r-a)-\log (a+r))\right) \right. \right. \right. \nonumber \\{} & {} \quad \left. \left. \left. -(a-r)^3 \left( 2 \pi ^2 a \left( 2 a^2-3 a r_0-3 r_0^2\right) \right. \right. \right. \right. \nonumber \\{} & {} \quad \left. \left. \left. \left. +3 \pi ^2 (a-r_0)^3 (\log (r_0-a)-\log (a+r_0))\right) \right. \right. \right. \nonumber \\{} & {} \quad \left. \left. \left. +17280 a \alpha r_0 (a-r)^3 (a-r_0)^3\right) \right) -\frac{48 r^3\pi ^2 a}{a+r}\right] . \end{aligned}$$
(45)

At the throat of the wormhole, i.e., at \(r=r_0\), the radial NEC reduces to

$$\begin{aligned} NEC1\mid _{r=r_0}=-\left( \frac{\pi ^2 a}{360 (a-r_0)^4 (a+r_0)}+\frac{\alpha }{r_0^2}\right) . \end{aligned}$$
(46)

It can be observed from the above expression that NEC is violated for radial pressure at the wormhole throat as the RHS of Eq. (46) is a negative quantity. One can check the graphical behavior of NEC for both pressures, which is depicted in Fig. 7. Moreover, we have studied the DEC, which has shown in Fig. 8. We have observed that for any positive \(\alpha \), radial DEC is satisfied, whereas tangential DEC is violated in the entire spacetime. Further, we checked SEC, which vanishes in the entire spacetime. This similar situation exactly matches the previous case.

Fig. 7
figure 7

The variation of NEC against r for parallel cylinder with \(r_0=0.5\)

Fig. 8
figure 8

The variation of DEC against r for parallel cylinder with \(r_0=0.5\)

3.3 Case-III: Two spheres

We can also calculate the energy between two spheres, both having radius A, and D gives the distance between them. We also assume that \(D\gg A\) using the multiple scattering approach given in [74] also checking with the consistency [75, 76].

We also note that for engineering purposes, one can estimate radius (A) and distance (D) from the embedding picture of the wormhole, which can be seen in [82].

We can use an equatorial slice at \(\theta =\frac{\pi }{2}\) and also at a fixed moment in time to find the metric as

$$\begin{aligned} ds^2=\frac{dr^2}{1-\frac{b(r)}{r}}+r^2d\phi ^2. \end{aligned}$$
(47)

Now, if we want to embed the above metric in a cylindrical coordinate, we can get

$$\begin{aligned} ds^2=dz^2+dr^2+r^2d\phi ^2. \end{aligned}$$
(48)

Comparing the above expressions, Eqs. (47) and (48), we can find

$$\begin{aligned} \frac{dz}{dr}=\pm \sqrt{\frac{r}{r-b(r)}-1}. \end{aligned}$$
(49)

As we can see from the above expression, we have found the metric of wormhole in Euclidian plane, so given shape function b(r) one can estimate distance (D), noting that \(D\approx 2z\) (z can be found from Eq. (49)) and radius (A) would be \(A\approx r\).

We use the formula given in [74] via multiple scattering approach(which is only valid as long as \(D\gg A\)).

$$\begin{aligned} E=-\frac{1}{8\pi D}\left[ ln(\frac{D^2}{D^2-4A^2})+\frac{40A^4-6A^2D^2}{(D^2-4A^2)^2}+\frac{2A^2}{D^2}\right] . \end{aligned}$$

In the case of two spheres, we consider the radius of the sphere A as the radius r of the wormhole.

In this case, we can find the \(\rho \) by the fact that the volume between two spheres is \(V=\pi A^2D\) (assuming \(D\gg A\)). So the energy density is given by

$$\begin{aligned} \rho =\frac{E}{\pi A^2D} . \end{aligned}$$
(50)

Also, the pressure define by

$$\begin{aligned} P=-\frac{1}{S}\frac{\partial E}{\partial D}. \end{aligned}$$
(51)

On solving the above equation, we get

$$\begin{aligned} P= & {} -\frac{1}{2\pi A^2}\left[ \frac{1}{8\pi D^2}\left( ln(\frac{D^2}{D^2-4A^2})+\frac{40A^4-6A^2D^2}{(D^2-4A^2)^2}\right. \right. \nonumber \\{} & {} \left. \left. +\frac{2A^2}{D^2}\right) -\frac{1}{8\pi D}\left( \frac{2}{D}-\frac{2D}{D^2-4A^2}-\frac{12A^2D}{(D^2-4A^2)^2}\right. \right. \nonumber \\{} & {} \left. \left. -\frac{160A^4D-24A^2D^3}{(D^2-4A^2)^3}-\frac{4A^2}{D^3}\right) \right] . \end{aligned}$$
(52)

One can notice that for this two-sphere case, we have two dependent variables, A and D. Hence, in the following consecutive subsections, we shall investigate the effect of this Casimir source in wormhole geometry by putting some restrictions on A and D.

3.3.1 D variable and A constant

For this case, we replace D by wormhole radius r and considered the sphere radius A as constant. The shape function can be obtained by comparing the Eqs. (16) and (50)

$$\begin{aligned} b(r)= & {} -\frac{1}{8 \pi ^2 \alpha A^2}\left[ \frac{4}{3} \pi ^2 A^2 \beta r^3-\frac{2 A^2 r}{r^2-4 A^2}\right. \nonumber \\{} & {} \left. +r \log \left( \frac{r^2}{r^2-4 A^2}\right) -\frac{2 A^2}{r}\right] +c_3, \end{aligned}$$
(53)

where \(c_3\) is the integrating constant. By imposing the throat condition on the above expression, we could able to find the shape function b(r) as follows

$$\begin{aligned} b(r)= & {} -\frac{1}{8 \pi ^2 \alpha A^2}\left[ \frac{2 A^2 \left( -\frac{3 r^2}{r^2-4 A^2}+2 \pi ^2 \beta r^4-3\right) }{3 r}\right. \nonumber \\{} & {} \left. +r \log \left( \frac{r^2}{r^2-4 A^2}\right) \right] \nonumber \\ {}{} & {} +\frac{1}{8 \pi ^2 \alpha A^2}\left[ r_0 \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) \right. \nonumber \\{} & {} \left. +\frac{2 A^2 \left( -\frac{3 r_0^2}{r_0^2-4 A^2}+2 \pi ^2 \beta r_0^4-3\right) }{3 r_0}\right] +r_0. \end{aligned}$$
(54)

The above expression (54) is not asymptotically flat. However, we notice that for any \(\alpha \) and vanishing \(\beta \), the asymptotically flatness condition will satisfy. Thus, the final shape function b(r) for this case can be read as

$$\begin{aligned} b(r)= & {} r_0-\frac{1}{8 \pi ^2 \alpha A^2}\left[ \frac{2 A^2 \left( -\frac{3 r^2}{r^2-4 A^2}-3\right) }{3 r}\right. \nonumber \\{} & {} \left. +r \log \left( \frac{r^2}{r^2-4 A^2}\right) \right] \nonumber \\ {}{} & {} +\frac{1}{8 \pi ^2 \alpha A^2}\left[ r_0 \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) \right. \nonumber \\{} & {} \left. +\frac{2 A^2 \left( -\frac{3 r_0^2}{r_0^2-4 A^2}-3\right) }{3 r_0}\right] . \end{aligned}$$
(55)

Also, we observed that for any positive \(\alpha \), the flaring out condition, \(b^{'}(r_0)<1\), would satisfy at the throat of the wormhole. In Fig. 9, we have depicted the behavior of the flare-out condition.

Fig. 9
figure 9

Flare-out condition for two-sphere (case-1) with \(r_0=1\) and \(A=0.05\)

As already defined in the previous sections, the EoS for both pressures can be read as

$$\begin{aligned} \omega _r(r)=\frac{P_r}{\rho }, \quad \omega _t(r)=\frac{P_t}{\rho }. \end{aligned}$$

Inserting Eqs. (1618) and (55) in the above expressions, we obtained the following EoS parameters for both pressures

$$\begin{aligned} \omega _r(r)= & {} -\frac{1}{{\mathcal {H}}_1}\left[ \left( 4 A^2-r^2\right) \left( 4 A^2 \left( -6 A^2 \left( 4 \pi ^2 \alpha r r_0^2 \right. \right. \right. \right. \nonumber \\{} & {} \left. \left. \left. \left. \times \left( r^2+r_0^2\right) +2 r^2 r_0-r^3-2 r r_0^2+r_0^3\right) +24 A^4 \right. \right. \right. \nonumber \\{} & {} \left. \left. \left. \times \left( r \left( 4 \pi ^2 \alpha r_0^2-1\right) +r_0\right) +3 r^2 r_0^2 \left( r \left( 2 \pi ^2 \alpha r_0^2-1\right) \right. \right. \right. \right. \nonumber \\{} & {} \left. \left. \left. \left. +r_0\right) \right) +3 r r_0 \left( r^2-4 A^2\right) \left( 4 A^2-r_0^2\right) {\mathcal {H}}_2\right) \right] , \end{aligned}$$
(56)
$$\begin{aligned} \omega _t(r)= & {} \frac{1}{2 {\mathcal {H}}_1}\left[ 4 A^2 \left( {\mathcal {H}}_3-24 A^2 r^3 r_0^2+48 A^4 r^3\right. \right. \nonumber \\{} & {} \left. \left. -6 A^2 r^5+384 \pi ^2 \alpha A^6 r r_0^2-96 \pi ^2 \alpha A^4 r r_0^4+48 A^4 r r_0^2 \right. \right. \nonumber \\{} & {} \left. \left. -96 A^6 r-48 A^4 r_0^3+192 A^6 r_0-6 \pi ^2 \alpha r^5 r_0^4 \right. \right. \nonumber \\{} & {} \left. \left. +3 r^5 r_0^2\right) +{\mathcal {H}}_4\right] , \end{aligned}$$
(57)

where,

$$\begin{aligned} {\mathcal {H}}_1= & {} 3 r_0 \left( r_0^2-4 A^2\right) \left( 4 A^2 \left( 6 A^2 r^2+8 A^4-r^4\right) \right. \nonumber \\{} & {} \left. +\left( r^3-4 A^2 r\right) ^2 \log \left( \frac{r^2}{r^2-4 A^2}\right) \right) , \end{aligned}$$
(58)
$$\begin{aligned} {\mathcal {H}}_2= & {} \left( r \log \left( \frac{r^2}{r^2-4 A^2}\right) -r_0 \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) \right) , \end{aligned}$$
(59)
$$\begin{aligned} {\mathcal {H}}_3= & {} 24 \pi ^2 \alpha A^2 r^3 r_0^2\left( 2 r_0^2+r^2-8A^2\right) , \end{aligned}$$
(60)
$$\begin{aligned} {\mathcal {H}}_4= & {} 3 r r_0^2 \left( r^2-4 A^2\right) ^2 \left( 4 A^2-r_0^2\right) \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) . \end{aligned}$$
(61)

The graphical behavior of EoS parameters for this case has been shown in Fig. 10.

Fig. 10
figure 10

The EoS parameter \(\omega \) for two-sphere (case-1) with \(r_0=1\) and \(A=0.05\)

The expressions of NEC for this particular case can be obtained as

$$\begin{aligned}{} & {} NEC1:\frac{1}{{\mathcal {H}}_5}\left[ -128 A^8 \left( r \left( 12 \pi ^2 \alpha r_0^2-3\right) +6 r_0\right) \right. \nonumber \\{} & {} \quad \left. +64 A^6 \left( 6 \pi ^2 \alpha r r_0^2 \left( 2 r^2+r_0^2\right) -3 \left( r^3+r r_0^2-r_0^3\right) \right) \right. \nonumber \\{} & {} \quad \left. +24 A^4 r^3 \left( -4 \pi ^2 \alpha r_0^2 \left( r^2+2 r_0^2\right) +r^2+4 r_0^2\right) +4 A^2 r^5 r_0^2 \right. \nonumber \\{} & {} \quad \left. \times \left( 6\pi ^2 \alpha r_0^2-3\right) -{\mathcal {H}}_4\right] . \end{aligned}$$
(62)
$$\begin{aligned}{} & {} NEC2: \frac{1}{2{\mathcal {H}}_5}\left[ 128 A^8 \left( 2 \pi ^2 r_0 \left( 6 \alpha r_0\right) -3\right) +192 A^6 \right. \nonumber \\{} & {} \quad \left. \times \left( -2 \pi ^2 \alpha r_0^2 \left( 2 r^2+r_0^2\right) +r^2-3 r r_0+r_0^2\right) +24 A^4 r \right. \nonumber \\{} & {} \quad \left. \times \left( 4 \pi ^2 \alpha r_0^2\left( r^3+2 r r_0^2\right) +4 r^2 r_0-r^3-4 r r_0^2+6 r_0^3\right) \right. \nonumber \\{} & {} \quad \left. +4 A^2 r^3 r_0^2 \left( r \left( 3-6\pi ^2 \alpha r_0^2\right) -6 r_0\right) +{\mathcal {H}}_6 \right] , \end{aligned}$$
(63)

where

$$\begin{aligned} {\mathcal {H}}_5= & {} 24 \pi ^2 A^2 r^4 \left( r^2-4 A^2\right) ^2 \left( 4 A^2 r_0-r_0^3\right) , \end{aligned}$$
(64)
$$\begin{aligned} {\mathcal {H}}_6= & {} 3 r_0 \left( r^2-4 A^2\right) ^2 \left( 4 A^2-r_0^2\right) \nonumber \\{} & {} \times \left( r_0 \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) -2 r \log \left( \frac{r^2}{r^2-4 A^2}\right) \right) .\nonumber \\ \end{aligned}$$
(65)

At \(r=r_0\) (wormhole’s throat), the above radial NEC reduces to

$$\begin{aligned} NEC1\mid _{r=r_0}= & {} -\frac{1}{{\mathcal {H}}_7}\left[ 32 A^6+8 \pi ^2 \alpha r_0^2 \left( A r_0^2-4 A^3\right) ^2 \right. \nonumber \\{} & {} \left. +24 A^4 r_0^2-4 A^2 r_0^4+\left( r_0^3-4 A^2 r_0\right) ^2 \right. \nonumber \\{} & {} \left. \times \log \left( \frac{r_0^2}{r_0^2-4 A^2}\right) \right] \end{aligned}$$
(66)

where, \({\mathcal {H}}_7=8 \pi ^2 A^2 r_0^4 \left( r_0^2-4 A^2\right) ^2.\) From the above expression, it is obvious that the NEC for radial pressure is violated at the wormhole’s throat. However, for tangential pressure, NEC is satisfied. The graphical representations of NEC are depicted in Fig. 11. One may also notice that for an increase of the model parameter \(\alpha \), the contributions for the violation of NEC become higher. Further, we have studied the behavior of DEC in Fig. 12. We observed that radial DEC is satisfied, whereas tangential DEC is violated in the entire space-time. SEC’s situation was the same as in the previous two cases.

Fig. 11
figure 11

The variation of NEC against r for two sphere (case-1) with \(r_0=1\) and \(A=0.05\)

Fig. 12
figure 12

The variation of DEC against r for two sphere (case-1) with \(r_0=1\) and \(A=0.05\)

3.3.2 A variable and D constant

For this particular case, we replace A by wormhole radius r and considered the sphere radius A as constant. Comparing the Eqs. (16) and (50) and solving the differential equation one can get the shape function as follows:

$$\begin{aligned} b(r)= & {} -\frac{1}{8 \pi ^2 \alpha D^4}\left[ \frac{r}{6} \left( D^4 \left( \frac{3}{D^2-4 r^2}+8 \pi ^2 \beta r^2\right) \right. \right. \nonumber \\{} & {} \left. \left. +27 D^2+4 r^2\right) +D^2 r \log \left( \frac{D^2}{D^2-4 r^2}\right) \right. \nonumber \\{} & {} \left. +\frac{5}{4} D^3 (\log (2 r-D)-\log (D+2 r))\right] +c_3, \end{aligned}$$
(67)

to find the integrating constant \(c_3\), we are applying throat condition \(b(r)=r_0\) at \(r=r_0\):

$$\begin{aligned} c_3= & {} r_0+\frac{1}{8 \pi ^2 \alpha D^4}\left[ \frac{r_0}{6} \left( D^4 \left( \frac{3}{D^2-4 r_0^2}+8 \pi ^2 \beta r_0^2\right) \right. \right. \nonumber \\{} & {} \left. \left. +27 D^2+4 r_0^2\right) +D^2 r_0 \log \left( \frac{D^2}{D^2-4 r_0^2}\right) \right. \nonumber \\{} & {} \left. +\frac{5}{4} D^3 (\log (2 r_0-D)-\log (D+2 r_0))\right] . \end{aligned}$$
(68)

Inserting Eq. (67) into the Eq. (68), we get the shape function given by

$$\begin{aligned} b(r)= & {} \frac{1}{96} \left[ \frac{2 r}{\alpha }\left( -\frac{4 r^2}{\pi ^2 D^4}-\frac{3}{\pi ^2 \left( D^2-4 r^2\right) }-\frac{27}{\pi ^2 D^2}\right. \right. \nonumber \\{} & {} \left. \left. -8 \beta r^2\right) -\frac{3}{\pi ^2 \alpha D^2} \left( {\mathcal {K}}_1+{\mathcal {K}}_4\right) +\frac{8 r_0^3}{\alpha }\left( 2 \beta +\frac{1}{\pi ^2 D^4}\right) \right. \nonumber \\{} & {} \left. +6 r_0 \left( \frac{1}{\pi ^2 \alpha }\left( \frac{1}{D^2-4 r_0^2}+\frac{9}{D^2}\right) +16\right) \right] , \end{aligned}$$
(69)

where,

$$\begin{aligned} {\mathcal {K}}_1= & {} 5D(\log (2 r-D)-\log (D+2 r)\nonumber \\{} & {} -\log (2 r_0-D)+\log (D+2 r_0)). \end{aligned}$$
(70)

Here also, we realized that the obtained b(r) disrespects the asymptotically flatness condition. It happens because of the free parameter \(\beta \). For \(\beta \rightarrow 0\), the flatness condition \(\frac{b(r)}{r}\nrightarrow 0\) will satisfy. Therefore the shape function can be obtained for vanishing \(\beta \) from Eq. (69)

$$\begin{aligned} b(r)= & {} \frac{1}{96} \left[ \frac{2 r}{\alpha }\left( -\frac{4 r^2}{\pi ^2 D^4}-\frac{3}{\pi ^2 \left( D^2-4 r^2\right) }-\frac{27}{\pi ^2 D^2}\right) \right. \nonumber \\{} & {} \left. -\frac{3}{\pi ^2 \alpha D^2} \left( {\mathcal {K}}_1+{\mathcal {K}}_4\right) +\frac{8 r_0^3}{\alpha \pi ^2 D^4}+6 r_0 \right. \nonumber \\{} & {} \left. \times \left( \frac{1}{\pi ^2 \alpha }\left( \frac{1}{D^2-4 r_0^2}+\frac{9}{D^2}\right) +16\right) \right] . \end{aligned}$$
(71)
Fig. 13
figure 13

Shape function and flare-out condition for two sphere (case-2) with \(r_0=1\) and \(D=20\)

In Fig. 13, we have plotted the shape function b(r) and flaring out condition \(b^{'}(r_0)<1\). We identify that these behavior satisfy for negative \(\alpha \) only.

The radial and tangential pressure components for this case can be read as

$$\begin{aligned} P_r= & {} \frac{1}{96 r^3}\left[ \frac{8 \left( r^3-r_0^3\right) }{\pi ^2 D^4}+\frac{6}{\pi ^2}\left( \frac{r}{D^2-4 r^2}-\frac{r_0}{D^2-4 r_0^2}\right) \right. \nonumber \\{} & {} \left. +\frac{3}{\pi ^2 D^2}\left( {\mathcal {K}}_4+{\mathcal {K}}_1\right) +\frac{54 (r-r_0)}{\pi ^2 D^2}-96\alpha r_0\right] , \end{aligned}$$
(72)
$$\begin{aligned} P_t= & {} \frac{1}{192} \left[ {\mathcal {K}}_2+\frac{8 \left( 2 r^3+r_0^3\right) }{\pi ^2 D^4 r^3}+\frac{1}{\pi ^2 D^2 r^3}\right. \nonumber \\{} & {} \left. \times \left( 12 r_0 \log \left( \frac{D^2}{D^2-4 r_0^2}\right) -3{\mathcal {K}}_1\right) +{\mathcal {K}}_3\right] , \end{aligned}$$
(73)

where,

$$\begin{aligned} {\mathcal {K}}_2= & {} \frac{6}{\pi ^2}\left( \frac{\frac{r_0}{D^2-4 r_0^2}-\frac{10 r}{D^2-4 r^2}}{r^3}+\frac{8}{\left( D^2-4 r^2\right) ^2}\right) , \end{aligned}$$
(74)
$$\begin{aligned} {\mathcal {K}}_3= & {} \frac{6}{\pi ^2 D^2}\left( \frac{16}{D^2-4 r^2}+\frac{9 r_0}{r^3}\right) +\frac{96 \alpha r_0}{r^3}, \end{aligned}$$
(75)
$$\begin{aligned} {\mathcal {K}}_4= & {} 4 r \log \left( \frac{D^2}{D^2-4 r^2}\right) -4 r_0 \log \left( \frac{D^2}{D^2-4 r_0^2}\right) . \end{aligned}$$
(76)

Considering Eqs. (50), (72) and (73), we have illustrated the plot for radial and tangential EoS parameters in Fig. 14.

Fig. 14
figure 14

The EoS parameter \(\omega \) for two sphere (case-2) with \(r_0=1\), \(D=20\) and vanishing \(\beta =0\)

The expressions for NEC for two sphere (case-2) can be written as

$$\begin{aligned}{} & {} NEC1:\quad \frac{1}{96} \left[ -{\mathcal {K}}_2-\frac{8 \left( 2 r^3+r_0^3\right) }{\pi ^2 D^4 r^3}+\frac{1}{\pi ^2 D^2 r^3}\right. \nonumber \\{} & {} \quad \left. \times \left( 3{\mathcal {K}}_1-12 r_0 \log \left( \frac{D^2}{D^2-4 r_0^2}\right) \right) -{\mathcal {K}}_3\right] , \end{aligned}$$
(77)
$$\begin{aligned}{} & {} NEC2:\quad \frac{1}{192} \left[ \frac{2}{r^3}\left( 48 \alpha r_0+\frac{24 r \left( D^2-5 r^2\right) }{\pi ^2 \left( D^2-4 r^2\right) ^2}\right. \right. \nonumber \\{} & {} \quad \left. \left. +\frac{3 r_0}{\pi ^2 \left( D^2-4 r_0^2\right) } \right) +\frac{8 \left( r_0^3-4 r^3\right) }{\pi ^2 D^4 r^3} +\frac{3}{\pi ^2 D^2 r^3}\right. \nonumber \\{} & {} \quad \left. \times \left( -4 r \log \left( \frac{D^2}{D^2-4 r^2}\right) +5 D \log (2 r-D)\right. \right. \nonumber \\{} & {} \quad \left. \left. -({\mathcal {K}}_1+{\mathcal {K}}_4)\right) +\frac{6}{\pi ^2 D^2}\left( \frac{9 (r_0-2 r)}{r^3}-\frac{16}{D^2-4 r^2}\right) \right. \nonumber \\{} & {} \quad \left. -\frac{15 \log (2 r-D)}{\pi ^2 D r^3}\right] . \end{aligned}$$
(78)

At throat, the above expressions for NEC reduces to

$$\begin{aligned}{} & {} NEC1\mid _{r=r_0}\nonumber \\ {}{} & {} \quad =-\frac{1}{{\mathcal {K}}_5}\left[ 4 \left( 2 \alpha \pi ^2 D^8-16 \alpha \pi ^2 D^6 r_0^2 \right. \right. \nonumber \\{} & {} \qquad \left. \left. +D^4 r_0^2 \left( 32 \alpha \pi ^2 r_0^2-1\right) +6 D^2 r_0^4+8 r_0^6\right) +{\mathcal {K}}_6\right] ,\nonumber \\ \end{aligned}$$
(79)
$$\begin{aligned}{} & {} NEC2\mid _{r=r_0}\nonumber \\ {}{} & {} =\frac{1}{2{\mathcal {K}}_5}\left[ 4 \left( 2 \pi ^2 \alpha D^8-16 \pi ^2 \alpha D^6 r_0^2\right. \right. \nonumber \\{} & {} \left. \left. +32 \pi ^2 \alpha D^4 r_0^4+D^4 r_0^2 -6 D^2 r_0^4-8 r_0^6\right) -{\mathcal {K}}_6\right] , \end{aligned}$$
(80)

where, \({\mathcal {K}}_5=8 \pi ^2 D^4 r_0^2 \left( D^2-4 r_0^2\right) ^2,\)

\({\mathcal {K}}_6=\left( D^3-4 D r_0^2\right) ^2 \log \left( \frac{D^2}{D^2-4 r_0^2}\right) .\)

From Eqs. (79) and (80) it is evident that for negative values of \(\alpha \), NEC is violated for tangential pressure at the throat whereas satisfied for radial pressure.

Fig. 15
figure 15

The variation of NEC against r for two sphere (case-2) with \(r_0=1\) and \(D=20\)

Fig. 16
figure 16

The variation of DEC against r for two sphere (case-2) with \(r_0=1\) and \(D=20\)

Figures 15 and 16 shows the characteristics of NEC and DEC for both pressures. It was mentioned that NEC is disrespected for tangential pressure. But, DEC is satisfied for tangential pressure whereas violated for radial pressure. SEC situation is the same as the previous two cases.

4 Equilibrium conditions

In this particular section, we consider generalized Tolman–Oppenheimer–Volkoff (TOV) equation to investigate the stability of our obtained wormhole solutions. The generalized TOV equation can be define as [77, 78]

$$\begin{aligned} -\frac{dP_{r}}{dr}-\frac{\phi ^{'}(r)}{2}(\rho +P_{r})+\frac{2}{r}(P_{t}-P_{r})=0. \end{aligned}$$
(81)

Naturally, the generalized TOV equation (81) gives the information of the equilibrium condition for the wormhole subject to the hydrostatic \((F_H)\) and gravitational \((F_G)\) force with another force called anisotropic \((F_A)\) force (because of anisotropic matter).

Hence, the Eq. (81) takes the following form

$$\begin{aligned} F_H+F_G+F_A=0, \end{aligned}$$
(82)

where,

$$\begin{aligned} F_H= & {} -\frac{dP_{r}}{dr}, \end{aligned}$$
(83)
$$\begin{aligned} F_G= & {} -\frac{\phi ^{'}}{2}(\rho +P_{r}), \end{aligned}$$
(84)
$$\begin{aligned} F_A= & {} \frac{2}{r}(P_{t}-P_{r}). \end{aligned}$$
(85)

Since in our study we considered the constant redshift function (tidal less force). Hence, the gravitational force will not be appear here, i.e., \(F_G=0\).

Thus, the Eq. (82) reduces to

$$\begin{aligned} F_A+F_H=0. \end{aligned}$$
(86)
Fig. 17
figure 17

Hydrostatic (plane lines) and anisotropic (dashed lines) forces for parallel plates with \(r_0=1\)

Fig. 18
figure 18

Hydrostatic (plane lines) and anisotropic (dashed lines) forces for parallel cylinder with \(r_0=0.5\)

Fig. 19
figure 19

Hydrostatic (plane lines) and anisotropic (dashed lines) forces for two sphere (case-1) with \(r_0=1\) and \(A=0.05\)

Fig. 20
figure 20

Hydrostatic (plane lines) and anisotropic (dashed lines) forces for two sphere (case-2) with \(r_0=1\) and \(D=20\)

Using the appropriate expressions, we have plotted the graph for hydrostatic \((F_H)\) and anisotropic \((F_A)\) forces for each case in Figs. 17, 18, 19 and 20. It is observed that anisotropic \(F_A\) force shows positive behavior, whereas hydrostatic \(F_H\) force shows negative behavior for the first two cases (parallel plates and parallel cylinder). For the two spheres cases, we noticed that both forces behave in opposite behavior. One may find that these forces are identical but opposite to each other, resulting in the equilibrium of the solutions. Thus, it is safe to conclude that our obtained wormhole solutions for each case are stable. There are few Refs. [79,80,81] where the authors studied deeply on this interesting topic.

5 Conclusions

In this study, we have investigated the Casimir effect on wormhole space-time in modified symmetric teleparallel gravity. We have taken three different systems which we can think mimic the actual picture of the wormhole. Firstly, we have considered the parallel plate as done by Garattini [70] and extended it into the Morris–Thorne wormhole in GR. Jusufi et al. [82] extended Garattini’s work and studied the effect of GUP in the Casimir wormhole by considering three GUP relations such as Kempf, Mangano, and Mann (KMM) model, the Detournay, Gabriel, and Spindel (DGS) model, and type II model. Further, Tripathy [83] investigated the Casimir wormholes with the above KMM and DGS models in modified f(RT) gravity. However, in our study, besides parallel plate, We have also taken two different systems called parallel cylinder and two spheres to elaborate on the fact that wormhole stability indeed works in different scenarios.

From the Casimir energy densities of the three systems, we have integrated the energy density of modified gravity to obtain the shape function of the wormhole metric. Then, we studied the obtained shape function for each system graphically. It is observed that the shape functions we got satisfy the flare-out conditions under asymptotic background. Also, we noticed the effect of modified gravity on shape functions. For the first case, one can visualize from the graph that an increase in the value of the modified gravity parameter outcomes in an increase in the shape function with a radial distance from the wormhole throat. Also, for the parallel cylinder case, we observed the increase in the value of the parameter results in an increase in the shape function. For the last case, it was noticed that a decrease in the value of the modified gravity parameter decreases the shape function. However, the impact of the modified gravity is insignificant at a radial distance nearer to the throat. One crucial observation is that the shape functions obtained from the Casimir sources do not follow the asymptotically flatness condition. We noticed that it happens due to the presence of free parameter \(\beta \). Thus we are bound to vanish the parameter \(\beta \) from the obtained shape functions in order to satisfy the flatness condition. Further, we have studied the EoS parameters for radial and tangential pressure to the Casimir energy density for each case. It can be observed that for the first two cases, the radial EoS parameter shows an increasing function against radial distance, whereas the tangential EoS parameter is a decreasing function. For the two spheres cases, for case-1, both EoS parameters indicate the same behaviors as the previous two cases, whereas for case-2, both parameters show opposite behaviors. It came to notice that the modified gravity parameter impacts the behavior of both EoS parameters to a large extent, at least at distances from the wormhole throat. Moreover, one can observe that the graphs of EoS parameters, \(\omega _r\) and \(\omega _t\) are diverging when \(r\rightarrow \infty \). The reason being that from Eq. (20), one can see that the Casimir force decays as \(\frac{1}{r^4}\), thus at \(r\rightarrow \infty \), \(\rho \) goes to zero. However, we can see from Eqs. (25) and (26), the pressure does not go to zero when \(r\rightarrow \infty \) (for parallel plates case). As a consequence, \(\omega _i=\frac{P_i}{\rho }\) (where i is either r or t) are unbounded as \(r\rightarrow \infty \) (as \(\rho \) tends to zero). However, one can avoid such a consequence by noting that our Casimir plates are placed very near to the wormhole throat and are for engineering purposes to supply. So we can not take the values of \(\rho \) and \(P_i\) for arbitrary r. For that reason, we have calculated all the quantities and shown their behaviors in the vicinity of the throat because at \(r\rightarrow \infty \), the components of the stress-energy tensor will no longer be valid.

Furthermore, we have investigated the NEC, DEC, and SEC at the wormhole’s throat with a radius of \(r_0\) for each case. It was observed that for the first two cases, NEC was violated for any \(\alpha >0\) (one may refer to the Eqs. (33) and (46)). For the third case, radial NEC was disrespected for positive values of \(\alpha \) (case-1), and for case-2, NEC was violated for tangential pressure for any \(\alpha <0\). DEC was violated for tangential pressure only for the first two cases and (case-1) of two spheres case, whereas for the case-2, it was violated for radial pressure. For the SEC, we noticed that it depends on the constraint \(\beta \) only. For \(\beta =0\), SEC will vanish. This situation aligns with the work of Ref. [71]. Furthermore, we used an interesting tool called Tolman–Oppenheimer–Volkoff (TOV) equation to verify whether the obtained wormhole solutions are stable or unstable. Throughout our observations, we found that our obtained wormhole solutions are stable.

Recently, one interesting work was done by Sokoliuk et al. in [84], where they studied the Casimir wormholes in the framework of f(R) gravity. Also, the authors of Ref. [85] investigated charged wormholes supported by Casimir energy with and without GUP corrections. The above authors used Casimir density for parallel plates to study the wormholes. However, in this work, we look at two more Casimir energy densities besides parallel plate density. Thus, this study may provide new insight into the field of modified theories of gravity. Also, it would be interesting to investigate Casimir wormholes with GUP corrected relations (KMM, DGS, and type-II) in modified symmetric teleparallel gravity in the near future.