1 Introduction

Fluid flow in the subsurface is often controlled by natural fractures. In order to predict flow and contaminant transport in such systems, hydraulic properties of individual fractures must be available. Rock fractures usually have rough walls which leads to a variable local fracture aperture, w, defined as distance between the walls. There is strong evidence that aperture distributions of fractures in different materials, including rocks, are self-affine, with the fractal dimension in the range of 2.2–2.8 (Bouchaud et al. 1990; Måløy et al. 1992; Mandelbrot et al. 1984; Plouraboué et al. 1995; Schmittbuhl and Måløy 1997). Hydraulic properties of such fractures are described by hydraulic aperture. This is the aperture of a smooth-walled conduit that yields the same flow rate as the real, rough-walled fracture does, given the same pressure difference. Substantial effort has been invested over the past 3–4 decades into the study of hydraulic aperture of rough-walled fractures. A major part of these studies is numerical whereby a constant pressure difference is applied between two edges of a rectangular fracture or between two ends of a linear, one-dimensional fracture, and the resulting flow rate is computed by finite-difference or finite-element method. In the case of linear, one-dimensional fractures and under the assumptions of the lubrication theory approximation (Zimmerman et al. 1991), the numerical problem reduces to solving

$$\begin{gathered} \frac{d}{{\rm d}x}\left( {c\frac{{\rm d}P}{{{\rm d}x}}} \right) = 0, \, 0 < x < L \hfill \\ \hfill \\ \left. P \right|_{x = 0} = P_{0} ,\left. { \, P} \right|_{x = L} = 0 \hfill \\ \end{gathered}$$
(1)

where L is the length of the fracture; P is the fluid pressure; c = c(x) is the local fracture transmissivity that can be defined as w3. Second-order finite-difference discretization of Eq. (1) on a uniform grid typically used in these models yields:

$$c_{{i + \frac{1}{2}}} \left( {P_{i + 1} - P_{i} } \right) - c_{{i - \frac{1}{2}}} \left( {P_{i} - P_{i - 1} } \right) = 0$$
(2)

where i is the node number. Both pressure and transmissivity are specified at nodes, which necessitates approximation, or averaging, of transmissivity, c, between the nodes, i.e., at locations \(i \pm {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}\). Two types of transmissivity averaging are often used in numerical models of subsurface flow: arithmetic and harmonic, given, respectively, by

$$c_{{i \pm \frac{1}{2}}} = \frac{1}{2}\left( {c_{i} + c_{i \pm 1} } \right)$$
(3)

and

$$c_{{i \pm \frac{1}{2}}} = \frac{{2c_{i} c_{i \pm 1} }}{{c_{i} + c_{i \pm 1} }}$$
(4)

Harmonic averaging is the method of choice in some hydrogeological simulators, e.g., MODFLOW (Langevin et al. 2017). It is often used in fracture flow models (Tsang and Neretnieks 1998) and porous media flow models (Aavatsmark 2002; Bessone et al. 2022; Roth et al. 1996; Colecchio et al. 2020). Its use for diffusion equation in strongly heterogeneous media was advocated by van Es et al. (2014). Its use in nonlinear diffusion problems was disputed by Kadioglu et al. (2008) who showed that it yields large errors when the transmissivity is P3. In fracture flow, harmonic averaging typically results in lower values of the hydraulic aperture than the arithmetic averaging because arithmetic average of two real numbers is always greater than or equal to their harmonic average. It was obtained by Lavrov (2022) that, in two-dimensional fracture flows, numerical schemes with arithmetic averaging perform better in terms of mass balance error.

Instead of averaging the transmissivity, some schemes make use of averaging the fracture aperture. Here, several options are available, too. The two main choices are arithmetic averaging and harmonic averaging. Arithmetic averaging of the local aperture was used, e.g., by Lenci et al. (2022a). It was pointed out by Lenci et al. (2022b) that harmonic averaging of aperture preserves the energy in the scheme.

The importance of averaging techniques in flux evaluation is not limited to fluid flow computations. Accurate evaluation of fluxes is crucial also for numerical heat transfer (Klepikova et al. 2021), solute transport (Moreno et al. 1988) and particulates transport (Lin et al. 2022; Mao et al. 2023) in fractures.

The objective of this work was to assess the performance of several averaging techniques in fracture flow on self-affine linear profiles.

2 Averaging Techniques

Seven averaging techniques were used in this study and are summarized in this Section.

2.1 Arithmetic Averaging of Transmissivity

Heuristically, arithmetic averaging of transmissivity is obtained by linear interpolation of transmissivity between the nodes, which yields Eq. (3). Another heuristic approach ending up with arithmetic averaging is by assuming the transmissivity to be constant between the nodes (Kadioglu et al. 2008); this implies discontinuous transmissivity at each node.

One way to properly derive Eq. (3) is by expanding the left-hand side of Eq. (1) as the derivative of a product:

$$c\frac{{d^{2} P}}{{{\rm d}x^{2} }} + \frac{{\rm d}c}{{{\rm d}x}}\frac{{\rm d}P}{{{\rm d}x}} = 0$$
(5)

