1 Introduction

Black hole thermodynamics has been extensively investigated in recent decades because it provides a bridge between general relativity (GR) and quantum gravity as well as exhibits interesting phenomena in analogy to thermodynamics. Hawking showed that like the blackbody, black holes emit thermal radiation and thus it possesses a temperature T that is determined by the surface gravitation at their event horizon [1]. In addition, black holes have an entropy S that is the conjugate variable of the temperature and is proportional to the horizon area [2]. The thermodynamic behavior of black holes is governed by the four laws [3] which are analogous to the conventional thermodynamic laws. The thermodynamic quantities of black holes are related to each other through the Smarr relation as follows [4]

$$\begin{aligned} M=2(TS+\Omega J)+\Phi Q, \end{aligned}$$
(1)

where M is the Arnowitt–Deser–Misner (ADM) mass of black holes treated as the internal energy, \(\Omega \) is the angular velocity, J is the angular momentum, Q is the electric charge of black holes, and \(\Phi \) is the chemical potential. Recently, the cosmological constant \(\Lambda \) has been considered as a thermodynamic variable associated with the notion of pressure whose conjugate variable is the thermodynamic volume [5,6,7,8]. This has led to a new subfield of black hole thermodynamics known as black hole chemistry [9] where the ADM mass of black holes is reinterpreted as the chemical enthalpy. In the extended phase space, the black hole thermodynamics exhibits abundantly phenomena which are the \(P-V\) criticality corresponding to the Van der Waals-like phase transition [10,11,12,13,14,15,16], the black hole heat engine [17,18,19,20,21,22,23], and the Joule-Thomson expansion [24,25,26,27,28].

According to GR, there exists an unphysical curvature singularity inside the horizon of black holes [29]. The presence of this singularity implies the breakdown of GR at very short distances and would be absent in an ultraviolet complete theory of quantum gravity that is unfortunately lacking. Therefore, almost resolutions for the problem of the black hole singularity proposed are based on exceptional classical sources such as the non-linear electrodynamics which have received considerable attention in the literature [30,31,32,33,34,35,36,37,38,39,40,41,42,43]. However, in order for the source of the non-linear electrodynamics to remove the unphysical curvature singularity, it requires an unnatural fine-tuning in the parameters of Lagrangian of the non-linear electrodynamics. This makes the non-linear electrodynamics less natural.

It was recently indicated that the compactified extra dimensions could provide a way to remove the unphysical curvature singularity of black holes [44] and understand a statistical origin of the realistic black hole entropy [45]. Indeed, the compactified extra dimensions are one of the important ingredients for constructing quantum gravity in superstring/M theory and open a new window on a geometric unification of gravity and dark matter [46], the hierarchy problem [47,48,49], the radiative stability of tiny cosmological constant [50], and evidence for the AdS distance conjecture (realized in string theory) from bottom-up physics [51]. Hence, they could provide insights into quantum gravity as well as the resolutions for the issues of black hole physics. By imposing the vacuum solutions of the system of Einstein gravity coupled to the Maxwell field in five dimensions being symmetric under the double Wick rotation [52, 53], the authors in Ref. [44] have found a regular black string that consists of the event horizon but not the curvature singularity. The absence of the curvature singularity here is due to the presence of a bubble behind the horizon where a spacelike Killing vector shrinks at the radius of the bubble and hence it leads to the end of the spacetime there. It was also indicated the evaporation of regular black string is consistent with the unitarity principle [54]. Furthermore, the quasinormal modes of the magnetic and gravitational fields have been studied on this background [55].

In the free energy landscape, black holes are considered as the thermodynamic states of a canonical ensemble [56]. The generalized free energy of the system, which is denoted by \(\mathcal {F}=M-S/\tau \) with the ADM mass M and inverse temperature \(\tau \) being two independent variables, is a function of the event horizon radius treated as the order parameter interpreting the degree of freedom of the system [57]. The local (global) extremal points of the generalized free energy represent the on-shell states satisfying Einstein field equations corresponding exactly to the black hole solutions. The remaining states, which are not the solutions of Einstein field equations, are called the off-shell states. An on-shell state at a local (global) minimal point expresses a stable black hole, otherwise an off-shell state at a local (global) maximal point defines an unstable black hole [58]. Recently, the free energy landscape has also been employed to analyze the phase transition of black holes, which is one of the most exciting subjects in the study of black hole thermodynamics. In [56], the free energy landscape is used to study the kinetic switching process of black hole states and the Hawking-Page phase transition. This work showed that it is possible to lead the phase transition between the AdS black hole and thermal AdS. Similar results for Reissner–Nordström–Anti de Sitter (RN-AdS) black holes were also found in Ref. [59].

Because a black hole is a solution of Einstein field equations, we can consider it as a zero point of the tensor field \(\mathcal {E}_{\mu \nu }\equiv G_{\mu \nu }-\frac{8\pi G}{c^{4}}T_{\mu \nu }\) where \(G_{\mu \nu }\) and \(T_{\mu \nu }\) are the Einstein tensor and the energy–momentum tensor of the matter, respectively. This idea evokes that the black hole can be assigned to a topological charge. As a result, we can determine the local and global characteristics of the black hole without knowing its detailed configuration. Recently, the topological charge has been introduced to study black hole thermodynamics. Each black hole is endowed with a topological charge by using the vector field \(\phi \) defined as follows [60]

$$\begin{aligned} \phi =\left( \frac{\partial \mathcal {F}}{\partial r_{h}},-\cot \Theta \csc \Theta \right) , \end{aligned}$$
(2)

