- Research
- Open Access
- Published:

# Analyzing the influence of correlation length in permeability on convective systems in heterogeneous aquifers using entropy production

*Geothermal Energy*
**volumeÂ 7**, ArticleÂ number:Â 35 (2019)

## Abstract

Hydrothermal convection in porous geothermal reservoir systems can be seen as a double-edged sword. On theÂ one hand, regions of upflow in convective systems can increase the geothermal energy potential of the reservoir; on the other hand, convection introduces uncertainty, because it can be difficult to locate these regions of upflow. Several predictive criteria, such as the Rayleigh number, exist to estimate whether convection might occur under certain conditions. As such, it is of interest which factors influence locations of upwelling regions and how these factors can be determined. We use the thermodynamic measure entropy production to describe the influence of spatially heterogeneous permeability on a hydrothermal convection pattern in a 2D model of a hot sedimentary aquifer system in the Perth Basin, Western Australia. To this end, we set up a Monte Carlo study with multiple ensembles. Each ensemble contains several hundred realizations of spatially heterogeneous permeability. The ensembles only differ in the horizontal spatial continuity (i.e., correlation length) of permeability. The entropy production of the simulated ensembles shows that the convection patterns in our models drastically change with the introduction and increase of a finite, lateral correlation length in permeability. An initial decrease of the average entropy production number with increasing lateral correlation length shows that fewer ensemble members show convection. When neglecting the purely conductive ensembles in our analysis, no significant change in the number of convection cells is seen for lateral correlation lengths larger than 2000 m. The result suggests that the strength of convective heat transfer is not sensitive to changes in lateral correlation length beyond a specific factor. It does, however, change strongly compared to simulations with a homogeneous permeability field. As such, while the uncertainty in spatial continuity of permeability may not strongly influence the convective heat transfer, our findings show that it is important to consider spatial heterogeneity and continuity of permeability when simulating convective heat transfer in an aquifer.

## Introduction

Convective heat transfer in sedimentary reservoir systems can significantly increase their geothermal potential, as hot water is transported to shallower depths by zones of upflow (Barbier 2002). However, this increased potential is connected to a similarly increased uncertainty, as these zones can be difficult to locate due to uncertain reservoir structure and properties (Rana etÂ al. 1979; Schilling etÂ al. 2013; Lipsey etÂ al. 2016; Niederau etÂ al. 2017), or as they are influenced active exploitation (Grant etÂ al. 1982). On the other hand, convection can increase the risk of success for geothermal projects, e.g., when boreholes are drilled in a zone of downflow. As such, knowledge about the state of the convection system and its pattern is crucial for assessing the uncertainty and associated risk of an exploration study. Several parameters, such as aquifer thickness or permeability, control whether free convection can occur. However, those â€śglobalâ€ť parameters do not give unique insight into spatial distribution of up- and downwelling zones. It is, therefore, necessary to incorporate more detailed knowledge about these parameters for predicting the hydrothermal potential of (sedimentary) reservoir systems with convection. While the spatial extent of a reservoir unit can be derived from geophysical measurements to a fine degree of detail, detailed information about the spatial distribution of permeability is often not available. It is usually also difficult to assess, as permeability of sedimentary reservoir systems correlates to the depositional paleo-environment. Depositional structures may be inferrable from seismics to some extent, and seismic properties of rocks can be related to their hydraulic properties (Rubin etÂ al. 1992). But even if such methods are successful, an uncertainty in spatial permeability distribution remains.

The Perth Basin, a sedimentary rift basin in Western Australia, was extensively studied for its geothermal potential with focus on one prominent reservoir unit, the Yarragadee Aquifer. While the hydrothermal conditions in this aquifer are largely unknown (Pujol etÂ al. 2015), multiple modeling studies suggest that hydrothermal convection occurs within the Yarragadee Aquifer (Sheldon etÂ al. 2012; Schilling etÂ al. 2013; Niederau etÂ al. 2017). In particular, Sheldon etÂ al. (2012) show that temperature and salinity measurements in the Perth Basin indicate convective flow. For instance, they show that laterally varying temperature gradients which were deduced from corrected bottom hole temperatures, are indicative for regions of upflow or downflow, respectively. Furthermore, zones of uniform salinity were measured in the Yarragadee Aquifer. Such homogenization of salinity can be caused by convective flow. Horowitz etÂ al. (2008) present three arguments indicating convection in the Perth Basin: (i) anomalously low thermal gradients in deep aquifers, (ii) thermal gradients varying from 28 to 68Â K/km within a region of \(55\,\text {km} \times 50\,\text {km}\), (iii) Rayleigh numbers above the critical one, even if conservative parameters are used for the Yarragadee Aquifer when calculating the Rayleigh number. Timms etÂ al. (2015) classified available core material from wells to several lithostratigraphic units corresponding to different depositional paleoenvironments in the Perth Basin. While they found a general correlation between lithostratigraphy and average permeability, the spatial correlation of permeability in the Yarragadee Aquifer remains highly uncertain. However, for characterizing the convection pattern, knowledge about heterogeneity of permeability and its spatial continuity is crucial, as both influence the convection system in an aquifer (Nield and Simmons 2007; Nield etÂ al. 2009). For instance, Simmons etÂ al. (2010) conclude that the scale of heterogeneity, i.e., the size of standard deviation of the underlying permeability distribution, has a strong impact on the nucleation of a convection system. They observe further that a convection system is moderately sensitive to changes in the correlation length.

With uncertain spatial heterogeneity of permeability, an associated convection pattern is also uncertain. For assessing the geothermal potential of the Perth Basin with a focus on the spatial variability of a convection pattern, it is, therefore, necessary to address heterogeneous permeability and its spatial correlation in the Yarragadee Aquifer. Based on stratigraphic forward modeling, Irvine etÂ al. (2014) created Rayleigh number maps of the Yarragadee Aquifer, addressing vertical heterogeneity of permeability in the Yarragadee Aquifer. They concluded that convection is likely in the Yarragadee Aquifer and that these maps are a suitable tool for locating free convection in the aquifer. Laterally continuous permeability facilitates a characterization based on the Rayleigh number (Rayleigh 1916). However, permeability in aquifers is often laterally discontinuous. Performing a standard Rayleigh number analysis in such heterogeneous porous media is difficult and not straightforward (Nield and Simmons 2007; Nield etÂ al. 2009). In the presented work, a different, thermodynamically motivated measure is used for characterizing the state of a convection system: the so-called entropy production (Kleidon and Lorenz 2005; Siavashi etÂ al. 2015; BĂ¶rsing etÂ al. 2017). While the porous Rayleigh number is a sound and tested indicator for characterizing a convective system in an aquifer, it needs the two parameters of the porous medium: *L* (thickness of the porous medium) and \(\hat{k}\) (the average permeability). These are not constant in real-world reservoir systems, and are usually averaged, i.e., simplified. By assessing the additional heat transport introduced by convection, the measure of entropy production bypasses these two simplifications. This can be shown in a numerical experiment with a simple geometry. FigureÂ 1 shows the heat and mass transport in a closed-box model similar to BĂ¶rsing etÂ al. (2017), with changes made only to the average vertical permeability, either in total or by introducing layers of low permeability. In plot a, the average permeability is high enough to cause instabilities, which are indicated by both, Rayleigh number and entropy production numberÂ (RaÂ =Â Rayleigh number and N_{S}Â =Â entropy production number in the figure, respectively). Both these numbers decrease, when heterogeneities in permeability (plot b) are introduced. While this is straightforward, it becomes interesting, when the (harmonic) average of (vertical) permeability in a model yields subcritical Rayleigh numbers, as in Fig.Â 1c, d. These illustrate that models with a similar Rayleigh number may behave completely differently due to a spatially heterogeneous permeability. A subcritical Rayleigh number, as well as an entropy production number around 1, suggests that heat diffusion is the dominant transport process (Fig.Â 1c). A horizontal, barely permeable layer intersects the aquifer in Fig.Â 1d. The average vertical permeability in Model c and d is similar, and so are their Rayleigh numbers (1.43 and 1.54, respectively). The Rayleigh number does not suggest convection in model d, while the entropy production number diagnoses convection, as it is greater than 1. Also, a Rayleigh number is a predictive measure of a system, while entropy production is a diagnostic one, thus corresponding more closely to the Nusselt number. In comparison to the Nusselt number, entropy production has the advantage of being a volumetric estimate. The non-dimensional Nusselt number, defined as the ratio of total heat flow to conductive heat flow over a defined domain, is estimated across a cross-sectional area. Furthermore, similar to the Rayleigh number, it is complicated to assess under non-idealized, i.e., more complex, model domains. Entropy production is mostly independent of the domain geometry as it is calculated from the spatial temperature distribution induced by heat transport processes.

