1 Introduction

Inhomogeneous cosmological models are an important tool for investigating the foundational assumptions that go into the standard model of cosmology. One such assumption is that all space–times that are statistically homogeneous and isotropic on large scales should evolve in precisely the same way as the perfectly homogeneous and isotropic Friedmann–Lemaître–Robertson–Walker (FLRW) solutions of Einstein’s equations. However, it has never been proven that this assumption should be true under general circumstances, and there are in fact good reasons to question its veracity. This is because averaging and evolution operations do not commute in Einstein’s theory, which opens the possibility that small-scale inhomogeneities could affect the large-scale dynamics of the Universe [1,2,3]. Inhomogeneous cosmologies that do not rely on averaging are ideal for investigating this backreaction question, and in this paper we will extend a class of such models to include massive bodies with electric charge.

The black hole lattice models that we will be considering here have stimulated a good degree of interest over recent years, having been the subject of investigation by a number of different research groups [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]. Many of these works build on the pioneering studies performed in refs. [31] and [32], which provided the Misner initial data for N black holes in asymptotically flat spaces. Some of these approaches have relied on approximation schemes [4,5,6,7,8,9,10,11,12,13,14,15], while others use the methods of numerical relativity [23,24,25,26,27,28,29,30]. Most of them have considered vacuum solutions of Einstein’s equations, but some have involved generalisations that include a non-zero cosmological constant [11, 14, 21, 30] and the inclusion of matter modelled as radiation and a scalar field [11, 22]. In this paper we focus on including electric charge, so that Reissner–Nordström-like black holes [33], or other types of charged astrophysical bodies [34], can be included in cosmology. As far as we are aware, this is the first treatment of cosmological backreaction in the presence of non-zero electric charges.

There are several motivations for including electric charge in these models. The first is that it offers a generalisation of existing models, analogous to the generalisation from Schwarzschild to Reissner–Nordström in the study of static black holes. This should be expected to give new mathematical and physical insights into the nature of these inhomogeneous cosmologies. Moreover, in an FLRW universe the homogeneity of space forbids regions of charged spacetime by definition. There is also relatively little known about the cosmological consequences of electric charge in inhomogeneous models. It therefore remains a somewhat open question as to what the effects of allowing electric charge in cosmology should be in general. The lattice models studied in refs. [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30] allow us the opportunity to study this problem in a well-defined and precise way. Moreover, this work offers the opportunity to generalise the well-known Majumdar–Papapetrou and Kastor–Traschen solutions for multiple extremal black holes with \(\vert q \vert = m\) [35,36,37] to the case where the black holes have \(\vert q \vert \ne m\). Finally, the inclusion of electric charge offers a way to break the discrete rotational symmetries that might otherwise exist within these lattice cosmologies, as we find that the black holes must necessarily contain non-identical charges.

This rest of this paper is organised as follows: in Sect. 2 we review the Einstein–Maxwell constraint equations on a time-symmetric hypersurface. Then in Sect. 3 we derive initial data for a cosmological model that contains electrically charged black holes. The example of a universe that contains eight black holes is considered in Sect. 4, which we then compare with a Friedmann cosmology before calculating the apparent horizons of the black holes. Finally we conclude in Sect. 5. We find that as the magnitude of the electric charge is increased, the discrepancy between the uncharged lattice models and the corresponding FLRW solutions reduces, and that the horizon size of each black hole decreases. Throughout this paper we adopt geometrised units where \(8 \pi G = c= 1\).

2 Geometrostatics with an electric field

The Einstein–Maxwell equations that govern electromagnetic fields in the presence of gravitation are given by

$$\begin{aligned} R^\mu _{\phantom {\mu } \nu }-\frac{1}{2} \delta ^\mu _{\phantom {\mu }\nu } R = \frac{1}{2} \left( F_{\nu \alpha }F^{\alpha \mu }-\frac{1}{4}\delta ^\mu _{\phantom {\mu }\nu } F_{\alpha \beta }F^{\alpha \beta } \right) \equiv T^\mu _{\phantom {\mu } \nu }, \end{aligned}$$
(1)

where \(R_{\mu \nu }\) is the Ricci tensor, and R is the Ricci scalar. The Faraday tensor is denoted by \(F_{\mu \nu }\), and obeys the following differential relations:

$$\begin{aligned} F^{\mu \nu }_{\phantom {\mu \nu };\nu } = 0 \qquad \mathrm{and} \qquad F_{[\mu \nu ; \alpha ]}=0, \end{aligned}$$
(2)

where the indices \(\mu ,\nu , \ldots \) run from 0 to 3. It is these equations that we wish to solve, to obtain the geometry of a universe that contains N electrically-charged black holes.

To find the relevant initial data for this system, we start by choosing a space-like hypersurface with metric \(\gamma _{ij}\) and normal \(u^{\mu }\), where \(i, j,\ldots \) run from 1 to 3. The four constraints from Eq. (1) can then be found to be

$$\begin{aligned} R^{(3)}+K^2-K_{ij}K^{ij}= & {} 2 \rho \, \end{aligned}$$
(3)
$$\begin{aligned} \left( K^j_{\phantom {j} i}-\delta ^j_{\phantom {j} i} K \right) _{: j}= & {} q_i , \end{aligned}$$
(4)

where \(R^{(3)}\) is the Ricci curvature scalar of the intial 3-dimensional space, \(K_{ij}\) is the extrinsic curvature of this 3-space in the 4-dimensional space–time, and where

$$\begin{aligned} \rho \equiv T_{\mu \nu } u^{\mu } u^{\nu } \qquad \mathrm{and} \qquad q_i \equiv - \delta ^j_{\phantom {j} i} u^{\mu } T_{\mu j} \end{aligned}$$

are the energy and momentum densities, respectively. All indices in these expressions should be understood to be raised and lowered with the metric of the 3-space \(\gamma _{ij}\), and the covariant derivative symbolized with a colon is with respect to \(\gamma _{ij}\).

If our initial hypersurface and matter fields are time-symmetric then we immediately have \(K_{ij}=0\), while \(F_{i \mu } = - E_i u_{\mu }\) and \(F_{ij}=0\). This means that \(\rho = E_i E^i\) and \(q_i=0\), so that the energy constraint Eq. (3) becomes

$$\begin{aligned} R^{(3)} = 2 E_i E^i \end{aligned}$$
(5)

and the momentum constraint Eq. (4) is identically satisfied. Simultaneously, the differential relations from Eq. (2) imply

$$\begin{aligned} E^i_{\phantom {i} : i} =0. \end{aligned}$$
(6)

If Eqs. (5) and (6) are both satisfied, then we have a solution to the constraint equations. This provides the initial data for a unique evolution under the six remaining Einstein–Maxwell equations in (1) and the three evolution equations in (2) [38].

Let us now make the following ansätze: firstly, let us write the metric as

$$\begin{aligned} ds^2= \chi ^2 \psi ^2 h_{ij} dx^i dx^j, \end{aligned}$$
(7)

where \(\psi \) and \(\chi \) are functions of all spatial coordinates, and where \(h_{ij}\) is the metric of a conformal 3-dimensional space of curvature \(\mathcal {R}= \,\,\, \)constant. Secondly, let us choose, as in [31],

$$\begin{aligned} E_i = \left[ \ln \left( \chi / \psi \right) \right] _{, i}. \end{aligned}$$
(8)

The time-symmetric constraint Eqs. (5) and (6) then become

$$\begin{aligned} \bar{\nabla }^2 \chi = \frac{\mathcal {R}}{8} \chi \qquad \mathrm{and} \qquad \bar{\nabla }^2 \psi = \frac{\mathcal {R}}{8} \psi , \end{aligned}$$
(9)

where \(\bar{\nabla }^2\) indicates a covariant Laplacian with respect to the metric \(h_{ij}\). These are two copies of Helmholtz equation, for the two functions \(\chi \) and \(\psi \). The solutions to this equation are well known, and it can be seen that \(E_i \ne 0\) as long as \(\chi \) and \(\psi \) are not directly proportional. The reader may note that for periodic lattices of black holes the equations in (9) can have positive energy solutions only if \(\mathcal {R}\) is positive (see [23] for proof).

3 A universe full of charged black holes

To find cosmologically interesting configurations of black holes, it is convenient to choose \(h_{ij}\) to be the metric of a 3-sphere:

$$\begin{aligned} d\bar{s}^2 = h_{ij} dx^i dx^j = d r^2 + \sin ^2 r \left( d\theta ^2 + \sin ^2 \theta \, d\phi ^2\right) , \end{aligned}$$
(10)

so that \(\mathcal {R}=6\). By noting that Eq. (9) are both linear, and by recognising that \(f\propto 1/\sin (r/2)\) is a solution, it can be seen that we can write solutions to these equations as follows:

$$\begin{aligned} \chi= & {} \sum _{i=1}^{N}\frac{c_i}{2\sin ({r_i}/{2})},\end{aligned}$$
(11)
$$\begin{aligned} \psi= & {} \sum _{i=1}^{N}\frac{d_i}{2\sin ({r_i}/{2})}, \end{aligned}$$
(12)

where i runs from 1 to N, and where \(c_i\) and \(d_i\) are two sets of N constants (yet to be determined). These solutions contain N poles on the conformal 3-sphere, located at arbitrarily chosen locations, and the symbol \(r_i\) is intended to denote the value of the r coordinate after rotating the sphere so that the ith pole is located at \(r_i=0\). Each of these poles will correspond to an electrically-charged mass point, at the centre of a black hole in a cosmological model.

3.1 A slice through Reissner–Nordström

In principle, Eqs. (11) and (12) represent exact initial data for N electrically charged black holes in a hyperspherical cosmology. In practise, we must relate the constants \(c_i\) and \(d_i\) to the charge and mass of each of the black holes, in order for the geometry to be fully specified. To make this connection, it is useful to recall that the Reissner–Nordström solution with mass m and charge q can be written as

$$\begin{aligned} ds^2=-\left( 1-\frac{2m}{\sigma }+\frac{q^2}{\sigma ^2} \right) dt^2+\frac{d\sigma ^2}{\left( 1-\frac{2m}{\sigma }+\frac{q^2}{\sigma ^2} \right) } +\sigma ^2 \left( d\theta ^2+\sin ^2\theta d\phi ^2 \right) .\qquad \end{aligned}$$
(13)

By making the transformation

$$\begin{aligned} \sigma =\rho \left( 1+\frac{m}{2 \rho } \right) ^2- \frac{q^2}{4 \rho } \, , \end{aligned}$$
(14)

we can therefore write a time-symmetric slice of the metric from Eq. (13) as

$$\begin{aligned} ds^2= \left( 1+\frac{m-q}{2\rho } \right) ^2 \left( 1+\frac{m+q}{2\rho } \right) ^2 \left( d\rho ^2+\rho ^2d\theta ^2+\rho ^2\sin ^2\theta d\phi ^2 \right) . \end{aligned}$$
(15)

A further transformation, to cast this metric in the form of Eqs. (7), (11) and (12), is given by \(\rho =k\tan ({r}/{2})\), where k is a constant. This transforms the conformal 3-space from a plane to a sphere, and results in

$$\begin{aligned} ds^2=\frac{k^2}{4} \left( \frac{1}{\cos ({r}/{2})}+\frac{m-q}{2k \sin ({r}/{2})} \right) ^2 \left( \frac{1}{\cos ({r}/{2})}+\frac{m+q}{2k\sin ({r}/{2})} \right) ^2d\bar{s}^2, \end{aligned}$$
(16)

where \(d\bar{s}^2\) is the line-element on a 3-sphere, as given in Eq. (10). Finally, if we choose \(2 k = \sqrt{m-q}\sqrt{m+q}\), then we get

$$\begin{aligned} ds^2= \left( \frac{\sqrt{m+q}}{2\sin ({r}/{2})}+ \frac{\sqrt{m-q}}{2\cos ({r}/{2})} \right) ^2 \left( \frac{\sqrt{m-q}}{2\sin ({r}/{2})}+\frac{\sqrt{m+q}}{2\cos ({r}/{2})} \right) ^2 d\bar{s}^2. \end{aligned}$$
(17)

This result is of exactly the form that we would have obtained from considering Eqs. (7), (11) and (12) with one mass positioned at \(r=0\) and a second mass positioned at \(r=\pi \). If we further choose \(c_1=d_2=\sqrt{m+q}\) and \(c_2=d_1=\sqrt{m-q}\) then the two geometries are formally identical. This means that the time-symmetric initial data for the Reissner–Nordström solution can be considered as a special case of our more general intial data, with one mass of charge \(+q\) at \(r=0\) and a second mass of charge \(-q\) at \(r=\pi \).

