Skip to main content
Entropy logoLink to Entropy
. 2026 Feb 4;28(2):179. doi: 10.3390/e28020179

A Partitioned Finite Difference Method for Heat Transfer with Moving Line and Plane Heat Sources

Jun Li 1,*, Yingjun Jiang 1
Editor: Miguel Rubi1
PMCID: PMC12939349  PMID: 41751682

Abstract

This study proposes an efficient numerical scheme for simulating heat transfer governed by the diffusion equation with moving singular sources. The work addresses two-dimensional problems with line sources and three-dimensional problems with plane sources, which are prevalent in irreversible thermodynamic processes. Developed within a finite difference framework, the method employs a partitioned discretization strategy to accurately resolve the solution singularity near the heat source—a region critical for precise local entropy production analysis. In the immediate vicinity of the source, we analytically derive and incorporate the solution’s “jump” conditions to construct specialized finite difference approximations. Away from the source, standard second-order-accurate schemes are applied. This hybrid approach yields a globally second-order convergent spatial discretization. The resulting sparse system is efficient for large-scale simulation of dissipative systems. The accuracy and efficacy of the proposed method are demonstrated through numerical examples, providing a reliable tool for the detailed study of energy distribution in non-equilibrium thermal processes.

Keywords: moving heat source, finite difference method, jump condition, heat conduction

1. Introduction

In recent decades, the widespread adoption of automation in industrial processing and advanced manufacturing has spurred significant research interest in heat transfer under concentrated energy inputs. In particular, thermal modeling involving moving heat sources is critical for irreversible processes such as welding, laser cladding, metal cutting, and additive manufacturing [1,2,3]. Furthermore, applications have expanded into cutting-edge fields including photolithography, laser medicine, and biomedical therapies [4,5,6,7,8], underscoring the broad relevance of this fundamental problem in energy and information transfer systems.

The study of heat conduction due to moving sources dates back to the early 20th century. Rosenthal’s seminal work provided linear analytical solutions for point, line, and surface sources moving at constant velocity in semi-infinite domains [9]. This foundation has been extended by numerous studies: Jaeger established classical steady-state models for moving band and planar sources [10], a framework later systematized by Hou for various geometries and intensity distributions under transient and steady-state conditions [11]. Analytical solutions for three-dimensional transient fields have been derived for finite-thickness plates [12,13] and for various source types (e.g., point, ellipsoidal) using Green’s function methods [14]. To address the limitations of semi-infinite domain assumptions, analytical tools incorporating boundary effects have also been developed [15]. Other notable contributions include closed-form solutions for orthotropic solids [16] and a unified framework based on generalized incomplete gamma functions [17].

Despite their theoretical value, analytical methods are often constrained by their dependence on specific Green’s functions and involve complex integral operations, limiting their practicality for complex geometries or source motions. Consequently, developing robust and efficient numerical methods has become an essential pathway for analyzing the evolving energy states and dissipation in these systems.

Significant progress has been made in numerical simulations for moving point (concentrated) heat sources. Recent advancements include an overlapping grid-based element-free Galerkin method for precise temperature field capture near the source [18], and a hybrid element-free Galerkin–finite element method that enhances computational efficiency for three-dimensional nonlinear problems [19]. The finite element method has been used to simulate thermal stress in selective laser melting [20], and the extended finite element method has been applied to analyze crack-tip evolution during welding [21]. Meshless methods, such as the element-free Galerkin method, have successfully simulated temperature fields in welding processes [22,23,24]. Additionally, a moving mesh method has been developed to efficiently handle point sources following complex trajectories [25].

For steady-state problems with line sources, boundary element methods [26,27,28,29,30] and fundamental solution methods [31,32,33] have been employed effectively. However, a notable gap remains in the systematic development of numerical solvers for heat transfer problems involving moving line (2D) and moving plane (3D) heat sources. This gap limits our ability to perform detailed, high-fidelity simulations of entropy generation and energy flow in such continuous-source systems, motivating the present work.

In this paper, we introduce a novel finite difference method designed specifically for two- and three-dimensional heat transfer with moving line and plane sources. Our core innovation is a partitioned discretization strategy that treats regions near and far from the heat source differently. Adjacent to the source, we analyze the solution’s ”jump” properties—linked to local discontinuities in heat flux—to construct tailored first-order difference approximations. In distant regions, standard second-order central differences are applied. This strategy achieves global second-order spatial convergence. The resulting discrete system features a sparse matrix structure, amenable to efficient solvers like multigrid methods, and is readily extensible to more complex scenarios involving convection or nonlinearities. The method provides an efficient computational tool to explore the thermodynamic and informational aspects of heat diffusion from moving singularities.

This paper considers the following heat conduction equation with a moving singular source,

utΔu=δLt(p)q(p,t),pΩ,0<tT, (1)

subject to the following initial and boundary conditions:

u(p,0)=u0,pΩ, (2)
u|Ω=0, (3)

where Ω denotes a domain in Rn (n=2,3), Ω denotes the boundary of Ω, and u0 is a known function. Lt represents the heat source line (for n=2) or heat source plane (for n=3) at time t; δLt represents a two- or three-dimensional Dirac delta function. It is infinite on Lt, zero in the region ΩLt, and its integral along a normal line segment that intersects Lt at exactly one point equals 1. The function q denotes the heat source intensity.