In this work, we estimate the influence of different correlation lengths on the associated convection pattern by systematically varying the lateral correlation length of porosity and permeability in a 2D cross section of the Perth Basin model by Niederau etÂ al. (2017). For each correlation length, we generate a Monte Carlo ensemble comprising 240 ensemble members. To retain comparability, all ensembles have the same random number seeds.Â This is illustrated in Fig. 2, which shows three exemplary permeability fields with different horizontal correlation lengths. Due to the same random number seed, areas of low or high permeability are roughly at the same location.

The presented manuscript is structured as follows: after reviewing the geological background and introducing the concept of entropy production, we describe the geological model used in this study, as well as the corresponding stratigraphical and petrophysical model. The latter two are connected via the lithostratigraphy of the Yarragadee Aquifer described by Timms etÂ al. (2015). We then present the structure of the Monte Carlo ensembles and the setup of the numerical model. The Monte Carlo ensembles are analyzed in the results section and discussed afterwards.

## Methods

### Forward code

For modeling heat and mass transport in a porous medium, we use the coupled balance equations for energy, mass, and momentum. These conservation equations are implemented in the code SHEMAT-Suite (Rath etÂ al. 2006), which is developed from the SHEMAT code presented in Clauser and Bartels (2003). SHEMAT-Suite models heat and mass transport in porous media in steady as well as in transient state. The transient flow equation used in our simulations is based on Darcyâ€™s law and mass conservation:

where \(\rho _{\text{f}}\) is fluid density (\({\text {kg m}}^{-3}\)), *g* gravity (\({\text {m s}}^{-2}\)), \(\varvec{k}\) permeability tensor (\(\text {m}^2\)), \(\mu _{\text{f}}\) dynamic viscosity of the fluid (PaÂ s), *h* hydraulic head (m), and *z* the vertical coordinate space (m). *W* describes a volume source term (\(\hbox {s}^{-1}\)); \(\rho _{\text{r}}\) is the relative density change defined by \(\rho _{\text{r}} = \frac{\rho _{\text{f}}-\rho _0}{\rho _0}\), where \({\rho _0}\) is density at reference conditions (i.e., atmospheric conditions). \(S_\text{s} = \rho _{\text{f}} g \left( \alpha _\text{r} + \phi \alpha _\text{f} \right)\) (\(\hbox {m}^{-1}\)) is the specific storage coefficient (\(\hbox {m}^{-1}\)), (\(\alpha _\text{r}\) and \(\alpha _\text{f}\) are compressibilities (\(\hbox {Pa}^{-1}\)) of the rock and the fluid phase, respectively). EquationÂ (1) is derived, using an extended Oberbeckâ€“Boussinesq approximation (Kolditz etÂ al. 1998; Diersch and Kolditz 2002). In our simulations, however, fluid properties are calculated as a function of temperature and pressure after the formulation given in Zyvoloski etÂ al. (1996). The approximation made for Eq.Â (1) is valid for cases without very high-temperature gradients or brines with high salinity (Diersch and Kolditz 2002). These two conditions are not present in our simulations, and the approximation is, therefore, suitable for the conditions considered here.

The heat transport equation is derived from Fourierâ€™s law \(\varvec{q} = - \varvec{\lambda }_{\text{e}} \nabla T\) and energy conservation:

where \(\varvec{q}\) is specific heat flow (\(\hbox {W m}^{-2}\)), *T* is temperature (\(^\circ \hbox {C}\)), and \((\rho \,c_{\text{p}})_{\text{e}}\) and \((\rho \,c_\text{p})_\text{f}\) are the effective thermal capacities of the fluid-saturated porous medium and the fluid (\(\hbox {J m}^{-3}\,\hbox {K}^{-1}\)), respectively. \(\varvec{\lambda }_{\text{e}}\) is the tensor of bulk thermal conductivity (\(\hbox {W m}^{-1}\,\hbox {K}^{-1}\)), and *K* is the radiogenic heat production rate (\(\hbox {W m}^{-3}\)); \(\varvec{v} = \frac{\rho _\text{f}\, g\, k}{\mu _\text{f}} (\nabla h_0 + \rho _\text{r} \nabla z)\) is specific discharge (or Darcy velocity) (\(\hbox {m s}^{-1}\)).

Parameter values for the bulk porous rock are derived from appropriate mixing laws. The arithmetic mean was used for estimating an average specific heat capacity and the geometric mean for thermal conductivity (Clauser 2011). A more detailed description of the transport equations is provided in Clauser and Bartels (2003).

### Entropy production

The description of the concept of entropy production presented here follows the description in BĂ¶rsing etÂ al. (2017). The second fundamental law of thermodynamics states that the entropy of a closed system is always increasing. The irreversible entropy production \(\text{d}S_{\text{irr}}\) by thermal dissipation characterizes irreversible conductive heat transport d*Q* through a (porous) medium with different temperatures at its ends (from higher \(T_1\) to lower temperatures \(T_2\)) (Tolman and Fine 1948). It can be described as:

Bejan (2013) formulates the production of entropy in a fluid-filled porous medium as the sum of contributions by thermal dissipation (i.e., conductive heat transport, \(\dot{S}''_{\text{therm}}\)) and viscous dissipation (i.e., fluid friction \(\dot{S}''_{\text{visc}}\)):

where \(S''\) is in W \(\hbox {m}^{-3}\,\hbox {K}^{-1}\) and \(\dot{S}''\) the transient derivative. The notation \(''\) indicates that the calculation is done across a grid face, i.e., between two cell-centered grid nodes.

By the definition in Eq.Â (3), the transient change of d*S* in a specified medium can be described by introducing a specific heat flow \(\varvec{q}''\) (Tolman and Fine 1948). This vector describes the rate of heat transported per unit time and area, and can be expressed in terms of temperature gradient and thermal conductivity, according to Fourierâ€™s law. The transient thermal dissipation term (\(\dot{S}''_{\text{therm}}\) in Eq.Â (4)) can, hence, be reformulated:

\(T_2\) and \(T_1\) are the lower and upper temperature boundaries, respectively (BĂ¶rsing etÂ al. 2017; Siavashi etÂ al. 2017), similar to Eq.Â (3). These temperatures need to be defined for assessing an average initial temperature \(T_0\). In case of a conductive case (Fig.Â 3Â left), it is reasonable to assume \(T_0\) as the arithmetic mean between upper and lower temperature boundaries. As all transient simulations presented in this manuscript start from the same conductive initial conditions, this assumption remains valid. \(\lambda _\text{b}\) is the average thermal conductivity over the model domain. In a geothermal system dominated by heat conduction, the predominant heat transport direction is in the direction of the temperature gradient, i.e., normally vertical (Fig.Â 3 left). If the dominant transport mechanism is advective heat transport by convection, lateral temperature gradients superpose the underlying vertical temperature gradient. That is, in addition to a vertical heat transport, a lateral (conductive) heat transport occurs, from hotter areas (upwelling regions) towards colder areas (downwelling regions). This lateral heat flow can be described by Eq.Â (5), and yields an increase in entropy in the colder areas, while entropy in the hotter areas decreases. It should be noted that this observation does not violate the second law of thermodynamics, as the areas described are open. Over the whole model domain, entropy cannot be reduced.

In addition to thermal dissipation, entropy is also produced by viscous dissipation (\(\dot{S}''_{\text{visc}}\) in Eq.Â (4)), e.g., by internal friction of the fluid. Entropy production by viscous dissipation can be described as:

where \(\mathbf v\) is the specific discharge in (\(\hbox {m s}^{-1}\)), and \(\varvec{\varPhi }\) the viscous dissipation function. \(\widehat{k}\) is the average of the reduced permeability tensor (\(\varvec{k}\)), as we are working with a 2D model:

Considering viscosity of water and realistic ranges (\(10^{-4}\,\hbox {m s}^{-1}\) to \(10^{-6}\,\hbox {m s}^{-1}\)) of the specific discharge in aquifers, viscous dissipation will have a negligible contribution to the total entropy production. This was also shown by Costa (2006). Thus, in homogeneous porous media, viscous dissipation only has a small effect on the total entropy production in a system. However, if preferred flow paths of a convective system are blocked by zones of low permeability caused by spatially heterogeneous permeability, the importance of viscous dissipation effects can increase. In case of a two-dimensional model like in this work, Eq.Â (4) can be written as:

By integrating over the model domain, one obtains the total entropy production \(\dot{S}_{\text{total}}\):

Non-dimensionalising the total entropy production yields the entropy production Number \(N_{\dot{S}}\) (Siavashi etÂ al. 2015), which is used in this study as a representative of the total entropy production in the system. Using a non-dimensionalized version of entropy production facilitates comparability of our results with the literature:

where \(\varvec{q}\) is the total specific heat flow (Siavashi etÂ al. 2015). Several thermal rock properties, such as thermal conductivity, are used for calculating the entropy production number. Each grid cell has a bulk thermal conductivity value, which is the geometric mean of thermal conductivities of the rock matrix and pore-filling fluid. The temperature-dependent bulk thermal conductivity value \(\lambda _\text{b}\), used in Eq. (10), is the average of bulk thermal conductivities in the model grid. Temperature-dependent changes of matrix thermal conductivity are small. For water, however, thermal conductivity and viscosity vary strongly with temperature. Water thermal conductivity in the model cells is calculated by the formulation in Zyvoloski etÂ al. (1996), while its viscosity for calculating the entropy production number is calculated based on the IAPWS formulation (Wagner and Kretzschmar 2008).

## Reservoir model used in this study

Different types of models of the Yarragadee Aquifer are presented in this study. Models range from a geometrical geological model, over conceptual stratigraphic and petrophysical models to a numerical model of relevant partial differential equations presented in the methods section. The synthesis of information from all these models is a reservoir model of the Yarragadee Aquifer. In the following, we will briefly describe the geological model with focus on the main aquifer unit, the stratigraphic model underlying the spatial facies distribution of the main aquifer unit in this model, and the petrophysical model relating porosity and permeability in the aquifer. Finally, we will present the discretized numerical model which combines the features of the previous in a rectilinear hexahedral grid for simulating the heat and mass transport in the Yarragadee Aquifer.

### Geological model

The geological model in this manuscript is a 2D section extracted from a 3D geological model of the central Perth Basin presented in Niederau etÂ al. (2017). Its location is indicated in Fig.Â 4. The Perth Basin is the result of rifting between Australia and Greater India in the late Paleozoic to Mesozoic (Harris 1994) during the breakup of Gondwana. Sedimentary successions filling the Perth Basin can be up to 15Â km thick. Thickness of the Yarragadee Aquifer in the central Perth Basin range from 500Â m to about 3000Â m. More detailed information about the geological and tectonic history of the Perth Basin can be found in Playford etÂ al. (1976), Backhouse (1984), Harris (1994) and Crostella and Backhouse (2000). Lithological units in the geological model are divided based on their hydraulic properties (see Niederau etÂ al. 2017), i.e., divided into aquifer and aquitard units, based on geological and petrophysical data (Crostella and Backhouse 2000; Davidson and Yu 2008; Sheldon etÂ al. 2012; Timms etÂ al. 2015). This is often referred to as â€śzonation methodâ€ť (Testerman 1962; Alpay 1972). The main aquifer unit of interest is the jurassic Yarragadee Aquifer, which comprises lithologies of three stratigraphical units, namely Cadda, Yarragadee, and Gage formations. Working groups of the *Western Australian Geothermal Center of Excellence* (WAGCoE) published several detailed studies covering the petrography of the Yarragadee Aquifer (see Timms etÂ al. (2015) and references therein), its estimated lateral extension and thickness, and estimated temperatures in the aquifer (see Sheldon etÂ al. 2012 and references therein). Our 2D geological model comprises six geological units, (three aquifer units and three aquitard units), dissected by three major faults. One fault, the Darling Fault, displaces the sedimentary units of the Perth Basin against the Yilgarn Craton, which bounds the Perth Basin to the east. The Darling Fault is the east boundary of the 2D geological model. Two further faults displace the basement and the Yarragadee Aquifer, visible in the cross section in Fig.Â 4. The Yarragadee Aquifer is covered by Post-rift sediments, of which the South-Perth-Shale acts as a thermal blanket for the Yarragadee Aquifer. In Niederau etÂ al. (2017), we showed that reservoir structure has a potentially stronger impact on a convection pattern than spatially heterogeneous permeability. There, we conclude that abrupt changes in reservoir thickness particularly impact a convective pattern. Consequently, when studying convection in the Perth Basin, fault displacements should be represented in the model geometry. The two fault displacements considered in this study, are at \(x \approx 30,000\,\hbox {km}\), and, more pronounced, in the west, at \(x \approx 14,000\,\hbox {km}\) in Fig.Â 4.

However, Niederau etÂ al. (2017) kept the spatial correlation length of permeability constant; thus, their conclusion relies on a Monte Carlo study with a singular spatial correlation length.

Next to differences in aquifer thickness due to tectonic activity, spatially heterogeneous permeability caused by differential sedimentation and compaction was found to affect a convective pattern. In the following, we will present a stratigraphic model of the Yarragadee Aquifer, giving insight in the spatial distribution of lithofacies and corresponding spatial differences in aquifer permeability. These spatial differences are the heterogeneity, whose spatial continuity is bound to the lithofacies. As their spatial distribution and continuity is uncertain, so is that of permeability.

### Stratigraphical model

The Yarragadee Formation was deposited under a predominantly fluvial sedimentary environment, as first inferred by Playford etÂ al. (1976). Timms etÂ al. (2015) conducted a detailed study analyzing lithostratigraphy and petrography of multiple core samples from wells in the central Perth Basin (among others the Cockburn 1 well). They identified a variable lithofacies distribution within the Yarragadee Aquifer, with predominant lithofacies corresponding to channel fill deposits and fluvial barforms. Furthermore, they state that formation porosity strongly correlates with lithofacies, which is supported by the previous studies (Delle Piane etÂ al. 2013). Delle Piane etÂ al. (2013) divided core measurements into groups of different flow-zone indicators (FZI). This method is used for identifying classes of rocks which presumably belong to the same hydraulic unit based on porespace geometry and flow properties (Prasad 2003). As lithofacies are correlated to porosity according to Timms etÂ al. (2015), and FZI deduced from porosity data connect similar hydraulic units (Delle Piane etÂ al. 2013), it may be concluded that lithofacies and hydraulic units correlate.

As the depositional environment of the Yarragadee Aquifer varies spatially, types and changes of depositional environment correlate with different lithofacies, and porosity and permeability significantly vary spatially. This may be obvious, considering the fluvial nature of the Yarragadee Formation, and that hydraulic parameters in a fluviatile sedimentation environment can significantly vary in space. Studies using stratigraphic forward modeling to characterize spatial sediment distribution and distribution of hydraulic properties also show strong spatial variations of porosity and grain size (Corbel etÂ al. 2012a). Vertical variability in porosity can also be determined from wells and geophysical well-log analysis. In Niederau etÂ al. (2017), we deduced a vertical correlation length of around 150Â m for porosity, based on porosity measurements on samples from the borehole CockburnÂ 1. In sedimentary depositional environments, horizontal correlation of lithofacies and connected properties is generally larger than their vertical correlation. Timms etÂ al. (2015) defined facies based on metrics from Gamma ray logs, called GR facies. Those GR facies broadly correspond to lithofacies described in the Yarragadee Aquifer. They did not observe clear cross-well correlation of the GR facies and concluded that the corresponding lithofacies are not continuous over distances greater than 5Â km. The horizontal correlation length in our study varies between 0.5Â and 10Â km and is, therefore, significantly larger than the conclusion of Timms etÂ al. (2015). We extend the horizontal correlation beyond 5Â km to assess if larger correlation lengths still affect the occurrence of hydrothermal convection. In the case of the Perth Basin, however, we focus our main analysis on horizontal correlation lengths between 0.5 and 5Â km, considering the findings of Timms etÂ al. (2015).

### Petrophysical model

In Niederau etÂ al. (2017), we deduced porosity from the sonic log of CockburnÂ 1 after estimating clay content from the Gamma ray log. Using the Wyllie method (Wyllie etÂ al. 1956), porosity was estimated from measured reciprocal interval velocity (â€śslownessâ€ť) \(\varDelta t\):

with \(\phi\) being porosity, \(V_{\text{sh}}\) being the shale volume deduced from the GR log, and \(t_\text{f}\), \(t_{\text{sh}}\), \(t_{\text{ma}}\) the slowness of formation water, shale fraction, and remaining rock matrix, respectively. Equation (11) was calibrated using available porosity measurements on core samples from CockburnÂ 1. For relating porosity with permeability, an equation based on fractal theory (Pape etÂ al. 1999) was previously calibrated to the Yarragadee Aquifer, using data from CSIRO (2007) (see Niederau 2014 and Niederau etÂ al. 2017 for more details):

where *k* is permeability in \(\hbox {m}^2\). We created a suite of porosity samples (Fig.Â 5 left) based on mean and standard deviation of the porosity log deduced from Eq.Â (11). A correlated permeability distribution was generated using Eq.Â (12) (Fig.Â 5 right). We chose to generate a porosity distribution based on mean and standard deviation of the porosity log over using the porosity log directly to have idealized distributions. Interpretation of the results would be significantly more difficult if the underlying distributions of spatial heterogeneity are not normal, or log-normal distributions, respectively, but asymmetrical or skewed.