where \(r_h\) is the radius of the event horizon and the parameter \(\Theta \) (\(0\le \Theta \le \pi \)) is introduced by the reason of the axis limit [61]. It should be noted that the vector field \(\phi \) would point outward at the points with \(\Theta =0\) and \(\pi \) due to the divergence of the component \(\phi ^\Theta \) at these points. Using Duan’s \(\phi \)-mapping topological current [62, 63], we construct a conserved topological current \(j^{\mu }\) satisfying \(\partial _{\mu }j^{\mu }=0\) and given by

$$\begin{aligned} j^\mu =\frac{1}{2\pi }\epsilon ^{\mu \nu \rho }\epsilon _{ab}\frac{\partial n^a}{\partial y^\nu }\frac{\partial n^b}{\partial y^\rho }, \end{aligned}$$
(3)

where \(\epsilon ^{\mu \nu \rho }\) and \(\epsilon _{ab}\) are the totally anti-symmetric tensors, \(y^\nu =(\tau ,r_h,\Theta )\), and the unit vector \(n^a\) is defined by \(n^a=\phi ^a/||\phi ||\) with \(\phi ^a=(\phi ^{r_h},\phi ^\Theta )\) and \(||\phi ||\) denoted the norm of the vector \(\phi \). This topological current is only nonzero at the zero points where the vector field \(\phi \) vanishes. Interestingly, the zero points of the vector field \(\phi \) correspond to \(\Theta =\pi /2\) and \(\tau =T^{-1}\), where T is the black hole temperature. This means that each zero point would represent a black hole solution. For a i-th zero point \(z_i\) of the vector field \(\phi \), we can calculate the winding number \(\omega _{i}=\beta _i\eta _i\) where \(\beta _i\) counts the number of loops around \(z_i\) and \(\eta _i=\text {sign}(J^0|_{z_i})=\pm 1\) is the Brouwer degree with \(j^\mu \) to be the Jacobi tensor related to the topological current as \(j^\mu =\delta ^2(\phi )J^\mu (\phi /y)\). The winding numbers \(w_i\) reveal the local topological properties which are related to the aspect of thermodynamic stability: the positive/negative winding numbers correspond to the stable/unstable black holes [60]. These winding numbers can also be computed by determining the sign of the residues of a characterized complex function \(\mathcal {R}(z)\) which is constructed from the generalized free energy of the system [64]. The global topological winding number W is derived by summing the winding numbers of all black holes in the different branches as \(W=\int _\Sigma j^0d^2y=\sum ^N_{i=1}w_i\) where \(\Sigma \) refers to the loop containing the entire parameter space. Studying thermodynamic topological properties of the Schwarzschild, RN, and RN-AdS black holes, it was pointed out that the global topological number W can take three values \(-1\), 0, and 1.

The topological approach outlined above has recently received attention due to its simplicity in investigating the thermodynamic features of black holes. This approach was used to study the Hawking–Page phase transition of the Schwarzschild-AdS black hole and its holographic dual corresponding to the confinement-deconfinement transition [65]. Taking into account the quantum gravity corrections expressed by the presence of the higher-derivative terms, the topological classification of the thermodynamic phases and the corresponding phase transitions have been analyzed for black holes in Einstein–Gauss–Bonnet gravity [66, 67] and Lovelock gravity [68]. However, these cases are all static black holes. With respect to more realistic black holes or astronomical black holes, the topological approach was employed to study the thermodynamics of the rotating black holes [69, 70]. The results in these papers have supported the conjecture proposed by Ref. [60].

This paper is organized as follows. In Sect. 2, we briefly review the solution of the regular black string in the five-dimensional Einstein–Maxwell theory and its dimensional reduction on a circle. In Sect. 3, we investigate the topological thermodynamics of the regular black string from the external four-dimensional perspective corresponding to the Kaluza–Klein reduction along the compact fifth dimension. We use the Ruppeiner geometry approach in order to confirm the results obtained in Sect. 4 based on the generalized free energy. In Sect. 5, we study the effects of the dimensional number on the topological behavior of the thermodynamics of the dimensionally reduced regular black string. Finally, we make conclusions in Sect. 6.

2 Regular black string solution

In this section, we review the regular black string solution of the five-dimensional Einstein–Maxwell theory compactified on a circle \(S^1\) [44]. The action of this system is given by

$$\begin{aligned} S_{5D}=\int d^5X\sqrt{-g_5}\left( \frac{1}{2\kappa _{5}^{2}}R_5-\frac{1}{4}F_{MN}F^{MN}\right) , \end{aligned}$$
(4)

where \(\kappa _{5}\) is the five-dimensional gravitational coupling, \(R_5\) is the Ricci scalar, and \(F_{MN}=\partial _M A_N-\partial _N A_M\) is the field strength tensor of the Maxwell field \(A_M\). By varying the above action, we find the equations of motion as follows

$$\begin{aligned} R_{MN}-\frac{1}{2}R_5g_{MN}= & {} \kappa ^2_5\left[ F_{MP}{F_N}^P-\frac{g_{MN}}{4}F_{PQ}F^{PQ}\right] , \end{aligned}$$
(5)
$$\begin{aligned} \nabla _N F^{MN}= & {} 0. \end{aligned}$$
(6)

We find a solution of magnetic charge which is spherically symmetric and described by the following ansatz

