The methodology has been structured into several sections. On one hand, in the Theoretical Background section, the search for the equation relating subsurface temperature to its thermal parameters is addressed. On the other hand, in the Site section, we emphasize the process of measuring subsurface temperature over an extended period in a specific geological and hydrogeological environment. These measurements were conducted in the context of a geothermal research pilot borehole located in Asturias, Northern Spain. Finally, in the Results section, we address the determination of which thermal parameters of the subsurface yield the best fit between actual temperature values and the derived equations. Calculations are performed for various soil layers, observed using core samples and geophysical records.
2.1. Theoretical Background Section
Temperatures in the subsurface can be influenced by various factors, such as the daily and seasonal fluctuations in air temperature as well as by the groundwater flow, while at deeper depths they are mainly determined by the geothermal gradient. In this work, we omit the latter factor and only consider temperatures in the upper layers of the subsurface, where temperature fluctuations are evident due to changes in ambient temperature and groundwater flow. In particular, Model I allows for the determination of the subsurface temperature at a specific depth and moment as a consequence of the vertical heat flow driven by conduction, resulting from the temperature difference between the subsurface and the external environment. Model II discusses the case of heat transmission in the subsoil due to the combined effect of heat transmission through conduction (solar radiation) and convection (underground water flow). In addition, it considers the heat flow due to the potential of the groundwater flow.
Model I also assumes:
The ground surface is horizontal.
The subsoil is composed of homogenous and isotropic layers.
Subsoil temperature variations are a consequence of surface air temperature variations. Isotherms are horizontal.
Heat flow is vertical.
The air temperature Ta(t) as a function of time, t, can be described by a periodic function. This temperature is defined as a boundary condition to solve the main equation for conduction in the ground.
Tm represents the average air temperature over period P,
P denotes the period of the study,
A0 indicates the amplitude of air temperature during period P,
ω stands for the angular frequency of the periodic variation, satisfying ,
signifies the sinusoidal oscillation delay from the surface ground temperature at the beginning of the measurement period.
As is known, the vertical heat transport by conduction in a medium is mathematically represented as:
where
represents the temperature of the porous medium, and
represents the bulk thermal diffusivity, defined as
, with
as the bulk thermal conductivity, and
as the volumetric heat capacity of the bulk porous medium.
The solution of the Equation (2), with the hypotheses indicated earlier and the boundary condition described in Equation (1), is the following:
where
The Equation (3) can be expressed as:
where:
and
The thermal diffusivity, , is incorporated into the expression for , and it impacts both and . This equation characterizes the model referred to as Model I.
In Model II, we account for the presence of water in the subsoil. In this scenario, the vertical component of the heat flow in the subsoil is additionally included and mathematically represented by Equation (4):
where
is defined by the expression
, with
representing the volumetric flow or the vertical component of Darcy velocity and assigned positive values as
increases. Additionally,
represents the volumetric heat capacity of water, and
is the volumetric heat capacity of rocks. While
can be directly sourced from the literature,
is intrinsic to the rock and needs to be determined for each specific case. Given that both
and
are specific to the rock, the term W is a function of
, and has units of velocity. The volumetric heat capacity of rock
can be calculated from
, the porosity fraction of the rock, and
, the volumetric capacity of the solid components of the rock, as defined according to [
35] with the following expression:
A general solution for Equation (4) is:
where
and
are complex and constant numbers, while
and
are real numbers. By applying the boundary condition, it is demonstrated that
,
and
. To determine the values of
and
, the partial derivatives
,
and
are calculated from Equation (5). The obtained results are then substituted into Equation (4), resulting in:
Solving Equation (6) for
yields two solutions:
To obtain the values of
and
, consider:
where
and
are given by:
Consequently, the real and imaginary parts of
are expressed as follows:
As a result, Equation (5) transforms into:
By replacing the root signs and conducting a coherence study, the expression simplifies to:
Equation (7) can be further expressed as:
This can be represented as:
In this case, and , where and are dimensionless variables dependent on and . In simpler terms, the thermal diffusivity influences , and , while impacts and consequently to and .
Equation (10) exhibits a resemblance to Equation (3). Both equations depict the temperature variation with depth. Therefore, temperature can be determined as the product of:
An exponential function independent of time, dependent on depth and ground characteristics. This expression defines the maximum amplitude of the temperature in the subsoil.
A periodic function that considers time in addition to the parameters mentioned above. This function characterizes the delay of the maximum temperature change in the subsurface.
Both functions differ in their arguments: only affects the temperature damping, and only affects the temperature delay. Both variables appear as factors multiplied by . As indicated above, and depend on and . Hence, for a given lithology, if = 0, ; then, and are equal to 1, and Equation (10) reduces to Equation (3).
Then, a theoretical study of
and
is presented for the hypothetical case where the thermal diffusivity is set to 1 × 10
−6 m
2/s and the ratio
is 1.85.
Figure 1 represents the calculated values of
M and
N based on Equations (8) and (9) for a range of
between −0.1 × 10
−6 m/s and 0.1 × 10
−6 m/s. These values are within a reasonable range, and this estimation provides insight into the behavior of
M and
N.
This figure illustrates that M consistently decreases with increasing . Additionally, when and for . In simpler terms, if the flow is upward, , resulting in a lower value for in Equation (10) compared to the case when M = 1. Conversely, when , is higher than it would be if .
Figure 2 illustrates the theoretical temperature variation, represented as
, using Equation (3) (solid lines) and (10) (dashed lines) for different depths (0, 2, 4, and 6 m). In both cases,
is set to 5.2 [°C], and
is set to 0. When employing Equation (10), the values of
and
used in the equations are derived from
Figure 1 by fixing the
value. For
Figure 2A, a
value of −1 × 10
−6 m/s is considered, and for Part B, the value is 1 × 10
−6 m/s. For each depth z, the solid curves (Model I, Equation (3)) represent the maximum amplitude,
, as
, with
indicating
. In the case of the dashed curves (Model II, Equation (10)), the maximum amplitude is determined by
, and
corresponds to
.
In the case where
(
,
Figure 2A), the temperature amplitude variation would be less than what it would be if there were no water flow. In other words, the temperature is more damped than in the case of only heat transmission via conduction. Conversely, if
, (
,
Figure 2B), the subsoil temperature is less damped. It appears that
has a significant impact on temperature damping in the subsoil.
Figure 2 also shows that
forms a parabola, with a minimum value of 1 corresponding to
. As
is always greater than 1 and symmetric to the vertical axis, the effect of vertical groundwater flow depends only on the velocity value, not the flow direction.
Figure 2 indicates that the vertical velocity of water has a more pronounced effect on temperature amplitude than on the delay, which is negligible.
The delay is in the order of hours, which means it cannot be detected in curves where the horizontal axis represents days.
In both models, the general Equations (2) and (4) are solved using the boundary represented by Equation (1). However, the actual ambient temperature poorly aligns with Equation (1) due to various factors (clouds, rain, etc.). Fortunately, these external influences diminish with depth. To apply the previously presented methodology, Equation (1) is replaced by the boundary condition provided by Equation (12), representing the temperature at a specific depth
in the same format as Equation (1).
where
Tmi is the average temperature at depth zi,
A0,i is the amplitude at depth zi, which was previously referred to as Amax,i.
With this boundary condition, the new Equation (13) replaces the previous Equation (3) in Model I.
For model II, Equation (10) takes the form:
The equations enable the determination of the thermal diffusivity of the subsoil, incorporated as the parameter
. If
represents the diffusivity obtained from the analysis of
between depths
, and
represents the diffusivity derived from the analysis of
between the same depths, these values can be calculated using the following equations:
The difference between the previous expressions lies in their respective denominators. Equation (15) relates to amplitudes, while Equation (16) concerns delays. Under Model I, the equations are expected to possess an equality, where
equals
. However, if the results do not match, this suggests Model I is unsuitable, making Model II applicable. Analyzing
Figure 2 and the related calculations reveals that when
, (
,
Figure 2A), the ratio surpasses 1, resulting in
>
. Conversely, the ratio falls below 1 if
, (
).
Figure 3 exhibits a graph illustrating the
values plotted against
for various
values, ranging from −1 × 10
−6 m/s to 1 × 10
−6 m/s. This graph is based on the dataset from a prior theoretical study. As previously mentioned, it includes a line with a slope of 45°, indicating instances where the value pairs relate to Model I. The lines positioned above the 45° line in the graph, referred to as Zone a, represent Model II with
. The background in this area is marked with upward-pointing arrows for clarity. Similarly, lines located below the 45° line, denoted as Zone b, signify the Model II with
. The graph’s background in this area is shaded with downward-pointing arrows.
The theoretical background has been covered before this point. The utility of these models lies in their straightforward application when subsurface temperature data at various depths are available. and are computed for diverse depths from this data, generating a graph like the preceding one. The calculated value pairs are charted and, based on their alignment with Zones a, b, or the 45-degree line, the respective equations of Models I and II are employed.
Subsequently, the underground temperature data are adjusted using non-linear regression methods to conform to the corresponding equations, yielding the sought-after parameters: thermal diffusivity for Model I and thermal diffusivity along with for Model II.
The method is suitable for depths where temperature fluctuations are detectable, typically within shallow depths that vary according to location-specific circumstances. A study published by [
35] uses the term “convergence depth” for the depth at which the difference in temperature between the subsurface temperature at that depth and the annual average ambient temperature cannot be distinguished by a standard resolution temperature sensor. This convergence depth, typically around 20 m, determines the maximum applicable depth for the methodology presented in this paper. The ensuing sections demonstrate the practical application of these methods through a case study.
2.2. Site
The previously displayed Models I and II were utilized to analyze an extensive series of temperature data measured and recorded within a geothermal pilot borehole at varying depths. The borehole, referred to as Q-Thermie, is positioned 26 m above sea level and 3 km from the coastline, situated within the Campus de Viesques, University of Oviedo (Gijón, Spain), at coordinates longitude 5°37′16″ W and latitude 43°31′23″ N, and is adjacent to a meteorological station operated by the State Meteorology Agency (Agencia Estatal de Meteorología, AEMET, Madrid, Spain) (
Figure 4).
Some interesting characteristics of the borehole are detailed in
Table 1.
The Q-Thermie borehole is embedded within the Asturian Jurassic succession. This borehole intersects the “Gijon formation”, characterized by the alternation of marly limestone and grey dolomite [
37].
The Gijon geological formation serves as a carbonate aquifer renowned for its high permeability, transmissivity, and storage coefficients, rendering its use expensive. However, the presence of loamy-clayey levels within the aquifer interrupts its hydraulic connection [
37]. The drilling of cores allowed us to measure the porosity of the penetrated materials. A mercury injection porosimeter was used, determining the porosity to be 0.50%.
Figure 5 illustrates the recorded surface air temperature data obtained from the meteorological station (Meteorology State Agency, Government of Spain, AEMET) located adjacent to the pilot borehole over the observed period.
Prior to the installation of the geothermal probes, a gamma-ray probe from a Mount Sopris 3000 device was employed in the borehole.
Figure 6 shows, among other aspects, the acquired gamma-ray log.
The central part of
Figure 6 shows the positions of temperature sensors spaced about 2 m apart, ranging from 1.67 to 43.41 m in depth. The 2-m spacing between sensors was estimated before drilling and determined according to communication system requirements.
Temperature monitoring in the subsoil involves twenty-one DS18B20 temperature sensors connected via a 1-wire cable, placed in a borehole for long-term observation. A detailed description of the instrumentation is presented in [
38], although we describe some of its features and limitations below.
The DS18B20 sensors (manufactured by Maxim Integrated, San José, CA, USA) supply 12-bit temperature readings. According to the manufacturer’s specifications, the standard sensitivity of sensors is 0.5 °C, and the mean standard error for the temperature range of 10 °C to 20 °C is between −0.45 and −0.11 °C. However, the manufacturer specifies that the sensitivity can be further enhanced through the individual calibration of each sensor. In this case, individual calibration has been performed on each sensor, resulting in a final sensitivity of ±0.06 °C within the subsurface temperature range.
The information is sent to/from the DS18B20 over a 1-wire interface, so that only one wire needs to be connected from a central microprocessor to the DS18B20 sensors. The sensors were connected to an Arduino-datalogger, programmed to record the temperature of each sensor. These sensors continuously recorded the temperature every five minutes over a period of one year.
Figure 7 displays a sectional and depth view of the arrangement of the sensors (highlighted in red) within the borehole, attached to the 1-wire cable.
On the right side of
Figure 6, temperature–depth profiles for specific months are displayed. The temperatures depicted are the average values recorded during the initial week of November, February, May, and August, respectively.
The Gijón municipal water company (Empresa Municipal de Aguas, EMA, Gijón, Spain) manages multiple boreholes providing water supply to Gijón, situated near the study area [
39].
Figure 8 illustrates the positions of both EMA’s and Q-Thermie boreholes. The water level information about these boreholes is available for an extended period. These data are used to extract valuable information that is presented later in the Results section.
From the porosity of core samples y,
was determined using a Hg injection porosimeter
. From study [
40]
, and
, so volumetric heat capacity,
.
2.3. Results
In this section, we present two key sets of results. First, we cover general findings from the borehole and its immediate surroundings. This includes air temperature analysis, the lithological column from the geothermal borehole, subsurface temperature trends with depth, and insights from the EMA’s boreholes. Then, we apply the methodology detailed in the Theoretical Background to determine the subsurface’s thermal properties in our case study.
The study of air temperature, as depicted in
Figure 5, established an amplitude of
and observed a temporal delay,
, between the theoretical sinusoidal function (
when
and the actual sinusoidal function. However, the
value, as detailed in
Table 2, indicates a notably low fit, suggesting that employing this equation as a boundary condition may yield poor results. The graph (
Figure 9) shows the best fitting curve, represented by the red curve in relation to Equation (1).
The stratigraphic sequence, deduced from continuous drilling core samples and the gamma-ray log, is visually presented in the
Figure 6. The sequence of dolomite, limestone, marly limestone, and shale layers is clear. Dolomite predominates the uppermost zone notably. Extensive fracturing in the dolomite layers necessitated drilling from inside the casing.
From the analysis of underground temperatures depicted in
Figure 6, it is inferred that temperatures converge around the 15 m depth mark, known as the convergence depth. Additionally, according to [
35], the depth at which the heat flux reverses is observed to be approximately 5 m.
Figure 9 illustrates the values of
at various depths. A significant observation is the reduction in temperature amplitude with greater depth. Notably, at a depth of 20.14 m the temperature amplitude nearly reaches zero. Furthermore, the graph demonstrates a rightward delay as depth increases.
Table 3 displays the
and
values obtained from temperature adjustments at various sensor depths, in alignment with Equation (10). It also includes coefficients (with 95% confidence bounds) and goodness of fit. Beyond 14.55 m in depth, the thermal gradient is so minor that changes are hardly noticeable. It is also observed that the correlation coefficient decreases with increasing depth.
Beyond 14.44 m in depth, the thermal fluctuations in the subsurface are so minimal that they are hardly noticeable, which worsens the fit and consequently the correlation coefficient.
During the month of September, for which the isopiestic lines are depicted as reported in
Figure 8, the piezometric level is observed to be at its lowest level, as illustrated in
Figure 10. By early March, it stabilizes between 7 and 13 m above this level.
The Q-Thermie borehole was drilled in early November, and the water level stabilized at a depth of 13 m, indicating that the piezometric level in the borehole was 13 m above sea level, consistent with the data from the EMA boreholes. The direction of water flow was inferred from this study.
Next, underground temperatures were analyzed to determine the thermal properties of the subsurface. The temperature data we analysed in accordance with three approaches to determine the apparent thermal diffusivity of the subsoil.
In the initial analysis, data from adjacent sensors were considered in order to calculate the pairs
and
using the
and
values from
Table 3. The temperature data from greater depths were taken into account but are not shown because the temperature variations are so small that it is impossible to detect the amplitudes or delays.
The necessary pairs were generated to create a graph akin to that of
Figure 3. These value pairs have been plotted in
Figure 11.
Following the initial analysis, it is evident that points 1, 2, 3, and 6 align with the ‘conduction only’ line. As a result, Model I can be applied to temperatures within the ranges of 1.67–3.86 m, 3.86–6.08 m, 6.08–8.23 m, and 12.44–14.55 m, while Model II is suitable for temperatures within the depth range of 8.23–12.44 m.
In the second analysis, and values between depths and were estimated using a minimization approach based on Equation (10).
This involved directly measuring
and using the determined values of
and
(as indicated in
Table 3). The resulting values for
and
and
are presented in
Table 4.
From the analysis of the correlation coefficients presented in this table, it can be inferred that the reliability of the M and N values diminishes with increasing depth. Specifically, is greater than 0.9 down to a depth of 14.55 m, and even greater than 0.99 up to almost 10.31 m. However, it decreases to 0.47 at a depth of 14.55 m. For this reason, results at depths greater than 14.55 m are not considered and are excluded from the study.
Based on the information provided in this table, the subsoil within the depth range of 10.31–12.44 m exhibits a significantly higher value of
than 1, which corresponds to the upward flow zone (
Figure 11). Conversely, the section spanning 8.23–10.31 m displays an
value noticeably below 1, consistent with a zone of descending flow, as indicated in
Figure 1. The remaining sections have
values that are nearly equal to 1.
Moreover, the N values consistently exceed 1, although the differences were not statistically significant.
In a third analysis, thermal diffusivity was estimated using Model I and Model II.
Based on the previous outcomes, Model I was applied to subsurface temperature data within the depths of 1.67–3.86 m; 3.86–6.08 m; 6.08–8.23 m; and 12.44–14.55 m, while Model II was used for temperatures recorded between depths of 8.23–12.44 m.
Figure 12 illustrates the evolution of
against
for the four mentioned intervals, derived from Equation (11), with the best-fitting curve obtained through the optimization procedure shown in red.
Regression analysis enables the determination of thermal diffusivity with a 95% confidence interval. The fit results and the coefficients indicating the goodness of the fit are presented in
Table 5 for the specified intervals. The correlation coefficient in the uppermost layers exceeds 0.99 with a considerably narrow confidence interval.
Using [
14], we applied Model II within the depth range from 8.23 m to 12.44 m allowed for the estimation of thermal diffusivity
, and
.
Figure 13 illustrates the measured
values for the sensors, along with the best-fitting red curve.
Similar to the previous case, regression analysis was used to determine the thermal diffusivity within a 95% confidence interval.
Table 6 displays the fitting results and the corresponding goodness-of-fit coefficients for the specified intervals. In this case, the correlation coefficients are comparatively lower. The correlation coefficient decreases with depth due to the reduced variance between the minimum and maximum temperatures.
The application of Model II to the subsurface temperature records at the specified depths enables the determination of
alongside the thermal diffusivity. In this case of consecutive layers, calculations for
were conducted for the entire range from 8.23 m to 12.44 m, treating this range as a single hydrogeological unit. The fitting results for
are presented in
Table 7.