The rest of this paper is organized as follows: In Section 2, we illustrate our method through constructing the finite difference discretization scheme for two-dimensional moving straight-line heat source problems; in Section 3, we validate the convergence accuracy of the proposed method through numerical examples, including both two-dimensional moving line and three-dimensional moving plane heat source problems; in Section 4, we summarize the work and provide an outlook for future research.

2. Construction of the Finite Difference Scheme

For conciseness, this section elaborates the construction process of the finite difference discretization scheme for solving the two-dimensional heat conduction problem with a moving straight-line heat source. The method can be directly generalized to general two-dimensional curve heat source and three-dimensional surface heat source problems. Its effectiveness will be validated in Section 3 through various numerical examples, including two-dimensional moving line and three-dimensional moving plane heat sources.

Equation (1) with a moving straight-line heat source in two-dimensional space can be written as

utΔu=δLt(x,y)q(x,y,t),(x,y)Ω,0<tT, (4)

subject to the following initial and boundary conditions:

u(x,y,0)=u0,(x,y)Ω, (5)
u|Ω=0, (6)

where Ω=[a,b]×[c,d], with a,b,c,d being constants; Lt represents the moving line given by

xcosα+ycosβ+Vt+D=0, (7)

n=(cosα,cosβ) is a unit normal vector of Lt; V0 and D are constants which, together with other coefficients, determine the line’s velocity; V=0 and V0 correspond to steady-state and transient heat sources, respectively.

For an arbitrary point p0(x0,y0) on the line Lt, a new Cartesian coordinate system xOy (see, Figure 1) is established with p0 as the origin O, such that n is the unit vector aligned with the x-axis, and (cosβ,cosα) is the unit vector aligned with the y-axis. It is clear that rotating the x-axis 90 counterclockwise about O yields the y-axis. The coordinates of p0 in the xOy system are (0,0). The coordinate mapping between the xOy and xOy systems is

x(x,y)=x0+xcosαycosβ,y(x,y)=y0+xcosβ+ycosα. (8)

Figure 1.

Figure 1

New coordinate system xOy.

In the new coordinate system, Equation (4) becomes

utuxxuyy=δLt(x(x,y),y(x,y))q(x(x,y),y(x,y),t), (9)

where δLt(x(x,0),y(x,0))=δ(x), with δ being the one-dimensional Dirac delta function.

Equation (7) for the moving line Lt can also be viewed as a plane equation in three-dimensional space (treating t as a variable). Denote this plane as Π, with a normal vector m=(cosα,cosβ,V). The plane Π divides the computational domain Ω×(0,T] into two regions:

Ω+={(x,y,t)Ω×(0,T];xcosα+ycosβ+Vt+D>0}

and

Ω={(x,y,t)Ω×(0,T];xcosα+ycosβ+Vt+D<0}.

Based on the properties of solutions to heat conduction problems, we can assume that the solution u is sufficiently smooth within both Ω+ and Ω, and that u is a sufficiently smooth bivariate function on the plane Π. However, the directional derivative of u normal to the plane Π is discontinuous near Lt. To describe this discontinuity, we introduce the concept of the “jump” of a function value (see ref. [34]). Assume a function g(x,y,t) is continuous on Ω+ and Ω. If a moving point (x,y,t) passes from region Ω through point P0(x0,y0,t0) on plane Π into region Ω+, the jump of g(x,y,t) at P0, denoted [g]P0, is defined as

[g](x0,y0,t0)=limε0+(g(P0+εm)g(P0εm)). (10)

The point p0(x0,y0) can be considered as a point on the line Lt0. Regarding point p0(x0,y0), establish the new coordinate system xOy as described above. Setting y=0, t=t0 in Equation (9), and integrating both sides with respect to x over the interval (ϵ,ϵ) for any ϵ>0, we obtain

ϵϵ(ut(x(x,0),y(x,0),t0)uxx(x(x,0),y(x,0),t0)uyy(x(x,0),y(x,0),t0))dx=ϵϵδLt0(x(x,0),y(x,0))q(x(x,0),y(x,0),t0)dx=ϵϵδ(x)q(x(x,0),y(x,0),t0)dx=q(x(0,0),y(0,0),t0)=q(x0,y0,t0). (11)

Since ut is bounded within Ω+ and Ω, we have

ϵϵut(x(x,0),y(x,0),t0)dx0(ϵ0+). (12)

Since the y-axis is parallel to the line Lt, uyy is continuous at point P0, yielding

ϵϵuyy(x(x,0),y(x,0),t0)dx0(ϵ0+). (13)

Direct integration gives

ϵϵuxx(x(x,0),y(x,0),t0)dx=ux(x(ϵ,0),y(ϵ,0),t0)ux(x(ϵ,0),y(ϵ,0),t0). (14)

Combining (10), (11), (12), (13), and (14), and considering the limit ε0+, we obtain

[ux](x0,y0,t0)=q(x0,y0,t0). (15)

Directly from solution properties, we have

[uy](x0,y0,t0)=0,[uyy](x0,y0,t0)=0. (16)

From Equation (9) it follows that

[ut](x0,y0,t0)=[uxx](x0,y0,t0). (17)