$$\begin{aligned} ds^{2}_5= & {} -f_{S}(r)dt^{2}+f_{B}(r)dy^{2}+\frac{dr^{2}}{h(r)}\nonumber \\{} & {} +r^{2}\left( d\theta ^{2}+\sin ^{2}\theta d\phi ^{2}\right) ,\nonumber \\ F= & {} P\sin \theta d\theta \wedge d\phi , \end{aligned}$$
(7)

where y is the fifth compactified dimension that is periodic with a period \(2\pi R_y\) and P is a constant that is the magnetic charge of the system. By imposing the double Wick rotation [52, 53] given by \((t,y,r_h,r_b)\rightarrow (iy,it,r_{b},r_{h})\) (where the timeline Killing vector \(\partial _t\) and spacelike Killing vector \(\partial _y\) shrink at \(r_h\) and \(r_b\), respective) to be a symmetry of the solution, we find

$$\begin{aligned} f_{B}(r)= & {} 1-\frac{r_{b}}{r},\quad f_{S}(r)=1-\frac{r_{h}}{r}, \end{aligned}$$
(8)
$$\begin{aligned} h(r)= & {} f_{B}(r)f_{S}(r),\quad P=\pm \frac{1}{\kappa _{5}}\sqrt{\frac{3r_{b}r_{h}}{2}}. \end{aligned}$$
(9)

The solution has two coordinate singularities at \(r_h\) and \(r_b\). In the case o \(r_h>r_b\), the coordinate singularity \(r=r_h\) corresponds to an event horizon, whereas the coordinate singularity \(r=r_b\) that is hidden behind the event horizon corresponds to the end of spacetime as a smooth bubble \(S^2\) sitting at the apex of the cone in the two-dimensional Minkowski space \(\mathbb {R}^{1,1}\). This means that the black string solution would not have the region of the conventional curvature singularity and as a result, the solution leads to a regular black string. This can easily be seen in the causal structure of spacetime corresponding to the geometry of the regular black string as depicted in Fig. 1.

Fig. 1
figure 1

The Penrose diagram of the regular black string

In order to find the temperature and the Bekenstein–Hawking entropy of the regular black string, we study the near-horizon geometry in the Euclidean signature (obtained by the Wick rotation as \(t=it_E\)) which is given by

$$\begin{aligned} ds^2= & {} \frac{r_h-r_b}{4r^3_h}\rho ^2dt^2_E+d\rho ^2+\frac{r_h-r_b}{r_h}dy^2\nonumber \\{} & {} +r^2_h\left( d\theta ^{2}+\sin ^{2}\theta d\phi ^{2}\right) , \end{aligned}$$
(10)

where \(\rho \equiv 2\left[ (r-r_h)/(r_h-r_b)\right] ^{1/2}r_h\rightarrow 0\). The regularity of the near-horizon geometry at the origin (corresponding to \(r=r_h\)) implies the period as \(t_E\rightarrow t_E+\beta \) where \(\beta =1/T\) is the inverse temperature of the regular black string and given by

$$\begin{aligned} T=\frac{1}{4\pi r_{h}}\sqrt{1-\frac{r_{b}}{r_{h}}}. \end{aligned}$$
(11)

In addition, from the near-horizon geometry, it is easy to find a topology of the event horizon as \( S^{1}\times S^{2} \) whose radii are \(\sqrt{1-r_h/r_b}R_y\) and \(r_h\), respectively. Hence, we can compute the Bekenstein-Hawking entropy of the regular black string as

$$\begin{aligned} S=\frac{8\pi ^{2}}{\kappa _{4}^{2}}\sqrt{r_{h}^{3}(r_{h}-r_{b})}. \end{aligned}$$
(12)

Under the dimensional reduction on the circle, the black string is the solution of equations of motion corresponding to the following action of the Einstein–Maxwell-scalar theory

$$\begin{aligned} S_{4D}= & {} \int d^4x\sqrt{-g_4}\left( \frac{1}{2\kappa _{4}^{2}}R_4-\frac{3}{\kappa ^2_4}\partial _\mu \Phi \partial ^\mu \Phi \right. \nonumber \\{} & {} \left. -\frac{e^{-2\Phi }}{4e^2}F_{\mu \nu }F^{\mu \nu }\right) , \end{aligned}$$
(13)

where \(\kappa ^2_4=\kappa ^2_5/(2\pi R_y)\) and \(e^2=1/(2\pi R_y)\). This identification implies the expressions for the four-dimensional metric, Maxwell field, and dilaton as follows

$$\begin{aligned} e^{2\Phi }= & {} f^{1/2}_B,\nonumber \\ F= & {} \pm \frac{e}{\kappa _4}\sqrt{\frac{3r_{b}r_{h}}{2}}\sin \theta d\theta \wedge d\phi ,\nonumber \\ ds^2_{4}= & {} f^{1/2}_B\left( -f_Sdt^2+\frac{dr^2}{f_Bf_S}+r^2d\Omega ^2\right) . \end{aligned}$$
(14)

Then, from the four-dimensional viewpoint, we can determine the mass M and the magnetic charge Q of the black string as

$$\begin{aligned} M=2\pi \left( \frac{2r_{h}+r_{b}}{\kappa _{4}^{2}} \right) ,\quad Q=\sqrt{\frac{3r_{b}r_{h}}{2\kappa _{4}^{2}}}. \end{aligned}$$
(15)

We can rewrite M, S, and T as the functions of the horizon radius \(r_{h}\) and the magnetic charge Q as follows