The derivation is provided in the Appendix of (Lavrov 2022) and is repeated here for reader’s convenience. The aim is to derive a second-order accurate approximation of Eq. (5). A second-order approximation of the first term on the left-hand side of Eq. (5) by central difference is given by

$$c\frac{{d^{2} P}}{{{\rm d}x^{2} }} = \Delta x^{ - 2} \left( {c_{i} P_{i + 1} - 2c_{i} P_{i} + c_{i} P_{i - 1} } \right) + O\left( {\Delta x^{2} } \right)$$
(6)

A second-order accurate approximation of the second term on the left-hand side of Eq. (5) can be obtained by adding Taylor expansions of c(x + Δx)P(x + Δx) and c(x—Δx)P(x—Δx), resulting in

$$\begin{gathered} c\left( {x + \Delta x} \right)P\left( {x + \Delta x} \right) + c\left( {x - \Delta x} \right)P\left( {x - \Delta x} \right) \hfill \\ = 2c\left( x \right)P\left( x \right) + \Delta x^{2} \left[ {c\left( x \right)\frac{{d^{2} P\left( x \right)}}{{{\rm d}x^{2} }} + 2\frac{dc\left( x \right)}{{{\rm d}x}}\frac{{\rm d}P\left( x \right)}{{{\rm d}x}} + P\left( x \right)\frac{{d^{2} c\left( x \right)}}{{{\rm d}x^{2} }}} \right] + O\left( {\Delta x^{4} } \right) \hfill \\ \end{gathered}$$
(7)

Using central difference approximations for \({{d^{2} P} \mathord{\left/ {\vphantom {{d^{2} P} {{\rm d}x^{2} }}} \right. \kern-0pt} {{\rm d}x^{2} }}\) and \({{d^{2} c} \mathord{\left/ {\vphantom {{d^{2} c} {{\rm d}x^{2} }}} \right. \kern-0pt} {{\rm d}x^{2} }}\) in Eq. (7) yields the following second-order approximation for the second term on the left-hand side of Eq. (5):

$$\frac{dc}{{{\rm d}x}}\frac{{\rm d}P}{{{\rm d}x}} = 0.5\Delta x^{ - 2} \left( {c_{i + 1} P_{i + 1} + 2c_{i} P_{i} + c_{i - 1} P_{i - 1} - c_{i} P_{i + 1} - c_{i} P_{i - 1} - c_{i + 1} P_{i} - c_{i - 1} P_{i} } \right) + O\left( {\Delta x^{2} } \right)$$
(8)

Substitution of Eqs. (6) and (8) into Eq. (5) recovers Eq. (2) with the internodal transmissivities given by Eq. (3):

$$P_{i - 1} \left( {c_{i - 1} + c_{i} } \right) - P_{i} \left( {c_{i - 1} + 2c_{i} + c_{i + 1} } \right) + P_{i + 1} \left( {c_{i} + c_{i + 1} } \right) = 0$$
(9)

Thus, arithmetic averaging of transmissivity yields second-order accuracy as previously shown by Kadioglu et al. (2008) using a different technique.

2.2 Harmonic Averaging of Transmissivity

This type of averaging is hard to justify except heuristically. The latter can be done by imagining that the real transmissivity profile is replaced with a collection of conduits. Each conduit is centered around a grid node and has a constant aperture along its length (Fig. 1).

Fig. 1
figure 1

Heuristic approach to harmonic averaging of transmissivity. The assumed shape of the fracture is shown with solid line. Nodes (i-1, i, i + 1) are located in the middle of constant-aperture segments

The fracture in Fig. 1 is assumed to be composed of three segments of constant aperture. The transmissivity of each segment is equal to the transmissivity specified in the node located in the middle of the segment, i.e., ci-1, ci, ci+1. Pressures are referred to the nodes as well, i.e., Pi-1, Pi, Pi+1. Consider part of the fracture located within the shadow box. It consists of two half-segments connected in series. Pressure difference across these two half-segments is given by Pi+1Pi. Due to mass conservation, the flow rate through this part of the fracture is given by \(\frac{{2c_{i} c_{i + 1} }}{{c_{i} + c_{i + 1} }}\frac{{P_{i} - P_{i + 1} }}{\Delta x}\). Thus, \(c_{{i \pm {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}}}\) is given by Eq. (4), with the following scheme as a result:

$$P_{i - 1} c_{i - 1} \left( {c_{i} + c_{i + 1} } \right) - P_{i} \left( {c_{i} c_{i - 1} + 2c_{i - 1} c_{i + 1} + c_{i} c_{i + 1} } \right) + P_{i + 1} c_{i + 1} \left( {c_{i} + c_{i - 1} } \right) = 0$$
(10)

By construction, this is a heuristic averaging method. The fact that it is based on the assumption of constant transmissivity within the cell has been recognized for at least two decades (Hyman et al. 2002). It can be shown that harmonic averaging yields second-order accuracy (Kadioglu et al. 2008), just as arithmetic averaging does. However, the magnitudes of the errors can be considerably different on some types of problems unless very fine grids are used (Kadioglu et al. 2008).

It should be noted that the assumption about piecewise-constant aperture profile implied in Eq. (4) is not realistic for fractures. Fractures have self-affine aperture maps. Thus, aperture varies at all scales, and it is only by chance that there could be a segment of constant aperture in a real fracture.

