This section presents the model used to study the heating of the grounding electrode and its surrounding environment. A numerical method based on finite differences is then proposed to solve the heat transfer equation between the electrode and the soil. Finally, the interaction between thermal effects and the electrical response of the electrode is incorporated into the calculation through a coupling approach that accounts for the temperature dependence of soil resistivity.
2.1. Electrode–Soil Heat Exchange Model
Consider a conductor in the form of a thin cylindrical wire with radius
R1, length
L, electrical resistivity
ρc, and thermal conductivity
k1, which is buried in a horizontal position at a depth p from the surface of a conductive soil with resistivity
ρs and thermal conductivity
k2.
Figure 1 schematically illustrates the problem. The heat generated by the current
Ic inside the conductor and the heat generated in the conductive medium by the current that leaks into the ground
Is from the exposed surface of the conductor is transmitted by conduction to the horizontal surface of the soil at temperature
Ts, and from there to the outside air at temperature
Ta by free and/or forced convection with a convection coefficient
h.
From a general perspective, we have a heat transfer problem with two distinct regions: the buried conductor and the semi-infinite external medium limited by the soil surface. In both media, there are heat sources, which are associated with the Joule effect due to the current passing through materials with non-zero resistivity. An initial formulation of the problem would consist of solving the heat equation with internal sources in both regions separately and applying the boundary conditions (BC) and initial conditions (IC), along with the equations for the interface between the two media, which is simply the surface of the buried conductor. A problem that arises is related to the choice of the coordinate system, as neither the Cartesian nor the cylindrical system fully adapts to this problem. The cylindrical system offers certain advantages, provided that the conductor is assumed to have infinite length. Indeed, it is easy to see that, in this case, a cylindrical system whose axis of symmetry aligns with the axis of the conductor leads to a one-dimensional heat conduction problem in the radial and angular variables. Furthermore, if the burial depth p is large compared to the radius of the conductor R1, it can be assumed with little error that there is no angular dependence in the temperature field, at least inside the conductor and in areas of the soil close to it. A better approach to the problem could be achieved by modifying the system geometric configuration, taking advantage of the fact that, in our case, interest is focused on the transient solution over a very short time. In other words, the solution has barely evolved from the initial state. If we consider the soil as a cylindrical layer concentric with the conductor and with radius R2 = p, the equations can be greatly simplified by considering the problem as axisymmetric and one-dimensional in the radial direction.
This is equivalent to assuming that, at short times, both configurations are equivalent.
Figure 2 aims to represent this simplification of the problem by showing a cross-sectional view of the conductor (shaded circle), surrounded by a cylindrical layer of soil with radius
R2. The Joule power densities and
generated in the conductor and the soil by the currents
Ic and
Is, respectively, are also shown. With these considerations, the equations to be solved are
where
is the thermal diffusivity of the medium
i (
i = 1, 2) and
is the power density generated by the internal sources of the medium
i (
i = 1, 2). If the thermal diffusivity of medium 1 is large and the radius
R1 is small, we can ignore the thermal gradients inside this medium and treat it as a lumped-parameter system, which means that it will only be necessary to solve the heat equation in medium 2 and add a boundary condition (BC) at the surface of medium 1, which is the interface with medium 2. Given that the equation satisfied by medium 1 is
where
is the power flux leaving the surface
S1 of the buried conductor and
V1 is its volume, since this equation must be satisfied at the surface of the conductor where
, Equation (2) becomes a boundary condition for medium 2:
and the conduction problem to be solved is for medium 2, which is a cylindrical layer with radii
R1 and
R2, having a thermal diffusivity
and thermal conductivity
:
Equation (4) contains sources in one of the boundary conditions and also sources within the equation itself. Both types of sources are due to the Joule effect, but they exhibit some essential differences. The sources
are generated inside the conductor by the current
Ic (A) passing through it, while
are generated by the current
Is that leaves the conductor through its surface, known as the leakage current. The general expression for the Joule power generated by a current density
(A/m
2) flowing in a volume region
V with electrical conductivity σ, where an electric field
exists, is given by
Therefore, the Joule power density is defined from the current density by the expression . For a cylindrical conductor with cross-sectional area S and length L carrying a uniform current Ic (A), the current density can be considered uniform if the conductor is thin, and it is , where is the current density and is a unit vector in the direction of the symmetry axis of the cylindrical conductor. In this case, the Joule power density is , and it is easy to obtain that . The symbol denotes the ohmic resistance of the conductive medium.
A different case occurs when the electric current flows from a cylindrical surface of radius R and length L, very large, toward the outside. Since the current intensity is , with S being any closed surface that encloses the current-emitting cylinder, by symmetry, if we take a cylindrical surface of radius r > R that fully encloses the current-emitting cylinder, it can be easily demonstrated that the current density in the medium is radial and has a value of , so the Joule power density is , which is clearly non-uniform. The total power dissipated in a cylindrical layer of the conductive medium around the electrode, with radii R1 and R2 (R1 being the radius of the cylindrical electrode), is given by , where is the ohmic resistance associated with the cylindrical layer of material. Therefore, due to the previous considerations, in Equation (4), is uniform, while is a known function of the radius r.
2.2. The Finite Differences Method for Heat Equation (4)
To numerically solve Equation (4), this can be achieved using a finite difference scheme in cylindrical coordinates, with the radial variable as the only operative spatial coordinate. In this way, a cross-section of the pipe is considered, where
, dividing this domain into N − 1 segments of size
, with a total of N nodes
ri,
i = 1 … N,
, and
. Similarly, the chosen time interval [
ti,
tf] is divided into M intervals of size
, with
and
. Equation (4) is discretized as follows:
The convergence is determined by the condition , which limits the value of the time step Δt taken for the evolution of the system. From Equation (6), the first one applies to the internal nodes. For the nodes adjacent to the boundary, when the temperatures at the boundary appear in the calculation, the second equation representing the Neumann boundary condition must be applied. The third equation, Equation (6), represents a Dirichlet boundary condition indicating that the temperature of the boundary node is always Ts and, thus, . This boundary condition can be considered valid as long as the evolution of the system is studied for times that are sufficiently short so that the boundary r = R2 does not show significant changes from its initial state.
Alternatively, for the node adjacent to the boundary
R1, that is, node 2, node 1 is located at the left boundary and will satisfy the second Equation (6), so
With these considerations, the equation for the internal nodes becomes
which can be simplified somewhat if
is introduced, so that (8) becomes
An important comment must be made at this point regarding (6). The Neuman boundary condition at
r = R1 has been discretized at a low order (
). We can achieve greater accuracy (
) by using the so-called ghost nodes method outside the domain. If
, where
is the temperature of a hypothetical node to the left of the boundary node whose temperature is
, then we only need to eliminate the presence of that node through the equation that now satisfies the internal node, which is (9), now being
from which, solving for
, we obtain
which, substituted into
and solving for
results in
This procedure for refining the calculation at the boundary is equivalent to the energy balance method in elementary control volumes around the nodes, as found in [
19]. It is important to note that, since we are in a transient regime with sources, the balance is a complex operation, requiring the equation to be formulated for the control volume:
The surface integral must be performed with the outward normal vector so that the net flux has the correct sign.
At this point, it is necessary to complete the scheme by adding some other effects that may arise in practical problems. On the one hand, it is clear that the variation in the resistivities of the conductor and the soil with temperature must be taken into account, as they are found in
and
. For many types of materials, including metals and small temperature ranges, this variation follows the well-known linear law
, where α is the thermal variability coefficient of the material resistivity and
T0 is a reference temperature, typically set at 20 °C or 25 °C. For larger temperature ranges, always below the material melting point, the above linear law is often replaced by an exponential law
. Furthermore, for conductive materials such as soils, rocks, and similar materials, it is known that electrical resistivity decreases with temperature. In [
20], the following law can be found:
with typical values of
and
. In the same previous reference, the expression can also be found:
where
,
,
, and
. Both expressions provide acceptable temperature-dependent decreasing values, although (15) exhibits a more moderate decrease than (14). To complete the variability of the system parameters with temperature, the possible variation of the thermal conductivity of the materials with temperature could be included as a second effect. Here, the model proposed in [
21] is cited:
In (16), T is the absolute temperature, and the parameters have the values a = 0.003 K−1 and b = 0.0042 W/mK2. It can be easily verified that, for the soils considered in this work, made up of materials equivalent to clay, the variation of thermal conductivity with temperature is insignificant and, therefore, it will not be considered in the temperature profile calculation.
For any choice of the model, the variability in electrical resistivities and thermal conductivities can affect the values of the longitudinal current
Ic and the transversal current
Is. Therefore, these two currents must be treated as new variables of the problem, with their own equations associated with the electrical circuit to which the conductor belongs, which will give the values of
Ic(
t) and
Is(
t). Therefore, in strict terms, in (7) and (9), the power densities of the sources
and
, should be replaced by
and
, respectively, where it is made explicit that there is a time dependence for the currents
Ic and
Is. In practice, the time loop for the implementation of (9) must also include the algorithm by which these currents are obtained at each time step. The numerical scheme would therefore proceed as follows:
with the heat power densities defined by
for the sources in the conductor and
for the heat sources in the conductive soil. In (18) and (19),
ρ0 is the resistivity at the reference temperature
T0, and the coefficients
α1T,
α2T,
α3T,
α4T,
β3T, and
γ3T are associated with the variation of resistivity with temperature for the materials. In general, for the common metals used in conductors, the temperature coefficient is positive (for copper,
0.0039 °C
−1), meaning that the resistance increases with temperature. For a conductive soil, in the absence of specific additional information, the coefficients will take the typical values mentioned earlier:
,
,
,
, and
°C
−1 with
for models in (19).
Given that determining the currents Ic and Is from the material resistivities in the system involves a slow calculation, whereas solving (9) requires a time loop with several thousand steps, an approximation is proposed. In Code (9) to calculate the final temperature, the time interval will be divided into a few temporal segments or intervals, in each of which the currents Ic(t) and Is(t) are considered constant. At the end of each interval, a temperature will be obtained, which will be used to recalculate the values of these currents, which will influence the intensity of the sources. These new source values will be used in the next interval, and the cycle will repeat until the final time is reached.
As a final note, it is necessary to consider that, if there is a temperature profile in an electrically conductive medium such as soil, the electrical resistivity will also have a profile dependent on the location. This is partially reflected in the second equation in (18) and in (19). It is also important to clarify that no significant differences are observed between the simple and improved approximations at the surface temperature of the conductor, i.e., the boundary condition at R1. Therefore, unless further refinements are made, we will continue working at first order in boundary conditions.
Some final comments on the impact of the variation of soil resistivity with temperature are provided below. Since the temperature increase in the soil leads to a decrease in its electrical resistivity around the conductor, this may cause a reduction in its electric potential. The effect would be similar to surrounding the conductor with a layer of soil made of a material with a lower resistivity than the rest of the soil. It can also be thought of as equivalent to increasing the radius of the conductor, as happens in ionization phenomena due to high leakage currents. The magnitude of this increase can be estimated in several ways. In this paper, the decrease in the resistivity of the soil near the conductor is considered through the following reasoning. Since soil resistivity as a function of the radial distance
r from the original radius of the conductor
R1 to the boundary
R2 is available, the theoretical resistance
RG of a cylindrical layer [
22] with radii
R1 and
R2 can be approximately calculated by
. This resistance is equated to that calculated for a cylindrical layer composed of two juxtaposed layers with constant resistivities
ρ1 (close to the conductor resistivity) surrounding the conductor with radii
R1 and
rb, and a second layer with resistivity
ρ2, equal to that of the original soil, with radii
rb and
R2, as it is shown in
Figure 3.
Through this operation, the optimal value of
rb is determined, which will be assigned to the new virtual radius of the conductor. As previously established, the analysis is conducted on a cylindrical segment of bare conductor with radius
R1 and length
L, encapsulated by a surrounding soil layer extending to an outer radius
R2. It can be easily demonstrated that
Consequently, in the computation of electric potentials, current distributions, and other temperature-dependent electrical parameters, the actual electrode radius should be substituted with the effective (or virtual) rb.
It is important to consider that the increase in the radius of the conductor segments should be subordinated to the size of the segments themselves. We know that potential calculations are acceptable when δ > 4r, where δ is the segment length and r is its radius. Therefore, the radius cannot be increased beyond this value, as the potential obtained would become an upper bound to the real value, since increasing the radius results in a decrease in potential. At the same time, the increase in radius causes an increase in the current that leaks into the ground, which in turn raises the temperature, leading to a decrease in the soil resistivity, which again results in an increase in the virtual radius.