### Monte Carlo ensembles

Considering the stratigraphic and petrophysical models, we spatially vary porosity and permeability within the Yarragadee Aquifer using Sequential Gaussian Simulation (Deutsch and Journel 1998). This algorithm requires a distribution to draw samples from and a correlation length for defining the spatial variance. The previously described vertical correlation length \(\text{cl}_\text{v}\) of 150Â m is kept constant, while we increase the horizontal correlation length \(\text{cl}_\text{h}\) from 500 to 10,000Â m by 500Â m steps. For each horizontal correlation length, we generate an ensemble comprising 240 members, all with differentâ€”but equally likelyâ€”porosity and permeability fields, based on the distributions presented in Fig.Â 5. Ensembles are simulated on the JURECA-HPC (JĂĽlich Supercomputing Centre 2016) cluster and each ensemble comprises up to 240 members to fully utilize the JURECA architecture, i.e., 24 cores per node with 10 nodes allocated for each ensemble. Therefore, the particular ensemble size is a result of the architecture of the JURECA cluster, where we ran our simulations on. For comparison, we assess a simulation with homogeneous porosity and permeability (i.e., infinite spatial correlation). Values for the homogeneous model are presented in TableÂ 1. Porosity and permeability of the homogeneous model resemble mean values of the corresponding distributions. To evaluate the influence of vertical correlation length, we simulate a series of ensembles with a vertical correlation length of 100Â m. Again, we increase the horizontal correlation length from 500 to 5000Â m by 500Â m steps.

### Numerical model

All presented studies on the impact of spatially heterogeneous permeability on the entropy production caused by convection are based on the same model geometry: a two-dimensional cross section taken from the model presented by Niederau etÂ al. (2017). In the following, we describe the essential model parameters in more detail.

#### Boundary conditions and initial values

The lower (\(\hbox {T}_\text{l}\)) and upper (\(T_\text{u}\)) boundary temperatures of the model domain are kept constant (Fig.Â 6). \(T_\text{l}\) equals \(95\,^{\circ }\hbox {C}\), which is shown to be a representative temperature at a depth of 3.5Â km in the central Perth Basin (Sheldon etÂ al. 2012; Schilling etÂ al. 2013), and \(19\,^{\circ }\hbox {C}\), the average annual surface temperature around Perth. Lateral boundaries are set as zero Neumann boundary conditions, implying no heat or mass transport across the boundaries. The top boundary for the hydraulic potential was set as a function of topography and sea level respectively, varying around 3500Â m, as the onshore part of the model does not have high topography. The initial conditions for temperature are results of a purely conductive steady-state solution, using model parameters stated in TableÂ 1 and displayed in Fig.Â 6. For the hydraulic head, we applied a constant initial value of 3500Â m, representing hydrostatic conditions in the entire model.

#### Spatial discretization

The calculated entropy production is affected by the grid discretization of a numerical model. Kleidon and Lorenz (2005) state that the value of entropy production decreases with smaller cell sizes until a threshold value is reached. However, a finer numerical grid, consequently, means more unknowns and longer simulation times, i.e., higher computational cost. To find the optimal discretization with respect to a trade-off between computational cost and accuracy, we simulate the 2D model with different discretizations, ranging from 100 to 5Â m in cell size. FigureÂ 7 shows the resulting entropy production number \(N_{\dot{S}}\) for different cell sizes. With equidistant sizes of \(\le 25\,\hbox {m}\), changes in \(N_{\dot{S}}\) are minor compared to the exponential increase in unknowns. Therefore, an equidistant cell size (\(\text{d}x = \text{d}y = \text{d}z\)) of 25Â m is used for our simulations, yielding a total of 196,000 cells. This represents a discretised domain of 35Â km in length and 3.5Â km in depth (1400 cells in *x*-direction times 140 cells in *z*-direction).

#### Transient evolution

Each transient simulation in this study starts from the same initial conditions, a purely conductive temperature field. From this conductive state, convection develops over a certain time interval. It is not unusual, that simulations with convection do not reach a steady state, i.e., the numerical solution does not change with time. A reason for this is often oscillation of convection cells (Niederau etÂ al. 2017), or their superposition with a regional groundwater flow (Schilling etÂ al. 2013). While a steady-state solution may not be found, simulations with convection can start to show oscillations, e.g., within a temperature interval. Methods exist to assess the timing when such oscillation within a â€śsolution intervalâ€ť starts. One method is to observe transient convection in a phase space and to see if the solution orbits around the so-called attractors (Lorenz 1963; Vincent and Yuen 1988). In Niederau etÂ al. (2016), we showed that the concept of attractors is a viable method to determine the onset of transient oscillation in the Perth Basin. This onset, and the following oscillation, is called â€śdynamic steady stateâ€ť. To assess the minimal simulation time needed for allowing a convective system in a dynamic steady state to develop, we study the entropy production over time for a small ensemble comprising 12 members with \(\text{cl}_\text{h}\) equal to 500Â m. Generally, the smaller \(\text{cl}_\text{h}\) is, the longer simulations need to reach a dynamic steady state. This is why we used \(\text{cl}_\text{h}\) of 500Â m as proxy for assessing the minimum simulation time for the Monte Carlo study. If no significant changes in the entropy production number with time can be observed, a dynamic steady state is reached. Using the entropy production as a measure based on thermodynamics, the dynamic steady state can be seen as a thermodynamic steady state. FigureÂ 8 shows the transient evolution of the entropy production number of such an ensemble with a horizontal correlation length of 500Â m. The entropy production number increases steeply from the simulation start, suggesting that the whole ensemble is an supercritical state, i.e., above the corresponding critical Rayleigh number for this system. Despite that all realizations show indications of free convection, peak entropy production numbers differ as well as the transient development until 50,000â€“60,000 years. This suggests that spatially heterogeneous permeability not only influences whether convection cells develop, but also how long a convective system needs to stabilize. After about 60,000 years, the convective system stabilizes into a (thermo-) dynamic steady state. This behavior for the convective system in the Perth Basin is also described in Schilling etÂ al. (2013) and Niederau etÂ al. (2017). Based on these findings, we limit the simulated time of ensemble members to 60,000 years.

## Results

In this section, we present the simulation results of the aforementioned Monte Carlo ensembles with focus on the influence of changing spatial correlation length, analyzed using the average entropy production number (Eq. 10). Per definition, higher entropy production numbers correspond to more vigorous free convection, i.e., stronger lateral heat transport. Following the hypothesis that increasing the finite horizontal correlation length of permeability coincides with a less likely development of a convective system, we assess the average entropy production number of each ensemble, and relate it to the scenario with homogeneous permeability.

### Average entropy production with correlation length

FigureÂ 9 shows the entropy production number \(N_{\dot{S}}\) for ensembles with a horizontal correlation length up to 10 km. The average ensemble entropy production number (\(N_{\dot{S}}\)) decreases with increasing horizontal correlation length (\(\text{cl}_\text{h}\)), suggesting that more ensemble members do not show convection at higher \(\text{cl}_\text{h}\). The entropy production of ensembles with heterogeneous permeability is compared to a homogeneous case, where aquifer permeability does not vary spatially and is equal to the mean of the permeability distribution used in the heterogeneous ensembles (Fig.Â 5 right). Although correlation length in a homogeneous case can theoretically be seen as infinite (i.e., \(\text{cl}>>\) model domain), we plot it at \(\text{cl}_\text{h}\) equal zero in Fig.Â 9. The reason is that infinite and finite correlation length are different. Both finite correlation lengths \(\text{cl}_\text{h}\) and \(\text{cl}_\text{v}\) would have to be magnitudes larger than the model extent to mimic a homogeneous case, which is practically the same as not stating a finite correlation length at all. In that case, only the permeability value, and not also its spatial change, would be a controlling factor whether a convection system forms, similar to a model with homogeneous permeability. However, due to the sequential nature of the SGSim algorithm, the first determined permeability value would be used for the whole domain in that case, and likely not represent the average permeability of the reservoir. In a case with observable heterogeneous permeability, both, the permeability value, and its change in space, are important to consider, making a homogeneous approach not feasible. This means that in Fig.Â 9 and following visualizations, a finite correlation length \(\text{cl}_\text{h}\) of zero means that no finite correlation length exists, i.e., a homogeneous case.