Both arithmetic and harmonic averaging procedures result in symmetric coefficient matrices. A symmetric matrix is necessary in order to ensure theoretical mass balance with the scheme (Romeu and Noetinger 1995).

2.3 Cell-Collocation-Based Averaging Techniques

When deriving the arithmetic averaging in Sect. 2.1, another, alternative path could be taken when approximating the second term on the left-hand side of Eq. (5). Namely, we could have used central finite difference for each of the derivatives, dc/dx and dP/dx, resulting in the following scheme:

$$P_{i - 1} \left( {c_{i - 1} + 4c_{i} - c_{i + 1} } \right) - 8c_{i} P_{i} + P_{i + 1} \left( {c_{i + 1} + 4c_{i} - c_{i - 1} } \right) = 0$$
(11)

By construction, this is a second-order scheme.

Another way to arrive at Eq. (11) is by using the cell-collocation method introduced in (Lau and Brebbia 1978). The use of cell-collocation method for deriving finite-difference approximations is detailed by Brebbia et al. (1984). Following the procedure outlined by Brebbia et al. (1984), we approximate P around node i by

$$P = P_{i - 1} \varphi_{ - 1} + P_{i} \varphi_{0} + P_{i + 1} \varphi_{1}$$
(12)

where the three basis functions are given by

$$\begin{gathered} \varphi_{ - 1} = \frac{{\hat{x}}}{2\Delta x}\left( {\frac{{\hat{x}}}{\Delta x} - 1} \right) \hfill \\ \hfill \\ \varphi_{0} = \left( {1 - \frac{{\hat{x}}}{\Delta x}} \right)\left( {1 + \frac{{\hat{x}}}{\Delta x}} \right) \hfill \\ \hfill \\ \varphi_{1} = \frac{{\hat{x}}}{2\Delta x}\left( {\frac{{\hat{x}}}{\Delta x} + 1} \right) \hfill \\ \end{gathered}$$
(13)

with the origin of the local coordinate system, \(\hat{x}\), being at node i. Since we are working with a three-node collocation cell, let us use the following interpolant for transmissivity between nodes i-1 and i + 1:

$$c = c_{i} + \frac{{c_{i + 1} - c_{i - 1} }}{2\Delta x}\hat{x} + \frac{{c_{i + 1} - 2c_{i} + c_{i - 1} }}{{2\left( {\Delta x} \right)^{2} }}\hat{x}^{2}$$
(14)

The interpolant takes on the nodal values of c at the nodes. Substituting Eqs. (12) and (14) into Eq. (1), and using \(\hat{x} = 0\) as the collocation point (i.e., the point where the residual is equal to zero) yields:

$$c_{i} \frac{{P_{i + 1} - 2P_{i} + P_{i - 1} }}{{\left( {\Delta x} \right)^{2} }} + \frac{{c_{i + 1} - c_{i - 1} }}{2\Delta x}\frac{{P_{i + 1} - P_{i - 1} }}{2\Delta x} = 0$$
(15)

i.e.,

$$P_{i - 1} \left( {c_{i - 1} + 4c_{i} - c_{i + 1} } \right) - 8c_{i} P_{i} + P_{i + 1} \left( {c_{i + 1} + 4c_{i} - c_{i - 1} } \right) = 0$$
(16)

Inspection of Eq. (16) reveals that it implies the following averaging for the internodal transmissivities:

$$c_{{i \pm \frac{1}{2}}} = \frac{1}{4}\left( { \pm c_{i + 1} + 4c_{i} \mp c_{i - 1} } \right)$$
(17)

We will call this collocation-based averaging. It is evident from Eq. (11) that the resulting coefficient matrix is not symmetric. As a consequence, this averaging technique yielded flux errors on the order of 1% in our simulations. Therefore, this averaging technique was not further considered in this study.

There are, however, at least two ways how to symmetrize Eq. (16) and thereby improve the flux error considerably. One way to symmetrize Eq. (16) is to use Eq. (17) with the lower sign for all internodal transmissivities except the one near the right boundary (see below for the boundary treatment). Essentially, this means averaging c by means of a three-node stencil where one node is located to the left of the internodal point of interest, and two nodes are located to the right of the internodal point of interest. The resulting scheme follows immediately from Eq. (16) and is given by

$$P_{i - 1} \left( {c_{i - 1} + 4c_{i} - c_{i + 1} } \right) - \left( {c_{i - 1} + 5c_{i} + 3c_{i + 1} - c_{i + 2} } \right)P_{i} + P_{i + 1} \left( {c_{i} + 4c_{i + 1} - c_{i + 2} } \right) = 0$$
(18)

(The coefficient in front of Pi ensures conservation.) We will call Eq. (18) right-collocation-based averaging in the remainder of this paper. The resulting coefficient matrix is symmetric.

Equation (18) has a four-node stencil (− 1, 0, 1, 2) and thus, cannot be used in the rightmost node. There, Eq. (16) should be used instead. This adjustment in one node retains the symmetry of the coefficient matrix.

Another way to symmetrize Eq. (16) is by using Eq. (17) with the upper sign for all internodal transmissivities except that near the left boundary. This means averaging c by means of a three-node stencil where two nodes are located to the left of the internodal point of interest, and one node is located to the right of the internodal point of interest. The resulting scheme is given by