$$\begin{aligned} M= & {} 4\pi \left( r_{h}+\frac{Q^{2}}{3r_{h}} \right) , \end{aligned}$$
(16)
$$\begin{aligned} S= & {} 8 \pi ^{2}r_{h}\sqrt{r_{h}^{2}-\frac{2Q^{2}}{3}}, \end{aligned}$$
(17)
$$\begin{aligned} T= & {} \frac{1}{4\pi r_{h}}\sqrt{1-\frac{16\pi }{3}\frac{Q^{2}}{r_{h}^{2}}}. \end{aligned}$$
(18)

For the sake of simplicity, we rescale the length dimension by substituting \(\kappa _{4}=1\) in the above equations. These thermodynamic quantities satisfy the first law of black string thermodynamics as follows

$$\begin{aligned} \delta M=T\delta S+\Phi \delta Q, \end{aligned}$$
(19)

where \(\Phi \) is the magnetic potential and M can be interpreted as the internal energy of the system.

3 Topological thermodynamics

In order to study the topological thermodynamics of the regular black string from the four-dimensional viewpoint, we first need to introduce the generalized free energy given as

$$\begin{aligned} \mathcal {F}= & {} M-\frac{S}{\tau }\nonumber \\= & {} 4\pi r_{h}+\frac{4\pi Q^{2}}{3r_{h}}-\frac{8\pi ^{2} r_{h}}{3\tau }\sqrt{9r_{h}^{2}-6Q^{2}}, \end{aligned}$$
(20)

where the ADM mass M and the Bekenstein-Hawking entropy S of the regular black string are given in Eqs. (16) and (17), respectively. Note that, if the parameter \(\tau \) is equal to the inverse of the Hawking temperature of the regular black string, then the generalized free energy is on-shell.

From the generalized free energy and following Eq. (2), we construct a vector field \(\phi \) whose components read

$$\begin{aligned} \phi ^{r_{h}}\equiv & {} \frac{\partial \mathcal {F}}{\partial r_{h}} \nonumber \\= & {} 4\pi (Q^{2}-3r_{h}^{2})\left( \frac{4\sqrt{3}\pi }{3\tau \sqrt{3r_{h}^{2}-2Q^{2}}}-\frac{1}{3r_{h}} \right) , \end{aligned}$$
(21)
$$\begin{aligned} \phi ^\Theta= & {} -\cot \Theta \csc \Theta . \end{aligned}$$
(22)

We observe that the zero points of the vector field \((\phi ^{r_{h}},\phi ^{\Theta })=(0,0)\) would correspond to the constraint \(\Theta =\pi /2\) and \(\tau =T^{-1}\) which represents the on-shell regular black string. In Fig. 2, we depict the unit vector \(n^a=(\phi ^{r_h}/||\phi ||,\phi ^\Theta /||\phi ||)\) with \(Q=1\) and \(\tau =7\pi \), where the norm of the vector \(\phi \) is defined as

$$\begin{aligned} ||\phi ||=\sqrt{(\phi ^{r_h})^2+(\phi ^\Theta )^2}. \end{aligned}$$
(23)
Fig. 2
figure 2

The black arrows represent the unit vector field on a \(r_{h}-\Theta \) plane. There are two zero points \(ZP_{1}\) and \(ZP_{2}\) at the coordinates \((0.99,\frac{\pi }{2})\) and \((1.44,\frac{\pi }{2})\), respectively. Two red closed loops \(C_{1}\) and \(C_{2}\) enclose \(ZP_{1}\) and \(ZP_{2}\), respectively

We observe that there are two zero points \(ZP_{1}\) and \(ZP_{2}\) located at the coordinates \((0.99,\frac{\pi }{2})\) and \((1.44,\frac{\pi }{2})\), respectively. By calculating the Brouwer degree \(\text {sign}(J^{0}(\phi /y))\), we can determine the winding numbers \(\omega \) for these zero points. According to the definition of the vector field \(\phi \), we evaluate the Brouwer degree as follows

$$\begin{aligned} \text {sign}(J^0|_{z_i})= & {} \text {sign}\left( \partial _{r_h}\phi ^{r_h}\partial _{\Theta }\phi ^{\Theta }|_{z_i}\right) \nonumber \\= & {} \text {sign}\left[ \frac{8\pi }{3r_{h}^{3}}\left( 1-\frac{18\sqrt{3}\pi r_{h}^{4}(r_{h}^{2}-1)}{(3r_{h}^{2}-2)^{3/2}\tau }\right) \right. \nonumber \\{} & {} \left. \csc \Theta (\cot ^{2}\Theta +\csc ^{2}\Theta )|_{z_i}\right] . \end{aligned}$$
(24)

Then, it is easy to find \( \omega _{1}=1 \) and \( \omega _{2}=-1 \) for \( ZP_{1} \) and \( ZP_{2} \), respectively. The global topological number of the dimensionally reduced regular black string thus is \(W=0\) which is similar to the RN black hole [60].

The zero points \(ZP_{1}\) and \(ZP_{2}\) would correspond to the stable and unstable black holes, respectively, as conjectured in [60]. In order to confirm this implication of winding numbers on the stability of the dimensionally reduced regular black string, we study the behavior of the heat capacity evaluated at a fixed charge Q. The heat capacity \(C_Q\) can indicate the thermodynamic stability and the potential occurrence of second-order phase transitions in the thermodynamic system. More specifically, the positive heat capacity corresponds to a stable black string, whereas the negative heat capacity signifies an unstable black string. In addition, the divergences of the heat capacity imply the second-order phase transitions. In our case, the heat capacity of the dimensionally reduced regular black string at a fixed charge Q is given as follows