The homogeneous case, i.e., no finite correlation length, is characterized by a higher entropy production number, associated with an *ideal* convection system, where cells are not distorted or diverted by lenses with low permeability. The entropy production of a homogeneous case is used as a reference point for emphasizing the importance of considering heterogeneous permeability in an aquifer (here specifically the Yarragadee Aquifer) when modeling hydrothermal convection. While the entropy production of the whole ensemble continuously decreases with increasing \(\text{cl}_\text{h}\) (Fig.Â 9 left), it stabilizes at around 2000 m horizontal correlation length if members without convection are ignored when calculating \(N_{\dot{S}}\) (Fig.Â 9 right). No significant influence of \(\text{cl}_\text{h}\) on the average entropy production of an ensemble is observed for correlation lengths larger 4000 m (Fig.Â 9 right). This suggests that heat transport is not strongly influenced by changes in \(\text{cl}_\text{h}\) beyond this range. This can further mean that the number of convection cells is relatively stable for \(\text{cl}_\text{h}\) larger 4000 m. We will test this hypothesis later in this manuscript by assessing the relation between number of convection cells and entropy production.

FigureÂ 10 shows boxplots for each ensemble, including only members showing convection. While the mean entropy production decreases until \(\text{cl}_\text{h} = 2000\,\hbox {m}\), ensemble spread increases with increasing \(\text{cl}_\text{h}\) as indicated by the longer whiskers. As said before, the ensemble average of the entropy production number is constant for larger \(\text{cl}_\text{h}\). However, analysis of all the ensembles shows oscillation of the ensemble spread for larger horizontal correlation lengths. Outliers (i.e., above 1.5 times the upper quartile or below 1.5 times the lower quartile) are mostly found at the lower end of the ensembles (diamonds in Fig.Â 10). This may be linked directly to the top and bottom Dirichlet boundary conditions for temperature, meaning that there is a fixed upper limit for heat transport in the model, thus reducing the likelihood of â€śpositiveâ€ť outliers.

Simulation results suggest that the increase in horizontal correlation length does not have a strong influence once a convection system has formed. We do not observe a systematic connection between \(\text{cl}_\text{h}\) and ensemble variance, which is expressed by the varying whisker lengths for boxplots with increasing \(\text{cl}_\text{h}\) in Fig.Â 10. It should be noted, however, that variations in whisker lengths may also be due to the ensemble size, so conclusions should be made cautiously. The ensemble median, however, is relatively constant over this range of \(\text{cl}_\text{h}\), indicating no significant shift of the ensemble distribution, but a change in its width, i.e., its standard deviation.

### Influence of vertical correlation length

In a sedimentary environment, lithofacies and associated petrophysical parameters do not only vary laterally, but also vertically. Such vertical variations due to layering have a stronger influence on the resulting vertical heat transport than lateral variations. This can be illustrated by comparison with a simplified circuit model. In case of variations along the transport path, i.e., vertical variations when looking at vertical heat transport, resistors in the electric circuit would be connected in series. That is, adding a resistor with a high resistivity would already change the resulting voltage significantly. For lateral variations, the analog circuit would be resistors connected in parallel, and the total resistance is lower than the smallest individual resistor in the system. Here, an additional resistor in series with a high resistivity would have a less significant influence. FigureÂ 11 illustrates this analog.

As a result, one would use the harmonic mean for averaging vertical variations along the transport path, and the arithmetic mean for averaging the lateral variations. Accordingly, changing the vertical correlation length of permeability should have a more significant influence on the associated convection system than changing the horizontal correlation length. To test this hypothesis, we performed the same Monte Carlo simulations with \(\text{cl}_\text{v}\) equal to 100Â m. Results show that the vertical correlation length (\(\text{cl}_\text{v}\)) of permeability has a significant effect on the likelihood of convective heat transport. Again, increasing horizontal correlation length of permeability correlates with increasing number of realizations showing no convective heat transport for both vertical correlation lengths (Fig.Â 12). While over 80% of members in ensembles with \(\text{cl}_\text{v} = 150\,\hbox {m}\) show convection, this fraction decreases drastically for ensembles with \(\text{cl}_\text{v} = 100\,\hbox {m}\) down to \(< 50\,\%\). For both vertical correlation lengths, the number of convecting ensemble members mainly decreases between 1500 and 3500 m horizontal correlation length. In ensembles with \(\text{cl}_\text{h}\) larger than 3500 m, the fraction of members showing convection stabilizes for \(\text{cl}_\text{v} = 100\,\hbox {m}\), while it continuously slightly decreases for \(\text{cl}_\text{v} = 150\,\hbox {m}\).

These results emphasize how important knowledge about the (vertical) spatial continuity of permeability in a modeled aquifer is for quantifying the probability of convective heat transport. Furthermore, we observe that \(\text{cl}_\text{v}\) has a stronger influence on the development of convection cells than \(\text{cl}_\text{h}\), which does not influence the heat transfer, expressed by entropy production, over a certain range. This observation has important implications, as the vertical correlation length \(\text{cl}_\text{v}\) can usually be deduced from well logs. A shorter vertical correlation length means more frequent alternation of different permeabilities, meaning more little permeable zones, which strongly influence the average permeability of the sedimentary column, as it is averaged by the harmonic mean.

### Number of convection cells and entropy production

In the context of this work, one convection cell is understood as the connected pair of zones of upflow and downflow. To test the hypothesis that spatially heterogeneous permeability influences the convection pattern, i.e., the number of convection cells, we count the convection cells in each simulated model. For this purpose, we apply a peak count method to horizontal temperature profiles through the model. Each counted positive peak can be associated with a zone of upflow.

Before presenting the results of the cross section of the Perth Basin, we show, as an example, the influence of \(\text{cl}_\text{h}\) on the number of convective rolls in closed boxes of dimensions 2 km (*x*-direction) \(\times 1\,\hbox {km}\) (*z*-direction) in Fig.Â 13. In these simplified models without complicated reservoir structure, the change in the number of convection cells is solely controlled by the change in horizontal correlation length of permeability. FigureÂ 13 shows isotherms for three different \(\text{cl}_\text{h}\). At \(\text{cl}_\text{h} = 50\,\hbox {m}\), three distinct convection cells develop. Increasing \(\text{cl}_\text{h}\) to 250 m and 500 m yields a reduction in the number of convection cells caused by wider zones of low permeability (gray-to-white fields in Fig.Â 13). Results of this analysis for the Perth Basin ensembles are presented as a joint plot of correlation length and number of convection cells (wave number) in Fig.Â 14. A joint plot shows the bivariate distribution between two variables, here \(\text{cl}_\text{h}\) and wave number, as well as their univariate distributions at the margin. The number of convection cells decreases at shorter horizontal correlation lengths, visualized by the darker colors in Fig.Â 14. Darker blue indicates that a wave number was counted in more ensemble members. At \(\text{cl}_\text{h} = 500\,\hbox {m}\), the majority of simulations have eight convection cells. At \(\text{cl}_\text{h} = 1000\,\hbox {m}\), the average wave number decreased to seven, and to six at \(\text{cl}_\text{h} = 4000\,\hbox {m}\). This observation agrees with results from simpler models, where no major changes in the number of convection rolls are observed for larger \(\text{cl}_\text{h}\). Similarly to the entropy production number (Fig.Â 10), the number of convection cells stabilizes at longer correlation lengths. While 12 peaks are counted in the model with homogeneous permeability, the number of peaks undulates between 6 and 7 for ensembles with a correlation length greater than 1500 m. That is, at 1500 m, the average number of convection cells in the model is halved compared to a simulation with homogeneous permeability. The similarity between the distribution of the entropy production number and the wave number suggests that the former can be related to the probable number of convection cells, given a closed model with a fixed size. Changes in the model size, i.e., its aspect ratio, also influence the number of convection cells (Beck 1972; Bejan 1979; Turcotte and Schubert 2014; Bejan 2013).

## Discussion

The presented results are analyzed following the hypothesis that convective systems are less likely to develop when we increase the finite horizontal correlation length in an aquifer, and that this can be measured by the entropy production number. This hypothesis may need further explanation. We assume that all parameters relevant for convection, such as temperature difference across the porous medium, or its thickness, are kept constant. A model with homogeneous permeability can be treated as a case with an infinite spatial correlation length. In such a model, only the magnitude of permeability determines if convection is likely or not. If we consider the same model with heterogeneous permeability, i.e., a finite correlation length, the magnitude of permeability and its spatial variation would control the onset of free convection. It may appear logical that longer correlation lengths might facilitate the onset of convection, as permeable areas stretch over a longer distance. However, so do areas of low permeability. These work as barriers to the buoyancy-driven convective current, which is mainly vertical. At shorter finite horizontal correlation lengths, these currents just get diverted around lenses of low permeability, whereas a lateral elongation of those lenses can completely inhibit the onset of convection. And such a lateral elongation corresponds to a longer horizontal correlation length.

