WorksPhysics and Astronomy
A regularized lattice Boltzmann model for the solid-liquid phase change
Abstract
In this study, a regularized lattice Boltzmann method is proposed for solid-liquid phase-change simulations. The governing total-enthalpy equation is solved within a regularized lattice Boltzmann (RLB) framework, which enables accurate tracking of the solid-liquid interface while effectively suppressing numerical diffusion. In addition, the multi-relaxation-time RLB (MRT-RLB) model with standard lattices is developed to solve the flow field. To enhance computational efficiency, an efficient multi-GPU (graphics processing unit) implementation based on CUDA C (Compute Unified Device Architecture) is developed, which is particularly suited for computationally intensive three-dimensional phase-change simulations. The proposed model is validated against a series of one-, two-, and three-dimensional benchmark problems. The results demonstrate that the present solver provides a robust, accurate, and efficient framework for simulating solid-liquid phase-change heat transfer.
Introduction
Solid-liquid phase change, characterized by minimal volume variation, a nearly isothermal transition, and substantial latent heat exchange, is extensively utilized in both daily life and engineering applications, ranging from freeze-thaw cycles of permafrost in cold regions to thermal energy storage in green buildings. However, the dynamically evolving and highly nonlinear phase interface, coupled with the intricate, multi-physical nature of fluid flow and heat transfer, presents formidable challenges to investigating these phenomena. For such complex phase-change problems, experimental approaches are often constrained by the difficulty of replicating specific operating conditions and capturing localized transport characteristics, thereby rendering numerical simulation an indispensable tool. Compared with conventional computational fluid dynamics (CFD) methods, the lattice Boltzmann method (LBM) [5, 1], by virtue of its inherent mesoscopic nature, exhibits distinct advantages in handling complex geometries, multi-physics coupling, and parallel computation. Consequently, LBM has emerged as a highly promising alternative for simulating complex solid-liquid phase-change processes. Nevertheless, as a developing mesoscopic numerical framework, LBM still faces several critical challenges when applied to solid-liquid phase-change scenarios.
In 1998, de Fabritiis et al. [7] pioneered the application of the lattice Boltzmann method to solid-liquid phase-change problems. In their model, the solid and liquid phases were treated as two distinct components governed by separate lattice Boltzmann equations, with the phase transition realized by incorporating a reaction source term into the evolution equations. Since this seminal work, extensive research has been dedicated to applying LBM to solid-liquid phase-change phenomena. Generally, existing lattice Boltzmann approaches for modeling these processes can be broadly classified into three categories: (1) phase-field-based methods [35], (2) enthalpy-based methods [19], and (3) interface-tracking methods [13]. In phase-field-based methods, an auxiliary order parameter is introduced to capture the phase interface, which is represented by the continuous spatial variation of this parameter [35]. In enthalpy-based LBMs [19], the temperature field is reconstructed from the enthalpy, which also serves to determine the local liquid fraction at the interface. Meanwhile, interface-tracking methods, as developed by Huang et al. [13] and Li et al. [26], offer an alternative paradigm by explicitly locating and updating the phase boundary.
Owing to its simplicity and robustness, the enthalpy-based lattice Boltzmann approach has been widely adopted for the simulation of solid-liquid phase-change problems. In 2001, Jiaung et al. [Jiaung et al., 2001] proposed the first enthalpy-based lattice Boltzmann model for solving the convection-diffusion equation in solid-liquid phase-change problems. In this pioneering enthalpy-based model, the latent heat source term is treated using an implicit iterative scheme, whereas the convection term is not rigorously considered. Following this framework, a series of subsequent studies were conducted. These include the introduction of a relaxation factor to enhance the convergence of the implicit iteration by Chatterjee and Chakraborty [4], the further incorporation of viscous dissipation by Chatterjee and Chakraborty [2, 3], and the compulsory single-iteration treatment proposed by Huber et al. [17]. Subsequently, Eshraghi and Felicelli [8] proposed another implicit lattice Boltzmann model, in which the latent heat source term is resolved by solving a system of linear equations at each lattice node instead of using an iterative procedure. In general, the aforementioned enthalpy-based lattice Boltzmann approaches rely on various implicit iterative techniques to treat the latent heat source term. Huang et al. [16, 14] developed a total-enthalpy-based lattice Boltzmann approach, where the convection term was neglected in the treatment of the source term. In this model, the total enthalpy, including both sensible and latent enthalpy, is taken as the target macroscopic variable, and an elaborately designed discrete equilibrium function is introduced to recover the corresponding macroscopic partial differential equation.
To mitigate numerical diffusion at the phase interface, various advanced collision models have been developed. In the work of Huang et al. [14], the so-called magic parameters [9] were incorporated into the multiple-relaxation-time (MRT) collision model to suppress numerical diffusion. Li et al. [21] and Liu et al. [28] employed a non-orthogonal MRT model to solve the enthalpy equation based on the D3Q7 lattice. Lu et al. [Lu, Lei, and Dai, 2019] adopted the two-relaxation-time (TRT) collision model, coupled with a magic parameter [10], to suppress unphysical numerical diffusion. Liu et al. [29] utilized a cascaded MRT model to solve the enthalpy equation, thereby suppressing numerical diffusion and enhancing numerical stability. To simulate the droplet impact and freezing on solid surfaces, Xu et al. [39] applied an enhanced cascaded lattice Boltzmann method to calculate the flow field and a multiple-relaxation-time scheme to solve the liquid-solid phase change model. Jing et al. [20] proposed a multiphase model that integrated the phase-field method, the enthalpy-based method, and the lattice Boltzmann method to simulate the droplet solidification on cold substrates. Overall, these collision models and integrated strategy have alleviated the unphysical diffusion at the solid-liquid interface and promoted the model close to the real physical problems.
Since solid-liquid phase-change processes are inherently slow-evolving physical phenomena, their simulation using the lattice Boltzmann method (LBM) is generally computationally demanding. To address this, Liu et al. [30] developed a multi-GPU code for simulating high-Rayleigh-number, convection-dominated melting, based on a TRT lattice Boltzmann evolution equation with a source term to ensure the strict recovery of the macroscopic total-enthalpy equation. In recent years, regularized lattice Boltzmann collision models have been extensively and successfully employed in high-Reynolds-number flow simulations, owing to their outstanding ability to enhance the robustness and accuracy of violent flow simulations. Among the existing regularized collision models, recursive regularized model for weakly compressible flow [32] and compressible flow [33, 6], hybrid recursive regularized model for weakly compressible flow [18], and temperature-scaled regularized multiple-relaxation-time models for compressible flow [23, 37, 22] represent the primary categories.
In the present work, a regularized lattice Boltzmann model is designed to solve the enthalpy equation, while the flow field is simultaneously resolved using the weakly compressible multi-relaxation-time regularized lattice Boltzmann (MRT-RLB) model on standard lattices(D3Q27). This implementation builds upon our previous high-order lattice model [24, 25] to enhance the numerical accuracy and stability of the flow simulation. The numerical results demonstrate that the proposed model not only provides robust numerical stability for flow-field simulations but also effectively suppresses numerical diffusion at the solid–liquid interface. In general, this work represents the first application of advanced regularized collision model to both the flow field and the enthalpy-based governing equation for solid-liquid phase-change.
The remainder of this paper is organized as follows. Section 2 presents the theoretical model, numerical implementation details, and the GPU acceleration strategy. Section 3 validates the proposed model through several benchmark problems, encompassing one-, two-, and three-dimensional cases. Finally, Section 4 summarizes the primary conclusions of this work.
Theoretical Model
In the present study, the following assumptions are made for the solid-liquid phase change physics. Compressibility effects are assumed to be negligible, and the Boussinesq approximation is adopted to describe the buoyancy force arising from temperature variations; Volume expansion resulting from density variations during the phase-change process is neglected. The thermophysical properties of the solid and liquid phases are assumed to be constant within each phase. This assumption is valid for phase-change processes involving moderate temperature differences. The effects of viscous dissipation and pressure work are neglected.
For the evolution of temperature field, the macroscopic partial differential equation of total enthalpy is employed Huang and Wu [2015]:
in which is the temperature and is the total enthalpy, including the sensible enthalpy and the latent enthalpy , with the liquid fraction and the latent heat. is the thermal conductivity. For the phase change process of the pure phase-change materials, the flux of the latent enthalpy can be usually neglected since the mushy zone acts like solid. Thus the governing equation of total enthalpy can be simplified as
The solid-liquid interface can be characterized by the latent enthalpy or, equivalently, the liquid fraction. In the solid phase, both the liquid fraction and the latent enthalpy are zero, whereas in the liquid phase, the liquid fraction is unity and the latent enthalpy equals the latent heat. Within the mushy zone (or interface region), the liquid fraction ranges continuously between zero and unity. The temperature is subsequently evaluated from the total enthalpy, which is governed by an independent distribution function:
with and the solidus and liquidus enthalpy, and are the corresponding temperatures. The liquid fraction can also be determined by the enthalpy as following:
The thermophysical properties across the solid-liquid interface can be defined by the linearly interpolation form such as the thermal conductivity:
and similar definition can be applied to other thermophysical parameters not mentioned. The governing equations for the flow field are as following:
in which , , , , are the density, velocity, pressure, body force and dynamic viscosity, respectively. The body force is defined with the Boussinesq approximation as:
in which is the thermal expansion coefficient, is the gravitational acceleration, and and are the reference density and temperature.
To characterize the flow and temperature fields, several dimensionless parameters are introduced, including the Prandtl number, Rayleigh number, Stefan number, and Fourier number:
in which is the kinematic viscosity, the thermal diffusivity, the characteristic length and the melt temperature, , are the imposed high and low temperature on the boundaries.
Regularized LB model to solve total enthalpy
The total enthalpy distribution function can be defined as follows Liu et al. [ [28]:
The discrete velocity set, corresponding weights, and lattice sound speed for the two-dimensional D2Q5 model are given as follows:
The discrete velocity set, corresponding weights, and lattice sound speed for the three-dimensional D3Q7 model are given as follows:
The zero-order, first-order, and second-order moments of the equilibrium distribution function of the total enthalpy based on the discrete velocity set and weights mentioned above can be easily obtained via some algebraic operations:
The regularized lattice Boltzmann evolution equation can be written as follows:
In the above lattice Boltzmann equation, the equilibrium distribution function in Eq. (10) is employed, and the corresponding non-equilibrium distribution function can be written as follows:
with
The zero-order and first-order non-equilibrium Hermite coefficients can be explicitly written as:
Thus, Eq. (19) can be explicitly written as:
To eliminate the deviation term arising in the recovery of the diffusion term in the total-enthalpy partial differential equation, a source term is introduced, and the regularized lattice Boltzmann evolution equation can then be written as follows:
To facilitate the Taylor expansion, the regularized lattice Boltzmann evolution equation is recast into the form presented in the final line of the preceding equation, which does affect the following derivations. Subsequently, a Chapman–Enskog expansion is carried out to demonstrate that the regularized lattice Boltzmann equation Eq. (24) correctly recovers the macroscopic partial differential equation for the total enthalpy.
The zero-order and first-order moments of the source term can be easily evaluated via some algebraic operation as:
In the numerical implementation, the temporal derivative can be discretised through the explicit Euler scheme. In our simulations, this source term has been igored directly.
In the multiscale expansion, the temporal and spatial derivatives, distribution functions, and source term are expressed in the following scale-separated forms:
Apply the Taylor expansion to Eq. (24), the following equation can be obtained:
Substituting the multiscale expansions given in Eq. (27) into the above equation and collecting terms of different orders yields the following equations at the corresponding scales:
The zero-order moment of (30) can be obtained attributed to eq:15:
Similarly, the zero-order moment of (31) can be obtained attributed to eq:15:
According to (30), the first-order moment of the non-equilibrium distribution function in the above equation can be rewritten in the following form:
Substituting the above equation into (33), the compact form of the equation at the second-order scale can be expressed as follows through straightforward algebraic manipulations:
By combing (32) and (35) at different scales, the desired macroscopic partial differential equation governing total enthalpy can be recovered without introducing any deviation term
with
Regularized LB model to solve the flow field
For weakly compressible flows, the multiple-relaxation-time regularized lattice Boltzmann model (MRT-RLB) with the standard lattice D3Q27, based on our previous high-order lattice regularized collision model with force term [25], is employed here to guarantee the robustness and accuracy of flow-field simulations. Unlike fully compressible thermal flows, the standard lattice version is designed to deal with isothermal flows, where the Boussinesq approximation is adopted to incorporate thermal effects with a body force term. Consequently, conducting the collision process in the Hermite central moment space is sufficient.
The standard lattice D3Q27 in the present work is written as
The multiple-relaxation-time recursive collision operators from [25] with can be written as follows:
in which and represent the traceless and trace components of the second-order nonequilibrium moment, respectively, whereas and denote the corresponding traceless and trace components of the second-order force term, and is the body force with the dimension of density multiplied by acceleration. Due to the insufficient velocity-space resolution of standard lattices (such as D2Q9 and D3Q27), the present MRT-RLB model adopts components identical to those in the recursive regularized collision model Malaspinas [ [32].
In the MRT-RLB collision model, the raw-moment Hermite coefficients of the force term are as follows LI et al. [ [24], Li et al. [ [25]
in which the symmetric tensor denotes and others are similar.
The raw-moment Hermite coefficients of the nonequilibrium distribution function are
The equilibrium distribution function can be calculated by the sixth-order recursive form in Malaspinas [ [32]
The non-equilibrium distribution function with relaxations can be reconstructed with the collision coefficients as
in which orders higher than the fourth order are regularized.
The post-collision distribution functions of the present MRT-RLB model can be written as follows
which can be streamed to the neighboring nodes at next time step.
In terms of the boundary conditions in the numerical simulations, Guo’s extrapolation boundary condition Guo, Zheng, and Shi [2002] is applied to deal with the no-slip boundary for flow field and imposed temperature on the wall for the temperature field. Other boundary conditions will be described in the corresponding benchmarks. In dealing with the heat flux for the evaluation of Nusselt number, the one-side finite difference method with boundary node and two neighboring nodes is adopted. In terms of the no-slip boundary condition on the solid-liquid phase interface, the volumetric boundary condition in Huang and Wu [2016] is applied in the present work. Take the effect of the solid phase into consideration, the density distribution function is redefined as
in which the superscript denotes the updated distribution function on the interface, and is the velocity of the solid phase. The density can be evaluated as
Then the velocity can be updated as
GPU implementation details
All simulations in this work were conducted on NVIDIA A800 GPU cards. A Structure-of-Arrays (SoA) layout is adopted for the particle distribution functions, ensuring that data corresponding to a given lattice direction are stored contiguously in global memory. Specifically, the global memory index of a distribution function is computed as:
where denotes the discrete lattice direction, and represent the spatial indices of the fluid nodes.
A crucial aspect of GPU implementation is the mapping between the computational lattice and GPU threads. In this study, a one-dimensional (1D) linear thread-mapping strategy is adopted for both two-dimensional (2D) and three-dimensional (3D) simulations.
The global linear thread index threadID is computed via CUDA built-in variables as
From threadID, the spatial indices of the lattice nodes are reconstructed as follows:
2D case:
where xDim is the lattice resolution in the -direction, denotes the floor function (integer division), and mod represents the modulo operation.
3D case:
where yDim denotes the lattice resolution in the -direction.
The kernel execution configuration, namely, the number of threads per block () and the number of thread blocks per grid ()—is specified as:
where size_domain is the total number of fluid nodes, and denotes the ceiling function. Similar mapping strategies and execution configurations are also employed for boundary condition treatments.
In the present work, the collision and streaming steps are fused into a unified evolution kernel to minimize global memory traffic, as lattice Boltzmann implementations on GPUs are typically memory bandwidth bound. Because the pull scheme (uncoalesced reads and coalesced writes) generally outperforms the push scheme (coalesced reads and uncoalesced writes), it is adopted to gather the particle distribution functions from neighboring lattice nodes during evolution. Between consecutive time steps, the distribution functions for the flow field , and temperature field , are updated efficiently via pointer swapping.
Another key consideration for the regularized lattice Boltzmann model is that the discrete velocities and Hermite basis should be directly pre-substituted and explicitly expanded for each lattice direction for the equilibrium distribution, the forcing term, the non-equilibrium Hermite coefficients, and the regularized non-equilibrium distribution. This per-direction analytical expansion substantially minimizes memory lookups and eliminates redundant floating-point operations associated with zero-valued components.
A single-GPU implementation provides sufficient performance for 2D problems, whereas the computationally demanding 3D solid-liquid phase-change simulations require multi-GPU implementation. Algorithm 1 outlines the workflow of the present regularized total-enthalpy-based solver, which employs a 1D domain decomposition along the -axis.
In the multi-GPU implementation, to hide communication overhead, the domain is partitioned into inner(), halo() regions and ghost layer(). The inner and halo regions are coordinated across the compute and communication streams via two fine-grained CUDA event synchronizations:
// 1. Compute -> Comm: Ensure BC updates complete before packing
cudaEventRecord(hc->evReady, hc->compute);
cudaStreamWaitEvent(hc->comm, hc->evReady, 0);
First, boundary condition (BC) kernels update the boundary () in the compute stream, which are subsequently read by the packing kernel in the communication stream. To prevent a Read-After-Write (RAW) hazard, evReady ensures packing starts only after the BC updates finish. Crucially, this dependency blocks only the communication stream, allowing the compute-intensive inner domain () to execute concurrently with packing and MPI transfers.
// 2. Comm -> Compute: Ensure unpacking completes before next collision
cudaEventRecord(hc->evHalo, hc->comm);
cudaStreamWaitEvent(hc->compute, hc->evHalo, 0);
Algorithm 1 Total enthalpy RLB model with Multi-GPU implementation (1D domain partitioning)
Allocate memory on Host and Device
Initialize macroscopic variables and distributions
Transfer data: Host Device (cudaMemcpy)
HaloInit()
for to do — Stage 1: Flow Field Evolution () —
Launch boundary kernels along - and -directions
Launch -start boundary kernel
Launch -end boundary kernel
HaloFlowStart() // Pack & MPI_Isend/Irecv
Launch CollisionStreaming-Inner() // Overlap
HaloFlowFinish() // MPI_Waitall & Unpack
Launch CollisionStreaming-Halo()
Swap distribution pointers: — Stage 2: Temperature Field Evolution () —
Launch thermal boundary kernels along - and -directions
Launch thermal -start boundary kernel
Launch thermal -end boundary kernel
HaloTempStart() // Pack & MPI_Isend/Irecv
Launch ThermalCollision-Inner() // Overlap
HaloTempFinish() // MPI_Waitall & Unpack
Launch ThermalCollision-Halo()
Swap temperature pointers:
end for
Conversely, once the halo exchange pipeline (pack MPI transfer unpack) completes, the unpacking kernel writes the received data into the ghost layers (). A reverse dependency enforced by evHalo ensures that the subsequent evolution step of halo region waits until the ghost layers are fully populated, thereby avoiding reading stale distribution data.
For the purpose of convinience, conventionally the computational speed is denoted by the million nodes updated per second (MNUPS):
The effecitve bandwidth (BW) is determined by the bytes of reading and writting per second as
with
in which denotes the number of double-precision varaibles reading of , , , , , and the number of double-precision varaibles writting of , , , , for flow field, while denotes the number of double-precision varaibles reading of , , , and the number of double-precision varaibles writting of , , , for teperature field.
In the present work, the parallel performance of the present GPU code will be presented only for the three-dimensional benchmarks.
Numerical Results
In this section, a one-dimensional, two two-dimensional and one three-dimensional benchmark cases are considered to validate the present regularized lattice Boltzmann model for the flow field and temperature field.
Two-phase conduction melting in a semi-infinite space
In this subsection, the two-phase conduction melting problem in a semi-infinite domain is simulated using both the RLB model and the LBGK model, as illustrated in Figure 1. Initially, the phase-change material is set to the temperature , which is below the melting temperature (). The temperature at the left boundary is fixed at a high temperature to introduce energy into the solid material, while the right boundary is sufficiently far from the left boundary and remains at the initial temperature.

Figure 1. Schematic diagram of two-phase conduction melting in a semi-infinite space.
For this simple case, an analytical solution is available, as given below Hu and Argyropoulos [ [12]:
Here, the error function and its complementary form are defined as
and
The analytical interface position is given by
The parameter can be obtained by solving the following transcendental equation:
In Eq. (70),
are the Stefan numbers of the liquid and solid phases, respectively. The thermal diffusivities of the liquid and solid phases are defined as
In the simulations, the temperature-related parameters are specified as
The thermophysical parameters are set as
and the thermal diffusivity in the interfacial region is evaluated by
where denotes the liquid fraction.
The relaxation times related to temperature and flow field can be set as
In the simulations, different ratios of thermal diffusivity between the liquid and solid phases are investigated:
Furthermore, different relaxation times for the temperature evolution are considered for both the RLB collision model and the LBGK model:
The computational domain consists of lattice nodes. Periodic boundary conditions are applied at the upper and lower boundaries. Figure 2 compares the temperature profiles predicted by the present RLB model with the analytical solutions at
Figure 2. Temperature profiles across the domain for different thermal diffusivity ratios () with at Fo = 0.01.
where is measured in lattice units. It can be found that excellent agreements are achieved between the results of present model and the analytical solutions.
Figure 3 and Figure 4 show comparisons of the temperature profiles predicted by the present RLB model and the LBGK model using different thermal relaxation times for the thermal diffusivity ratios and , respectively. The temperature profiles predicted by the present RLB model agree well with the analytical solution, whereas those obtained by the LBGK model exhibit noticeable deviations near the phase interface.
Figure 3. Comparisons of the temperature profiles between the present RLB model (a) and the LBGK model (b) for using different relaxation times() at Fo = 0.01.
Figure 4. Comparisons of the temperature profiles between the present RLB model and the LBGK model for using different relaxation times() at Fo = 0.01.
In terms of the interface position, Figure 5 shows that the interface thickness predicted by the LBGK model is significantly larger than one lattice cell, whereas those obtained by the present RLB model remains confined to one lattice cell. This demonstrates that, even with a single relaxation rate, the desinged RLB model for D2Q5 velocity set for the the temperature evolution can effectively suppress numerical diffusion at the solid–liquid interface, which has the same anti-diffusion effect of the MRT [14] and TRT [Lu et al., 2019] models.
Figure 5. Comparisons of the liquid fraction between the present RLB model and the LBGK model for and , with at .
Solidification in a semi-infinite corner
In this subsection, a two-dimensional benchmark problem involving solidification in a semi-infinite corner is investigated using the present RLB model. Initially, the liquid phase occupies the corner with temperature , then the temperatures of the left side and the bottom side are exposed as which is lower than the melting temperature. Gradually, solidification occurs near the left and bottom boundaries, while the temperatures at the top and right boundaries, far from the solidification region, are maintained at their initial values, as shown in Figure 6. In the present simulations, the temperature parameters are as following:

Figure 6. Schematic diagram of solidification in a semi-infinite corner.The left and bottom walls are imposed with cold temperature while the temperature of the top and right sides is matained as the initial state.
The thermophysical parameters are set as following:
The relaxation rates across the interface is weighted by the liquid fraction. The simulation domain is set as and the characteristic length is chosen as .
Figure 7 qualitatively illustrates the solidification process in the semi-infinite corner at different time instants. As shown in Figure 8, the solid-liquid interface obtained by the present RLB model at is compared with the analytical solution Rathjen and Jiji [ [36] and the numerical results reported in Ref. Lin and Chen [ [27], and good agreement is observed. Furthermore, the temperature isotherms in the computational domain at are extracted with an interval of 0.2. It can be seen from Figure 9 that the predicted temperature profiles are in good agreement with the reference numerical results.

(a)

(b)

(c) Fraction of liquid in the field at specific time intervals for different Fo numbers, .
::::
Convection melting in a two dimensional square cavity
In this subsection, a two-dimensional square cavity melting problem is investigated to account for both conduction and convection effects during the phase-change process. The benchmark configuration is illustrated in Figure 10. Initially, the computational domain is entirely occupied by a solid-state pure phase-change material at the melting temperature . The bottom and top walls are subjected to Neumann boundary conditions for both temperature and enthalpy (zero normal derivative), whereas the left and right walls are maintained at a high temperature and the melting temperature , respectively. This physical problem is governed by several key dimensionless parameters, namely the Rayleigh, Prandtl, and Stefan numbers.
Figure 7.

Figure 10. Schematic diagram of the 2D cavity melting. The left wall is the heat wall and no-slip boundary, the right wall is the cold wall and no-slip boundary, the top and bottom walls are of no-slip velocity boundary and zero-normal temperature gradient boundary.
Figure 8. Comparison of the solid-liquid interface at Fo = 0.25 for the present RLB model and the analytical solution Rathjen and Jiji [1971] and referred numerical results Lin and Chen [1997]
Figure 9. Comparison of the isotherms ( to from the bottom to top) at Fo = 0.25 for the present RLB model and referred numerical results Lin and Chen [1997]
In the present simulations, the dimensionless temperature parameters are set as follows:
The thermophysical properties are specified as:
To evaluate the influence of natural convection, two cases with different Rayleigh numbers are investigated:
In the numerical simulations, the computational domain is discretized using a , , lattices, with the side length of the cavity serving as the characteristic length.
For Case 1, Figure 11 depicts the liquid-fraction contours, temperature fields, and streamlines across several representative dimensionless times. The present predictions exhibit excellent agreement with benchmark data reported in the literature Lu et al. [2019], Liu et al. [ [29]. Under this Rayleigh number, the phase-change process is characterized by two distinct regimes: an initial conduction-dominated regime followed by a convection-dominated regime. In the early stage, the solid-liquid interface advances nearly parallel to the heated left wall. As melting proceeds, buoyant upwelling carries warm liquid toward the upper cavity, accelerating the advancement of the top portion of the front and resulting in a typical curved, top-heavy interface profile.
Figure 11. Case1: , , . Liquid-fraction contours, streamlines, and temperature distributions during the convection melting process for Case 1 at various Fourier numbers: (a-c) ; (d-f) ; (g-i) ; (j-l) .
Figure 12 illustrates the temporal evolution of the average Nusselt number along the left (heated) wall and the total liquid fraction as functions of the Fourier number, alongside benchmark results obtained from the finite volume method (FVM). Data are sampled every 20,000 time steps over a total duration of 9,750,000 steps, which is sufficiently dense to faithfully resolve the transient behaviors of both quantities. As the grid is refined, the predicted profiles show excellent overall agreement with the FVM benchmarks, demonstrating the grid convergence and fidelity of the present RLB model.
Figure 12. Case1: , , . The average Nusselt number at the left wall and the total liquid fraction at different Fourier numbers: the present LB model and the FVM results Mencinger [2004]
Figure 13 illustrates the liquid-fraction contours, temperature fields, and streamlines for Case 2. In this regime, natural convection rapidly overtakes conduction as the governing heat-transfer mechanism, giving rise to significantly more complex recirculating flow structures. The temporal evolution of the total liquid fraction is depicted in Figure 14. Owing to the pronounced oscillations in the benchmark Nusselt number reported by Mencinger Mencinger [ [34], the data of their result is difficult to be extracted. Thus, the validation here focuses primarily on the global liquid fraction. As the grid resolution increases, the predicted liquid fraction yields excellent agreement with the reference data. Overall, these findings substantiate the accuracy and robustness of the proposed regularized lattice Boltzmann (RLB) model in capturing convection-dominated melting dynamics.
Figure 13. Case1: , , . Liquid-fraction contours, temperature distributions, and streamlines during the convection melting process for Case 2 at various Fourier numbers: (a) ; (b) ; (c) .
Figure 14. Figure 14: Case2:, , . The total liquid fraction at different Fourier numbers: the present LB model and the FVM results Mencinger [2004]
Convection melting in a 3D rectangular cuboid with high Rayleigh number
In this subsection, the melting process within a three-dimensional (3D) rectangular cuboid is investigated, in which a fully three-dimensional flow with no-slip conditions for the velocity field and adiabatic conditions for the temperature field on the -boundary walls. The boundary conditions in the - and -directions remain identical to those employed in the 2D cavity melt example. The computational configuration is schematically illustrated in Figure 15.

Figure 15. Figure 15: Schematic diagram of the 3D cavity melting:The left wall is hot wall and no-slip boundary, the right wall is cold wall and no-slip boundary, other walls are zero-normal temperature gradient and no-slip boundaries.
The computational performance of the present three dimensional CUDA C solver—coupling a D3Q27 lattice for the velocity field with a D3Q7 lattice for the temperature field—was evaluated on NVIDIA A800 GPU (80 GB, peak memory bandwidth: 2039.04 GB/s, FP64 compute: 9.7 TFLOPS). Resolving both distribution functions in double precision imposes severe register pressure. When enforcing __launch_bounds__(256), the excessive register allocation per thread restricts the active warps to only 8 per streaming multiprocessor (SM), yielding low warp occupancy that fails to effectively hide high memory latency ( cycles). To address this, we employed the compiler flag -maxrregcount=168 to constrain per-thread register usage, thereby increasing the concurrent warps to 12 per SM. Although this introduces minor register spills into local memory, the substantially improved latency-hiding capability yields a notable net gain in throughput. As detailed in Table 1, the performance scales monotonically with grid size, reaching up to 1833.05 MNUPS and a memory bandwidth efficiency of 59.69% on the mesh. The present performance with two distribution functions for both the flow field and temperature are comparable with those performance in many reported literatures (Table 6 in Watanabe and Hu, [38]). Additionally, it is found that the CUDA kernels implementing Guo’s extrapolation boundary condition for both the flow and temperature fields account for up to 10% of the total computational time, indicating that these boundary kernels are heavily memory-bound.
| MNUPS | 1203.43 | 1603.01 | 1742.15 | 1833.05 |
| Effective BW | 799.08 | 1064.39 | 1156.79 | 1217.14 |
| Efficiency of BW | 39.19% | 52.20% | 56.73% | 59.69% |
Table 1. The parallel performance of the three dimensional code on single A800 (Peak Bandwidth = 2039.04 GB/s)
For the multi-GPU implementation, the computational domain is decomposed along the -direction. Each subdomain consists of an inner domain, a halo domain, and a ghost layer. The inter-subdomain communication of particle distribution functions is partially hidden by overlapping it with the computation of the inner domain. Both the weak and strong scaling of the multi-GPU code are evaluated. As listed in Table 2, the weak scaling performance is measured with a fixed workload of nodes per device, where the parallel efficiency remains close to 100%. The strong scaling results are presented in Table 3 and Table 4. As the number of GPUs increases, the parallel efficiency decreases slightly owing to the growing exposed communication time with lower computation load of the inner domain. Furthermore, comparing the results of the two grid sizes in Table 3 and Table 4 shows that parallel efficiency improves for the larger domain, as the heavier inner-domain computation allows a greater portion of the communication latency to be concealed.
| 256 256 1024 | 2 | 4 | 6 | 8 |
| MNUPS_Total | 3246.09 | 6480.98 | 9716.73 | 12957.85 |
| MNUPS_Average | 1623.05 | 1620.25 | 1619.46 | 1619.73 |
| BW_Total | 2155.41 | 4303.37 | 6451.91 | 8604.02 |
| BW_Average | 1077.71 | 1075.84 | 1075.32 | 1075.50 |
| BW Efficiency | 52.85% | 52.76% | 52.74% | 52.75% |
| Parallelism | 100.0% | 99.8% | 99.8% | 99.8% |
Table 2. Table 2: Weak scaling efficiency up to 8 GPU cards, 256*256*1024 nodes on each device
| 1 | 2 | 4 | 6 | 8 | |
| MNUPS_Total | 1691.78 | 3171.73 | 5982.97 | 8527.51 | 10267.73 |
| MNUPS_Average | 1691.78 | 1585.87 | 1495.74 | 1421.25 | 1283.47 |
| BW_Total | 1123.34 | 2106.03 | 3972.69 | 5662.27 | 6817.77 |
| BW_Average | 1123.34 | 1053.02 | 993.17 | 943.71 | 852.22 |
| BW Efficiency | 55.09% | 51.64% | 48.71% | 46.28% | 41.80% |
| Parallelism | 100.0% | 93.7% | 88.4% | 84.0% | 75.9% |
Table 3. Strong scaling efficiency up to 8 GPU cards, 2562561024 nodes in total
| 1 | 2 | 4 | 6 | 8 | |
| MNUPS_Total | 1692.48 | 3238.65 | 6267.56 | 9176.15 | 11755.19 |
| MNUPS_Average | 1692.48 | 1619.33 | 1566.89 | 1529.36 | 1469.40 |
| BW_Total | 1123.81 | 2150.46 | 4161.66 | 6092.97 | 7805.44 |
| BW_Average | 1123.81 | 1075.23 | 1040.42 | 1015.50 | 975.68 |
| BW Efficiency | 55.11% | 52.73% | 51.02% | 49.80% | 47.85% |
| Parallelism | 100.0% | 95.7% | 92.6% | 90.4% | 86.8% |
Table 4. Strong scaling efficiency up to 8 GPU cards, 2562561792 nodes in total
Specifically, the three-dimensional (3D) rectangular cuboid melting process is investigated under three parameter configurations, as summarized in Table 5. Figure 16, Figure 17, and Figure 18 depict the temporal evolution of the liquid fraction distributions, temperature contours across selected – plane, and 3D streamlines for Cases 1–3, respectively.
| Pr | Ra | Ste | |
| Case 1 | 0.02 | 0.4 | |
| Case 2 | 10 | 0.4 | |
| Case 3 | 10 | 0.4 |
Table 5. Parameters configurations for three dimensional rectangular cuboid

Figure 16. Case 1: , , . Phase interface positions (left column), temperature contours (middle column), and streamlines (right column) at representative dimensionless times for Case 1: (a–c) , (d–f) , and (g–i) .

Figure 17. Case 2: , , . Phase interface positions (left column), temperature contours (middle column), and streamlines (right column) at representative dimensionless times for Case 2: (a–c) , (d–f) , and (g–i) .

Figure 18. Case3: , , . Phase interface positions (left column), temperature contours (middle column), and streamlines (right column) at representative dimensionless times for Case 3: (a–c) , (d–f) , and (g–i) .
A comparison between Cases 1 and 2 demonstrates the pronounced influence of the Prandtl number, where and remain constant while increases from 0.02 to 10. In Case 1 (), typical of low-Prandtl liquid metals, heat transfer is predominantly governed by thermal conduction; consequently, the phase interface remains relatively planar and
vertical in the early stages, with isotherms stratified almost parallel to the heated wall. Although natural convection initiates within the liquid melt, the circulating flow lacks coherence and exerts minimal interfacial shear.
In sharp contrast, for Case 2 (), the relative contribution of thermal diffusion diminishes, transitioning the system into a convection-dominated regime. The flow organizes into coherent, large-scale vortical structures that pump hot fluid upward along the heated wall and impinge upon the upper solid boundary. This convective thermal advection deflects the isotherms upward and concentrates heat flux at the top of the interface, resulting in a distinctly curved, top-heavy melting front. As a result, melting becomes more non-uniform, with faster melting in the upper region and a more asymmetric phase front.
A comparison between Case 2 and Case 3 shows that while the Prandtl and Stefan numbers are kept fixed at and , the Rayleigh number increases substantially from to . In Case 2, a large-scale circulation is already established, causing the melting front to curve gradually under the effect of convective heat transfer. In Case 3, however, the much higher Rayleigh number triggers substantially stronger natural convection, as evidenced by more vigorous and intricate streamline patterns. The resulting temperature contours in Case 3 exhibit severe distortion, with the high-temperature zone penetrating deeper into the upper portion of the cavity, which indicates that thermal transport is heavily dominated by convection rather than conduction. Consequently, the solid–liquid interface undergoes pronounced deformation, and the overall melting process is markedly accelerated. Furthermore, Case 3 attains an advanced melting stage at much smaller Fourier numbers () than Cases 1 and 2 (). This observation corroborates that elevating intensifies natural convection, enhances heat transfer, and ultimately drives a faster and more non-uniform phase-change process within the three-dimensional rectangular cuboid.
Figure 19 compares the average Nusselt numbers and total liquid fractions of the three cases simulated by the present RLB model with the benchmark results from the original MRT model
Figure 19. Comparison of (a) averaged Nusselt numbers and (b) total fraction number in contrast with the reference results of Li D. et al. [21]. The present numerical results are resolved with two resolutions for each case. The denotations of the lines and markers in the figures are as followings: 1) Reference data: Case1:magenta diamond,Case2:blue circular,Case3:red cross; 2) Present results: Case1-mesh1(192 × 192 × 64):blue solid line, Case1-mesh2(384 × 384 × 128):red dash line; Case2-mesh1(192 × 192 × 64):green dotted line, Case2-mesh2(384 × 384 × 128):black dash-dot line; Case3-mesh1(256 × 256 × 128):blue dotted line; Case3-mesh2(512 × 512 × 256):magenta dashed line.
by Li et al. [ [21]. It should be addressed that their results were not compared with any other literatures. A grid independence test was conducted using two mesh configurations, and the results demonstrate sufficient convergence without the need for further grid refinement. Overall, the present numerical predictions show good quantitative agreement with the benchmark data for Case 1 and Case 2. During the initial stage of Case 3, the Nusselt number of the present RLB model also agree with those of reference results very well, while there exist some discrepancy during the late stage that might be attributed to the violent, convection-dominated flow at the high Rayleigh number (). It should be addressed that the results in the reference paper are reported alone without any comparison.
Conclusion
In this work, an advanced regularized lattice Boltzmann model with D2Q5 and D3Q7 lattices is designed for the enthalpy-based solid-liquid phase-change simulations. The numerical results have demonstrated that the desinged regularized collision operator can effectively suppress the spurious numerical diffusion across the diffuse solid-liquid interface. Meanwhile, the advanced MRT-RLB collison model is firstly developed to resolve the flow filed with the Boussinesq-type body force term to couple the temperature field. A standard D3Q27 lattice velocity set is adopted in the present MRT-RLB model, wherein the equilibrium distribution functions are recursively expanded up to the sixth order and the non-equilibrium distribution functions are expanded up to fourth order in Hermite polynomials. The main contribution of the present work is that both the total enthalpy equation and the flow field equation are resolved by the designed regularized collision models. The numerical simulations demonstrated that the present MRT-RLB model is capable of the coupled flow field and temperature field simulations with large parameter space, including the Prandtl, Stefan and Rayleigh numbers. Furthermore, the multi-GPU implementation of the present RLB model significantly accelerates the simulation of such computationally intensive solid-liquid phase-change processes with great weak and strong scalability. Generally, an alternative accurate, robust and efficient solid-liquid phase-change model is established in the present work. In the future work, more comprehensive flow and heat-transfer mechanisms will be investigated with the present model.
Acknowledgement
This work was supported by the National Natural Science Foundation of China No.12472288; Foreign Expert Project of the Ministry of Human Resources and Social Security (MOHRSS) No. 017630130553424. The author X. H. Li would like to extend sincere gratitude and appreciation to Dr. Liu Qing and Dr. Liu Fei.
References
- [1]Cyrus K Aidun and Jonathan R Clausen. Lattice-boltzmann method for complex flows. Annual review of fluid mechanics, 42(1):439–472, 2010.DOI
- [2]Dipankar Chatterjee. An enthalpy-based thermal lattice boltzmann model for non-isothermal systems. EPL (Europhysics Letters), 86(1):14004, 2009.DOI
- [3]Dipankar Chatterjee. Lattice boltzmann simulation of incompressible transport phenomena in macroscopic solidification processes. Numerical Heat Transfer, Part B: Fundamentals, 58(1):55–72, 2010.DOI
- [4]Dipankar Chatterjee and Suman Chakraborty. An enthalpy-source based lattice boltzmann model for conduction dominated phase change of pure substances. International Journal of Thermal Sciences, 47 (5):552–559, 2008.DOI
- [5]Shiyi Chen and Gary D Doolen. Lattice boltzmann method for fluid flows. Annual review of fluid mechanics, 30(1):329–364, 1998.
- [6]Christophe Coreixas, Gauthier Wissocq, Guillaume Puigt, Jean-François Boussuge, and Pierre Sagaut. Recursive regularization step for high-order lattice boltzmann methods. arXiv preprint arXiv:1704.04413, 2017.DOI
- [7]G De Fabritiis, A Mancini, D Mansutti, and S Succi. Mesoscopic models of liquid/solid phase transitions. International Journal of Modern Physics C, 9(08):1405–1415, 1998.
- [8]Mohsen Eshraghi and Sergio D Felicelli. An implicit lattice boltzmann model for heat conduction with phase change. International Journal of Heat and Mass Transfer, 55(9-10):2420–2428, 2012.DOI
- [9]Irina Ginzburg and Dominique d’Humières. Multireflection boundary conditions for lattice boltzmann models. Physical Review E, 68(6):066614, 2003.pubmed.ncbi.nlm.nih.gov/14754343
- [10]Irina Ginzburg, Dominique d’Humières, and Alexander Kuzmin. Optimal stability of advection-diffusion lattice boltzmann models with two relaxation times for positive/negative equilibrium. Journal of Statistical Physics, 139(6):1090–1143, 2010.DOI
- [12]Henry Hu and Stavros A Argyropoulos. Mathematical modelling of solidification and melting: a review. Modelling and Simulation in Materials Science and Engineering, 4(4):371–396, 1996.DOI
- [13]Rongzong Huang and Huiying Wu. An immersed boundary-thermal lattice boltzmann method for solid–liquid phase change. Journal of Computational Physics, 277:305–319, 2014.DOI
- [14]Rongzong Huang and Huiying Wu. Phase interface effects in the total enthalpy-based lattice boltzmann model for solid–liquid phase change. Journal of Computational Physics, 294:346–362, 2015.DOI
- [16]Rongzong Huang, Huiying Wu, and Ping Cheng. A new lattice boltzmann model for solid–liquid phase change. International Journal of Heat and Mass Transfer, 59:295–301, 2013.DOI
- [17]Christian Huber, Andrea Parmigiani, Bastien Chopard, Michael Manga, and Olivier Bachmann. Lattice boltzmann model for melting with natural convection. International Journal of Heat and Fluid Flow, 29 (5):1469–1480, 2008.DOI
- [18]Jérôme Jacob, Orestis Malaspinas, and Pierre Sagaut. A new hybrid recursive regularised bhatnagar–gross–krook collision model for lattice boltzmann method-based large eddy simulation. Journal of Turbulence, 19(11-12):1051–1076, 2018.DOI
- [19]Wen-Shu Jiang, Jeng-Rong Ho, and Chun-Pao Kuo. Lattice boltzmann method for the heat conduction problem with phase change. Numerical Heat Transfer: Part B: Fundamentals, 39(2):167–187, 2001.
- [20]Hanxu Jing, Haian Mao, and Hui Xing. Smoothed boundary method modified phase-field lattice boltzmann study of solidification dynamics of wetting droplet on a cold substrate. Physics of Fluids, 38(2), 2026.
- [21]Dong Li, Zi-Xiang Tong, Qinlong Ren, Ya-Ling He, and Wen-Quan Tao. Three-dimensional lattice boltzmann models for solid–liquid phase change. International Journal of Heat and Mass Transfer, 115:1334–1347, 2017.DOI
- [22]Xuhui Li and Xiaowen Shan. Rotational symmetry of the multiple-relaxation-time collision model. Physical Review E, 103(4):043309, 2021.DOI
- [23]Xuhui Li, Yangyang Shi, and Xiaowen Shan. Temperature-scaled collision process for the high-order lattice boltzmann model. Physical review E, 100(1):013301, 2019.DOI
- [24]Xuhui LI, Xiaowen SHAN, and Wenyang DUAN. Theoretical progress on regularized lattice boltzmann collision models. Acta Aerodynamica Sinica, 40(3):46–64, 2022.
- [25]Xuhui Li, Zuoxu Li, Wenyang Duan, and Xiaowen Shan. Self-consistent force scheme in the spectral multiple-relaxation-time lattice boltzmann model. Physical Review E, 109(1):015301, 2024.
- [26]Zheng Li, Mo Yang, and Yuwen Zhang. Numerical simulation of melting problems using the lattice boltzmann method with the interfacial tracking method. Numerical Heat Transfer, Part A: Applications, 68(11):1175–1197, 2015.
- [27]Jae-Yuh Lin and Han-Taw Chen. Hybrid numerical scheme for nonlinear two-dimensional phase-change problems with the irregular geometry. Heat and mass transfer, 33(1):51–58, 1997.
- [28]Qing Liu, Xiang-Bo Feng, Ya-Ling He, Cai-Wu Lu, and Qing-Hua Gu. Three-dimensional multiple-relaxation-time lattice boltzmann models for single-phase and solid-liquid phase-change heat transfer in porous media at the rev scale. Applied Thermal Engineering, 152:319–337, 2019.
- [29]Qing Liu, Xin Wang, Xiang-Bo Feng, and Fei Liu. An enthalpy-based cascaded lattice boltzmann method for solid-liquid phase-change heat transfer. Applied Thermal Engineering, 209:118283, 2022.
- [30]Xiang Liu, Ya-Ling He, and Kai H Luo. Multi-gpu accelerated lattice boltzmann modelling of three-dimensional solid-liquid phase change at high rayleigh numbers. Journal of Energy Storage, 131:117522, 2025.
- [32]O. Malaspinas. Increasing stability and accuracy of the lattice boltzmann scheme: recursivity and regularization. preprint, arXiv:1505.06900, 2015.
- [33]Keijo K Mattila, Paulo C Philippi, and Luiz A Hegele. High-order regularization in lattice-boltzmann equations. Physics of Fluids, 29(4), 2017.
- [34]Jure Mencinger. Numerical simulation of melting in two-dimensional cavity using adaptive grid. Journal of Computational Physics, 198(1):243–264, 2004.
- [35]W Miller, S Succi, and D Mansutti. Lattice boltzmann model for anisotropic liquid-solid phase transition. Physical review letters, 86(16):3578, 2001.
- [36]Kenneth A Rathjen and Latif M Jiji. Heat conduction with melting or freezing in a corner. Journal of Heat Transfer, 93(1):101–109, 1971.
- [37]Xiaowen Shan, Xuhui Li, and Yangyang Shi. A multiple-relaxation-time collision model by hermite expansion. Philosophical Transactions of the Royal Society A, 379(2208):20200406, 2021.DOI
- [38]Seiya Watanabe and Changhong Hu. Real-time actuator line simulations of wind farm flows enabled by the lattice boltzmann method and gpus. Theoretical and Applied Mechanics Letters, page 100700, 2026.DOI
- [39]Yunjie Xu, Linlin Tian, Chunling Zhu, and Ning Zhao. Three-dimensional lattice boltzmann simulations for droplet impact and freezing on cold surfaces with a large density ratio. Heat Transfer Engineering, 46(13-14):1120–1135, 2025.DOI
Machine contribution statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.