$$\begin{aligned} C_{Q}\equiv & {} T\left( \frac{\partial S}{\partial T} \right) _{Q} =\left( \frac{\partial M}{\partial r_{h}} \right) _{Q}\left( \frac{\partial T}{\partial r_{h}} \right) _{Q}^{-1}\nonumber \\= & {} \frac{16\pi ^{2}r_{h}^{2}\left( 3r_{h}^{2}-Q^{2} \right) }{4Q^{2}-3r_{h}^{2}}\sqrt{1-\frac{2Q^{2}}{3r_{h}^{2}}}. \end{aligned}$$
(25)

One finds that the heat capacities \(C_{Q}\) at the zero points \( ZP_{1} \) and \( ZP_{2} \) which correspond to the positive and negative winding numbers are approximately 160.26 and \(-\) 634.08, respectively. The properties of the heat capacity lead us to infer that the positive (negative) winding number represents a stable (unstable) regular black string. In particular, we observe that the heat capacity \(C_Q\) diverges at the critical horizon radius \(r_c=\sqrt{4/3}\), which indicates the presence of a second-order phase transition point. This shows the fact that the unstable regular black string would decay to the stable one which is more thermodynamically favored. We depict the behavior of the heat capacities \(C_{Q}\) in Fig. 3 which shows that the heat capacity for the small black strings (\(r_h<r_c\)) is positive, whereas the large black strings (\(r_h>r_c\)) takes the negative values.

Fig. 3
figure 3

The heat capacity \(C_{Q}\) as a function of \(r_{h}\) which is positive if \(r_{h}<\sqrt{4/3}\) and negative if \(r_{h}>\sqrt{4/3}\). The vertical line represents the location \(r_{h}=\sqrt{4/3}\) corresponding to a second-order phase transition

The collection of zero points in the \(r_{h}-\tau \) plane is represented by a red curve as illustrated in Fig. 4. This curve is divided into two branches by a (blue) critical point \((r_c,\tau _c)=(\sqrt{4/3},\sqrt{128\pi ^2/3})\). The upper branch corresponds to the large black strings with the winding number \(-1\), while the lower branch corresponds to the small black strings with the winding number 1. Notably, at this critical point, we find that \(\frac{d^{2}\tau }{dr_{h}^{2}}=8\sqrt{6}\pi >0\), indicating that it serves as a generation point for the appearance of new phase [60]. This demonstrates that the unstable phase would undergo a thermodynamic decay to the stable phase at the second-order phase transition point which can be confirmed by the behavior of the heat capacity \(C_Q\).

Fig. 4
figure 4

Locus of zero points is shown in the \(r_{h}-\tau \) plane. The blue dot \((r_c,\tau _c)=(\sqrt{4/3},\sqrt{128\pi ^2/3})\) divides this locus into two branches: the upper branch has the winding number \(-1\) and the lower one has the winding number 1

In order to validate the previous results, we can examine the behavior of the generalized free energy. We investigate the relationship between the generalized free energy \(\mathcal {F}\) and the horizon radius \(r_{h}\) at various temperature values represented by \(\tau ^{-1}\), as depicted in Fig. 5. The extremal points are obtained by setting the derivative of \(\mathcal {F}\) with respect to \(r_{h}\) to be equal to zero, which has an interpretation as the existence of regular black strings. Consequently, these points are determined by the following equation

$$\begin{aligned} -4\pi r_{h}^{2}\sqrt{9r_{h}^{2}-6}+(3r_{h}^{2}-2)\tau =0. \end{aligned}$$
(26)
Fig. 5
figure 5

The generalized free energy \(\mathcal {F}\) as a function of \(r_{h}\) for various black string states under different values of the temperature \(T=\tau ^{-1}\)

If \(\tau ^{-1}<\tau _{c}^{-1}\), this equation has two solutions given by

$$\begin{aligned} r_{s}= & {} \frac{\sqrt{3\tau ^2-\sqrt{9\tau ^4-384\pi ^2\tau ^2}}}{4\sqrt{6}\pi },\nonumber \\ r_{l}= & {} \frac{\sqrt{3\tau ^2+\sqrt{9\tau ^4-384\pi ^2\tau ^2}}}{4\sqrt{6}\pi }. \end{aligned}$$
(27)

which correspond to the small and large black strings, respectively. We observe that the generalized free energy exhibits a local minimum at \(r_{h}=r_{s}\), indicating the presence of a stable black string. Whereas, a global maximum appears at \(r_{h}=r_{l}\), corresponding to an unstable black string. As depicted in Fig. 6, the behavior of the on-shell free energy in terms of the temperature reveals a swallowtail structure that shows an abrupt change in the on-shell free energy crossing \(T_c=\sqrt{3/128\pi ^{2}}\). This behavior signifies the occurrence of the second-order phase transition between the small and large black strings. Additionally, if \(\tau ^{-1}>\tau _{c}^{-1}\), the Eq. (26) has no solution, suggesting the absence of a black string state. We find that as \(\tau ^{-1}\) decreases towards the value of \(\tau _c\), the two extremal points will gradually merge. As a result, the critical temperature for the phase transition point is determined by the equality of \(r_{s}\) and \(r_{l}\). This condition gives us the critical temperature given by \(T_c=\sqrt{3/128\pi ^{2}}\).

Fig. 6
figure 6

The on-shell free energy G for the dimensionally reduced regular black string versus its temperature T. The blue and red curves refer to the stable and unstable phases, respectively

4 Thermodynamic geometry of regular black string