3.2 N arbitrarily positioned, charged black holes

Let us now consider the general case, where N masses are positioned at arbitrarily chosen locations. In the vicinity of a mass point, and by using Eq. (16), we can relate \(c_i\) and \(d_i\) to the mass \(m_i\) of each of the black holes in any arbitrary distribution of points. The first step in this is rotating coordinates so that the ith mass appears at \(r=0\). In the limit when \(r \rightarrow 0\) we can then expand the terms in Eq. (7) to find

$$\begin{aligned} ds^2=\left( \frac{c_i}{r}+\sum _{j\ne i}\frac{c_i}{2\sin (r_{ij}/2)} \right) ^2 \left( \frac{d_i}{r}+\sum _{j\ne i}\frac{d_i}{2\sin ( r_{ij}/2)} \right) ^2 d\bar{s}^2, \end{aligned}$$
(18)

where \(r_{ij}\) is the coordinate distance between the positions of the ith and jth masses. Comparing this equation with the expanded version of Eq. (16), again around \(r=0\), allows us to read off the following from the coefficients of the leading-order terms:

$$\begin{aligned} k = \frac{1}{2 c_i d_i} \left( c_i \sum _{j\ne i}\frac{d_j}{2 \sin (r_{ij}/2)} +d_i \sum _{j\ne i}\frac{c_j}{2 \sin (r_{ij}/2)} \right) - \frac{q_i^2}{2 c_i d_i} \end{aligned}$$
(19)

and

$$\begin{aligned} m_i=c_i\sum _{j\ne i}\frac{d_j}{2\sin (r_{ij}/2)}+d_i\sum _{i\ne j}\frac{c_j}{2\sin (r_{ij}/2)}. \end{aligned}$$
(20)

The former of these equations simply relates the coordinate systems of the Reissner–Nordström solution and our multi-black hole solution in the vicinity of one of our mass points. The latter, however, allows the mass of each of our black holes to be identified. That is, if a multi-black hole solution is specified (with a full set of \(c_i\)s and \(d_i\)s), then the above analysis shows that the geometry of space in the vicinity of any one of the black holes will be similar to a Reissner–Nordström black hole with mass m, where m is given by Eq. (20). It now remains to identify the electric charge on each of our black holes. A general definition of electric charge within a region \(\Omega \) can be given by Brill and Lindquist [31]

$$\begin{aligned} q_i \equiv \frac{1}{4\pi }\int _{\partial \Omega }{E_in^idS}, \end{aligned}$$
(21)

where \(E_i\) is the electric field and \(n^i\) is the unit inward-pointing normal. For our black holes, it is convenient to take the boundary \(\partial \Omega \) to correspond to asymptotic infinity, on the far side of the Einstein–Rosen bridge. This gives

$$\begin{aligned} n^i = \left( \frac{-1}{\psi \chi },0,0 \right) . \end{aligned}$$
(22)

and \(dS= \psi ^2 \chi ^2 r^2 \sin \theta d\theta d\phi \), where in both of these expressions \(\chi \) and \(\psi \) should be taken to be evaluated in the limit \(r \rightarrow 0\). Evaluating Eq. (21) in this limit, and using Eqs. (11), (12) and (22), gives

$$\begin{aligned} q_i=c_i\sum _{j\ne i}\frac{d_j}{2\sin \left( r_{ij}/2\right) }-d_i\sum _{j\ne i}\frac{c_j}{2\sin \left( r_{ij}/2\right) }. \end{aligned}$$
(23)

This equation gives the charge on the mass located at \(r_i=0\), and can equally be used to evaluate the charge on every other black hole in our solution. It is interesting to note that Eq. (23) immediately gives \(\sum _i q_i=0\), meaning that the total charge in the universe must be zero, independently of how the black holes are distributed and their masses. This makes sense physically, as lines of flux can only end on masses in a closed cosmology.

Adding and subtracting the Eqs. (20) and (23) gives a somewhat simpler pair of equations:

$$\begin{aligned} m_i+q_i= & {} c_i\sum _{j\ne i}\frac{d_j}{\sin \left( r_{ij}/2\right) } ,\end{aligned}$$
(24)
$$\begin{aligned} m_i-q_i= & {} d_i\sum _{j\ne i}\frac{c_j}{\sin \left( r_{ij}/2\right) } . \end{aligned}$$
(25)

While relatively simple to write down in this form, this is still a system of non-linear equations, which makes it difficult to solve for the \(\{c_i \}\) and \(\{ d_i \}\) directly, after the desired \(\{m_i \}\) and \(\{ q_i \}\) have been specified.

4 A periodic universe with eight charged black holes

Probably the simplest solution to Eqs. (24) and (25) is the case where all but one of the black holes is extremal, with \(m_i=q_i\). If this is the case, and the one exceptional black hole is labelled \(i=1\), then vanishing total charge means that we must have \(q_1 = -\sum _{\i \ne 1} q_i = -\sum _{\i \ne 1} m_i\). The only solutions to Eqs. (24) and (25) then have \(m_1=-q_1\), and we have the initial data for a Majumdar–Papapetrou [35, 36] solution with spatial infinity transformed into the black hole with \(i=1\). In the next section we will present an example with non-extremal black holes, in which an exact solution for \(\{c_i \}\) and \(\{ d_i \}\) can be found once the mass and charge of each of the black holes has been specified.

4.1 Determining the sets of constants \(\{c_i \}\) and \(\{ d_i \}\)

To find a regular arrangement of black holes in a closed cosmological model, we can choose to tile the conformal hypersphere from our 3-dimensional initial data with eight cubic lattice cells. This is one of the six possible tilings of a 3-sphere with regular convex polyhedra, and corresponds to the structure one would obtain by placing a hypercube within the hypersphere in a 4-dimensional Euclidean embedding space, and by ensuring that the vertices of the hypercube are all touching the hypersphere simultaneously (i.e. by circumscribing the cube with the sphere). The lines that connect the points where these two structures touch then form the edges of eight equal-sized cubes, which can be used as the primitive lattice cells of our tiling. If we place one mass point at the centre of each of these cells, then we have a completely regular lattice in which each mass is exactly equidistant from each of its nearest neighbours.

One of the nice features of the regular eight-mass universe just described is that each of the black holes will be antipodal to another black hole, just as in the time-symmetric slice through the Reissner–Nordström solution discussed in the previous section. This can be verified by looking at the final column of Table 1, which gives the coordinates of the location of each mass in both a set of Cartesian coordinates in the 4-dimensional Euclidean embedding space, as well as in a set of hyperspherical polar coodinates intrinsic to the 3-space itself. Taking a hint from the existence of the time-symmetric Reissner–Nordström geometry, we can now choose the \(\{c_i\}\) and \(\{d_i\}\) of these eight masses such that the \(c_i\) from each mass is equal to the \(d_i\) of the antipodal mass, i.e. so that

$$\begin{aligned}&c_1=c_3=c_5=c_7=d_2=d_4=d_6=d_8=e-f ,\end{aligned}$$
(26)
$$\begin{aligned}&c_2=c_4=c_6=c_8=d_1=d_3=d_5=d_7=e+f , \end{aligned}$$
(27)

where e and f are constants (yet to be determined). This choice then very conveniently allows us to determine from Eqs. (24) and (25) that

$$\begin{aligned} m_1=m_2=m_3=m_4=m_5=m_6=m_7=m_8= & {} \left( 1+6 \sqrt{2}\right) e^2 + f^2,\qquad \end{aligned}$$
(28)
$$\begin{aligned} q_1=-q_2=q_3=-q_4=q_5=-q_6=q_7=-q_8= & {} -2 \left( 1+3 \sqrt{2}\right) e f, \end{aligned}$$
(29)

so that every black hole in the universe has an identical mass to all of the others, while having an equal and opposite electric charge to its antipodal partner. This seems to be the simplest way to satisfy the requirement that the total electric charge of all black holes must vanish, whilst maintaining at least some degree of regularity.

Table 1 The coordinate positions of each of the eight black holes in our regular tiling of the conformal 3-sphere

Finally, it is now straightforward to solve Eqs. (28) and (29) for e and f to get