Combining the coordinate transformation (8) with (15), we get

[ux](x0,y0,t0)=[ux](x0,y0,t0)cosα=q(x0,y0,t0)cosα (18)

and

[uy](x0,y0,t0)=[ux](x0,y0,t0)cosβ=q(x0,y0,t0)cosβ. (19)

From the properties of the heat conduction equation solution, for any (x0,y0,t0)Π and any vector l perpendicular to the normal vector m, we have

ul(x0,y0,t0)=0. (20)

Clearly, (cosβ,cosα,0) is a vector perpendicular to m. Indeed, when l=(cosβ,cosα,0), (20) gives the first equation in (16). Via the cross product, another vector perpendicular to m is obtained:

m×(cosβ,cosα,0)=(Vcosα,Vcosβ,1).

According to (20), we obtain

VcosαuxVcosβuy+ut=0. (21)

Combining (18), (19) and (21), we find

Vcosα[ux](x0,y0,t0)Vcosβ[uy](x0,y0,t0)+[ut](x0,y0,t0)=0, (22)

and further

[ut](x0,y0,t0)=q(x0,y0,t0)Vcos2αq(x0,y0,t0)Vcos2β=q(x0,y0,t0)V. (23)

Combining (17) and (23), we get

[uxx](x0,y0,t0)=q(x0,y0,t0)V. (24)

From (15), we have

[uxy](x0,y0,t0)=[uyx](x0,y0,t0)=qy(x0,y0,t0). (25)

By the coordinate transformation (8), we obtain

uxxuxyuyxuyy=cosαcosβcosβcosαuxxuxyuyxuyycosαcosβcosβcosα. (26)

Combining (16), (24), (25), and (26), we obtain after simplification

[uxx](x0,y0,t0)=q(x0,y0,t0)Vcos2α+2qy(x0,y0,t0)cosαcosβ,[uyy](x0,y0,t0)=q(x0,y0,t0)Vcos2β2qy(x0,y0,t0)cosαcosβ. (27)

For ease of concise description of the subsequent discretizations, we introduce the following jumps directly related to variables x,y,t. For (x0,y0,t0)Π,

[u](x0,y0,t0)x=limε0+(u(x0+ε,y0,t0)u(x0ε,y0,t0)), (28)
[u](x0,y0,t0)y=limε0+(u(x0,y0+ε,t0)u(x0,y0ε,t0)), (29)
[u](x0,y0,t0)t=limε0+(u(x0,y0,t0+ε)u(x0,y0,t0ε)). (30)

It can be directly verified that

[u](x0,y0,t0)x=sign(cosα)[u](x0,y0,t0), (31)
[u](x0,y0,t0)y=sign(cosβ)[u](x0,y0,t0), (32)
[u](x0,y0,t0)t=sign(V)[u](x0,y0,t0). (33)

Define grid nodes in the domain Ω×[0,T] as

(xi,yj,tn)=(a+ihx,c+jhy,nτ),i=0,,Nx,j=0,,Ny,n=0,,Nt,

where hx=(ba)/Nx, hy=(dc)/Ny, and τ=T/Nt are the grid step sizes, and Nx,Ny,Nt are the corresponding numbers of grid subdivisions. Denote Pi,j,n=(xi,yj,tn) and ui,jn=u(xi,yj,tn) for simplicity.

Taking grid node (Xi,Yj,tn+)Ω×(0,T] in Equation (4), for i=1,,Nx1, j=1,,Ny1, n=1,,Nt, yields

ut(Xi,Yj,tn+)=uxx(Xi,Yj,tn+)+uyy(Xi,Yj,tn+), (34)

where g(t+) denotes the right-hand limit of function g(t) at t, i.e., g(t+)=limε0+g(t+ε). If cosα>0, Xi=xi+, otherwise Xi=xi. If cosβ>0, Yj=yj+, otherwise Yj=yj. We use the symbols (ut)i,j,n, (uxx)i,j,n, and (uyy)i,j,n to denote approximations of the three terms in (34), respectively, i.e.,

ut(Xi,Yj,tn+)(ut)i,j,n,uxx(Xi,Yj,tn+)(uxx)i,j,n,uyy(Xi,Yj,tn+)(uyy)i,j,n. (35)

Replacing the terms in (34) with the approximations in (35) gives our finite difference discretization scheme:

(ut)i,j,n=(uxx)i,j,n+(uyy)i,j,n. (36)

Remark 1. 

Only within the discrete Equation (36), the symbol ui,jn appearing in the expressions for (ut)i,j,n, (uxx)i,j,n and (uyy)i,j,n is understood as the numerical approximation to u(xi,yj,tn).

Next, we detail the process of determining the three approximations in the discretization scheme (36).