$$P_{i - 1} \left( {c_{i} + 4c_{i - 1} - c_{i - 2} } \right) - \left( { - c_{i - 2} + 3c_{i - 1} + 5c_{i} + c_{i + 1} } \right)P_{i} + P_{i + 1} \left( {c_{i + 1} + 4c_{i} - c_{i - 1} } \right) = 0$$
(19)

We will call Eq. (19) left-collocation-based averaging in the remainder of this paper. The resulting coefficient matrix is symmetric.

Equation (19) has a four-node stencil (− 2, − 1, 0, 1) and thus, cannot be used in the leftmost node. There, Eq. (16) should be used instead. This adjustment in one node retains the symmetry of the coefficient matrix.

2.4 Arithmetic Averaging of Aperture

Averaging methods considered so far in this Section were either heuristic (harmonic), or based on some formal mathematical derivation (arithmetic, collocation-based), or a combination of the two (right- and left-collocation-based). It should be remembered, however, that in the case of fracture flow the transmissivity is given by c = w3 where w is the local aperture. Thus, another way to obtain the internodal transmissivities, ci±1/2, is by reconstructing the fracture aperture profile between the nodes, which would yield the estimates of the local aperture, wi±1/2.

Such a reconstruction may be performed by either local or global approximation of the aperture profile. There is no unique way to construct such an approximation. In this study, three approximations are considered: two local (arithmetic and harmonic averaging of aperture) and a global approximation by multiquadrics.

Arithmetic averaging of aperture on a uniform grid is given by

$$w_{{i \pm \frac{1}{2}}} = \frac{1}{2}\left( {w_{i} + w_{i \pm 1} } \right)$$
(20)

2.5 Harmonic Averaging of Aperture

Harmonic averaging of aperture is another way to perform local reconstruction. It is given by:

$$w_{{i \pm \frac{1}{2}}} = \frac{{2w_{i} w_{i \pm 1} }}{{w_{i} + w_{i \pm 1} }}$$
(21)

2.6 Global Reconstruction of Aperture Using Multiquadrics

Multiquadrics are a subclass of radial basis functions given, in general, by (Kansa 1990)

$$f\left( x \right) = \left[ {1 + \left( {\hat{\varepsilon }x} \right)^{2} } \right]^{\beta }$$
(22)

where β ≥ - − /2; \(\hat{\varepsilon }\) is the shape factor. In this study, multiquadrics with β = 1/2, originally introduced by Hardy (1971), were used. By using multiquadrics as interpolants, with the grid points serving as collocation points, the approximated aperture at i + 1/2 is given by (uniform grid with grid step Δx is assumed throughout this paper):

$$w_{{i + \frac{1}{2}}} = \sum\limits_{k = 0}^{N - 1} {C_{k} } \sqrt {1 + \varepsilon^{2} \left( {i + \frac{1}{2} - k} \right)^{2} }$$
(23)

where N is the number of grid points (N = 512 in this study); \(\varepsilon = \hat{\varepsilon }\Delta x\) is the dimensionless shape factor. The condition number of the linear system used to obtain the interpolation coefficients, Ck, increases rapidly as the shape factor, ε, decreases. As ε increases, multiquadrics become more ‘pointy’, and the interpolation Eq. (23) approaches the arithmetic averaging of aperture, Eq. (20). Various strategies are available for choosing ε. For instance, different (e.g., random) individual shape factors can be assigned to different k (Sarra,Sturgill 2009). In this study, the simplest possible choice was made by using the same shape factor, ε = 1.0, for all quadrics. With this choice of ε, and N = 512, the condition number is sufficiently low (2.1·106).

3 Methodology

None of the averaging techniques presented in Sect. 2 appear to be preferable based on the derivation only. It should be remembered though that Eq. (1) is to be solved on self-affine linear profiles. In order to evaluate which averaging procedure suits best for solving Eq. (1) on such profiles, the following approach was employed in this study: First, a profile of 1024 nodes was constructed. Then, every second node was removed from the 1024-node profile. The hydraulic aperture of the resulting 512-node profile was computed, using the seven types of averaging introduced in Sect. 2 (arithmetic transmissivity, harmonic transmissivity, left- and right-collocation-based, reconstruction by global multiquadric approximation, arithmetic aperture, and harmonic aperture). The results of the seven computations were compared to the ‘true’ (reference) value which was obtained with the internodal transmissivities corresponding to the ‘true’ internodal apertures, i.e., the apertures at the removed nodes of the 1024-node profile.