$$\begin{aligned} e= & {} \frac{\sqrt{(19 + 6 \sqrt{2}) m + \sqrt{\left( 433 + 228 \sqrt{2}\right) m^2 - \left( 91 + 120 \sqrt{2}\right) q^2}}}{\sqrt{\left( 182 + 240 \sqrt{2}\right) }} \end{aligned}$$
(30)

and \(f=-{q}/{2 (1+3 \sqrt{2}) e}\), where \(m=m_i\) is the mass of each black hole and \(\vert q \vert =\vert q_i \vert \) is the magnitude of the charge on each black hole (with sign chosen so that \(q=q_1\)). We now have an explicit solution where all black holes have equal mass, and half of them have positive charge while the other half have negative charge.

4.2 Comparison with Friedmann cosmology

With a cosmological solution in hand, it is interesting to check whether the large-scale properties of our space bear any resemblance to the predictions of the commonly used homogeneous and isotropic FLRW models. The first thing that one could compare, between these two cases, is the scale of the cosmological region at the maximum of expansion. The initial data constructed above can immediately be seen to be at such a maximum, as it was chosen to be time-symmetric. The scale factor at the corresponding moment of time in a spatially closed and dust dominated FLRW model, which we take to be the most similar to our configuration of black holes, is given by

$$\begin{aligned} a(t_\mathrm{max}) = \frac{4 M}{3 \pi }, \end{aligned}$$
(31)

where M is the total mass in dust in the entire space–time. By comparing this number to the scale of the cosmological region in our black hole space–time we can then deduce the effect of condensing the mass into a finite number of points, with discretely distributed electric charges. This will extend previous results concerning cosmologies filled with uncharged black holes, and will allow us to consider the cosmological effects of electrical charge.

The most natural way to determine the scale of the cosmological region of the black hole space–time is to calculate the proper length of one of the edges of one of our lattice cells. If we rotate our solution until a cell edge lies along a curve with \(\theta \) = constant and \(\phi \) = constant, then the proper length of the edge is given by

$$\begin{aligned} d=\int _{r_1}^{r_2}\sqrt{g_{rr}} dr =\int _{r_1}^{r_2} \psi \chi dr, \end{aligned}$$
(32)

where \(r_1\) and \(r_2\) are the coordinates of the end-points of the edge being studied (i.e. the location of the vertices of the lattice cell). The proper length of a curve that subtends the same angle in a closed FLRW model is given by

$$\begin{aligned} d_\mathrm{FLRW}=\int _{r_1}^{r_2}a(t_\mathrm{max}) dr = (r_2-r_1) a(t_\mathrm{max}), \end{aligned}$$
(33)

where \(a(t_\mathrm{max})\) is the scale factor from Eq. (31). In general, the value of d will depend on both the mass of the black holes and their charge (m and q), while the value of \(d_\mathrm{FLRW}\) will depend only on the total mass in the space M (once the locations of the cell vertices have been chosen). If we take \(M=8 m\), so that each cosmology has the same total proper mass, then the relevant comparison of scales in the two cosmologies will be given by

$$\begin{aligned} \frac{a}{a_\mathrm{FLRW}} = \frac{d}{d_\mathrm{FLRW}}, \end{aligned}$$
(34)

where d and \(d_\mathrm{FLRW}\) are given by Eqs. (32) and (33). This ratio is only a function of the charge to mass ratio of the black holes q / m, and reduces to the measure of cosmological back-reaction studied previously in ref. [16] in the limit \(q\rightarrow 0\). The reader may note that this comparison between FLRW and our black hole lattice neglects the contribution of interaction energies between black holes, which may be considerable. A study of the effect of these quantities on the global cosmology will appear elsewhere [39].

The value of the ratio of scale factors as a function of q / m is straightforward to calculate, and is displayed graphically in Fig. 1. When \(q/m \rightarrow 0\) we recover the results of the uncharged case, and as \(q/m \rightarrow \pm 1\) the black holes become extremal. It can be seen that the difference from the predicted scale factor from FLRW cosmology is greatest when the black holes are uncharged. Increasing the charges on the black holes decreases the discrepancy with FLRW, but the scale of the cosmological region in our black hole cosmology is always greater than that of the corresponding FLRW model, even when the black holes approach extremality. The reader may note that there are two curves in Fig. 1. These correspond to the situations where the three cells that meet along the cell edge under investigation all contain black holes that have the same charge (orange line), or when two of the cells have the same charge and the other has the opposite charge (blue line). The results do not depend on whether the same charges in these two situations are positive or negative; the ratio of scale factors is the same in either case. These two curves therefore describe every cell edge that exists within our eight-black hole model.

