Abstract
Two-dimensional steady-state heat conduction is possible outside closed boundaries on which two isothermal segments at different temperatures are separated by two adiabatic segments. Remarkably, previous research showed that the conduction shape factor for the region exterior to the boundary is equal to that for the interior region, despite the asymmetry and singularity of the boundary heat flux distributions. In this study, classical potential theory is used for the temperature and heat flux distributions as a combination of simple-layer and double-layer potentials, including the relationships between the values inside and outside the boundary curve. Isothermal boundaries exhibit an induced heat flux that varies from point-to-point on the boundary. The induced flux integrates to zero over each isothermal edge. Singularities of the heat flux are identified and resolved. Computations that validate the theory are provided for mixed boundary conditions on a disk and a square. Numerical fits to both the simple-layer and double-layer densities are given for the disk and the square. The analysis explains why the interior and exterior conduction shape factors are equal despite wildly differing heat flux distributions, and the results are compared to a previous study of this configuration. This paper also develops fundamental concepts of potential theory and can serve as a tutorial on the subject.
1 Introduction
In a previous paper [1], I studied the relationship between two-dimensional (2D) heat conduction inside and outside closed curves, showing that the conduction shape factor had the same value for the exterior region and the interior region. The primary method of that study was conformal mapping, showing that the total heat flow between the isothermal sections of the boundary was invariant under mapping. In this study, I address the local heat flux distributions on the inside and outside of the boundary, which can differ widely even though the total heat transfer on either side is the same. I develop a boundary integral formulation of the interior/exterior conduction problem, using methods from classical potential theory, and I apply that formulation to identify the relationship between interior and exterior heat flux, as well as their connection to the shape factors.
where n is the outward normal vector of (Fig. 1(a)).
Steady conduction in the region Re exterior to (Fig. 1(b)) is governed by the same equations, upon replacing n by the exterior’s outward normal vector, , with the addition of a boundary condition on the far field. In two dimensions, bounded steady-state solutions exist only if no net heat transfer is transferred to the region far from the object, so that heat flows only from the hot segment, , to the cold segment of . In this case, the far field temperature has a specific value between –1 and 1, as discussed in Appendix A and the final section of Ref. [1].
Classically, the Laplace equation in 2D can be solved by a wide variety of techniques [2], including conformal mapping [1,3], potential theory [4,5], Green’s functions [6], and separation of variables. In addition, modern numerical methods, such as the finite element method (FEM), allow quick solutions to the Laplace equation even in relatively complicated domains. The goal of this paper is to develop theoretical understanding, and analytical boundary integral methods are the focus, with FEM used to examine model cases. In particular, we use integral equations based on classical potential theory, rather than the Green’s function integrals attempted in Ref. [1]. As Martinsson notes [7], the Green’s function is known explicitly only on trivial domains, whereas potential theory leads to integral equations with known kernels, for which excellent numerical techniques now exist [8,9].
This paper develops a single equation that describes both the interior and the exterior heat flux on in terms of potential densities. With that equation, the interior and exterior shape factors are both shown to equal an integral of the simple-layer potential density.
2 Preliminaries: Sources, Dipoles, and Gradients
This section briefly introduces several relationships that will be used in other parts of the paper.
2.1 Fundamental Solution: .
Obviously, .
The physical interpretation is straightforward. For example, if we replace the potential E with the dimensional temperature at x caused by a heat source of power P at t, then and the leaving heat flux is . The net heat flow out of R through is P if and is zero for t outside . When t is on , half the power is released outside , with the other half released inside σ and exiting at other points.
where and .
2.2 Dipoles.
where γ is the angle between the vectors and l. Note that .
2.3 Dipoles as Induced Gradients in Two Dimensions.
Thus, we may consider as the gradient of potential (temperature gradient) at t in the l-direction caused by a point source at x.
If t is on a surface, l may be selected as the normal vector at t, . If both x and t are on this surface and as . Analysis shows that is continuous at x = t when x approaches t along the surface (as opposed to approaching from another direction).
where denotes the cosine of the angle between vectors and . This expression may be integrated over the surface that contains the source distribution, a(t), holding the vector fixed, to find the outward normal gradient at the single point x caused by the entire source distribution.
2.4 Gradient of a Dipole Potential in Two Dimensions.
2.5 Some Properties of Harmonic Functions.
To have a bounded solution as , we require B = 0 and . As consequences, as ; and for every circle , the average of θ around the circumference is .
This gradient as .
In particular, for any circle centered on r = 0 surrounding from the outside, the temperature on the circle is continuous, bounded, can be represented by a Fourier series (cf. Sec. 3.3), has the average temperature , and has zero average heat flux through it.
3 Solution for the Interior and Exterior Dirichlet Problems by a Simple-Layer Potential
Here, h(s) is the temperature distribution on σ, which is the same for the interior and exterior problem. No constraint is placed on the normal derivatives to either side of the boundary, which need not be equal.
The function may be considered to be a heat source distribution on σ, with heat flowing out to each side.
3.1 Modifications of Equations (25) and (26) for Two Dimensions.
These results show that is imposed by the far field in 2D.
so that as expected.
3.2 Two-Dimensional Contours With Zero Net Heat Transfer.
3.3 Example: Simple-Layer Potential on a Unit Disk.
4 Heat Flux at the Boundaries
To evaluate the heat flux inside and outside , we need to find the local normal derivative of temperature on each side of the isothermal boundaries. The derivative need not be the same inside and outside because the isothermal section behaves as a perfect heat conductor: heat can be redistributed within the boundary without a temperature gradient. This strange behavior also leads to the singularity of the boundary integral. As such, particular care is needed in finding the limiting values of the temperature gradient as the boundary is approached.
The boundary derivatives of the simple-layer potential have been studied for at least two centuries, mainly in connection with the electrostatic and gravitational theories. We develop the relevant relationships briefly in this section, for their importance to what follows, because the literature focuses on 3D rather than 2D, and because classical potential theory is rarely used in the study of heat conduction. We will work with complex variables to take advantage of strong analytical tools.
4.1 The Simple-Layer Normal Derivative as a Cauchy Integral.
To evaluate the normal derivative of temperature at the contour, we consider the directional derivative of Eq. (32) in the complex z-plane, following Xu et al. [12]. We rename integrated point ξ as , and consider the fixed point , near s. We can differentiate at under the integral with respect to x in the direction . The angle between and the real axis is (Fig. 5). Here, x, s, and z are points in the complex plane.
where the angle for the cosine in Eq. (38a) is .
where a(z) is real valued.
4.2 Sokhotski–Plemelj Theorem.
where is defined on a smooth contour and bounded except at a finite number of points. The integral defines an analytic function for ; further, as . When , the integral exists only in the Cauchy principal value sense.
for all z in the domain of and non-negative real constants C and μ [13].
4.3 Plemelj Formulæ for the Normal Derivative.
As noted in Sec. 2.3, this kernel does not have a singularity at , so a principal value calculation is not required. In cases such as corner points, a(z) may be singular, but those singularities are generally integrable (see Secs. 6.1 and 7).
The normal derivative, Eq. (45b), includes a source term and an integral representing gradients in the normal direction at induced by sources at other points around the contour (cf. Eq. (18)). The source a(s) is bisected by the surface. Half the source power exits one side of the surface and half exits the opposite side, in the opposite direction.2 The induced gradient term depends on the distance to the source point, , and the orientation of relative to the fixed point’s outward normal vector, . The integral contains the contributions of the entire boundary. This induced gradient has the same sign and is on either side of the boundary, . The induced temperature gradient indicates the presence of an induced heat flux.
4.3.1 More About Induced Heat Flux.
The properties of the induced heat flux are needed in Sec. 5.1, and so further discussion is helpful.
The heat conduction problem has a strong analogy in electrostatics: a surface heat source density, a(s), is analogous to a surface charge density, and a temperature gradient (or heat flux) is analogous to an electric potential gradient (or electric field). In electrostatics, a surface charge distribution may be induced by externally generated electric fields, through the redistribution of charge over the conducting surface (see Kellogg [4] and Jackson [14]). If the surface is perfectly conducting, it remains isopotential even with a nonuniform distribution of surface charge. If the conductor is not grounded, no net additional charge is acquired when the surface charge is redistributed. Thus, the integral of the induced charge density over the surface is zero.
Similarly, a surface heat flux distribution may be induced on a heat conductor by heat sources elsewhere. This induced heat flux adds no additional energy to the system, and consequently, the induced flux integrates to zero over the conductor’s surface. Further, a perfectly conducting surface has no resistance to heat flow and remains isothermal even with a nonuniform surface heat flux. If this conductor is simply one isothermal boundary of a larger object, say with two nonconducting boundaries separating two isothermal boundaries, the induced flux on each isothermal boundary will integrate to zero separately because the induced redistribution of flux is confined to each isothermal boundary separately.
For visualization, Fig. 6 shows the temperature and magnitude of heat flux outside a perfectly conducting disk placed between isothermal vertical plates. For this disk, (the boundary contains no heat source distribution), and so Eq. (45b) shows that the heat flux is composed only of induced heat flux. The induced heat flux has high magnitude (yellow) at some points and tends to zero (blue) at other points. The integral of this induced heat flux around the conductor is zero, consistent with steady energy conservation. The conductor’s temperature depends on its shape and position relative to the external source and sink but is easily seen to be zero in the present case. If the disk were moved off center, the temperature could be found by solving Eq. (26) with on the disk.
To fix the perfect conductor to a specific temperature, we can imagine it to be grounded in to a heat reservoir at that temperature. The reservoir adds or removes heat as needed to maintain the temperature. This heat flow is distributed over the surface of the conductor and appears mathematically as the heat source distribution, a(s).
The preceding discussion was for perfect conductors. In the case of nonconductors, external heat sources (or electric charges) induce dipoles on the surface of the nonconductor. These dipoles balance out the local potential gradients (temperature gradients or electric fields) caused by external sources. In the electrostatic case, the net charge density induced is zero, even locally, because dipoles have no net charge. In heat conduction, the induced dipoles add no net energy; and, they cancel the heat flux that sources elsewhere would otherwise induce, leaving the surface adiabatic. A nonconducting object will develop internal temperature (or potential) gradients. As a result, the temperature (or potential) is discontinuous across a nonconducting boundary (cf. Eq. (49)).
We return induced flux in Sec. 5.1.
4.4 Special Cases of the Normal Derivative.
In some special cases, the integral in Eq. (45b) can vanish, as the following examples show.
4.4.1 Straight Lines and Parallel Plates.
For a straight-line segment of with outward normal n, if and are both on that segment. The reason is that a dipole creates no potential perpendicular to its axis. If we generalize to hot and cold parallel plates of infinite length, the integral along the plate containing s is therefore zero, and that along the opposing plate is easily shown to vanish in the limit of an infinitely long plate.
4.4.2 Circular Disk.
For the case of a circular disk of radius , some trigonometry shows that , and with Eq. (35), the integral in Eq. (45b) will vanish at every s, leaving .
In this unusual case, the isothermal boundary has the same temperature and temperature gradient on both the inside and outside. This behavior is usually not seen in other geometries. (We establish a similar result for the adiabatic boundary of a disk in Sec. 5.2.)
4.5 Plemelj Formulæ for the Integral of the Normal Derivative (Double-Layer Potential).
for the outward normal at the moving point ξ.
The double-layer potential θd is discontinuous at , but the normal derivative has the same limit from either side (see Poincaré [11], Kellogg [4], MacMillan [5], Günter [15]). Kellogg shows that, if the double layer potential b(z) has continuous second derivatives, the difference of the normal derivatives to either side tends to zero and that the limits of the derivatives exist at the surface; Günter provides a similar result.
5 Mixed Boundary Conditions as Simple and Double Layer Potentials
As before, these results show that is imposed by the far field in 2D. The relationship of to the average temperature on is discussed in Appendix A.
The double layer potential has the same normal derivative for either (see Sec. 4.5), as is clearly required to satisfy Eq. (57).
Equation (57) shows that, locally on the adiabatic edges, the gradient of the dipole distribution exactly cancels the gradient imposed by the sources on the isothermal boundaries. We may think of the dipole distributions on the adiabatic edges as being induced by the potential gradients of the sources on the isothermal edges.
In Eq. (56), the kernel of the integral on has a logarithmic singularity, while the second integral has a nonsingular kernel (Sec. 2.3).3 In Eq. (57), the first integral also has a nonsingular kernel. The second term in Eq. (57), in general, is hypersingular; but as previously noted, under appropriate conditions on b [4,15], this limits of this normal derivative exist and are equal inside and outside .
The normal derivative of the second integral has no singularity for , in contrast to . Integration of this equation over all of will show that the first and second terms are zero, as a result of the zero net heat transfer requirement. Thus, the other two terms, integrated over , will sum to zero. Further, since these last two terms cancel locally on the adiabatic boundaries, by Eq. (57), we see that the integral of the two terms over the hot boundary is equal and opposite to the integral of the pair on the cold boundary (but note the stronger conclusion given in Sec. 5.1).
On isothermal boundaries, the interior and exterior temperatures are by definition equal. Equation (58) shows that the interior and exterior heat fluxes need not have locally equal magnitudes on the isothermal boundaries.
On adiabatic boundaries, the interior and exterior fluxes are both zero. Equation (59) shows that the interior and exterior temperatures need not be locally equal on the adiabatic boundaries, as expected for a dipole boundary condition.
For convenience, the integral kernels are summarized in Table 1.
Meaning | Primary symbol | Full expression | Equivalent symbol |
---|---|---|---|
Potential at s caused by unit source density at ξ | |||
Outward normal gradient at s caused by unit source density at ξ | |||
Potential at s caused by unit outward-normal dipole density at ξ |
Meaning | Primary symbol | Full expression | Equivalent symbol |
---|---|---|---|
Potential at s caused by unit source density at ξ | |||
Outward normal gradient at s caused by unit source density at ξ | |||
Potential at s caused by unit outward-normal dipole density at ξ |
The cosine of the angle between vectors and is denoted by .
5.1 Induced Heat Flux.
The limit should be continuous, as the integral is nonsingular for and , except at the point where and intersect. The same conclusion applies to the net induced flux on the cold isothermal boundary, .
As noted in Sec. 4.5, the normal derivative of second integral has the same limit for , but is undefined for .
5.2 Mixed Boundary Conditions on a Disk.
Consider a disk with mixed boundary conditions (Fig. 7): the boundary in the first quadrant is isothermal at , the boundary in the third quadrant is isothermal at , and the other two boundaries are adiabatic. This problem was solved by Schwarz in 1869 using conformal mapping [18].
For a circular disk, as in Sec. 4.4.2, the kernel of the integral on in Eq. (57) reduces to a constant and the integral vanishes. The integral in retains an x dependence, but the heat flux boundary condition on the adiabatic sides is satisfied by , and Eq. (59) then indicates equal interior and exterior temperatures on the adiabatic edges. Further, with , Eq. (56) reduces to a Fredholm problem for the potential on the isothermal sections of the boundary, with on the adiabatic sides. In addition, in this case, the heat flux outside and inside the isothermal edges are equal and opposite, given by according to Eq. (58). All these findings are consistent with the solution by Poisson’s formula given in Ref. [1].
5.2.1 Fredholm Equation for Schwarz’s Problem.
Note that the kernel is weakly singular at . We return to this equation in Sec. 7.1.
6 Singularities at Corners and Dirichlet-to-Neumann Transitions
The FEM results in Sec. 7 contain singularities in the temperature distributions and simple-layer potential densities. This section provides the theoretical form of those singularities.
6.1 Corner Singularities.
When (), the derivative contains an integrable singularity as . For smaller β, the derivative is nonsingular.
where the final equality (, cm = 0 for m > 1) is from my knowledge of the solution: (note that n is outward normal here).
6.2 Change From Dirichlet to Neumann Boundary Condition on a Straight Section.
Note that β will have the same value inside and outside this segment, so that locally the interior and exterior gradients will have the same dependence on r. Likewise, from Eq. (66), on the adiabatic segment () the temperature distribution inside and outside will be the same locally.
7 Finite Element Method Studies of Potential and Induced Flux
7.1 Disk With Isothermal and Adiabatic Edges.
We may use MATLAB’s FEM codes to analyze the quarter-sectored disk of radius (Schwarz’s problem, Fig. 7). The resultant temperature gradient along the hot isothermal side is shown in Fig. 8. Convergence of the FEM model is discussed in Appendix B.
The root-mean-square error of the fit relative to the FEM data is 0.0041. This fit is plotted as a dotted curve in Fig. 8, but it lies directly atop the FEM result.
Recall from Sec. 5.2 that in the special case of a circular disk, the normal fluxes are equal and opposite on the interior and exterior of the disk’s isothermal edges.
For a shape factor [1] and , the theoretical average gradient is , indicated by a horizontal dotted line in Fig. 8. The integrated result is lower by only 0.11%.
The root-mean-square error of the fit is . The corner solution fits the FEM result very well, despite the curvature of the actual boundary. Relative to the corner solution, Eqs. (66) and (67), these fits suggest that , and .
The single-layer potential is defined as (Eq. (53)). For the disk, from Sec. 5.2, we know that , and so the single-layer potential .4 Numerical evaluation of the integral in Eq. (65), in MATLAB, using the fitted above, gives the expected constant value of 1 to high precision: the average over ψ of the integral is 1.0001 with a standard deviation of 0.00023.
7.2 Square With Isothermal and Adiabatic Sides.
Suppose that one side of a square has temperature θ = 1, that the opposing side has , and that the two separate sides are adiabatic. The interior gradient is uniform and equal for the hot and cold sides, from the easy solution for the interior of the square. The integrals of the exterior heat flux over the hot side and over the cold side must be equal and opposite for energy conservation.
We may observe from Fig. 10 that the adiabats, and thus local heat fluxes, inside and outside the square are not the same. The exterior flux is low in the center and increases greatly as the outside corners are approached. Further, the temperature variation along the outside adiabatic boundary is not the same as that along the inside adiabatic boundary: the interior has a linear temperature distribution whereas the exterior changes steeply near the corners.
The exterior normal temperature gradient along an isothermal edge of the square can be computed with MATLAB, as shown in Fig. 11. Convergence of the FEM model is discussed in Appendix B. Here, the numerical square is 2 × 2 with a temperature difference of . The shape factor for the exterior of a square is [1]; and, with the thermal conductivity normalized to unity, the dimensionless heat transfer rate is .
7.2.1 Fitting Heat Flux and Temperature With Corner Theory.
which is within 0.49% of the expected value, . The exterior normal gradient can be compared to the interior normal gradient, which is and is shown as a dashed line in Fig. 11.
(Here, c2 was constrained to make at the endpoints: .) This fit has a root-mean-square error of 0.0025; it is plotted as a dotted curve in Fig. 12. The value of c1 for the temperature fit and the flux fit differ by 3.3%, likely as a result of the limited FEM resolution of the flux singularity.
7.3 Induced Flux on a Square: Kernels and Integration.
This kernel would vanish if ξ were on the hot side.
We may use our fits for a and b to evaluate these integrals numerically. MATLAB produces for the first integral 0.548312 and for the second integral 0.538924. The difference, 0.00938763, is 0.86% of the sum of the two values, comparable to the accuracy of the fits for a and b. We conclude that the net induced flux is zero to within the accuracy of our fitted potentials.
8 Interior and Exterior Shape Factors Are Equal
9 Comments on Lienhard (2019)
In my 2019 paper [1], I showed that the present integrals Eqs. (90a) and (91a) were invariant under conformal mapping and consequently equal, as shown here using boundary integrals. The present work additionally implies that the integral of the potential density is invariant under mapping.
The boundary integral analysis of the disk in Ref. [1] applied the Poisson integral formula with the assumption that that temperature inside and outside an adiabatic edge of the disk was the same (when comparing Eqs. (13) and (17) in Ref. [1]). The results of Sec. 5.2 in the present paper justify that assumption for the special case of a disk, while showing that the assumption cannot be used in the general case.
The Green’s function analysis in Ref. [1], for a Dirichlet boundary condition, provides the correct Green’s and influence functions for the interior and exterior of the disk. Unfortunately, the change of normal derivative between Eqs. (45) and (46) in Ref. [1] are not justified for cases other than the disk. The present work, which properly accounts for discontinuities of the normal derivative, shows that the final conclusion is nevertheless correct for arbitrary shapes (Eq. (92)). In addition, Eq. (36) in Ref. [1], while correct for the disk, does not hold in more general cases. The present work, using known kernels rather than Green’s functions, rectifies those shortcomings.
10 Summary and Conclusions
We have considered heat conduction inside and outside 2D closed curves that have two isothermal segments at different temperatures separated by two adiabatic segments. We have formulated the mixed boundary value problem using simple and double layer potentials, under the condition of zero net heat transfer to the far field. The results found are:
The outward normal temperature gradient for the region interior to an isothermal boundary is the sum of one-half the local boundary source density and integrals representing the gradient induced by sources and dipoles on other parts of the boundary (see Eq. (58)). For the region exterior to that boundary, one-half the source density is subtracted when computing that same gradient.
The induced flux has the same magnitude and orientation for the regions interior and exterior to the boundary. The flux of the local source density flows away from the boundary on each side. As a result, the combination produces unequal normal heat fluxes on the regions interior and exterior to an isothermal segment of the boundary. In addition, the temperatures are unequal for the interior and exterior of an adiabatic segment (see Eq. (59)).
In the special case of a circular disk, the induced flux is zero, with the results that: (a) the outward normal fluxes are equal and opposite on either side of an isothermal section and (b) the temperatures are equal on each side of an adiabatic segment (Sec. 4.4.2).
The integral of the induced flux over the length of either the hot or the cold boundary is zero for either the interior or the exterior region (see Eq. (60)). This behavior is analogous to the behavior of the induced charge on an ungrounded conductor in electrostatics.
Numerical solutions for the source density, , and the dipole density, , are given for a circular disk (Schwarz’s problem) and for a square. The numerical results accurately fit the theoretical forms for corner singularities and show an induced flux that integrates to zero (Sec. 7).
Potential theory, like conformal mapping [1], shows that the interior and exterior conduction shape factors are equal (see Eq. (92)).
An adiabatic boundary at a large but finite distance from will produce nearly the same exterior behavior as the solution for as (Appendix A).
Nomenclature
- a =
simple layer (source) potential distribution, Eq. (53)
- b =
double layer (dipole) potential distribution, Eq. (54)
- =
boundary contour
- cm =
coefficient of corner series, Eq. (66)
- =
potential at x of dipole with orientation l at t, Eq. (15a)
- dl =
differential length along contour
- =
potential at x of source at t, Eq. (6)
- =
unit basis vectors in polar coordinates
- h(s) =
dimensionless boundary temperature
- =
FEM parameters, see Appendix B
- k =
unit vector in the k direction
- =
see Eq. (64)
- l =
unit vector in the l direction
- m =
summation index
- n =
unit normal vector
- =
heat flow rate (W/m)
- =
dimensionless heat flow rate out of square
- r =
radial coordinate
- R =
region inside curve
- =
radius of disk
- Re =
region exterior to curve
- =
point on contour, vector to point
- S =
shape factor, Eq. (4)
- t, t =
point in the plane, vector to point
- T =
dimensional temperature (K)
- u, v =
Cartesian coordinates, Fig. 10(a)
- x, x =
point in the plane, vector to point
- z =
point on in the complex plane
Equation (25) is also referred to as a single-layer potential, and it is a special case of a Newtonian potential.
Note that a source on a corner point will be divided between the two sides according to the included angle, α, so that 1/2 becomes and [13].
As a result, we do not need to treat this integral as a principal value integral.
The function is continuously differentiable for , and the derivative is bounded on any closed subset of that interval, e.g., . From the mean value theorem, is Lipschitz continuous and, therefore, Hölder continuous on that subinterval. Near ψ = 0 and , the derivative is unbounded; but we know these singularities to be integrable. We do not expect the Sokhotski–Plemelj relation to apply at ψ = 0 and .
Appendix A: Far-Field Temperature, Mean Temperature on , and Adiabatic Outer Boundary
The last two integrals are, in general, not equal to zero. However, in cases with sufficient symmetry, they can be zero; and then the far field temperature required for zero far-field heat transfer is simply the average temperature around the perimeter. As an example, consider the square shown in Fig. 10(a): the effect of the single integrals of a and of b on points s to the left of x = 0 is clearly opposite to their effect on points to the right of x = 0. According, the contributions of each of those integrals to the integral on s around will cancel.
And, as a counterexample, suppose that one isothermal boundary of the square is replaced by a deeply and densely V-grooved isothermal boundary at the same temperature. The corrugated boundary has a much greater length than the boundary it replaced, but much of that boundary will have low heat flux. Consequently, although the lengthy corrugated boundary will dominate the average temperature on , the total heat transfer may not be much increased. The far-field temperature for which heat flows only between the isothermal boundaries is not as strongly affected.
Finally, we note that Eq. (A8) shows that the heat flux decays as for . Thus, an adiabatic boundary at a finite distance from will closely approximate the result for as .
Appendix B: Finite Element Method Convergence
Convergence of the FEM model for the disk is shown in Table 2, for S (or ) approaching the theoretical value of one. Here, is the maximum mesh size of the FEM mesh. Mesh convergence to S = 1 is rapid. A radius is used for interpolation of the FEM calculation onto the curve defining the disk edge, so as to avoid NaN errors. The number of interpolated grid points, , was set to 1001 after testing grid convergence. The results in Figs. 8 and 9 are for .
S | ||
---|---|---|
0.1 | 0.9999 | 0.9069 |
0.05 | 0.9999 | 0.9314 |
0.01 | 0.9999 | 0.9692 |
0.005 | 0.9999 | 0.9782 |
0.005 | 0.99999 | 0.9788 |
0.001 | 0.9999 | 0.9963 |
0.001 | 0.99999 | 0.9986 |
S | ||
---|---|---|
0.1 | 0.9999 | 0.9069 |
0.05 | 0.9999 | 0.9314 |
0.01 | 0.9999 | 0.9692 |
0.005 | 0.9999 | 0.9782 |
0.005 | 0.99999 | 0.9788 |
0.001 | 0.9999 | 0.9963 |
0.001 | 0.99999 | 0.9986 |
For the square, the FEM code has some difficulty capturing the singularities at the corners. The first approach was to apply the code used for Fig. 10(b), which simulates the full perimeter of the square (see description in [1]). Table 3(a) shows the result of successive mesh refinements for that code (only shows slow grid convergence), where is the dimensionless heat flow out of one isothermal edge of the square. The mesh used was not adaptive, and the simulations were slow to converge. (The 0.005 mesh required a 66 million node FEM computation, taking about 4 h on a laptop.)
(a) | ||
0.4 | 2001 | 1.1346 |
0.2 | 2001 | 1.3052 |
0.1 | 2001 | 1.4446 |
0.05 | 2001 | 1.5588 |
0.025 | 1001 | 1.6512 |
0.025 | 2001 | 1.6513 |
0.0125 | 1001 | 1.7262 |
0.0125 | 8001 | 1.7275 |
0.005 | 2001 | 1.8047 |
(b) | ||
0.0500 | 6 | 1.650 |
0.0500 | 8 | 1.591 |
0.0500 | 9 | 1.576 |
0.0500 | 10 | 1.565 |
0.0500 | 11 | 1.557 |
0.0500 | 12 | 1.551 |
0.0050 | 9 | 1.8252 |
0.0025 | 9 | 1.8712 |
(a) | ||
0.4 | 2001 | 1.1346 |
0.2 | 2001 | 1.3052 |
0.1 | 2001 | 1.4446 |
0.05 | 2001 | 1.5588 |
0.025 | 1001 | 1.6512 |
0.025 | 2001 | 1.6513 |
0.0125 | 1001 | 1.7262 |
0.0125 | 8001 | 1.7275 |
0.005 | 2001 | 1.8047 |
(b) | ||
0.0500 | 6 | 1.650 |
0.0500 | 8 | 1.591 |
0.0500 | 9 | 1.576 |
0.0500 | 10 | 1.565 |
0.0500 | 11 | 1.557 |
0.0500 | 12 | 1.551 |
0.0050 | 9 | 1.8252 |
0.0025 | 9 | 1.8712 |
The code can be improved by switching to a quarter-square simulation, with a circular outer boundary of radius and (Table 3(b)). The region simulated is substantially smaller, allowing a finer mesh to be used without exceeding MATLAB’s maximum matrix size of 32 GB. At large radius, the solution is essentially isothermal, and value of seems adequate to maintain the outer boundary condition accurately.
The gradient computed by the FEM code at the last few grid points near the corner goes to an unphysical value of zero: the actual gradient vector is undefined at the corner, but its magnitude tends to infinity as the corner is approached along an isothermal edge. A simple correction to the integral for , addressing the lost area near the corner, can be made as follows. We integrate the fit Eq. (79) from –1 to a position slightly away from the singularity, . That area is . Then, the numerical integration of the FEM result may be confined to ; and when is added to the numerical integral, we obtain , with the following matlab inputs: , and = 9. The uncorrected value is , and the theoretically known value is . The distance δy must be large enough to avoid the unphysical gradient, 0, that the FEM code returns at .