The approximation (ut)i,j,n is determined according to the following two cases.

  • (i)
    If the line segment Pi,j,n1Pi,j,n does not intersect the plane Π, we set
    (ut)i,j,n=ui,jnui,jn1τ. (37)

    In this case, the second derivative of u with respect to t is bounded on [tn1,tn], and the local truncation error of this discretization is O(τ).

  • (ii)
    If the line segment Pi,j,n1Pi,j,n intersects the plane Π at point (xi,yj,t¯), we construct the following auxiliary function:
    u˜(xi,yj,t)=u(xi,yj,t)+(tt¯)[ut](xi,yj,t¯)t,t<t¯,u(xi,yj,t),t¯t. (38)
    It is easy to see that u˜ has a continuous first derivative with respect to t, its second derivative is bounded on [tn1,t¯)(t¯,tn], and we have
    ut(xi,yj,tn+)=u˜t(xi,yj,tn). (39)
    Applying a finite difference discretization to u˜t(xi,yj,tn), we obtain
    u˜t(xi,yj,tn)=u˜(xi,yj,tn)u˜(xi,yj,tn1)τ+O(τ)=ui,jnui,jn1τ(tnt¯)τ[ut](xi,yj,t¯)t+O(τ). (40)
    We set
    (ut)i,j,n=ui,jnui,jn1τ+(tnt¯)τ[ut]t(xi,yj,t¯), (41)
    which yields a local truncation error of O(τ).

The approximation (uxx)i,j,n is determined according to the following three cases.

  • (i)
    If the line segment Pi1,j,nPi+1,j,n does not intersect the plane Π, we set
    (uxx)i,j,n=ui+1,jn2ui,jn+ui1,jnhx2. (42)

    In this case, the third derivative of u with respect to x is bounded on [xi1,xi+1], and the local truncation error is O(hx2).

  • (ii)
    If the line segment Pi1,j,nPi,j,n intersects the plane Π at point (x¯,yj,tn) (when x¯=xi, an additional cosα<0 condition is required), we construct the following auxiliary function:
    u^(x,yj,tn)=u(x,yj,tn)+(xx¯)[ux](x¯,yj,tn)x+(xx¯)22[uxx](x¯,yj,tn)x,xx¯,u(x,yj,tn),x¯<x. (43)
    It is easy to see that u^ has a continuous second derivative with respect to x, its third derivative is bounded on [xi1,x¯)(x¯,xi+1], and we have
    uxx(xi,yj,tn+)=u^xx(xi,yj,tn). (44)
    Applying a central difference scheme to discretize u^xx(xi,yj,tn), we obtain
    u^xx(xi,yj,tn)=u^(xi1,yj,tn)2u^(xi,yj,tn)+u^(xi+1,yj,tn)hx2+O(hx2)=ui+1,jn2ui,jn+ui1,jnhx2+(xi1x¯)[ux](x¯,yj,tn)xhx2+(xi1x¯)22hx2[uxx](x¯,yj,tn)x+O(hx2). (45)
    We set
    (uxx)i,j,n=ui+1,jn2ui,jn+ui1,jnhx2+(xi1x¯)[ux](x¯,yj,tn)xhx2+(xi1x¯)22hx2[uxx](x¯,yj,tn)x. (46)

    This yields a local truncation error of O(hx2).

  • (iii)
    If the line segment Pi,j,nPi+1,j,n intersects the plane Π at point (x¯,yj,tn) (when x¯=xi, an additional cosα0 condition is required), we construct the following auxiliary function:
    u^^(x,yj,tn)=u(x,yj,tn),x<x¯,u(x,yj,tn)(xx¯)[ux](x¯,yj,tn)x(xx¯)22[uxx](x¯,yj,tn)x,x¯x. (47)
    It is easy to see that u^^ has a continuous second derivative with respect to x, its third derivative is bounded on [xi1,x¯)(x¯,xi+1], and we have
    uxx(xi,yj,tn+)=u^^xx(xi,yj,tn). (48)
    Applying a central difference scheme to discretize u^^xx(xi,yj,tn), we obtain
    u^^xx(xi,yj,tn)=u^^(xi1,yj,tn)2u^^(xi,yj,tn)+u^^(xi+1,yj,tn)hx2+O(hx2)=ui+1,jn2ui,jn+ui1,jnhx2(xi+1x¯)[ux](x¯,yj,tn)xhx2(xi+1x¯)22hx2[uxx](x¯,yj,tn)x+O(hx2). (49)
    We set
    (uxx)i,j,n=ui+1,jn2ui,jn+ui1,jnhx2(xi+1x¯)[ux](x¯,yj,tn)xhx2(xi+1x¯)22hx2[uxx](x¯,yj,tn)x. (50)

    This yields a local truncation error of O(hx2).

The determination process for the approximation (uyy)i,j,n is similar to that for (uxx)i,j,n and follows these three cases.

  • (i)
    If the line segment Pi,j1,nPi,j+1,n does not intersect the plane Π, we set
    (uyy)i,j,n=ui,j+1n2ui,jn+ui,j1nhy2. (51)

    The local truncation error is O(hy2).

  • (ii)
    If the line segment Pi,j1,nPi,j,n intersects the plane Π at point (xi,y¯,tn) (when y¯=yj, an additional cosβ<0 condition is required), we set
    (uyy)i,j,n=ui,j+1n2ui,jn+ui,j1nhy2+(yj1y¯)[uy](xi,y¯,tn)yhy2+(yj1y¯)22hy2[uyy](xi,y¯,tn)y. (52)

    The local truncation error is O(hy2).

  • (iii)
    If the line segment Pi,j,nPi,j+1,n intersects the plane Π at point (xi,y¯,tn) (when y¯=yj, an additional cosβ0 condition is required), we set
    (uyy)i,j,n=ui,j+1n2ui,jn+ui,j1nhy2(yj+1y¯)[uy](xi,y¯,tn)yhy2(yj+1y¯)22hy2[uyy](xi,y¯,tn)y. (53)

    The local truncation error is O(hy2).