Besides the traditional thermodynamics method, we can use the Riemannian geometry on the space of states to study the thermodynamic system near critical points where the classical fluctuation theory fails due to taking into account the local correlations. The curvature of the geometry on the space of states is connected to the interactions of the underlying constituents of the thermodynamic system. This curvature is zero for the case of the ideal thermodynamic system corresponding to the non-interaction system. In this sense, the thermodynamic fluctuations are entered in the curvature of the geometry on the space of states and hence one believes that the geometry can reveal some critical properties of the thermodynamic system. Considering the internal energy as a function of the extensive variables, Weinhold constructed a Riemannian metric endowed on the state space as follows [71]

$$\begin{aligned} g_{ij}^{W}\equiv \frac{\partial ^{2} U}{\partial X^{i} \partial X^{j}}, \end{aligned}$$
(28)

where U is the internal energy and \(X^{i}\) are the extensive variables of the thermodynamic system. Using another geometrical metric in thermodynamic fluctuation theory related to the second derivatives of the entropy function, Ruppeiner introduced a new metric as [72, 73]

$$\begin{aligned} g_{ij}^{R}\equiv -\frac{\partial ^{2} S}{\partial X^{i} \partial X^{j}}, \end{aligned}$$
(29)

where S is the entropy function of the thermodynamic system. Although the two metrics are different, the line elements in the Weinhold and Ruppeiner geometries are conformally related by [74, 75]

$$\begin{aligned} ds_{R}^{2}=\frac{1}{T} ds_{W}^{2}, \end{aligned}$$
(30)

where T is the temperature of the thermodynamic system. As a result, the Eqs. (28) and (30) are usually used to calculate the Ruppeiner metric \(g_{ij}^{R}\) of black holes for the sake of simplicity.

Now let us calculate the scalar curvature of the thermodynamic space of the dimensionally reduced regular black string and find its singularities to confirm the phase transition point obtained previously. Considering the AMD mass M of the dimensionally reduced regular black string as a function of the entropy S and the charge Q, we define \(\bar{M}(S,\Phi )\) as a new conjugate potential of M(SQ) by the following Legendre transformation

$$\begin{aligned} \bar{M}(S,\Phi )=M(S,Q)-\Phi Q. \end{aligned}$$
(31)

The first law of thermodynamics of the dimensionally reduced regular black string is written as follows

$$\begin{aligned} d\bar{M}=TdS-Qd\Phi . \end{aligned}$$
(32)

From this first law, we derive the Maxwell relation as

$$\begin{aligned} \left( \frac{\partial T}{\partial \Phi } \right) _{S}=-\left( \frac{\partial Q}{\partial S}\right) _{\Phi }. \end{aligned}$$
(33)

In the state space defined by the thermodynamic quantities \((S,\Phi )\), the components of the Ruppeiner metric are given by

$$\begin{aligned} \bar{g}_{SS}^{R}= & {} \frac{1}{T}\frac{\partial ^{2}\bar{M}}{\partial ^{2}S}=\frac{1}{T}\frac{\partial }{\partial S}\left( \frac{\partial \bar{M}}{\partial S} \right) _{\Phi }= \frac{1}{T}\left( \frac{\partial T}{\partial S} \right) _{\Phi }, \end{aligned}$$
(34)
$$\begin{aligned} \bar{g}_{S\Phi }^{R}= & {} \bar{g}_{\Phi S}^{R}=\frac{1}{T}\frac{\partial ^{2}\bar{M}}{\partial \Phi \partial S}=\frac{1}{T}\frac{\partial }{\partial \Phi }\left( \frac{\partial \bar{M}}{\partial S}\right) _{\Phi }\nonumber \\= & {} \frac{1}{T}\left( \frac{\partial T}{\partial \Phi } \right) _{S} =-\frac{1}{T}\left( \frac{\partial Q}{\partial S} \right) _{\Phi }, \end{aligned}$$
(35)
$$\begin{aligned} \bar{g}_{\Phi \Phi }^{R}= & {} \frac{1}{T}\frac{\partial ^{2}\bar{M}}{\partial ^{2}\Phi }=\frac{1}{T}\frac{\partial }{\partial \Phi }\left( \frac{\partial \bar{M}}{\partial \Phi } \right) _{S}= -\frac{1}{T}\left( \frac{\partial Q}{\partial \Phi }\right) _{S}. \end{aligned}$$
(36)

Then, we can calculate the components of the Ruppeiner metric endowed on the state space of the dimensionally reduced regular black string as follows

$$\begin{aligned} \bar{g}_{SS}^{R}= & {} -\frac{1}{2S}, \end{aligned}$$
(37)
$$\begin{aligned} \bar{g}_{S\Phi }^{R}= & {} \bar{g}_{\Phi S}^{R}=-\frac{3\Phi }{2(24\pi ^2-\Phi ^{2})}, \end{aligned}$$
(38)
$$\begin{aligned} \bar{g}_{\Phi \Phi }^{R}= & {} \frac{3S(-48\pi ^2+\Phi ^{2})}{2(24\pi ^2-\Phi ^{2})^{2}}. \end{aligned}$$
(39)

Accordingly, it is easy to find the scalar curvature as

$$\begin{aligned} R=-\frac{6\pi ^2(24\pi ^2-\Phi ^{2})}{S(12\pi ^2-\Phi ^{2})^{2}}. \end{aligned}$$
(40)

Alternatively, we can express the scalar curvature as a function of the horizon radius \(r_{h}\) and the charge Q as