Fig. 1
figure 1

The scale of the cosmological region in our black hole lattice, compared to a spatially closed dust-dominated FLRW model with the same mass at the maximum of its expansion. The two lines correspond to measuring the scale of the black hole universe either along a curve that joins cells that contain three black holes with the same charge (orange), or two black holes with the same charge and a third with the opposite charge (blue) (colour figure online)

As well as the scale of the cosmological region in our black hole universe, it is also of interest to determine the location of the horizons around each of the black holes. This is partly to ensure that there is no overlap in the horizons corresponding to different black holes, so that the solution can reasonably be referred to as a “cosmological model”. For our purposes, the location of the event horizon is impossible to locate, as we do not have knowledge of the global space–time. The position of the apparent horizon, however, can be determined from knowledge of the initial data alone. We will therefore use this surface to approximate the location of the horizon of each of our black holes.

The apparent horizon is the outermost marginally outer trapped surface, by definition. As our initial data is time-symmetric, this surface must be an extremal surface in this 3-space [40]. We can approximate its location by rotating our 3-sphere until one of the masses appears at \(r=0\). The area of any sphere centered on this mass must then be given by

$$\begin{aligned} A=\int ^{2 \pi }_0 \int ^{\pi }_0 \psi ^2\chi ^2\sin ^2{r} \sin {\theta } \, d\theta \, d\phi , \end{aligned}$$
(35)

where r = constant. Integrating this quantity numerically, and determining the value of r that minimizes it, then gives us a good approximation to the location of the black hole horizon. This method of assuming a sphere of constant coordinate radius to approximate the apparent horizon necessarily produces a slight overestimate of the horizon area, as the true area of the apparent horizon is that of a minimal sphere in the initial geometry. However, as long as the horizons are well separated, this error is expected to be very small [17].

The results of calculating the position of the apparent horizon in this way are shown in Fig. 2, where the r coordinate of the apparent horizon as a fraction of the coordinate distance between neighbouring black holes is displayed. When \(q/m \rightarrow 0\) it can be seen that the horizon extends about \(27\%\) of the way to the halfway point between black holes, as expected from previous work. As the charge on the black hole is increased, to either positive or negative values, the horizon then shrinks back towards the centre of the black hole, until it reaches zero in the limit in which \(q/m \rightarrow \pm 1\). This is similar behaviour to what should be expected from a maximal slice through a Reissner–Nordström black hole, and verifies that the black hole horizons in our eight-mass model never touch.

Fig. 2
figure 2

The position of the apparent horizon around one of our black holes, \(r_\mathrm{min}\), displayed as a fraction of the coordinate distance to the halfway point between black holes, \(r_\mathrm{half}\). We find \(r_\mathrm{min}\rightarrow 0\) as \(q/m \rightarrow \pm 1\)

5 Conclusion

We have presented an analysis of an inhomogeneous cosmological model that consists of a lattice of regularly arranged, charged black holes at maximum of expansion. This generalises existing work in the literature and provides insight into the effect that electric charge has on cosmological physics. We have found that the only solutions that exist are those that have zero net charge. We then applied this analysis to a specific model containing eight black holes, and found a relatively simply way of obtaining an uncharged universe overall—by demanding that black holes exist in antipodal pairs, and that each black hole has equal and opposite charge to its antipodal partner.

We then compared this model to an FLRW model with positive spatial curvature containing the same total mass in dust. We did this by comparing the scale between the two types of universe at maximum of expansion as a function of the charge to mass ratio of the black holes. We found that as the magnitude of the charge on the black holes was increased, the discrepancy between lattice and FLRW was reduced, with the largest discrepancy corresponding to the case where there is no charge. Lastly we investigated the size of the apparent horizon in this initial data, as a function of this charge to mass ratio. We found that as the magnitude of the charge of the black holes is increased the size of the apparent horizon decreases, and that in the limit where the black hole charges become extremal the apparent horizons recede to zero radius.