In summary, the scheme (36) constructed in this paper has different truncation errors in different regions. In the region adjacent to the heat source, the discretization has a truncation error of O(τ+hx+hy), and the number of such discretizations is O(Nx+Ny). In the region far from the heat source, the discretization has a truncation error of O(τ+hx2+hy2), and the number of such discretizations is O(NxNy). Therefore, the local first-order truncation errors does not dominate the overall convergence accuracy. Consequently, the final discrete scheme (36) achieves an overall error accuracy of O(τ+hx2+hy2) globally.

Regarding the mesh ratio, we note that the implicit time discretization used in the scheme is unconditionally stable, hence there is no theoretical CFL-type restriction on τ/h2 for stability. However, to maintain the designed second-order global accuracy in practice, it is advisable to choose τO(h2) (where h=max{hx,hy}), so that the temporal and spatial errors remain balanced. All numerical experiments in Section 3 were performed with τ0.5h2.

3. Numerical Tests

This section validates the effectiveness and convergence accuracy of our proposed discretization scheme through a series of numerical experiments.

The simulation of the moving line source reflects the temperature evolution under concentrated heat input along a moving path, as seen in processes such as welding or laser cladding. The results for the moving plane source can inform thermal management in additive manufacturing or laser surface treatment, where heat deposition over a moving area is critical for microstructure control and residual stress prediction. Moreover, accurately capturing the temperature gradient and heat flux jump near the source is essential for predicting phase transformation, thermal distortion, and local entropy production in such processes.

3.1. Two-Dimensional Problems

Consider problem (4) with Ω=[0,2]×[0,2], T=1, and Nx=Ny=N. Let uN be the numerical solution with grid number N, and u2N be the numerical solution obtained after doubling the grid resolution. The errors in the discrete L1 and L norms, and the convergence order in the discrete L1 norm, are defined as follows:

Err1N=||uNu2N||1=hxhyi=1Nxj=1Nyui,jNu2i1,2j12N, (54)
ErrN=||uNu2N||=max1iNx1jNyui,jNu2i1,2j12N. (55)

and

Ord1N=log2Err1NErr12N. (56)

Example 1. 

The moving heat source is given by

Lt={(x,y);sinπ5xcosπ5y+t=0}.

Its direction of motion is (sinπ5,cosπ5), with a speed of 1. Figure 2 and Figure 3 show contour plots of the numerical solution at different times for heat source intensities q=1 and q=x2+y2+t2, respectively, obtained using a grid with N=256, Nt=32,786. The corresponding errors and convergence orders are presented in Table 1.

Figure 2.

Figure 2

Contour plots of the numerical solution at different times for q=1, where (a) corresponds to the contour plot at t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Figure 3.

Figure 3

Contour plots of the numerical solution at different times for q=x2+y2+t2, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Table 1.

Errors and convergence orders.

q 1 x2+y2+t2
N Err1N ErrN Ord1N Err1N ErrN Ord1N
16 7.73 ×103 1.29 ×102 2.50 ×102 5.54 ×102
32 1.80 ×103 3.68 ×103 2.09 5.69 ×103 1.26 ×102 2.13
64 4.60 ×104 9.52 ×104 1.97 1.50 ×103 5.72 ×103 1.91
128 1.15 ×104 1.92 ×104 1.99 3.76 ×104 1.17 ×103 2.00
256 2.97 ×105 3.78 ×104 1.95 9.52 ×105 9.56 ×104 1.98

Example 2. 

The moving heat source is given by

Lt={(x,y);x+0.5t+0.5=0}.

Its direction of motion is (1,0), with a speed of 1. Figure 4 and Figure 5 show contour plots of the numerical solution at different times for heat source intensities q=1 and q=x2+y2+t2, respectively, obtained using a grid with N=256, Nt=32,786. The corresponding errors and convergence orders are presented in Table 2.

Figure 4.

Figure 4

Contour plots of the numerical solution at different times for q=1, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Figure 5.

Figure 5

Contour plots of the numerical solution at different times for q=x2+y2+t2, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Table 2.

Errors and convergence orders.

q 1 x2+y2+t2
N Err1N ErrN Ord1N Err1N ErrN Ord1N
16 9.35 ×103 1.34 ×102 2.95 ×102 7.20 ×102
32 1.82 ×103 5.62 ×103 2.35 6.01 ×103 3.27 ×102 2.29
64 3.80 ×104 2.59 ×103 2.26 1.26 ×103 1.54 ×102 2.24
128 8.37 ×105 1.24 ×103 2.18 2.79 ×104 7.47 ×103 2.18
256 1.84 ×105 6.14 ×104 2.17 5.80 ×105 3.68 ×103 2.26

Example 3. 

The moving heat source is given by

Lt={(x,y);x=0.822t+22s,y=0.2+22t+22s,s[0,1]}.

Its direction of motion is (22,22), with a speed of 1. Figure 6 and Figure 7 show contour plots of the numerical solution at different times for heat source intensities q(s)=1 and q(s)=s2, respectively, obtained using a grid with N=256, Nt=32,786. The corresponding errors and convergence orders are presented in Table 3.