$$\begin{aligned} R=-\frac{3\sqrt{-6 Q^{2}r_{h}^{2}+9r_{h}^{4}}}{8\pi ^2\left( -4 Q^{2}+3r_{h}^{2}\right) ^{2} }. \end{aligned}$$
(41)
Fig. 7
figure 7

The Ruppeiner scalar curvature R in terms of \(r_{h}\). The black vertical line represents the location \(r_{h}=\sqrt{4/3}\)

With setting the charge \(Q=1\) corresponding to the scale \(r_h\rightarrow r_h/Q\) and \(R\rightarrow Q^2R\), the Ruppeiner scalar curvature can be considered as a function of \(r_{h}\) and its behavior is sketched in Fig. 7. We observe that the Ruppeiner scalar curvature diverges at \(r_{c}=\sqrt{4/3}\) where the heat capacity \(C_{Q}\) is too. Therefore, this result confirms the thermodynamic instability of the dimensionally reduced regular black string corresponding to the presence of the stable and unstable phases (as indicated by the investigation of the topological thermodynamics) leading to the second-order phase transition between them.

In addition, the scalar curvature R is a measure of the fluctuations in the thermodynamic system caused by the presence of the interactions. From Fig. 7, we see that the scalar curvature of the state space for the dimensionally reduced regular black string is always negative. This means that the microstructures of the dimensionally reduced regular black string should only the attractive interactions.

5 The topological thermodynamics in higher dimensions

It is interesting to determine the influence of the dimensional number on the topological thermodynamics of the regular black string reduced dimensionally on the circle. We can generalize the five-dimensional black string to the higher-dimensional case which is a solution of the (\(D+1\))-dimensional Einstein-Maxwell theory (with \(D>4\)) compactified on the circle \(S^1\) with respect to the double Wick rotation symmetry [44]. The line element and (\(D-2\))-form field strength are given by

$$\begin{aligned} ds^{2}_{D+1}= & {} -f_{S}(r)dt^{2}+f_{B}(r)dy^{2}+\frac{dr^{2}}{h(r)}+r^{2}d\Omega _{D-2}^{2},\nonumber \\ F= & {} PdV_{S^{D-2}}, \end{aligned}$$
(42)

where

$$\begin{aligned} f_{B}(r)= & {} 1-\left( \frac{r_{b}}{r}\right) ^{D-3},\quad f_{S}(r)=1-\left( \frac{r_{h}}{r}\right) ^{D-3},\nonumber \\ h(r)= & {} f_{B}(r)f_{S}(r), \end{aligned}$$
(43)

\(d\Omega _{D-2}^{2}\) and \(dV_{S^{D-2}}\) refer to the line element and the volume form of unit (\(D-2\))-sphere, respectively, and P is the magnetic charge of the regular black string. The horizons of the regular black strings have a \(S^{D-2}\times S^{1}\) topology.

The dimensional reduction of the regular black strings on the circle leads to a solution of the D-dimensional Einstein–Maxwell-dilaton whose mass M and magnetic charge Q are given as follows

$$\begin{aligned} M= & {} \frac{\pi ^{\frac{D-1}{2}}}{\Gamma \left( \frac{D-1}{2} \right) }\left[ (D-2)r_{h}^{D-3}+r_{b}^{D-3} \right] , \end{aligned}$$
(44)
$$\begin{aligned} Q= & {} \frac{(D-3)(D-1)r_{h}^{D-3}r_{b}^{D-3}}{2}. \end{aligned}$$
(45)

Note that, we have here set \(\kappa _{D}=1\). The corresponding Bekenstein–Hawking entropy and the temperature are determined as follows

$$\begin{aligned} S= & {} \frac{4\pi ^{\frac{D+1}{2}}}{\Gamma \left( \frac{D-1}{2} \right) }\left[ r_{h}^{D-1}(r_{h}^{D-3}-r_{b}^{D-3}) \right] ^{\frac{1}{2}}, \end{aligned}$$
(46)
$$\begin{aligned} T= & {} \frac{D-3}{4\pi r_{h}} \sqrt{1-\left( \frac{r_{b}}{r_{h}} \right) ^{D-3} }. \end{aligned}$$
(47)

In order to study the topological thermodynamics of the above solution, we construct the generalized free energy as follows

$$\begin{aligned} \mathcal {F}= & {} M-\frac{S}{\tau }\nonumber \\= & {} \frac{\pi ^{\frac{D-1}{2}}}{\Gamma \left( \frac{D-1}{2}\right) }\left[ \frac{-4\pi }{\tau } \sqrt{r_{h}^{2D-4}-\frac{2r_{h}^{2}}{3-4D+D^2}}\right. \nonumber \\{} & {} \left. +\frac{2r_{h}^{3-D}}{3-4D+D^2}+(D-2)r_{h}^{D-3}\right] . \end{aligned}$$
(48)

The zero points of the vector field \((\phi ^{r_{h}},\phi ^{\Theta })\) correspond to \(\Theta =\pi /2\) and the values of \(r_{h}\) satisfying the extremal condition \(\frac{\partial \mathcal {F}}{\partial r_h}=0\) leading to the following equation

$$\begin{aligned} 4\pi r_{h}^{D}+(3-D)\left( r_{h}\sqrt{r_{h}^{2D-4}-\frac{2r_{h}^{2}}{3-4D+D^{2}}}\right) \tau =0.\nonumber \\ \end{aligned}$$
(49)
Fig. 8
figure 8

Locus of zero points shown in the \(r_{h}-\tau \) plane for higher-dimensional black strings