One controlling factor in a convective system is the temperature difference between top and bottom of the convecting layer. Consequently, the type of boundary conditions applied to a model influences the simulated convection. We apply Dirichlet boundary conditions at the top and bottom boundaries of the model. Thus, the applied boundary conditions supply a constant amount of energy to the system. It needs to be discussed whether these boundary conditions reflect a realistic state of the system. If temperatures at depth are known, applying Dirichlet boundary conditions is reasonable. However, as this is usually not the case, thermal Neumann boundary conditions are applied as bottom boundary condition (Smith and Chapman 1983). In the Perth Basin region, several studies use a basal Dirichlet boundary condition for temperature and yield realistic simulation results (Corbel etÂ al. 2012b; Schilling etÂ al. 2013; Niederau etÂ al. 2017). Their results suggest that, for the bottom boundary, a Dirichlet boundary condition for temperature is suitable for the Perth Basin. Still, it is worthy to discuss the implications which the choice of boundary condition has on the entropy production. Constant force boundary conditions (Dirichlet boundary conditions) yield a maximum of estimated entropy production and constant flux boundary conditions (Neumann boundary conditions) define a lower bound. We focused here on maximum conditions to obtain a comparison to the previous work on cell structures (BĂ¶rsing etÂ al. 2017). Furthermore, under the scope of this paper, i.e., the possibility to use entropy production to obtain insight in the behavior of convection in heterogeneous systems, we generally expect similar results concerning the geometric interpretation of the entropy production.

Additionally to permeability of a reservoir, its structure, i.e., abrupt changes in reservoir thickness, has a strong influence on the convective system. Such changes are usually caused by fault zones which not only influence reservoir structure, but normally also the spatial permeability distribution, and can thus influence groundwater flow paths (Freymark etÂ al. 2019; Inbar etÂ al. 2019). In terms of their permeability relative to that of the surrounding rock, fault zones may be more permeable, similarly permeable, or less permeable. For instance, fault-related processes, such as clay smear (Vrolijk etÂ al. 2016), can drastically influence permeability of a fault, e.g., by acting as a barrier to fluid flow. The existence of clay smear alone, however, is not a defining indicator on the permeability of the fault, as potential breaching of the clay layer coincides with increased flow across the fault (Kettermann etÂ al. 2017). Furthermore, experimental data showed that the influence of clay smear on permeability changes with fault activity, i.e., rock deformation (Takahashi 2003). We only consider fault displacement in our simulations which oversimplifies the impact of fault systems. Schilling etÂ al. (2013) observe that zones of upflow occur in fault zones or in their vicinity, depending if the faults are highly permeable or impermeable respectively. While it is logical that upflow is focused within permeable fault zone, it can appear counterintuitive that zones of upflow occur next to fault zones if these are impermeable. However, aquifer thickness of the Yarragadee Aquifer is highest in the hanging walls of normal faults. Thus, formation of convection cells in these areas is facilitated, especially when fluid flow across a fault is inhibited by its low permeability. However, fault zones are not homogeneously permeable over their whole extent, meaning that the results presented by Schilling etÂ al. (2013) reflect extreme conditions. But even if faults are modeled just as displacement, they have an influence on the convective pattern (Niederau etÂ al. 2017). It is not known whether faults in the central Perth Basin are sealing or transmissive. Faults studied in the northern Perth Basin suggest that they may be sealing (Olierook etÂ al. 2014), but this cannot be assumed to be true in the central Perth Basin. Considering the great uncertainty in fault permeability in general, and also in the Perth Basin, we decided to model only the fault displacement, as our study focuses on the influence of the correlation length of matrix permeability on the convective system, and not on the influence of fault permeability. It would, however, be possible and important, to extend the analysis to simulations which consider fluid flow in and across fault zones, for example by representing faults as 2D elements in a finite-element discretization. The presented diagnostic equations for the entropy production would be equally applicable.

Our simulation results suggest that varying the correlation length of permeability in the Yarragadee Aquifer changes the convection pattern in the aquifer. These results agree with the theoretical studies on the influence of the spatial continuity on the onset of convection (Nield etÂ al. 2010; Simmons etÂ al. 2010). For instance, Nield and Simmons (2007) state that weak vertical heterogeneity has presumably little or no effect on the onset of convection. In our simulations, reducing the vertical correlation length by 50 m caused a significant reduction of ensembles showing convection at higher horizontal correlation lengths. By reducing the vertical correlation length, we increase the vertical heterogeneity. However, the variance of the permeability distribution applied in our model (see Fig.Â 5 right) is too large to be considered weak heterogeneity after the definition provided by Nield and Simmons (2007) and Simmons etÂ al. (2010). Thus, the influence of vertical heterogeneity is more significant in our study, but this does not contradict previous studies.

In the case of the Perth Basin, it can further be concluded that a horizontal correlation length greater than 2000 m has a small influence on the convective pattern. Such a stabilization in convective systems was also found by Prasad and Simmons (2003) who observed a decrease of overall degree of instability with increasing horizontal correlation length. While the model which they studied is a heterogeneous *Elder Problem* (Elder 1967), their conclusions can be confirmed to some extent in this study with a geometrically more complex model. Furthermore, our findings coincide with those by Prasad and Simmons (2003) that reservoir models using representative averages or flow parameters will often significantly underestimate the importance of their spatial heterogeneities, e.g., their effect on the onset of convection.

We use a geostatistical approach for varying horizontal correlation lengths, as we have no real information about the latter in the Yarragadee Aquifer. Cross correlation between wells is a usual approach for assessing a horizontal correlation length. However, the distance between wells in the study area is between 40 and 100 km, thus too long to assess a meaningful horizontal correlation length. The vertical correlation length, however, as well as the value range of porosity and permeability used in our models are representative for the Yarragadee Aquifer, as it is based on core- and log data from wells in the Perth Basin (Niederau etÂ al. 2017). Another approach for modeling the spatial permeability distribution would be stratigraphic forward modeling. Existing stratigraphic models for the Yarragadee Aquifer by Corbel etÂ al. (2012a) provide a good basis for estimating a range of correlation lengths and a different approach for modeling a spatial permeability distribution. In their model, sediment influx in the Perth Basin was from the north and east. Despite yielding a probable permeability distribution, stratigraphic forward modeling in such a sedimentary environment is non-trivial and model results are just one possible realization of the sediment distribution in the subsurface. As such, it is comparable to geostatistical realizations of the same distribution. The key difference between the two approaches is that stratigraphic forward modeling is a process-based approach, while geostatistics is a data-based one. In contrast to analyzing one stratigraphic forward model, a Monte Carlo approach enables us to draw statistically more robust conclusions. Ideally, both approaches should be combined. That is, conditioned geostatistical ensembles of permeability distributions based on stratigraphic forward models could provide a model representative for the Yarragadee Aquifer.

A classic approach in studying convecting system is assessing the systemsâ€™ Rayleigh number. While the Rayleigh number is very useful for estimating if a system is likely to show convection, it does not provide information about the likely convective pattern. The same Rayleigh number may characterize different convection patterns which have different entropy production numbers (BĂ¶rsing etÂ al. 2017). Also, assessing a meaningful Rayleigh number in a non-idealized setting (e.g., a convecting layer with non-parallel boundaries) is difficult, as the height of the convecting layer, or the temperature difference across it is two input parameters in classical Rayleigh number formulations. Both parameters are not constant in a real-world example. For instance, estimating the Rayleigh number of a simple model similar to the one shown in Fig.Â 1a is straightforward, as is the estimation of \(N_{\dot{S}}\). Introducing lenses of low permeability as in Fig.Â 1b changes the convective system. Such a change in the average permeability is represented by a change in the Rayleigh number and \(N_{\dot{S}}\) of the model. If introduction of heterogeneity in permeability is not reflected by a change in the average permeability, a correct Rayleigh number analysis gets problematic, especially if the harmonic mean of the vertical permeability of the studied aquifer is subcritical, as in Fig.Â 1c, d. Such a conclusion, that traditional Rayleigh analysis can be misleading, as convection can occur at subcritical Rayleigh numbers (due to subcritical average permeability), was also drawn by Prasad and Simmons (2003), who stated â€śthe traditional Rayleigh stability criterion based upon an average permeability is inadequate for describing solute transport processes in heterogeneous systemsâ€ť. A traditional Rayleigh number analysis may only be valid when heterogeneity in permeability is small, i.e., a deduced log-permeability distribution has a small standard deviation.