Profiles of 1024 nodes each were constructed as follows: Five square self-affine aperture maps of 1024 × 1024 nodes were generated using the spectral synthesis method (Huang et al. 1992). The Hurst exponent of these surfaces was H = 0.4, 0.5, 0.6, 0.7 and 0.8. Lower Hurst exponent means that the map appears rougher. It is currently believed that most fractures have H = 0.8 which is sometimes considered a “universal value” (Lenci et al. 2022b). However, lower values of H, down to 0.45, have been measured as well (Lenci et al. 2022b). The value of the Hurst exponent set in the spectral generator was verified for each surface using a recently introduced version of box-counting method (Ai et al. 2014) and was double-checked with the variogram method (Ruello et al. 2006). From each of these surfaces, 10 linear profiles of 1024 nodes were extracted in the x-direction and 10 linear profiles of 1024 nodes were extracted in the y-direction. Each of these linear profiles was offset to make its average height equal to zero. The resulting profile was rescaled so that its range be equal to a given value, Δw. (‘Range’ here refers to the difference between the highest peak and the deepest valley.) The following values of Δw were used: 1, 2, 3, 4 and 5 mm. In the rescaled profile, the minimum height was identified. The rescaled profile was then offset so that the minimum height be equal to a given value, wmin, where wmin was 1, 2, 3, 4 and 5 mm. The ratio of root mean square variation (RMS) to the mean aperture varied in the range 0.0278 to 0.3091 for x-profiles and 0.0257 to 0.3008 for y-profiles. In each of these rescaled-and-offset profiles, every other node was removed thus giving rise to a 512-node profile. The pressure diffusion equation was solved on this profile with the seven averaging techniques discussed above. The pressure applied at the left-hand boundary was equal to 1, the pressure applied at the right-hand boundary was 0. In addition, on each 512-node profile, a reference simulation was performed with the ‘true’ internodal transmissivities based on the apertures at the removed nodes. The total number of flow computations excluding the reference simulations was thus equal to 17,500: 5 Hurst exponents × 20 linear profiles (10 in x- and 10 in y-direction) × 5 range values × 5 offset values × 7 averaging schemes. Direct solvers were used in flow computations and in solving for multiquadric coefficients.

In each simulation, the mass balance error was evaluated as follows: The flux between the two leftmost nodes, Ql, and the two rightmost nodes, Qr, was evaluated. The mass balance error was the magnitude of the difference between the two divided by their average, \({{2\left| {Q_{l} - Q_{r} } \right|} \mathord{\left/ {\vphantom {{2\left| {Q_{l} - Q_{r} } \right|} {\left( {Q_{l} + Q_{r} } \right)}}} \right. \kern-0pt} {\left( {Q_{l} + Q_{r} } \right)}}\). It was required for the mass balance error to be below 10–6 for a simulation to be accepted.

In each simulation, the error in hydraulic aperture and the error’s absolute magnitude were calculated. The error is given by \({{\left( {w_{h}^{\left( a \right)} - w_{h}^{\left( t \right)} } \right)} \mathord{\left/ {\vphantom {{\left( {w_{h}^{\left( a \right)} - w_{h}^{\left( t \right)} } \right)} {w_{h}^{\left( t \right)} }}} \right. \kern-0pt} {w_{h}^{\left( t \right)} }}\) where a stands for averaging type (arithmetic transmissivity, harmonic transmissivity, left-collocation, right-collocation, multiquadrics, arithmetic aperture, harmonic aperture); \(w_{h}^{\left( t \right)}\) is the ‘true’ value of the hydraulic aperture obtained in the reference simulation.

For each value of the Hurst exponent and each type of averaging scheme, average error in hydraulic aperture and average absolute value of the error in hydraulic aperture were calculated by summing the individual values obtained in each simulation and dividing by the number of simulations (250, i.e., 10 profiles × 5 range values × 5 offset values). This was done separately for profiles extracted in the x- and y-directions.

In each simulation, three norms were calculated to assess the error in the pressure distribution along the profile:

$$\left\| {P^{\left( a \right)} - P^{\left( t \right)} } \right\|_{1} = \sum\limits_{k}^{{}} {\left| {P_{k}^{\left( a \right)} - P_{k}^{\left( t \right)} } \right|}$$
(24)
$$\left\| {P^{\left( a \right)} - P^{\left( t \right)} } \right\|_{2} = \left[ {\sum\limits_{k}^{{}} {\left( {P_{k}^{\left( a \right)} - P_{k}^{\left( t \right)} } \right)^{2} } } \right]^{{{1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0pt} 2}}}$$
(25)
$$\left\| {P^{\left( a \right)} - P^{\left( t \right)} } \right\|_{\infty } = \mathop {\max }\limits_{k} \left| {P_{k}^{\left( a \right)} - P_{k}^{\left( t \right)} } \right|$$
(26)

where summation was performed over internal nodes of the grid (510 in total); the meaning of superscripts is explained above.Footnote 1

For each value of the Hurst exponent and each type of averaging scheme, average norms were calculated by summing the individual values obtained in each simulation and dividing by the number of simulations (250). This was done separately for profiles extracted in the x- and y-directions.

In the simulations described so far in this Section, the minimum aperture, wmin, was 1, 2, 3, 4 or 5 mm and the aperture range, Δw, was 1, 2, 3, 4 or 5 mm. In order to investigate the performance of the seven schemes with smaller apertures, an additional series of simulations was conducted, with wmin = 0.1 mm and Δw = 1, 2, 3, 4 or 5 mm. Only the 1024 × 1024 fracture with Hurst exponent equal to 0.8 was used to construct linear profiles as this H value is believed to be the most common for rock fractures (Lenci et al. 2022b). As before, 10 profiles were selected in x-direction and 10 in y-direction.

4 Results