By solving this equation, we can find the behavior of the event horizon in terms of \(\tau \) at the zero points depending on the dimensional number. In Fig. 8, we show this behavior in the \((\tau ,r_{h})\) plane for the cases of \(D=5\), 6, 7, and 8. Similar to the five-dimensional black string, these curves exhibit two branches representing the small and large phases, respectively, and possess a distinctive phase transition point. It means that the thermodynamic topology of the higher-dimensional regular black strings is the same as the five-dimensional case, which is characterized by the local winding numbers of 1 and \(-1\). The coordinates of the phase transition points are denoted by \((\tau _{c}, r_{c})\) determined by the following relations

$$\begin{aligned} \tau _{c}= & {} 4\pi \sqrt{\frac{D-1}{D-3}}\frac{r_{c}^{D-1}}{\sqrt{(D-1)(D-3)r_{c}^{2D-4}-2r_{c}^{2}}}, \end{aligned}$$
(50)
$$\begin{aligned} r_{c}= & {} \left( \frac{D^{2}-4D+3}{2D-4} \right) ^{\frac{1}{6-2D}}. \end{aligned}$$
(51)

The behavior of \(\tau _c\) in terms of the dimensional number can be seen in Fig. 8: \(\tau _c\) monotonically decreases with the growth of the dimensional number. Whereas, the behavior of \(r_c\) is depicted in Fig. 9. We observe that the critical radius behaves as a monotonically decreasing function of the dimensional number D for the region of sufficiently small D but it should monotonically increase with the growth of the dimensional number for the region of sufficiently large D. This point that changes this behavior of \(r_c\) corresponds to \(D=7\).

Fig. 9
figure 9

The critical horizon \(r_c\) of the higher-dimensional regular black strings as a function of the dimensional number D

We can confirm the thermodynamically stable and unstable phases of the higher-dimensional regular black strings found by the topological method and the corresponding phase transition by investigating heat capacity at a fixed magnetic charge, given by

$$\begin{aligned} C_{Q}= & {} -\frac{4\pi ^{\frac{1+D}{2}}}{\Gamma \left( \frac{D-1}{2} \right) }\frac{(D-1)(D-2)(D-3)r_{h}^{2D}-2Q^{2}r_{h}^{6}}{(D-1)(D-3)r_{h}^{2D}-2(D-2)Q^{2}r_{h}^{6}}r_{h}^{D-2}\nonumber \\{} & {} \times \sqrt{1-\frac{2Q^{2}r_{h}^{6-D}}{3-4D+D^{2}}}. \end{aligned}$$
(52)
Fig. 10
figure 10

The heat capacity \(C_{Q}\) as a function of \(r_{h}\) for the higher-dimensional black strings with various values of the dimensional number

As shown in Fig. 10, the heat capacity \(C_{Q}\) of the higher-dimensional regular black strings exhibits thermodynamically stable and unstable phases corresponding to the positive and negative values of \(C_Q\). Furthermore, the heat capacity \(C_{Q}\) is divergent at \(r_c\) and as a result, there is a second-order phase transition between the higher-dimensional regular black strings that correspond to the local winding numbers of 1 and \(-1\).

6 Conclusion

In this paper, we employ the topology method to investigate the general thermodynamic characteristics of regular black strings from the dimensional reduction perspective on a circle. Our results indicate that the dimensionally reduced regular black strings can be characterized by the local winding numbers that are 1 and \(-1\) corresponding to the thermodynamic stability and the thermodynamic instability, respectively. The global winding number which is a sum of the local winding numbers is equal to zero in analogy to the Reissner–Nordström (RN) black hole. Furthermore, we confirm the topological classification for the phase structure of the dimensionally reduced regular black strings and its topological indication for the phase transition by studying the heat capacity at a fixed magnetic charge. The behavior of the heat capacity reveals that the zero point having a positive(negative) winding number corresponds to a positive(negative) heat capacity. This outcome validates the conjecture postulating that the zero point characterized by a positive(negative) winding number corresponds to a thermodynamic stable(unstable) black hole. Furthermore, the identification of the locus of topological defects in the parameter space defined by \((\tau ,r_h)\) exhibits a generation point associated with a second-order phase transition corresponding to the divergence of the heat capacity.

In addition, in order to validate the results of the topological approach, we study the free energy of the dimensionally reduced regular black strings to find the thermodynamically stable and unstable phases and the phase transition between them. By examining the generalized free energy as a function of the horizon radius, we find two critical points which are the local minimum and maximum points of the generalized free energy for the case of \(\tau ^{-1}<\sqrt{3/128\pi ^{2}}\). The local minimum(maximum) point of the generalized free energy corresponds to the thermodynamically stable(unstable) phase of the dimensionally reduced regular black strings. This result is completely compatible with the topological indication for the thermodynamic phases of the dimensionally reduced regular black strings. Also, we study the on-shell free energy in terms of the temperature, which exhibits a distinctive discontinuity at a specific temperature value \(T=\sqrt{3/128\pi ^{2}}\). This abrupt change in the on-shell free energy suggests the presence of a second-order phase transition between the small and large regular black strings.

The topological approach is also confirmed by the investigation of the Ruppeiner scalar curvature on the geometry of the state space of the dimensionally reduced regular black strings. The Ruppeiner scalar curvature is divergent at \(r_{c}=\sqrt{4/3}\) where the heat capacity is too. Hence, it indicates a thermodynamic instability of the dimensionally reduced regular black string corresponding to a phase transition between the thermodynamically stable and unstable phases. The fact that the Ruppeiner scalar curvature of the dimensionally reduced regular black strings is always negative suggests that the interactions among their microstructures are only attractive.