Figure 6.

Figure 6

Contour plots of the numerical solution at different times for q(s)=1, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Figure 7.

Figure 7

Contour plots of the numerical solution at different times for q(s)=s2, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Table 3.

Errors and convergence orders.

q(s) 1 s2
N Err1N ErrN Ord1N Err1N ErrN Ord1N
16 5.43 ×103 1.30 ×102 4.68 ×103 1.62 ×102
32 2.48 ×103 6.04 ×103 1.13 1.73 ×103 5.40 ×103 1.43
64 4.92 ×104 6.70 ×103 2.33 3.33 ×104 6.28 ×103 2.37
128 1.24 ×104 3.82 ×103 1.97 8.75 ×105 3.76 ×103 1.92
256 3.76 ×105 2.32 ×103 1.73 2.65 ×105 2.35 ×103 1.72

3.2. Three-Dimensional Problems

Consider the following initial-boundary value problem with a moving plane heat source:

utΔu=δLt(x,y,z)q(x,y,z,t),(x,y,z)Ω=[0,2]3,0<t1,u(x,y,z,0)=0,(x,y,z)Ω,u|Ω=0. (57)

The three-dimensional discretization scheme can be directly derived from the two-dimensional scheme, the details of which we omit here. We present the numerical results directly. The error norms for the three-dimensional problem are defined as

Err1N=||uNu2N||1=hxhyhzi=1Nxj=1Nyk=1Nzui,j,kNu2i1,2j1,2k12N, (58)
ErrN=|uNu2N|=max1iNx1jNy1kNzui,j,kNu2i1,2j1,2k12N. (59)

Example 4. 

The moving heat source is given by

Lt={(x,y,z);x+y+z+t4=0}.

Its direction of motion is (33,33,33), with a speed of 33. Figure 8 and Figure 9 show contour plots of the numerical solution on the cross-section z=1 at different times for heat source intensities q=1 and q=x2+y2+z2+t2, respectively, obtained using a grid with N=128, Nt=8192. The corresponding errors and convergence orders are presented in Table 4.

Figure 8.

Figure 8

Contour plots of the numerical solution on the cross-section z=1 at different times for q=1, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Figure 9.

Figure 9

Contour plots of the numerical solution on the cross-section z=1 at different times for q=x2+y2+z2+t2, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Table 4.

Errors and convergence orders.

q 1 x2+y2+z2+t2
N Err1N ErrN Ord1N Err1N ErrN Ord1N
16 5.46 ×103 4.69 ×103 2.94 ×102 2.55 ×102
32 1.56 ×103 2.42 ×103 1.80 8.44 ×103 1.36 ×102 1.80
64 4.11 ×104 1.26 ×103 1.92 2.22 ×103 7.31 ×103 1.92
128 1.05 ×104 6.52 ×104 1.97 5.69 ×104 3.83 ×103 1.96

Example 5. 

The moving heat source is given by

Lt={(x,y,z);x=1.5t,(y0.5)2+(z0.5)20.52}.

Its direction of motion is (1,0,0), with a speed of 1. Figure 10 and Figure 11 show contour plots of the numerical solution on the cross-section z=1 at different times for heat source intensities q=1 and q=x2+y2+z2+t2, respectively, obtained using a grid with N=128, Nt=8192. The corresponding errors and convergence orders are presented in Table 5.

Figure 10.

Figure 10

Contour plots of the numerical solution on the cross-section z=1 at different times for q=1, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Figure 11.

Figure 11

Contour plots of the numerical solution on the cross-section z=1 at different times for q=x2+y2+z2+t2, where (a) corresponds to t=0.25, (b) to t=0.5, (c) to t=0.75, and (d) to t=1.

Table 5.

Errors and convergence orders.

q 1 x2+y2+z2+t2
N Err1N ErrN Ord1N Err1N ErrN Ord1N
16 8.84 ×103 1.52 ×102 3.37 ×102 6.48 ×102
32 1.73 ×103 8.28 ×103 2.35 6.33 ×103 3.64 ×102 2.41
64 7.42 ×104 4.86 ×103 1.22 2.46 ×103 2.20 ×102 1.35
128 9.79 ×105 2.82 ×103 2.92 3.37 ×104 1.26 ×102 2.87

4. Conclusions

This paper presents a partitioned finite difference method for transient heat conduction with moving line and plane heat sources. The method analytically handles the solution singularity using jump conditions, applying first-order discretization near the source and standard second-order schemes elsewhere. This hybrid strategy ensures second-order spatial convergence overall, as confirmed by numerical tests on straight lines, segments, planes, and circular surfaces. The method provides an efficient and accurate tool for simulating heat diffusion from moving singularities, useful for studying energy distribution in related non-equilibrium processes. Its sparse discretization also supports future extensions to problems with convection, nonlinearities, or multiphysics coupling.

Author Contributions

Conceptualization, J.L. and Y.J.; methodology, J.L. and Y.J.; software, J.L.; validation, J.L. and Y.J.; investigation, J.L. and Y.J.; writing—original draft preparation, J.L.; writing—review and editing, J.L.; visualization, J.L.; project administration, J.L.; funding acquisition, J.L. and Y.J. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