In a system with spatially heterogeneous permeability, a Rayleigh number analysis may lead to incorrect predictions, as low-permeable layers in a system significantly reduce the average vertical permeability (e.g., when using the harmonic mean) and thereby the estimated Rayleigh number. Thus, entropy production can be used as a thermodynamically-based, diagnostic metric which may vary in systems of equal Rayleigh number and thus represent different convection patterns. This is one advantage of the entropy production number compared to a Rayleigh number assessment. Concerning the Nusselt number, entropy production has the advantage that a volumetric estimation of convection is possible, due to the formulation by Bejan (2013). Furthermore, the entropy production number can be used for assessing a probable convection pattern in a reservoir of more complex geometry. In our simulations, the number of convection cells decreased with increasing horizontal correlation length of permeability, at least at lower correlation lengths. The average entropy production number similarly decreased at lower correlation lengths, suggesting that it correlates with the number of convection cells. It should, however, be noted that entropy production provides the potential to observe whether major changes in a convective system occur. It does not directly help in locating zones of up flow or down flow in a realistic environment. In this sense, we cannot expect the measure of entropy production to indicate regions of upflow in an area. However, it provides an estimation about the expected number, and accuracy, of up flow and down flow regions in the entire simulation domain.

## Conclusion

In this manuscript, we analyze how different correlation lengths in permeability affect a convection pattern by using a Monte Carlo approach. We use the measure of entropy production for quantifying this effect. Simulation results of the MC ensembles show that the number of ensemble members with dominant convective heat transport decreases with increasing correlation length, as expressed by a continuously decreasing entropy production number (\(N_{\dot{S}}\)). Excluding non-convective ensemble members reveals that \(N_{\dot{S}}\) stabilizes at a horizontal correlation length of around 2000 m. As expected, the number of convection cells also decreases with increasing correlation length, similarly to the entropy production number, also stabilizing at a horizontal correlation length of around 2000 m. Vertical correlation length has a stronger influence on the possibility of convection development in our model. This result has important implications for similar case studies, as deducing the vertical correlation length from well logs is usually feasible in reservoir studies.

The measure presents itself as a powerful diagnostic tool when studying hydrothermal convection in real-world reservoir systems, and that in such settings, it can be more useful than a classical Rayleigh number assessment. It is not fully clear which conditions in our simulations facilitate the development of a convective system. It is likely that certain combinations of heterogeneous permeability and reservoir structure are an important factor for convection in our model of the Perth Basin. The evaluation of entropy production shows further that it is important to consider spatially heterogeneous permeability with an accurate correlation length to reliably simulate the probable convection present in the Perth Basin.

We consider the use of entropy production as a diagnostic tool and focus here on 2-D analyses, as an extension and application to previous theoretical work (BĂ¶rsing etÂ al. 2017). However, one strength of the measure itself is that it can be applied to any more complex setting,Â both in the choice of boundary conditions, as well as in the dimensionality of the problem. Including faults as own hydraulic units in a finite-element discretization, for instance, the influence of a constant flux boundary condition, or how entropy production is affected by the development of elongated convection rolls, rather than cells, in three-dimensional problems. We already performed the first studies investigating the development entropy production and its interpretability in three-dimensional settings (Huang 2017) and see this as an interesting path for future research.

## Availability of data and materials

The data sets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

## References

Alpay OA, et al. A practical approach to defining reservoir heterogeneity. J Petrol Technol. 1972;24(07):841â€“8.

Backhouse J. Revised late Jurassic and early Cretaceous stratigraphy in the Perth Basin. Geol Surv Western Aust Rep. 1984;12:1â€“6.

Barbier E. Geothermal energy technology and current status: an overview. Renew Sustain Energy Rev. 2002;6(1):3â€“65. https://doi.org/10.1016/S1364-0321(02)00002-3.

Beck JL. Convection in a box of porous material saturated with fluid. Phys Fluids. 1972;15(8):1377â€“83.

Bejan A. A study of entropy generation in fundamental convective heat transfer. J Heat Transf. 1979;101(4):718â€“25.

Bejan A. Convection heat transfer. Hoboken: Wiley; 2013.

BĂ¶rsing N, Wellmann JF, Niederau J, Regenauer-Lieb K. Entropy production in a box: analysis of instabilities in confined hydrothermal systems. Water Resour Res. 2017;53(9):7716â€“39. https://doi.org/10.1002/2017WR020427.

Botman C. Determining the geothermal properties of the Perth Basin lithology to aid geothermal energy projects. Perth: Curtin University of Technology B.Sc (Geophysics) Honours thesis Unpublished. 2010.

Clauser C. Thermal storage and transport properties of rocks, II: thermal conductivity and diffusivity. Dordrecht: Springer; 2011. p. 1431â€“48. https://doi.org/10.1007/978-90-481-8702-7_67.

Clauser C, Bartels J. Numerical simulation of reactive flow in hot aquifers: SHEMAT and processing SHEMAT. Berlin: Springer; 2003.

Corbel S, Griffiths C, Dyt C, Ricard L. Hot sedimentary aquifer characterization using stratigraphic forward modelling, Perth Basin, Australia. In: Proceedings of the thirty-seventh workshop on geothermal reservoir engineering, Stanford University, Stanford, California. 2012a.

Corbel S, Schilling O, Horowitz F, Reid L, Sheldon H, Timms N, Wilkes P. Identification and geothermal influence of faults in the Perth metropolitan area, Australia. In: Thirty-seventh workshop on geothermal reservoir engineering, Stanford, CA. 2012b.

Costa V. On natural convection in enclosures filled with fluid-saturated porous media including viscous dissipation. Int J Heat Mass Transf. 2006;49(13â€“14):2215â€“26.

Crostella A, Backhouse J. Geology and petroleum exploration of the central and southern Perth Basin, Western Australia. 57, Geological Survey of Western Australia. 2000.

CSIRO Csiro Pressureplot(tm) software and Pressuredb (tm) database. 2007. www.pressureplot.com. Accessed 08 Apr 2013.

Davidson WA, Yu X. Perth regional aquifer modelling system (PRAMS) model development: Hydrogeology and groundwater modelling. Western Australia Department of Water. 2008.

Delle Piane C, Esteban L, Timms L, Ramesh Israni S. Physical properties of mesozoic sedimentary rocks from the Perth Basin, Western Australia. Aust J Earth Sci. 2013;60(6â€“7):735â€“45.

Deutsch C, Journel A. GSLIB Geostatistical software library and userâ€™s guide. New York: Oxford University Press; 1998.

Diersch HJG, Kolditz O. Variable-density flow and transport in porous media: approaches and challenges. Adv Water Resour. 2002;25(8):899â€“944. https://doi.org/10.1016/S0309-1708(02)00063-5.

Elder J. Transient convection in a porous medium. J Fluid Mech. 1967;27(3):609â€“23.

Freymark J, Bott J, Cacace M, Ziegler M, Scheck-Wenderoth M. Influence of the main border faults on the 3d hydraulic field of the central Upper Rhine Graben. Geofluids. 2019;. https://doi.org/10.1155/2019/7520714.

Grant M, Donaldson I, Bixley P. Geothermal reservoir engineering. New York: Academic Press; 1982. https://doi.org/10.1016/B978-0-122-95620-1.X5001-2.

Harris L. Structural and tectonic synthesis for the Perth Basin, Western Australia. J Petrol Geol. 1994;17(2):129â€“56.

HDRPL Geothermal energy potential in selected areas of Western Australia (Perth Basin). Hot Dry Rocks Pty Ltd. (HDRPL), South Yarra, Australia. 2008.

Horowitz F, Regenauer-Lieb K, Wellmann J, Chua H, Wang X, Poulet T. Evidence for hydrothermal convection in the Perth Basin, Australia. In: Gurgenci H, Budd AR, editors. Proceedings of the Sir Mark Oliphant international frontiers of science and technology Australian geothermal energy conference. 2008;18.

Huang P. Investigating different formulations for hydrothermal convection in geothermal systems. Masterâ€™s thesis, RWTH Aachen University. 2017.

Inbar N, Rosenthal E, Magri F, Alraggad M, MĂ¶ller P, Flexer A, Guttman J, Siebert C. Faulting patterns in the lower yarmouk gorge potentially influence groundwater flow paths. Hydrol Earth Syst Sci. 2019;23(2):763â€“71.

Irvine DJ, Sheldon HA, Simmons CT, Werner AD, Griffiths CM. Investigating the influence of aquifer heterogeneity on the potential for thermal free convection in the Yarragadee Aquifer, Western Australia. Hydrogeol J. 2014;. https://doi.org/10.1007/s10040-014-1194-1.

Jureca JĂĽlich Supercomputing Centre. General-purpose supercomputer at jĂĽlich supercomputing centre. J Large-Scale Res Facil. 2016;2:A62. https://doi.org/10.17815/jlsrf-2-121.

Kettermann M, Urai JL, Vrolijk PJ. Evolution of structure and permeability of normal faults with clay smear: insights from water-saturated sandbox models and numerical simulations. J Geophys Res Solid Earth. 2017;122(3):1697â€“725.

Kleidon A, Lorenz R. Entropy production by earth system processes. In: Kleidon A, Lorenz R, editors. Non-equilibrium thermodynamics and the production of entropy. Heidelberg: Springer; 2005. p. 1â€“20.

Kolditz O, Ratke R, Diersch HJG, Zielke W. Coupled groundwater flow and transport: 1. Verification of variable density flow and transport models. Adv Water Resour. 1998;21(1):27â€“46.

Lipsey L, Pluymaekers M, Goldberg T, van Oversteeg K, Ghazaryan L, Cloetingh S, van Wees JD. Numerical modelling of thermal convection in the Luttelgeest carbonate platform, the Netherlands. Geothermics. 2016;64:135â€“51.

Lorenz EN. Deterministic nonperiodic flow. J Atmos Sci. 1963;20(2):130â€“41.

Middleton M. Radiogenic heat generation in the Darling Range, Western Australia. Explor Geophys. 2013;44:206â€“14.

Niederau J. Calibration of a fractal model relating porosity to permeability and its use for modeling hydrothermal transport processes in the Perth Basin, Australia. Energy Procedia. 2014;59:293â€“300. https://doi.org/10.1016/j.egypro.2014.10.380.

Niederau J, BĂ¶rsing N, Wellmann F, Clauser C. Entropy production and attractors: Measures to quantify uncertainty and complexity introduced by convection. In: Proceedings European geothermal congress, 19â€“24 September, Strasbourg, France. 2016.

Niederau J, Ebigbo A, Marquart G, Arnold J, Clauser C. On the impact of spatially heterogenous permeability on free convection in the Perth Basin, Australia. Geothermics. 2017;66:119â€“33.

Nield D, Simmons CT. A discussion on the effect of heterogeneity on the onset of convection in a porous medium. Transp Porous Media. 2007;68(3):413â€“21.

Nield D, Kuznetsov A, Simmons CT. The effect of strong heterogeneity on the onset of convection in a porous medium. Transp Porous Media. 2009;77(2):169.

Nield D, Kuznetsov A, Simmons CT. The effect of strong heterogeneity on the onset of convection in a porous medium: 2d/3d localization and spatially correlated random permeability fields. Transp Porous Media. 2010;83(3):465â€“77.

Olierook HK, Timms NE, Hamilton PJ. Mechanisms for permeability modification in the damage zone of a normal fault, northern Perth Basin, Western Australia. Marine Petrol Geol. 2014;50:130â€“47. https://doi.org/10.1016/j.marpetgeo.2013.10.012.

Pape H, Clauser C, Iffland J. Permeability prdiction based on fractal pore-space geometry. Geophysics. 1999;64(5):1447â€“60.

Playford PE, Cockbain AE, Low G. Geology of the Perth Basin, Western Australia. Geological Survey of Western Australia, Perth, Australia. 1976.

Prasad M. Velocity-permeability relations within hydraulic units. Geophysics. 2003;68(1):108â€“17.

Prasad A, Simmons CT. Unstable density-driven flow in heterogeneous porous media: a stochastic study of the elder â€śshort heaterâ€ť problem. Water Resour Res. 2003;39(1):SBH 4â€“1â€“SBH 4â€“21. https://doi.org/10.1029/2002WR001290.

Pujol M, Ricard LP, Bolton G. 20 years of exploitation of the Yarragadee Aquifer in the Perth Basin of Western Australia for direct-use of geothermal heat. Geothermics. 2015;57:39â€“55. https://doi.org/10.1016/j.geothermics.2015.05.004.

Rana R, Horne R, Cheng P. Natural convection in a multi-layered geothermal reservoir. J Heat Transf. 1979;101(3):411â€“6.

Rath V, Wolf A, BĂĽcker H. Joint three-dimensional inversion of coupled groundwater flow and heat transfer based on automatic differentiation: sensitivity calculation, verification, and synthetic examples. Geophys J Int. 2006;167(1):453â€“66.

Rayleigh L. On convection currents in a horizontal layer of fluid, when the higher temperature is on the under side. Lond Edinburgh Dublin Philos Mag J Sci. 1916;32(192):529â€“46.

Rubin Y, Mavko G, Harris J. Mapping permeability in heterogeneous aquifers using hydrologic and seismic data. Water Resour Res. 1992;28(7):1809â€“16.

Schilling O, Sheldon H, Reid L, Corbel S. Hydrothermal models of the perth metropolitan area, Western Australia: implications for geothermal energy. Hydrogeol J. 2013;21(3):605â€“21. https://doi.org/10.1007/s10040-012-0945-0.

Sheldon HA, Florio B, Trefry MG, Reid LB, Ricard LP, Ghori KAR. The potential for convection and implications for geothermal energy in the Perth Basin, Western Australia. Hydrogeol J. 2012;20(7):1251â€“68.

Siavashi M, Bahrami HRT, Saffari H. Numerical investigation of flow characteristics, heat transfer and entropy generation of nanofluid flow inside an annular pipe partially or completely filled with porous media using two-phase mixture model. Energy. 2015;93:2451â€“66.

Siavashi M, Bordbar V, Rahnama P. Heat transfer and entropy generation study of non-darcy double-diffusive natural convection in inclined porous enclosures with different source configurations. Appl Therm Eng. 2017;110:1462â€“75. https://doi.org/10.1016/j.applthermaleng.2016.09.060.

Simmons CT, Kuznetsov AV, Nield DA. Effect of strong heterogeneity on the onset of convection in a porous medium: importance of spatial dimensionality and geologic controls. Water Resour Res. 2010;. https://doi.org/10.1029/2009WR008606.

Smith L, Chapman DS. On the thermal effects of groundwater flow: 1. Regional scale systems. J Geophys Res Solid Earth (1978â€“2012). 1983;88(B1):593â€“608.

Takahashi M. Permeability change during experimental fault smearing. J Geophys Res Solid Earth. 2003. https://doi.org/10.1029/2002JB001984.

Testerman J, et al. A statistical reservoir-zonation technique. J Petrol Technol. 1962;14(08):889â€“93.

Timms NE, Olierook HK, Wilson ME, Delle Piane C, Hamilton PJ, Cope P, StĂĽtenbecker L. Sedimentary facies analysis, mineralogy and diagenesis of the mesozoic aquifers of the central Perth Basin, Western Australia. Marine Petrol Geol. 2015;60:54â€“78.

Tolman RC, Fine PC. On the irreversible production of entropy. Rev Mod Phys. 1948;20(1):51.

Turcotte D, Schubert G. Geodynamics. Cambridge: Cambridge University Press; 2014.

Vincent AP, Yuen DA. Thermal attractor in chaotic convection with high-prandtl-number fluids. Phys Rev A. 1988;38:328â€“34. https://doi.org/10.1103/PhysRevA.38.328.

Vrolijk PJ, Urai JL, Kettermann M. Clay smear: review of mechanisms and applications. J Struct Geol. 2016;86:95â€“152.

Wagner W, Kretzschmar HJ. Iapws industrial formulation 1997 for the thermodynamic properties of water and steam. In: International steam tables: properties of water and steam based on the industrial formulation IAPWS-IF97 2008. p. 7â€“150.

Wyllie MRJ, Gregory AR, Gardner LW. Elastic wave velocities in heterogeneous and porous media. Geophysics. 1956;21(1):41â€“70.

Zyvoloski G, Robinson B, Dash Z, Trease L. Models and methods summary for the FEHMN application. Tech. rep., Los Alamos National Lab., NM (United States). 1996. https://www.osti.gov/servlets/purl/366455. Accessed 12 Oct 2016.

## Acknowledgements

The authors gratefully acknowledge the computing time granted by the JARA-HPC Vergabegremium on the supercomputer JURECA at Forschungszentrum JĂĽlich for the JARA-HPC project 11061. The authors thank the reviewers and editor for their valuable comments which helped improving the manuscript.

## Funding

The conducted research was not part of a funded project. Computing time on the supercomputer JURECA were Granted by JARA-HPC under the project number 11061.

## Author information

### Authors and Affiliations

### Contributions

JN sets up the geological model, did the ensemble simulation and majority of analysis. He wrote the majority of the manuscript. JFW was a major contributor in structuring and revising the manuscript. NB significantly contributed to the manuscript, and provided the basis code for the entropy production analysis. All authors read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare that they have no competing interests.

## Additional information

### Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## About this article

### Cite this article

Niederau, J., Wellmann, J.F. & BĂ¶rsing, N. Analyzing the influence of correlation length in permeability on convective systems in heterogeneous aquifers using entropy production.
*Geotherm Energy* **7**, 35 (2019). https://doi.org/10.1186/s40517-019-0151-6

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s40517-019-0151-6

### Keywords

- Hydrothermal convection
- Entropy production
- Heterogeneous permeability
- Perth Basin
- Spatial continuity