4.1 Results Obtained with w min = 1 mm to 5 mm

The average errors obtained with profiles extracted in the x- and y-directions are displayed in Figs. 2 and 3, respectively. It follows from these Figures that, in the case of x-profiles, the best results are obtained with multiquadric approximation of the aperture or with harmonic averaging of the aperture. The errors obtained with these two techniques are virtually indistinguishable from each other, no matter what type of error is used as a selection criterion.

Fig. 2
figure 2figure 2

Errors averaged over 8750 simulations performed on 512-node profiles oriented in the x-direction: a absolute value of error in hydraulic aperture; b error in hydraulic aperture; c pressure solution error using L1; d pressure solution error using L2; e pressure solution error using L. Results obtained on 1024-node profiles were used as reference when computing errors in each 512-node simulation

Fig. 3
figure 3figure 3

Errors averaged over 8750 simulations performed on 512-node profiles oriented in the y-direction: a absolute value of error in hydraulic aperture; b error in hydraulic aperture; c pressure solution error using L1; d pressure solution error using L2; e pressure solution error using L. Results obtained on 1024-node profiles were used as reference when computing errors in each 512-node simulation

Average errors obtained with left- and right-collocation-based averaging are close, as evidenced in Figs. 2 and 3. This is hardly surprising since the schemes are similar.

Examining the errors obtained in individual simulations revealed that the magnitude of error in hydraulic aperture obtained with arithmetic averaging of transmissivity is higher than that obtained with harmonic averaging of transmissivity in the majority of cases, especially for lower H (Table 1). This is also evident from Figs. 2 and 3. Thus, if the choice is to be made between arithmetic averaging of transmissivity and harmonic averaging of transmissivity, the latter appears for self-affine linear profiles to be a better choice.

Table 1 Fraction of simulations in which the magnitude of error in hydraulic aperture obtained with arithmetic averaging of transmissivity was greater than with harmonic averaging of transmissivity

Errors obtained with arithmetic averaging of transmissivity and displayed in Figs. 2 and 3 are relatively large. In order to understand the poor performance of arithmetic averaging, it is instructive to take a closer look at individual errors in the simulations rather than at their averaged values. In Fig. 4, errors in hydraulic aperture obtained with arithmetic averaging of transmissivity and with multiquadric reconstruction (the best performing scheme) are displayed as a function of ‘true’ hydraulic aperture for 250 simulations obtained on H = 0.4 x-profiles. Each point represents an individual simulation. As evident from Fig. 4, errors obtained with multiquadric reconstruction are distributed symmetrically around 0, while errors obtained with arithmetic averaging of transmissivity are predominantly positive. It means that arithmetic averaging of transmissivity systematically overestimates the hydraulic aperture. A graph similar to the one in Fig. 4 is obtained also if, instead of multiquadrics reconstruction, harmonic average of transmissivity is used.

Fig. 4
figure 4

Signed error in hydraulic aperture obtained in individual simulations with arithmetic averaging of transmissivity and with multiquadric reconstruction vs. ‘true’ hydraulic aperture. Data for simulations with H = 0.4 are displayed. Each point represents an individual simulation

4.2 Results Obtained with w min = 0.1 mm

All average errors, except signed error in the hydraulic aperture, were at their minimum when multiquadric reconstruction was used. In particular, all pressure errors (L1, L2, L) were minimized this way. Only the average signed error in hydraulic aperture was minimized with an averaging technique other than multiquadrics, namely with harmonic averaging of transmissivity. For all other types of errors, the latter was the second best averaging technique. This is in contrast to the simulations discussed in Sect. 4.1 where the second-best technique was typically harmonic averaging of the aperture.

Thus, three averaging techniques stand out for flow simulations on 1D self-affine fracture profiles: (1) multiquadrics reconstruction, (2) harmonic averaging of transmissivity and (3) harmonic averaging of aperture. Multiquadrics reconstruction of the aperture profile appears, on average, to be superior, followed by the two others. The higher accuracy of the multiquadrics reconstruction is bought by the additional computational cost this technique entails, compared to all other techniques.

5 Discussion

Multiquadrics have, in the past, demonstrated surprisingly good performance in various interpolation and reconstruction jobs even though it was pointed out that the reasons for this good performance were unknown (Kansa 1990). Our work provides yet another example of an application where reconstruction with multiquadrics can be used with advantage, compared to other, traditionally used, techniques, e.g., arithmetic or harmonic averaging of transmissivity.

The choice of the shape factor for multiquadrics in this work was based solely on the requirement of sufficiently small condition number. No attempt was made to optimize further.

Harmonic averaging of aperture or transmissivity yields virtually the same accuracy as the multiquadrics reconstruction. Computational overhead of the latter is, however, higher.

The fact that the second best option is provided by harmonic averaging schemes is consistent with the earlier results by Romeu and Noetinger (1995) who found harmonic averaging of transmissivity to be a superior scheme for linear flow in porous media. They did not consider multiquadrics reconstruction though (the multiquadrics-based method makes sense for fracture flow where it has a clear geometric meaning).

The focus in this paper has been on the flow along random profiles. It is instructive to compare the performance of the seven averaging techniques on a smooth profile for which an analytical solution is available. As an example, consider transmissivity given by

$$c\left( x \right) = 1 + \cos^{2} \left( {2\pi x} \right),{ 0} \le x \le 1$$
(27)

Equation (27) represents a smooth periodic transmissivity. The analytical solution to Eq. (1) with P0 = 1, L = 1 and c(x) given by Eq. (27) is

$$P\left( x \right) = \left\{ \begin{gathered} 1 - \frac{1}{2\pi }\arctan \frac{{\tan \left( {2\pi x} \right)}}{\sqrt 2 }, \, x \in (0, \, 0.25] \hfill \\ 0.5 - \frac{1}{2\pi }\arctan \frac{{\tan \left( {2\pi x} \right)}}{\sqrt 2 }, \, x \in [0.25,{ 0}{\text{.75)}} \hfill \\ - \frac{1}{2\pi }\arctan \frac{{\tan \left( {2\pi x} \right)}}{\sqrt 2 }, \, x \in [0.75,{ 1}{\text{.0)}} \hfill \\ \end{gathered} \right.$$
(28)

The analytical solution is displayed in Fig. 5 along with the numerical solution obtained on a 512-node grid with multiquadric reconstruction of c1/3. Errors in hydraulic aperture obtained with the seven averaging schemes and N = 512 nodes are summarized in Table 2.

Fig. 5
figure 5

Analytical solution and numerical solution obtained with multiquadrics approximation of profile. The transmissivity is given by Eq. (27). The profile is discretized with 512 nodes. The two curves are indistinguishable

Table 2 Errors in the pressure distribution obtained with six averaging techniques on the benchmark problem [Eqs. (1), (27)]. Errors are with regard to the analytical solution [Eq. (28)]

From Table 2, multiquadrics approximation yields, with a good margin, the best accuracy on a smooth periodic profile. This is contrary to the results obtained with self-affine profiles where multiquadrics reconstruction and harmonic averaging of the aperture produced very similar errors. This is yet another illustration that there is apparently no universal choice of the averaging technique and the choice should be determined by the nature of the problem at hand, a conclusion made by Kadioglu et al. (2008).

Excellent performance of multiquadrics on a profile given by Eq. (27) should perhaps come as no surprise since the profile is smooth and the global reconstruction technique does a superior job here (at the expense of some computational overhead).

It should be noted that we called multiquadrics approximation, arithmetic averaging of aperture and harmonic averaging of aperture “reconstruction techniques” in this text. However, all seven averaging techniques examined in this study could be considered as reconstruction techniques since in all of them we attempt to assign transmissivity to a location between the nodes.

Uniform grids were used in this study. Uniform grids are typically used in fracture flow simulations. Averaging on nonuniform grids should be investigated in the future.

Only linear (1D) fracture profiles were considered in this study. In practice, fracture flow simulations are performed on two-dimensional aperture landscapes. Dimensionality has a crucial effect on conductivity and flow structure, as demonstrated, e.g., by Colecchio et al.(2021). The results of our study might therefore not be directly applicable to 2D grids. In particular, in 1D, even a single node with zero aperture results in a trivial solution (zero flow rate), and a simulation does not need to be performed. Treatment of zero apertures is therefore not relevant for 1D schemes. In 2D, zero apertures may still result in a conductive fracture, and a simulation can be performed. In this case, in order to avoid a singular coefficient matrix, zero apertures are usually replaced with very small values. Comparison of different averaging schemes on 2D grids, especially with clusters of nodes having very small apertures, should be the subject of a future work. It should be noted, however, that it might be difficult to match the number of 1D simulations used in this study (a total of 17,500) when doing 2D simulations.

The work presented in this paper focused on the effects that averaging has on the flow. It might be worthwhile, in the future, to examine also how these seven reconstruction techniques affect geometric properties of the reconstructed fractures, e.g., their correlation length, RMS, Hurst exponent, etc.

All development in this paper has been for Newtonian fluids. The situation would become more complicated with non-Newtonian fluids. This can be illustrated using the simplest possible non-Newtonian rheology, i.e., a power-law fluid. For a linear fracture flow under the lubrication theory approximation, the fluid velocity averaged across the fracture aperture is given for such a fluid by equation (Lavrov 2023)

$${\mathbf{v}} = - \frac{n}{2n + 1}\frac{1}{{C^{{{1 \mathord{\left/ {\vphantom {1 n}} \right. \kern-0pt} n}}} }}\left( \frac{w}{2} \right)^{{{{\left( {n + 1} \right)} \mathord{\left/ {\vphantom {{\left( {n + 1} \right)} n}} \right. \kern-0pt} n}}} \left| {\frac{{\rm d}P}{{{\rm d}x}}} \right|^{{{{\left( {1 - n} \right)} \mathord{\left/ {\vphantom {{\left( {1 - n} \right)} n}} \right. \kern-0pt} n}}} \frac{{\rm d}P}{{{\rm d}x}}$$
(29)

where n is the flow index; C is the consistency index. Mass conservation for one-dimensional steady incompressible flow, i.e., \(\nabla \left( {w{\mathbf{v}}} \right) = 0\), results in a p-Laplace equation:

$$\frac{d}{{\rm d}x}\left[ {w^{{{{\left( {2n + 1} \right)} \mathord{\left/ {\vphantom {{\left( {2n + 1} \right)} n}} \right. \kern-0pt} n}}} \left| {\frac{{\rm d}P}{{{\rm d}x}}} \right|^{{{{\left( {1 - n} \right)} \mathord{\left/ {\vphantom {{\left( {1 - n} \right)} n}} \right. \kern-0pt} n}}} \frac{{\rm d}P}{{{\rm d}x}}} \right] = 0$$
(30)

Inspection of Eqs. (2930) suggests that the very concept of local fracture conductivity as a proportionality factor between velocity and pressure gradient acquires an additional dimension here: it becomes dependent on the pressure gradient. One promising approach here could be using reconstruction of aperture instead of averaging of transmissivity. This approach was pursued, e.g., in the recent work by Lenci et al. where arithmetic averaging of w between nodes was used to approximate the internodal aperture (Lenci et al. 2022b). As another alternative, the method of aperture reconstruction with multiquadrics advocated in the present paper could be tried for Eq. (30). Whether this method has advantages as compared to other averaging techniques also in the case of non-Newtonian fluids should be investigated in a dedicated study.

It should be stressed that conclusions drawn in our study pertain to self-affine linear profiles. It is straightforward to construct an example of profile where local averaging techniques, e.g., arithmetic or harmonic averaging of aperture or transmissivity, should perform at least as well as multiquadrics. An example I will use here is inspired by the recent work on ‘binary media’ (Colecchio et al. 2021) where fractures were constructed such that local aperture could take only two values,: wl or wu. Let us construct a special version of such ‘binary media’, namely a linear profile of 100 nodes where all nodes with index i < 50 have w = wl, while all nodes with i > 49 have w = wu. On such a profile, any local averaging method, e.g., arithmetic or harmonic averaging of aperture or transmissivity, should perform at least as well as any global reconstruction technique such as multiquadrics reconstruction.

Moreover, the very methodology employed in our study, with removing every other node and using the original profile for a reference computation, was designed for self-affine profiles and may become faulty in other cases, e.g., when the aperture profile has a distinctive regular structure. As an illustration, let us again construct a ‘binary’ profile of a 100 nodes where every node with an even index has w = wl, while every node with an odd index has w = wu. This resembles the profile studied, e.g., by Haugerud et al. (2022). This is the profile to be used for the reference simulation. Now, if every other node is removed from this profile and a flow simulation is performed, all seven averaging methods considered in this study will perform poorly. From the averaging point of view, there is no way to distinguish between two possible original profiles once every other node has been removed: the one where all apertures were the same and the one where even nodes had w = wl and odd nodes had w = wu. Once the nodes have been removed, the information is lost (cf. Nyquist theorem). This brings us to the next issue, that of correlation length in the original profile. In practice, various degree of correlation may exist in an aperture profile, with the correlation length being determined by various factors, e.g., by the magnitude of the shear displacement (Brown et al. 1986; Wang et al. 1988). For instance, if two identical (matching) self-affine fracture surfaces are put together with zero offset, the resulting aperture profile will be w = const (i.e., infinite correlation length), and any local averaging technique in a numerical flow simulation will perform perfectly [cf. also the results of Nicholl et al. (1999) where several local averaging techniques were tested and their results converged at high mesh resolution, namely when the grid spacing became smaller than 1/5 of the correlation length]. Global reconstruction techniques, e.g., based on multiquadrics, would have no advantage in this case. Thus, there might be an extra angle to the problem of choosing between different averaging techniques in fracture flow modeling. The role of correlation length and profile structure in this choice should be examined in the future.

Finally, it should be emphasized that this study makes use of the lubrication theory approximation when formulating the flow problem. Our findings suggest that multiquadrics reconstruction provides superior results when the flow is modeled using the lubrication approximation. This does not suggest that multiquadrics reconstruction provides the most accurate flow solution in general. The effect of out-of-plane flow on the accuracy of 1D flow simulations has been recognized in the research community for at least 25 years by now (Oron and Berkowitz 1998; Nicholl and Detwiler 2001; Brush and Thomson 2003; Wang et al. 2015, 2018, 2020; He et al. 2021). An earlier attempt to reconcile the use of Eq. (1) with experimental results obtained using Hele-Shaw cells with artificial rough surfaces (not self-affine), while solving the flow with different averaging techniques, can be found in the work by Nicholl et al. (1999) There, corrections were introduced in order to account for out-of-plane flow dynamics, all with limited success.

6 Conclusions

The following conclusions are drawn:

  • In most cases studied here, global reconstruction of the aperture profile using multiquadrics provided superior accuracy in terms of both the modeled hydraulic aperture and the pressure error for fluid flow on one-dimensional self-affine aperture profiles.

  • The second best averaging technique was either harmonic averaging of the aperture or harmonic averaging of transmissivity. The former can outperform multiquadrics with regard to certain types of errors when the ratio of the minimum aperture to the aperture range is sufficiently large. The latter can outperform multiquadrics reconstruction with regard to certain types of errors when the ratio of the minimum aperture to the aperture range is sufficiently small.

  • On a smooth periodic profile, multiquadrics reconstruction outperformed all other techniques examined here, with a good margin.