The algorithm implementation code and related data supporting the findings of this study are available in a CSDN repository at: https://download.csdn.net/download/weixin_51130032/92570878, accessed on 14 December 2025.

Conflicts of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as potential conflicts of interest.

Funding Statement

This work was supported by National Natural Science Foundation of China (Grant No. 11571053). This work was supported by Postgraduate Scientific Research Innovation Project of Hunan Province (Project No. CX20230923).

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Mackwood A.P., Crafer R.C. Thermal modelling of laser welding and related processes: A literature review. Opt. Laser Technol. 2005;37:99–115. doi: 10.1016/j.optlastec.2004.02.017. [DOI] [Google Scholar]
  • 2.Huang Y., Khamesee M.B., Toyserkani E. A comprehensive analytical model for laser powder-fed additive manufacturing. Addit. Manuf. 2016;12:90–99. doi: 10.1016/j.addma.2016.07.001. [DOI] [Google Scholar]
  • 3.Zhang Q., Xie J., Gao Z., London T., Griffiths D., Oancea V. A metallurgical phase transformation framework applied to SLM additive manufacturing processes. Mater. Des. 2019;166:107618. doi: 10.1016/j.matdes.2019.107618. [DOI] [Google Scholar]
  • 4.Bikcora C., Weiland S., Coene W.M.J. Thermal deformation prediction in reticles for extreme ultraviolet lithography based on a measurement-dependent low-order model. IEEE Trans. Semicond. Manuf. 2014;27:104–117. doi: 10.1109/TSM.2014.2298360. [DOI] [Google Scholar]
  • 5.Ravi A.K., Deshpande A., Hsu K.H. An in-process laser localized pre-deposition heating approach to inter-layer bond strengthening in extrusion based polymer additive manufacturing. J. Manuf. Process. 2016;24:179–185. doi: 10.1016/j.jmapro.2016.08.007. [DOI] [Google Scholar]
  • 6.Sroka R., Stepp H., Hennig G., Brittenham G., Rhm A., Lilge L. Medical laser application: Translation into the clinics. J. Biomed. Opt. 2015;20:61110. doi: 10.1117/1.JBO.20.6.061110. [DOI] [PubMed] [Google Scholar]
  • 7.Sassaroli E., Li K.C.P., O’Neill B.E. Numerical investigation of heating of a gold nanoparticle and the surrounding microenvironment by nanosecond laser pulses for nanomedicine applications. Phys. Med. Biol. 2009;54:5541–5560. doi: 10.1088/0031-9155/54/18/013. [DOI] [PubMed] [Google Scholar]
  • 8.Trujillo M., Rivera M., Molina J., Berjano E. Analytical thermal-optic model for laser heating of biological tissue using the hyperbolic heat transfer equation. Math. Med. Biol. 2009;26:187–200. doi: 10.1093/imammb/dqp002. [DOI] [PubMed] [Google Scholar]
  • 9.Rosenthal D. The Theory of Moving Sources of Heat and Its Application to Metal Treatments. Trans. Am. Soc. Mech. Eng. 1946;68:849–865. [Google Scholar]
  • 10.Jaeger J.C. Moving sources of heat and the temperature at sliding contacts. Proc. R. Soc. N. S. W. 1942;76:203. doi: 10.5962/p.360338. [DOI] [Google Scholar]
  • 11.Hou Z.B., Komanduri R. General solutions for stationary/moving plane heat source problems in manufacturing and tribology. Int. J. Heat Mass Transf. 2000;43:1679–1698. doi: 10.1016/S0017-9310(99)00271-9. [DOI] [Google Scholar]
  • 12.Woo H.G., Cho H.S. Three-dimensional temperature distribution in laser surface hardening processes. Proc. Inst. Mech. Eng. Part B J. Eng. Manuf. 1999;213:695–712. doi: 10.1243/0954405991517128. [DOI] [Google Scholar]
  • 13.Cheng P.J., Lin S.C. An analytical model for the temperature field in the laser forming of sheet metal. J. Mater. Process. Technol. 2000;101:260–267. doi: 10.1016/S0924-0136(99)00411-2. [DOI] [Google Scholar]
  • 14.Mirkoohi E., Seivers D.E., Garmestani H., Liang S.Y. Heat source modeling in selective laser melting. Materials. 2019;12:2052. doi: 10.3390/ma12132052. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Araya G., Gutierrez G. Analytical solution for a transient, three-dimensional temperature distribution due to a moving laser beam. Int. J. Heat Mass Transf. 2006;49:4124–4131. doi: 10.1016/j.ijheatmasstransfer.2006.03.026. [DOI] [Google Scholar]
  • 16.Fereidouni M., Hoa S.V. An analytical approach for three-dimensional thermal analysis of moving heat source on orthotropic solid. J. Thermoplast. Compos. Mater. 2025;39:140–171. doi: 10.1177/08927057251344553. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Zubair S.M., Chaudhry M.A. A unified approach to closed-form solutions of moving heat-source problems. Heat Mass Transf. 1998;33:415–424. doi: 10.1007/s002310050209. [DOI] [Google Scholar]
  • 18.Álvarez-Hostos J.C., Ullah Z., Storti B., Tourn B.A., Zambrano-Carrillo J.A. Solving heat conduction problems with a moving heat source in arc welding processes via an overlapping nodes scheme based on the improved element-free Galerkin method. Int. J. Heat Mass Transf. 2022;192:122940. doi: 10.1016/j.ijheatmasstransfer.2022.122940. [DOI] [Google Scholar]
  • 19.Álvarez-Hostos J.C., Ullah Z., Storti B., Tourn B.A., Zambrano-Carrillo J.A. An overset improved element-free Galerkin-finite element method for the solution of transient heat conduction problems with concentrated moving heat sources. Comput. Methods Appl. Mech. Eng. 2024;418:116574. doi: 10.1016/j.cma.2023.116574. [DOI] [Google Scholar]
  • 20.Bian P., Shao X., Du J. Finite element analysis of thermal stress and thermal deformation in typical part during SLM. Appl. Sci. 2019;9:2231. doi: 10.3390/app9112231. [DOI] [Google Scholar]
  • 21.He K., Yang Q., Xiao D., Li X. Analysis of thermo-elastic fracture problem during aluminium alloy MIG welding using the extended finite element method. Appl. Sci. 2017;7:69. doi: 10.3390/app7010069. [DOI] [Google Scholar]
  • 22.Reséndiz-Flores E.O., Saucedo-Zendejo F.R. Two-dimensional numerical simulation of heat transfer with moving heat source in welding using the finite pointset method. Int. J. Heat Mass Transf. 2015;90:239–245. doi: 10.1016/j.ijheatmasstransfer.2015.06.023. [DOI] [Google Scholar]
  • 23.Pham X.T. Two-dimensional Rosenthal moving heat source analysis using the meshless element free Galerkin method. Numer. Heat Transf. Part A Appl. 2013;63:807–823. doi: 10.1080/10407782.2013.757089. [DOI] [Google Scholar]
  • 24.Champagne O., Pham X.T. Numerical simulation of moving heat source in arc welding using the Element-free Galerkin method with experimental validation and numerical study. Int. J. Heat Mass Transf. 2020;154:119633. doi: 10.1016/j.ijheatmasstransfer.2020.119633. [DOI] [Google Scholar]
  • 25.Hu Z., Liu Z. Heat conduction simulation of 2D moving heat source problems using a moving mesh method. Adv. Math. Phys. 2020;2020:6067854. doi: 10.1155/2020/6067854. [DOI] [Google Scholar]
  • 26.Mohammadi M., Hematiyan M.R., Khosravifard A. Boundary element analysis of 2D and 3D thermoelastic problems containing curved line heat sources. Eur. J. Comput. Mech. 2016;25:147–164. doi: 10.1080/17797179.2016.1181041. [DOI] [Google Scholar]
  • 27.Hematiyan M.R., Mohammadi M., Aliabadi M.H. Boundary element analysis of two-and three-dimensional thermo-elastic problems with various concentrated heat sources. J. Strain Anal. Eng. Des. 2011;46:227–242. doi: 10.1177/0309324710396995. [DOI] [Google Scholar]
  • 28.Zenhari S., Hematiyan M.R., Khosravifard A. Comparison of the Boundary Element Method and the Method of Fundamental Solutions for Analysis of Potential and Elasticity Problems in Convex and Concave Domains. WIT Trans. Eng. Sci. 2023;135:79–95. [Google Scholar]
  • 29.Karami G., Hematiyan M.R. A boundary element method of inverse non-linear heat conduction analysis with point and line heat sources. Commun. Numer. Methods Eng. 2000;16:191–203. doi: 10.1002/(SICI)1099-0887(200003)16:3<191::AID-CNM321>3.0.CO;2-N. [DOI] [Google Scholar]
  • 30.Shiah Y.C., Guao T.L., Tan C.L. Two-dimensional BEM thermoelastic analysis of anisotropic media with concentrated heat sources. Comput. Model. Eng. Sci. 2005;7:321. [Google Scholar]
  • 31.Mohammadi M., Hematiyan M.R., Khosravifard A. Analysis of two-and three-dimensional steady-state thermo-mechanical problems including curved line/surface heat sources using the method of fundamental solutions. Eur. J. Comput. Mech. 2019;28:51–80. [Google Scholar]
  • 32.Mohammadi M. The method of fundamental solutions for two-and three-dimensional transient heat conduction problems involving point and curved line heat sources. Iran. J. Sci. Technol. Trans. Mech. Eng. 2021;45:993–1005. doi: 10.1007/s40997-019-00333-9. [DOI] [Google Scholar]
  • 33.Mohammadi M., Hematiyan M.R., Shiah Y. An efficient analysis of steady-state heat conduction involving curved line/surface heat sources in two/three-dimensional isotropic media. J. Theor. Appl. Mech. 2018;56:1123–1137. doi: 10.15632/jtam-pl.56.4.1123. [DOI] [Google Scholar]
  • 34.Ma J., Jiang Y. Moving mesh methods for blowup in reaction–diffusion equations with traveling heat source. J. Comput. Phys. 2009;228:6977–6990. doi: 10.1016/j.jcp.2009.06.008. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The algorithm implementation code and related data supporting the findings of this study are available in a CSDN repository at: https://download.csdn.net/download/weixin_51130032/92570878, accessed on 14 December 2025.


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES