1. Introduction
Phase-change processes, including melting and solidification, are ubiquitous in both natural systems and industrial applications. These processes are central to a wide range of fields, such as phase-change materials for energy storage (Wang et al. Reference Wang, Tang, Gao, Liu, Li, Li and Chen2023a ), metal smelting and casting (Campbell Reference Campbell2015), glacier and sea ice melting (Keitzl et al. Reference Keitzl, Mellado and Notz2016; Yang et al. Reference Yang, Howland, Liu, Verzicco and Lohse2023a , Reference Yang, Howland, Liu, Verzicco and Lohse2024b ), welding and additive manufacturing (Pattanayak & Sahoo Reference Pattanayak and Sahoo2021) and volcanic magma solidification (Elkins-Tanton Reference Elkins-Tanton2008). Among various melting problems, the melting process involving viscoelastic flow deserves particular attention. This is because many flow systems in both nature and industry exhibit pronounced viscoelastic characteristics, such as partially molten mantle materials associated with magma generation (Alboussiere et al. Reference Alboussiere, Deguen and Melzani2010) and emerging latent heat storage systems based on complex phase-change materials (Kang et al. Reference Kang, Kim, Song, Hong, Kim, Goh, Chung and Lee2023). Investigating how viscoelasticity modifies the melting dynamics can therefore provide useful physical insight into geodynamic processes, including magma generation, volcanic activity and plate tectonics, while also offering guidance for the design of advanced phase-change energy-storage systems.
A typical characteristic of convective melting is the existence of a moving boundary, which is particularly challenging because the domain boundaries are generally unknown in advance and must be determined as part of the solution. Such problems have received increasing attention because they commonly arise in natural phenomena and engineering applications. An in-depth understanding of these phenomena offers both scientific value and practical relevance. To investigate the instability mechanism associated with the transition from a conduction-dominated state to a convection-dominated state during melting, stability analysis has been widely employed in previous studies. Toppaladoddi & Wettlaufer (Reference Toppaladoddi and Wettlaufer2019) performed a linear stability analysis of Rayleigh–Bénard convection with a phase-change boundary condition. It is shown that all perturbations to the solid–liquid interface decay at a very modest shear flow strength. Lu et al. (Reference Lu, Zhang, Luo, Wu and Yi2022) considered the effect of shear and found that the coupling between the phase boundary and shear can give rise to three major instability modes: the boundary mode, the bulk flow mode and the mixed boundary–bulk mode. In most linear stability analyses of convective melting, the interfacial topography is neglected because the onset of instability is usually examined around a nearly flat conduction-dominated base state (Labrosse et al. Reference Labrosse, Morison, Deguen and Alboussière2018; Lu et al. Reference Lu, Zhang, He, Luo and Yi2023). Accounting for the moving interface would require additional interface-evolution and Stefan conditions, which substantially complicates the eigenvalue problem. Moving-boundary dissolution/melting instabilities have been addressed in previous stability analyses, such as the work of Claudin et al. (Reference Claudin, Durán and Andreotti2017) on pattern formation over a dissolvable or meltable solid substrate. However, when the interface undergoes large morphological changes, the small-amplitude perturbation assumption underlying linear stability analysis is no longer applicable. A fully nonlinear treatment coupling the fluid flow, heat transfer, interface evolution and Stefan condition is therefore required.
To study the effect of phase-change interface morphology on convection, Favier et al. (Reference Favier, Purseed and Duchemin2019) and Yang et al. (Reference Yang, Howland, Liu, Verzicco and Lohse2023b) studied the evolution of a melting front between the solid and liquid phases of a pure incompressible material using a phase-field approach. In contrast to plane-layer geometry, a dynamically evolving non-planar upper boundary exerts a significant influence on the development of convection in the fluid layer. The initial saturation of the instability produces steady convection rolls that carve an interfacial topography of the same wavelength. This topography then locks with the convection rolls, delaying bifurcations to periodic and chaotic regimes and effectively enhancing the heat flux relative to classical Rayleigh–Bénard convection. Furthermore, more complex Rayleigh–Bénard problems with a phase-change boundary have been investigated, such as the strong nonlinear effects of turbulent shear on a melting/freezing interface (Couston et al. Reference Couston, Hester, Favier, Taylor, Holland and Jenkins2021) and convective melting under periodic thermal boundary conditions (Yang et al. Reference Yang, Chong, Wang, Verzicco, Shishkina and Lohse2020, Reference Yang, Chong, Liu, Verzicco and Lohse2024a ). A distinct driving mechanism has also been investigated, namely Marangoni-driven melting induced by thermocapillary effects. Interestingly, a hydrothermal travelling wave was identified in such Marangoni-driven convective melting, through which a steady multicellular pattern can transition to an oscillatory state (Sánchez et al. Reference Sánchez, Ezquerro, Fernandez and Rodriguez2021; Šeta et al. Reference Šeta, Dubert, Gavalda, Massons, Bou-Ali, Ruiz and Shevtsova2023). These studies have significantly advanced our understanding of convective melting dynamics in Newtonian materials.
Among the phenomena neglected in the classical convective melting problem, the possibility of viscoelastic behaviour is of particular interest. Viscoelastic fluids constitute a class of complex materials that display both viscous and elastic properties, with their stress–strain rate relationship governed by specialised constitutive equations. The classical viscoelastic Rayleigh–Bénard convection (VRBC) problem, in which the upper boundary is fixed, has been extensively investigated. Previous studies on VRBC systems have examined the onset of convection and pattern formation at small and moderate Rayleigh numbers using stability analyses (Vest & Arpaci Reference Vest and Arpaci1969; Sokolov & Tanner Reference Sokolov and Tanner1972; Park & Ryu Reference Park and Ryu2001) and numerical simulations (Wang et al. Reference Wang, Cheng, Zhang, Zheng, Cai and Siginer2023b
; Zheng et al. Reference Zheng, Boutaous, Xin, Siginer and Cai2023). The heat transfer efficiency of VRBC systems in the turbulent regime is also an important topic of interest. Viscoelasticity can lead to either heat transfer enhancement (HTE) or heat transfer reduction in thermal convection, depending on the Weissenberg number (Xu et al. Reference Xu, Zhang, Brandt, Song and Shishkina2025a
). When the flow is bulk-dominated, viscoelastic additives generally lead to HTE; for example, Benzi et al. (Reference Benzi, Ching and De Angelis2010) studied homogeneous turbulent thermal convection using both numerical simulations and shell-model calculations. They found that polymer additives can significantly enhance the heat transport. Subsequently, Benzi et al. (Reference Benzi, Ching and De Angelis2016) numerically studied thermal convection between two parallel plates at
$Ra=2.07 \times 10^5$
and observed HTE throughout
$\textit{Wi} \in [0,50]$
. Wei et al. (Reference Wei, Ni and Xia2012) and Xie et al. (Reference Xie, Huang, Funfschilling, Li, Ni and Xia2015) constructed roughened Rayleigh–Bénard cells and showed that roughness weakens boundary-layer influence. In such rough cells, adding viscoelastic polymer additives leads to HTE. In boundary-dominated regimes, adding viscoelastic polymers leads to heat transfer reduction, as confirmed by the experiments of Cai et al. (Reference Cai, Wei, Tang, Liu, Li and Li2019) and Xu et al. (Reference Xu, Liu, Li and Xia2025b
).
A careful survey of the literature indicates that existing studies have mainly followed two separate lines: studies on convective melting with a phase-change boundary have mostly focused on Newtonian materials, whereas studies on VRBC have generally been conducted in fixed-boundary configurations without phase change. Therefore, the melting dynamics of viscoelastic materials in phase-change systems remains insufficiently understood. We investigate how elasticity affects convective melting dynamics, thereby addressing this gap in the existing literature. In this work, we aim to systematically characterise the evolution of the melting interface morphology, flow structures and melting rate during the melting of viscoelastic materials, and to elucidate the influence of elasticity on the melting dynamics. The main contents of this work are organised as follows. In § 2, the governing equations of the phase-change process, together with the non-dimensionalisation procedure and the subsequent linearisation, are introduced. In § 3, we investigate the melting dynamics of viscoelastic materials under moderate-Rayleigh-number conditions. In § 4, we further examine the melting dynamics of viscoelastic materials in the high-Rayleigh-number regime. Final conclusions are offered in § 5.
2. Problem formulation
We consider a physical model supposed as a horizontal layer filled with an incompressible viscoelastic substance whose height is
$H$
. The simulations are conducted in a two-dimensional domain with a horizontal length of
$2H$
. Gravity is pointing downwards
$\boldsymbol{g} = -g\,\boldsymbol{e}_y$
. A high temperature
$T_m$
is applied at the bottom wall and the top wall is maintained at a low temperature
$T_s$
, generating a constant temperature difference
$\Delta T=(T_m-T_s)$
and causing a buoyancy-force-driven convection (as shown figure 1). For simplicity, the physical properties including density
$\rho$
, thermal diffusivity
$\kappa$
, viscosity
$\mu$
and coefficient of thermal expansion
$\alpha$
are assumed to be constant and equal in both phases.
Schematic illustration of melting in a viscoelastic phase-change material (PCM).

2.1. Governing equations
The flow dynamics is governed by the momentum and continuity equations for incompressible viscoelastic fluids. A sink term is introduced in the momentum equation to distinguish the velocity fields in the solid and liquid phases. Thus a single momentum equation is solved for both liquid and solid phases (the solid one is fixed in place). The contribution of polymer additives to the total stress is modelled using the FENE-P constitutive model, which is widely employed in direct numerical simulation (DNS) of viscoelastic flows due to its clear physical relevance to real polymeric liquids. The FENE-P model is characterised by three parameters: the relaxation time scale of the polymers
$\lambda$
, the viscosity ratio
$\beta$
and the maximum polymer chain extensibility
$L$
. The viscosity ratio is defined as
$\beta = \mu _s/(\mu _s+\mu _p)$
, with subscripts
$s$
and
$p$
denoting the solvent and polymer contributions, respectively. In the present study, the maximum polymer chain extensibility
$L$
is kept constant in all simulations. A commonly used value
$L=50$
is adopted, corresponding to a moderate polymer extensibility, consistent with Xu et al. (Reference Xu, Zhang, Brandt, Song and Shishkina2025a
). Therefore, the governing equations are
\begin{align} \rho \frac {\partial U_i^*}{\partial t^*} + \rho U_j^*\frac {\partial U_i^*}{\partial x_j} & = -\frac {\partial P^*}{\partial x_i} + \mu _s\frac {\partial ^2 U_i^*}{\partial x_j\partial x_j} + \mu _p\frac {\partial \tau _{ij}^*}{\partial x_j} + \rho g\alpha (T-T_m)\delta _{i2} \nonumber\\ &\quad - \frac {D(1-\gamma )^2}{\gamma ^3+b}U_i^* {\;,} \end{align}
where the polymer stress
$\boldsymbol{\tau }^*$
is related to the conformation tensor
$\boldsymbol{C}^*$
via
The function
$f(C^*_{kk})$
, known as the Peterlin function, is defined as
where
$U_i^*$
is the velocity component,
$P^*$
is the pressure,
$C_{ij}^*$
is the conformation tensor and
$\delta _{ij}$
in (2.4) denotes the Kronecker symbol. The trace of the conformation tensor
$C^*_{kk}$
represents the square of the average polymer-chain extension. It should be noted that the effect of polymer additives on the thermodynamic properties can be ignored, except for the fluid viscosity (Rubinstein & Colby Reference Rubinstein and Colby2003). The last term on the right-hand side of the momentum equation (2.2) represents the Carman–Kozeny model for a moving solid–liquid interface as a porous mushy layer where solid and liquid phases may coexist (Egolf & Manz Reference Egolf and Manz1994). Parameter
$D$
is the Darcy constant. This constant depends on the material’s mushy region morphology, but generally has a high value in the range between
$10^3$
and
$10^9$
. We set
$D = 1.6 \times 10^6$
consistent with Šeta et al. (Reference Šeta, Dubert, Gavalda, Massons, Bou-Ali, Ruiz and Shevtsova2023) and Madruga & Mendoza (Reference Madruga and Mendoza2017). The small constant
$b = 10^{-3}$
is added to prevent division by zero when
$\gamma = 0$
; its choice is arbitrary. Field
$\gamma$
is the liquid fraction field. This field depends on temperature and is constrained between 0 (a pure solid) and 1 (a pure liquid). In the regions where the solid and liquid are mixed together, the so-called mushy regions, the liquid fraction is not well defined and should be approximated. The common approach for modelling the liquid fraction in mushy regions is to use a linear interpolation between the solidus temperature
$T_s$
and the liquid temperature
$T_m$
. Thus the liquid volume fraction in the mushy region is defined as
\begin{equation} \gamma = \begin{cases} 0, & T^* \leqslant T_s, \\[6pt] \dfrac {T^* - T_s}{T_m - T_s}, & T_s \lt T^* \lt T_m, \\[6pt] 1, & T^* \geqslant T_m. \end{cases} \end{equation}
The conservation of thermal energy takes into account the heat transfer and the phase change:
Here,
$T^*$
is the temperature,
$c_p$
is the mixture heat capacity and
$\mathcal{L}$
is the latent heat.
2.2. Non-dimensionalised governing equations
The reference scales used for non-dimensionalisation are introduced as follows:
\begin{equation} \begin{aligned} x_i&=\frac {x_i^*}{H^*},\quad U_i=\frac {U_i^*}{U_f},\quad t=\frac {t^*}{H^*/U_f},\quad P=\frac {P^*}{\rho U_f^2}, \\ &\tau _{ij}=\frac {\tau _{ij}^*}{\mu _p U_f/H^*},\quad C_{ij}=\frac {C_{ij}^*}{C^{*eq}},\quad T=\frac {T^*-T_s}{T_m-T_s}, \end{aligned} \end{equation}
where
$U_f=\sqrt {\alpha g H^* \Delta T^*}$
is the characteristic free-fall velocity and
$C^{*eq}={k_B T^*}/{h}$
, in which
$h$
is the spring constant of the elastic dumbbell and
$k_B$
is the Boltzmann constant.
Substituting (2.8) into (2.1)–(2.7) yields the non-dimensional governing equations:
\begin{align} \frac {\partial U_i}{\partial t} + U_j\frac {\partial U_i}{\partial x_j} & = -\frac {\partial P}{\partial x_i} + \frac {\beta }{\sqrt {Ra/Pr}} \frac {\partial ^2 U_i}{\partial x_j \partial x_j} + \frac {f(C_{kk})(1-\beta )} {\textit{Wi}\sqrt {Ra/Pr}} \frac {\partial C_{ij}}{\partial x_j} \nonumber\\ &\quad + \theta \delta _{i2} - \frac {D(1-\gamma )^2}{\gamma ^3+b}U_i , \end{align}
where
Here, the Rayleigh number
$Ra$
represents the ratio between buoyancy force and viscous force. The Prandtl number
$Pr$
is the ratio between the kinematic viscosity and the thermal diffusion coefficient. Besides, the kinematic viscosity is defined as
$\nu =\mu /\rho$
. The Weissenberg number
$\textit{Wi}$
measures the magnitude of elasticity in a viscoelastic fluid. The Stefan number
$ Ste$
represents the ratio between latent heat and sensible heat.
Since the thickness of the liquid layer gradually increases during the melting process, it is convenient to define an effective Rayleigh number based on the actual temperature gradient across the depth of the fluid layer (Favier et al. Reference Favier, Purseed and Duchemin2019; Yang et al. Reference Yang, Howland, Liu, Verzicco and Lohse2023b ):
where we introduce the averaged fluid height defined as
where
$h(t)$
is the position of the melt front and
$L_x$
is the length of the bottom boundary.
The boundary conditions at the top and bottom walls are given as follows:
Periodic boundary conditions are applied in the horizontal directions (Favier et al. Reference Favier, Purseed and Duchemin2019; Yang et al. Reference Yang, Howland, Liu, Verzicco and Lohse2023b
). In the cell-centred finite-volume framework employed in the present study, the conformation tensor
$C_{ij}$
is stored at the cell centres. At an impermeable no-slip wall, the normal advective flux of
$C_{ij}$
vanishes, and therefore no independently prescribed physical wall value of
$C_{ij}$
is required for the constitutive equation. Nevertheless, the value of
$C_{ij}$
at the wall face is needed to evaluate the polymeric stress and the corresponding traction term in the momentum equation. Therefore,
$C_{ij}$
is linearly extrapolated at all solid walls with second-order accuracy (Pimenta & Alves Reference Pimenta and Alves2017; Alves et al. Reference Alves, Oliveira and Pinho2021):
Indices
$f$
and
$p$
represent the boundary face and the cell owning that face, respectively, and
$d_{k}$
is the vector connecting their geometrical centres.
In the present study, the heat transfer performance is characterised by the wall-averaged heat flux (Esfahani et al. Reference Esfahani, Babak, Silvia, Berti and Calzavarini2018). The heat flux injected into the fluid is
Since the Nusselt number characterises the enhancement of convective heat transfer relative to pure conduction, in the present study, the conductive heat flux can be expressed as
$Q_D=(1-T_m)/ \overline {h}$
, where
$T_m$
is the solid temperature. Accordingly, the Nusselt number is defined as
2.3. Governing-equation linearisation
Linear stability analysis allows us to determine the critical Rayleigh number at which melting changes from a purely conductive regime to a convective regime. Based on the linear stability theory (Schmid et al. Reference Schmid and Henningson2001), all variables are separated into the basic state and a perturbation from it, i.e.
where the uppercase letters with an overbar represent the base-state quantity and the lowercase letters are perturbations. After substituting (2.20) into (2.9)–(2.12), the linear system reads as
It is worth noting that, in the present linear stability analysis, the FENE-P model is approximated by the Oldroyd-B model, since the latter is already sufficient to capture the core instability mechanism, such as the centre-mode instability (Khalid et al. Reference Khalid, Chaudhary, Garg, Shankar and Subramanian2021), while the former mainly introduces nonlinear finite-extensibility corrections to the Oldroyd-B results (Khalid et al. Reference Khalid, Badoni, Dutta, Naidu, Subramanian and Shankar2025). When the polymer extension remains relatively small and far from its extensibility limit, this nonlinear effect is not yet significant. Under such conditions, the FENE-P model can be approximately reduced to the Oldroyd-B model in the linear regime. This approximation retains the essential characteristics of the instability while simplifying both the numerical implementation and the associated computations. The accompanying boundary conditions are
The base-state velocity field is
$\overline {U}_i=0$
, while the temperature field is
$\overline {T}=1-y$
. Moreover, the base conformation tensor is
$C_{ij}=\delta _{ij}$
(Yao et al. Reference Yao, Lu, Zhang, Luo and Yi2025).
Since the flow is homogeneous in the
$x$
direction, the perturbations are assumed to take a wave-like form, i.e.
where
$f$
can be an arbitrary perturbation and the real-valued
$k_x$
is the wavenumber in the
$x$
direction. Here
$\hat {f}$
are the shape functions and
$\omega$
is the complex circular frequency of disturbances with its imaginary part
$\omega _i$
representing the growth rate of linear disturbances (if
$\omega _i \gt 0$
, the system is linearly unstable, and
$\omega _i \lt 0$
indicates the stable flow). For modal analysis, we have
where
$\tilde {\mathcal{X}} = (\tilde {v},\tilde {\theta },\tilde {c}_{xx},\tilde {c}_{xy},\tilde {c}_{yy})$
and
$L=A^{-1}B$
. The elements in matrices
$\boldsymbol{A}$
and
$\boldsymbol{B}$
can be easily deduced from Appendix A.
2.4. Discretisation and numerical method
When numerically solving the viscoelastic constitutive equations, the hyperbolic nature of these equations for viscoelastic fluids can lead to Hadamard instabilities and divergence at high
$\textit{Wi}$
, a phenomenon commonly referred to as the high-Weissenberg-number problem (Dupret & Marchal Reference Dupret and Marchal1986). Therefore, the log-conformation reformulation (LCR) (Fattal & Kupferman Reference Fattal and Kupferman2005; Zhang et al. Reference Zhang, Li, Wang, Ma, Zhang, Yu and Li2021) is adopted to ensure numerical stability in this work. An important characteristic of the LCR is its ability to maintain the positive definiteness of the conformation tensor. In the LCR method, a new tensor
$\varTheta _{ij}$
is defined as the natural logarithm of the conformation tensor
$C_{ij}$
:
where
$\lambda _k$
denotes the
$k$
th eigenvalue of
$C_{ij}$
and
$R_{ik}$
denotes the
$i$
th component of the corresponding
$k$
th eigenvector, with the eigenvectors arranged as the columns of
$R_{ik}$
(Fattal & Kupferman Reference Fattal and Kupferman2005). Equation (2.11) can then be written in terms of
$\varTheta _{ij}$
as (Fattal & Kupferman Reference Fattal and Kupferman2004)
where
The auxiliary tensors
$\varOmega _{ij}$
and
$B_{ij}$
in (2.29) are evaluated in the eigenvector basis of
$C_{ij}$
. To this end, an intermediate tensor
$M_{ij}$
is first defined as
Then,
where
$b_k$
denotes the
$k$
th diagonal component of
$M_{ij}$
, namely
$b_k=M_{kk}$
with no summation over
$k$
:
\begin{equation} { \widehat {\omega }_{ij} = \begin{cases} \dfrac { \lambda _j M_{ij} + \lambda _i M_{ji} }{ \lambda _j-\lambda _i }, & i\ne j, \\[8pt] 0, & i=j, \end{cases} } \end{equation}
The governing equations (2.9), (2.10), (2.12) and (2.29) were solved using the open-source computational fluid dynamics platform OpenFOAM together with the rheotool toolbox. Over the past few years, this solver has been widely applied to problems involving viscoelastic flows (Favero et al. Reference Favero, Secchi, Cardozo and Jasak2010; Habla et al. Reference Habla, Tan, Haßlberger and Hinrichsen2014), viscoelastic thermal convection (Cheng et al. Reference Cheng, Zhang, Cai, Li and Li2017; Guo et al. Reference Guo, Liu and Si2025) and phase-change problems (Seta et al. Reference Seta, Dubert, Prats, Gavalda, Massons, Bou-Ali, Ruiz and Shevtsova2022; Šeta et al. Reference Šeta, Dubert, Gavalda, Massons, Bou-Ali, Ruiz and Shevtsova2023), and its reliability has been thoroughly validated.
In (2.12), the last term on the right-hand side represents an energy source term containing a time derivative. When this equation is linearised and solved numerically, the resulting temperature field is not consistent with the prescribed phase-fraction–temperature relationship given in (2.6), and energy conservation is also not guaranteed. To address this issue, an iterative correction strategy is adopted, in which (2.12) is solved for
$T^{k+1}$
using the phase fraction
$\gamma ^k$
(Faden et al. Reference Faden, König-Haagen, Höhlein and Brüggemann2018):
Afterwards, the phase fraction
$\gamma$
is updated by
At each inner iteration, the liquid fraction is corrected based on the difference between the updated temperature
$T^{k+1}$
and the temperature
$T^*$
corresponding to the current liquid fraction
$\gamma ^k$
. The under-relaxation factor,
$0 \lt \omega \lt 1$
, controls the magnitude of this correction. A smaller value of
$\omega$
generally improves numerical stability but reduces the convergence rate. In the present study,
$\omega = 0.7$
is adopted as a compromise between numerical stability and convergence speed, consistent with the value adopted in a previous study (Faden et al. Reference Faden, König-Haagen, Höhlein and Brüggemann2018).
To ensure boundedness of the phase fraction, the calculated
$\gamma ^{k+1,*}$
has to be corrected:
The iteration process is ended if the residual of
$\gamma$
is reached and if at least three iterations were made.
2.5. Simulation settings
Our simulations consider both low-
$Ra$
cases and high-
$Ra$
cases. Some simulation settings and results are provided in table 1. In classical Newtonian Rayleigh–Bénard convection, the grid resolution should be fine enough to resolve both the Kolmogorov scale and the Batchelor scale, which are calculated as (Scheel et al. Reference Scheel, Emran and Schumacher2013)
where
$\varepsilon _u=\sqrt {Pr/Ra} [ \partial _i u_j(\boldsymbol{x},t) ]^2$
is the kinetic energy dissipation rate. For all cases, sufficient grid resolution is ensured by requiring that the maximum ratios
$h_{max }/\eta _k$
and
$h_{max }/\eta _b$
remain below 3, which was found empirically to be acceptable (Shishkina et al. Reference Shishkina, Stevens, Grossmann and Lohse2010; Xu et al. Reference Xu, Zhang, Brandt, Song and Shishkina2025a
). In viscoelastic flows, the characteristic flow scales are generally comparable to, or even larger than, those in Newtonian flows (Benzi et al. Reference Benzi, Ching and De Angelis2010; Cheng et al. Reference Cheng, Zhang, Cai, Li and Li2017). Therefore, the same mesh resolution as that used for the corresponding Newtonian flows is adopted for the viscoelastic cases. For each
$Ra$
, the Newtonian case is taken as the reference case for evaluating
$\varepsilon _u$
, and the same grid configuration is adopted for the corresponding viscoelastic cases. After the solid phase has completely melted and the flow has reached the fully developed thermal convection regime,
$\varepsilon _u$
is averaged over both time and volume, and the resulting value is used to estimate
$\eta _k$
and
$\eta _b$
. The values of
$h_{max }/\eta _k$
and
$h_{max }/\eta _b$
are also listed in table 1, and both ratios are smaller than 3. These results indicate that the present grid resolution is sufficient to resolve the relevant flow and thermal structures during the melting process, thereby supporting the reliability of the simulation results.
A posteriori check of spatial resolutions of the simulations.

Table 1. Long description
A table comparing simulation settings and results for moderate and high Ra cases. The table has two rows and eight columns. Column headers are Case, Ra, Pr, Ste, Wi, β, Nx, Ny, hmax/ηk, hmax/ηb. Row 1: Moderate-Ra case, 1 times 10 to the power 6, 1, 10, 50, 0.2, 1, 5, 0.2, 0.5, 0.8, 192, 192, 0.165, 0.522. Row 2: High-Ra case, 1 times 10 to the power 8, 1, 10, 50, 0.2, 1, 5, 0.2, 0.5, 0.8, 320, 320, 0.468, 1.482.
3. Melting behaviour at moderate Rayleigh number
We first focus on the moderate-
$Ra$
regime and analyse the melting of viscoelastic materials in terms of the critical point for the transition from purely conductive melting to convective melting, the flow structures in the laminar regime, the morphology of the melting interface, the transition from laminar to turbulent flow and the melting rate under laminar conditions.
3.1. Critical Rayleigh number
At the early stage of melting, heat transfer is dominated by thermal conduction, and the melting interface remains essentially planar. Under this condition, the system can be approximated as a classical Rayleigh–Bénard configuration confined between two rigid horizontal plates. By invoking linear stability analysis, the onset of convection can be predicted and the corresponding critical Rayleigh number,
$Ra_c$
, can be determined. It is worth noting that, in addition to elasticity, the interfacial morphology also plays an important role in the onset of convection. Previous studies have noted that even an infinitesimal non-planar topography of the melting interface may induce baroclinic flow, potentially triggering convection at arbitrarily small Rayleigh numbers (Kelly & Pal Reference Kelly and Pal1978; Favier et al. Reference Favier, Purseed and Duchemin2019). In this subsection, however, we focus exclusively on the effect of viscoelasticity on the instability threshold. To this end, the melting interface is assumed to be initially perfectly planar, thereby excluding baroclinic effects associated with interfacial perturbations.
The Prandtl number is fixed at
$Pr=10$
. Three viscosity ratios are considered:
$\beta =0.2$
,
$0.5$
and
$0.8$
. Owing to the horizontal symmetry of the problem, only two-dimensional perturbations are considered, i.e.
$k_x \neq 0$
and
$k_y = 0$
. Figure 2 shows the critical Rayleigh number
$Ra_c$
and the critical wavenumber
$k_{xc}$
in the
$x$
direction as functions of the Weissenberg number
$\textit{Wi}$
. It can be seen that when
$\textit{Wi}$
is small, it has no influence on the critical Rayleigh number
$Ra_c$
. In this case, the critical Rayleigh number is
$Ra_c = 1707.76$
, which corresponds to the classical onset value of Rayleigh–Bénard convection with no-slip boundary conditions (Chandrasekhar Reference Chandrasekhar2013). As
$\textit{Wi}$
increases and exceeds a critical value, the critical Rayleigh number
$Ra_c$
for the onset of convection begins to decrease. Meanwhile, a sudden jump of
$k_{xc}$
occurs. After that,
$k_{xc}$
, similar to
$Ra_c$
, decreases as a function of
$\textit{Wi}$
. The decrease in
$Ra_c$
and the jump in the critical wavenumber are associated with a transition from stationary convection to oscillatory convection. In addition, a noticeable feature is that with increasing viscosity ratio
$\beta$
, the critical value
$\textit{Wi}_c$
increases, while the decreasing trends of
$Ra_c$
and
$k_{xc}$
become less pronounced. This behaviour can be readily understood since a larger
$\beta$
corresponds to weaker elastic effects.
(a) Critical Rayleigh number
$Ra_c$
and (b) critical wavenumber
$k_{xc}$
as a function of Weissenberg number
$\textit{Wi}$
. The other parameters are
$Pr=10$
,
$k_y=0$
and
$\beta =0.2 ,\ 0.5,\ 0.8$
.

3.2. Flow structures and interface morphology at moderate
$Ra$
In this subsection, we consider a more realistic scenario in which both interfacial morphology and elasticity are taken into account simultaneously by means of DNS. Specifically, DNS are performed at
$Ra=10^6$
to investigate the transition from a purely diffusive regime to a convective regime as the melt layer grows in time. Particular attention is paid to the evolution of the melting interface and the influence of elasticity on the interface dynamics. The simulations are performed until the melting front reaches the upper wall, which corresponds to approximately 400 free-fall time scales for the case with
$Ra=10^6$
. Figure 3 visualises the temperature field (left column) and the trace of the logarithmic conformation tensor
$\varTheta _{ii}$
(right column; the trace represents the spatial distribution of polymer-chain elongation) at
$\textit{Wi} =1.0$
. The other simulation parameters are set to
$Pr = 10$
and
${ Ste} = 1$
.
At the initial stage, the melting process is primarily dominated by heat conduction, and the flow field remains essentially quiescent.The melting front is nearly parallel to the bottom boundary, and the liquid layer continuously thickens until it reaches the critical thickness required for the onset of convection. At the onset of convection, the flow remains steady and laminar, characterised by 14 regularly arranged convection rolls forming seven counter-rotating pairs. The regions associated with rising thermal plumes and descending cold plumes exhibit relatively high values of the trace, indicating enhanced polymer-chain elongation. As the melting front continues to move upward, the convection rolls become vertically elongated, and
$Ra_e$
increases progressively. Once
$Ra_e$
exceeds a critical value, the flow undergoes a transition from a laminar to a turbulent regime.
Visualisations of the temperature field and the trace of the logarithmic conformation tensor
$\varTheta _{ii}$
for
$\textit{Wi} =1.0$
and
$Ra=10^6$
. The temperature is shown on the left while
$\varTheta _{ii}$
is shown on the right. The yellow line corresponds to the interface defined by the isosurface
$\gamma = 1/2$
. Time is increasing from top to bottom:
$t=50,\ 150,\ 336,\ 357$
.

Figure 3. Long description
Panel A: The left column displays heat maps of the temperature field. The color scale ranges from blue to red, indicating lower to higher temperatures. The yellow line represents the interface defined by the isosurface. Time increases from top to bottom, with snapshots at different time points. Panel B: The right column shows heat maps of the trace of the logarithmic conformation tensor. The color scale ranges from blue to red, indicating lower to higher values. The yellow line represents the interface defined by the isosurface. Time increases from top to bottom, with snapshots at different time points.
Now, let us discuss the evolution of the melt-front shape during the melting process. At each instant, the melt front is extracted and represented by a curve
$h(x,y)$
, defined by
$\gamma = 1/2$
. By taking time as a third axis, a three-dimensional representation of the melt-front position as a function of space and time is obtained, which is shown in figure 4. The transition from conduction-dominated melting to convection-dominated melting is clearly observed in the figure. During the laminar convection regime, the melt front exhibits pronounced periodic undulations along the
$x$
direction, forming a wave-like structure that reflects the modulation of the interface by coherent convective rolls. Specifically, seven wave crests are observed for the
$\textit{Wi}=1.0$
case, whereas only six are found for the
$\textit{Wi}=0.0$
case. This trend is consistent with the linear stability analysis, which shows that the critical wavenumber
$k_{xc}$
undergoes a jump to a higher branch as
$\textit{Wi}$
increases beyond a threshold. As the flow evolves from the laminar to the turbulent regime, the regular convection rolls are progressively disrupted. A comparison between figures 4(a) and 4(b) shows that, in the
$\textit{Wi}=0$
case, the disturbed regular convection rolls tend to merge into larger-scale vortical structures. In contrast, in the
$\textit{Wi}=1.0$
case, the wave-like interfacial structure tends to be smoothed out, leading to a flatter melting front.
Melt-front position as a function of space and time for (a)
$\textit{Wi}=0$
and (b)
$\textit{Wi}=1$
. Other parameters are
$Ra=10^6,\ Pr=10,\ { Ste}=1$
.

We next provide a comparison between the DNS results and the linear stability analysis. Figure 5(a) presents a comparison of the critical Rayleigh number for the onset of convection predicted by the linear stability analysis and that obtained from DNS. In the DNS, the onset of convection is identified as the point at which the kinetic energy in the molten region begins to increase. Two main differences can be identified from the figure. First, the linear stability analysis predicts the onset of convection at an effective Rayleigh number of approximately
$1700$
, with the critical value decreasing gradually as
$\textit{Wi}$
increases. By contrast, the apparent onset identified from the DNS occurs at
$Ra_{\textit{eff}}\approx 4400$
. This difference arises partly from the different definitions of the onset. In the linear stability analysis, the critical condition corresponds to the neutral point at which the perturbation growth rate changes from negative to positive. In the DNS, however, convection is identified from the increase in the kinetic energy while the molten layer continuously grows from the heated bottom wall. Immediately above the linear critical point, the growth rate remains small, and the perturbation must accumulate over a finite period before the associated kinetic energy becomes sufficiently large to be detected. The DNS criterion therefore identifies an apparent onset later than the neutral-stability condition. Moreover, since
$Ra_{\textit{eff}}\propto \bar {h}^{\,3}$
, the difference between
$Ra_{\textit{eff}}\approx 1700$
and
$Ra_{\textit{eff}}\approx 4400$
is less pronounced when expressed in terms of the molten-layer thickness:
Thus, when the increase in kinetic energy becomes clearly detectable in the DNS, the molten-layer thickness is approximately
$37\,\%$
larger than that corresponding to the linear critical condition.
Second, the linear stability analysis shows that the critical Rayleigh number remains nearly unchanged over the range
$0\leqslant \textit{Wi}\leqslant 5$
, whereas no corresponding plateau is observed in the DNS results. This difference arises because
$\textit{Wi}$
is prescribed as a fixed control parameter in the linear stability analysis, while the effective Weissenberg number in the melting problem evolves continuously with the molten-layer thickness. Specifically,
Since the molten-layer thickness increases from
$h_0$
towards the full domain height,
$\textit{Wi}_{\textit{eff}}$
decreases continuously from
$\textit{Wi}_{\textit{global}}/h_0$
(
$h_0 = 0.02H$
) towards
$\textit{Wi}_{\textit{global}}$
. Therefore, each DNS case follows a time-dependent trajectory in the
$(Ra_{\textit{eff}},\textit{Wi}_{\textit{eff}})$
plane, rather than evolving at a fixed value of
$\textit{Wi}$
. As a result, the low-
$\textit{Wi}$
plateau predicted by the linear stability analysis is not observed as a distinct stage in the DNS. This comparison shows that, although the linear stability analysis predicts the same overall trend as the DNS results, a non-negligible discrepancy remains. Therefore, the present linear stability analysis should be regarded as providing only a qualitative prediction.
(a) Comparison of the critical Rayleigh number for the onset of convection predicted by the linear stability analysis with that obtained from DNS. (b) Temperature contours at
$Ra = 10^6$
and
$\textit{Wi} = 1.0$
at the dimensionless time
$t = 150$
. The upper panel corresponds to the case with viscosity ratio
$\beta = 0.8$
, while the lower panel corresponds to
$\beta = 0.2$
.

Figure 5(b) shows the temperature contours at
$t = 150$
for
$\textit{Wi} = 1.0$
with two viscosity ratios,
$\beta = 0.2$
and
$\beta = 0.8$
. From the linear stability analysis presented in § 3.1, it is known that once
$\textit{Wi}$
exceeds a critical value, the critical wavenumber
$k_{xc}$
exhibits a jump. Moreover, the critical wavenumber for
$\beta =0.8$
is smaller than that for
$\beta =0.2$
. The critical horizontal wavenumber (
$k_{xc}$
) can be related to the number of convection rolls by considering the wavelength of the unstable mode. Since the wavenumber is non-dimensionalised using the instantaneous liquid-layer thickness
$\bar {h}$
, the dimensional horizontal wavelength is
One complete wavelength corresponds to a pair of counter-rotating convection rolls. Therefore, the expected number of roll pairs across a domain of width
$L_x$
is approximately
and the total number of individual rolls is
$N_{\textit{roll}}\approx 2N_{\textit{pair}}$
. For
$L_x=2$
and an onset liquid-layer thickness of approximately
$\bar {h}\approx 0.17$
,
$k_{xc}\approx 3.1$
corresponds to approximately six roll pairs, whereas
$k_{xc}\approx 4.0$
corresponds to approximately seven roll pairs. Thus, the difference in
$k_{xc}$
indicates a reduction in the preferred horizontal wavelength and an increase in the number of convection rolls. This is consistent with the observation in figure 5(b), where six pairs of convection rolls are present at
$\beta =0.8$
, while seven pairs are observed at
$\beta =0.2$
.
3.3. Melting rate and energy evolution at moderate
$Ra$
We now examine the effect of varying
$\textit{Wi}$
on the melting velocity and the energy evolution of the convective flow. The value of
$\textit{Wi}$
is varied from 0.0 to 1.5. Figure 6(a) shows the temporal evolution of the averaged liquid-layer depth
$\overline {h}(t)$
for different
$\textit{Wi}$
. The temporal evolution of
$\overline {h}(t)$
in figure 6(a) exhibits two distinct stages. Before the onset of convection, melting is governed primarily by heat conduction, whereas after convection develops, the melting process becomes convection-dominated. In the absence of convection, the problem is essentially one-dimensional. The interface position
$\overline {h}(t)$
is determined by
$\overline {h}(t)=2 \xi \sqrt {t}$
. The parameter
$\xi$
depends on
$ Ste$
via the relation (Hahn & Özisik Reference Hahn and Özisik2012)
A clear
$\overline {h}(t) {\, \propto \,} t^{{1}/{2}}$
scaling is observed, consistent with the theoretical prediction. As melting proceeds, once the melting-rate curve departs from the
$t^{{1}/{2}}$
scaling, the melting process becomes convection-dominated. Moreover, a larger
$\textit{Wi}$
leads to an earlier deviation from the conduction-dominated regime, indicating that convection sets in more rapidly with increasing elasticity. This phenomenon is consistent with the predictions of our previous stability analysis. A similar behaviour has also been reported in the literature on VRBC (Li & Khayat Reference Li and Khayat2005), which showed that viscoelasticity enables finite-amplitude periodic flow to emerge even when
$Ra \lt Ra_s^c$
, where
$Ra_s^c$
denotes the critical Rayleigh number for the onset of stationary thermal convection. Upon entering the convection-dominated melting regime, the interface evolution follows a linear scaling
$\overline {h}(t) {\, \propto \,} t$
. This scaling has previously been established for the melting of Newtonian materials through energy-balance analyses by Favier et al. (Reference Favier, Purseed and Duchemin2019). The introduction of elasticity does not alter the melting scaling in this regime. Since the onset time of convection varies with the Weissenberg number, the melting curves corresponding to different
$\textit{Wi}$
values appear as nearly parallel lines.
(a) Temporal evolution of the averaged liquid-layer depth for
$\textit{Wi} = 0.0,\ 0.01,\ 0.05,\ 0.5,\ 1.5$
. (b) Plots of
$t_m(\textit{Wi})/t_m(0)$
as a function of
$\textit{Wi}$
for different viscosity ratios. Time
$t_{m}$
denotes the time at which the liquid-layer thickness reaches
$80\,\%$
of the total domain height.

Figure 6(b) displays the normalised melting time
$t_m$
, where
$t_m$
is defined as the time required for the liquid-layer thickness to reach 80 % of the total domain height. During the convection-dominated melting stage, the mean liquid-layer thickness increases approximately linearly with time. Therefore, selecting a lower liquid-fraction threshold would change the absolute value of
$t_m$
but would not alter the dependence of the melting time on
$\textit{Wi}$
. A higher threshold was not adopted because the solid–liquid interface approaches the upper wall during the late melting stage, where the melting dynamics becomes increasingly affected by the finite domain height. To show more clearly whether melting is accelerated or delayed,
$t_m(\textit{Wi})$
for each case is normalised by the melting time of the Newtonian case,
$t_m(0)$
. Accordingly,
$t_m(\textit{Wi})/t_m(0)\lt 1$
indicates accelerated melting, whereas
$t_m(\textit{Wi})/t_m(0)\gt 1$
indicates delayed melting. As shown in figure 6(b),
$t_{m}$
decreases monotonically with increasing
$\textit{Wi}$
. The decreasing trend gradually weakens at higher
$\textit{Wi}$
, indicating a saturation of elastic effects. Overall, the monotonic reduction of
$t_{m}$
with
$\textit{Wi}$
suggests that moderate elasticity can accelerate the melting process. It also can be observed that a smaller viscosity ratio
$\beta$
, corresponding to stronger elasticity, leads to a faster melting process. The acceleration of the melting process can be attributed to the earlier onset of convection.
Figure 7 shows the temporal evolution of the wall heat flux for different
$\textit{Wi}$
as a function of the average fluid depth
$\overline {h}$
. During the purely conductive melting stage, the wall heat flux follows the scaling law
$Q_w {\, \propto \,} {\overline {h}}^{-1}$
. Once convection sets in, the enhanced heat transfer at the bottom wall leads to a jump in
$Q_w$
. Thereafter, the wall heat flux continues to decrease as melting proceeds. It can also be seen that, at the same liquid-layer thickness, increasing elasticity tends to enhance the wall heat flux. This may be related to the increase in flow kinetic energy caused by elasticity, which is analysed in figure 8.
Heat flux at the bottom boundary as a function of the average fluid depth
$\bar {h}$
for
$Ra=10^6$
,
$Pr=10$
and
${ Ste}=1$
, with
$\textit{Wi}=0.0$
,
$0.01$
,
$0.05$
,
$0.5$
and
$1.5$
.

Figure 8 illustrates the time history of the kinetic energy density (
$E_k$
) and the specific elastic energy (
$E_e$
) (Comminal et al. Reference Comminal, Spangenberg and Hattel2015; Guo et al. Reference Guo, Liu and Si2025), defined as
Figure 8(a) presents the time history of the kinetic energy, which clearly exhibits three distinct stages. In the first stage, corresponding to the conduction-dominated melting regime, no flow is present and the kinetic energy remains zero. Once convection sets in, the flow enters a laminar regime, during which the kinetic energy increases steadily with time. It can be observed that the kinetic energy increases with increasing
$\textit{Wi}$
. This trend may be qualitatively attributed to the shear-thinning effect, through which the effective viscosity decreases as the shear rate increases, thereby leading to higher flow velocities and enhanced kinetic energy. A similar increase in kinetic energy with
$\textit{Wi}$
has also been reported by Guo et al. (Reference Guo, Liu and Si2025) in the context of viscoelastic thermal convection. Finally, as the flow transitions to turbulence, the kinetic energy signal becomes highly unsteady and exhibits pronounced temporal fluctuations. These strong fluctuations indicate the emergence of multiscale flow structures and enhanced nonlinear interactions, which are characteristic of turbulent convection. Figure 8(b) presents the time history of the elastic energy. As anticipated, the elastic energy increases significantly with higher values of
$\textit{Wi}$
as shown in figure 8(b). Specifically, when
$\textit{Wi} = 0.01$
, the elastic energy is of the order of
$10^{-5}$
, whereas it increases to the order of
$10^{0}$
at
$\textit{Wi} = 1.5$
. This pronounced growth is a characteristic feature of viscoelastic flows, in which the conformation tensor exhibits an exponential increase with increasing
$\textit{Wi}$
(Fattal & Kupferman Reference Faden, König-Haagen, Höhlein and Brüggemann2004, Reference Fattal and Kupferman2005), leading to a rapid accumulation of elastic energy. It is worth noting that, during the laminar flow stage, the elastic energy does not continue to increase in the same way as the kinetic energy. This is because the polymer chains approach their maximum extension, leading to a saturation of the elastic energy.
(a) Temporal evolution of the kinetic energy for
$\textit{Wi} = 0.0,\ 0.01,\ 0.5,\ 1.5$
. (b) Temporal evolution of the elastic energy density for
$\textit{Wi} = 0.01,\ 0.5,\ 1.5$
.

To gain further insight into the underlying energy budget, we next analyse the corresponding dissipation mechanisms. Viscous dissipation rate in the Newtonian solvent
$\varepsilon _s$
and elastic dissipation rate due to the polymer additives
$\varepsilon _p$
are given as
\begin{equation} \varepsilon _s=\frac {\beta }{\sqrt {Ra/Pr}} \frac {1}{V_f} \int _{V_f} \left ( \frac {\partial u_i}{\partial x_j} \right )^2 \,\text{d}V, \quad \varepsilon _p=\frac {1-\beta }{\sqrt {Ra/Pr}} \frac {1}{V_f} \int _{V_f} u_i \frac {\partial \tau _{ij}}{\partial x_j} \,\text{d}V. \end{equation}
The buoyancy power input is defined as
The buoyancy power input is displayed in figure 9(a). The relative contributions of the viscous and elastic dissipation to the total energy dissipation rate are reported in figure 9(b). As elasticity increases, the increase in the buoyancy power input can be understood from the evolution of the convective flow structure. Elasticity promotes the development of a larger number of convection rolls, which enhance the vertical transport of hot and cold fluid. This strengthens the correlation between the vertical velocity and temperature fluctuations, thereby increasing the buoyancy power input. The enhanced energy input from buoyancy is consistent with the increase in kinetic energy observed in this regime. Since the viscous dissipation rate is directly related to these gradients, the overall dissipation is correspondingly increased. The relative contributions of viscous and elastic dissipation are broadly consistent with the viscosity ratio. However, as elasticity increases, the contribution of elastic dissipation gradually decreases, while that of viscous dissipation gradually increases. This suggests that elasticity promotes viscous dissipation more effectively than elastic dissipation.
(a) Evolution of the buoyancy power input for
$\textit{Wi}=0.0$
,
$0.2$
and
$1.2$
. (b) Relative contributions of elastic and viscous dissipation for
$\textit{Wi}=0.2$
,
$0.5$
,
$1.0$
and
$1.5$
. Other parameters are
$Ra=10^6,\ Pr=10, { Ste}=1$
.

4. Melting behaviour at high Rayleigh number
In this section, the Rayleigh number is increased to
$Ra=10^8$
, and the effect of elasticity on the melting behaviour in the turbulent regime is investigated. Particular attention is paid to the evolution of the melting interface, the influence of elasticity on the development of flow structures and its impact on the melting rate.
4.1. Flow structures and interface morphology at high
$Ra$
We first examine the development of the flow structures, while keeping the other parameters fixed at
$Pr=10$
and
${ Ste}=1.0$
. Figure 10 presents visualisations of the temperature distributions at different times during the simulation. The left and right columns correspond to
$\textit{Wi}=0.0$
and
$\textit{Wi}=1.5$
, respectively. It can be observed that the onset time of convection in the
$\textit{Wi}=1.5$
case is earlier than that in the
$\textit{Wi}=0.0$
case, which is consistent with the behaviour previously observed at
$Ra=10^6$
. After the onset of convection, the characteristic size of the convection rolls in the Newtonian case (
$\textit{Wi}=0.0$
) is approximately
$L_x/32$
, where
$L_x$
denotes the domain width in the horizontal direction. In contrast, for the viscoelastic case, the initial roll size at the onset of convection is about
$L_x/36$
. This stage persists only for a short duration, after which neighbouring rolls merge, forming larger structures with a characteristic size of approximately
$L_x/15$
. As the flow further transitions to turbulence, the characteristic roll size increases to about
$L_x/4$
in the Newtonian case, whereas it remains smaller, around
$L_x/6$
, in the viscoelastic case with
$\textit{Wi}=1.5$
. With the continued advance of the melting front, the effective Rayleigh number
$Ra_e$
further increases, leading to successive mergers of adjacent rolls. Eventually, large-scale rolls with characteristic sizes of approximately
$L_x/2$
for
$\textit{Wi}=0.0$
and
$L_x/3$
for
$\textit{Wi}=1.5$
are formed. Overall, under turbulent conditions and for comparable values of the effective Rayleigh number, the characteristic size of convection rolls in viscoelastic flows is systematically smaller than that in the Newtonian case. This reduction in roll size has also been reported in previous studies; for instance, Cheng et al. (Reference Cheng, Zhang, Cai, Li and Li2017) found that a small amount of polymer additives leads to a reduction in the size of the large-scale circulation.
Visualisations of the temperature field at
$Ra=10^8$
for
$\textit{Wi} =0.0$
(a) and
$\textit{Wi}=1.5$
(b). Time increases from top to bottom:
$t=25,\ 100,\ 254,\ 518$
. The yellow line corresponds to the interface defined by the isosurface
$\gamma = 1/2$
.

Several typical snapshots of the vorticity denoted by the
$Q$
criterion are shown in figure 11. Figure 11(a,c) shows the vorticity contours for the Newtonian case, while figure 11(b,d) presents those for the (Wi = 1.5) case. A comparison of the two reveals that, with the introduction of elasticity, the large-scale structures in the flow field are disrupted and break up into fragmented smaller-scale structures, while the vorticity structures become slimmer and more elongated. Elasticity suppresses the formation of large-scale structures, thereby promoting a smoother and flatter melting front. To quantitatively compare the coherent structures in the
$Q$
field, we calculated the spatial auto-correlation functions of the
$Q$
field. Since vortical structures are present only in the liquid region, the analysis was restricted to the region with
$\gamma \gt 0.5$
. At each vertical position
$y$
, the mean value of
$Q$
over the liquid region in the
$x$
direction was removed:
where
$\left \langle Q(x,y)\right \rangle _x$
denotes the average of
$Q$
over the liquid points along the
$x$
direction at a given
$y$
. The normalised spatial auto-correlation functions in the
$x$
and
$y$
directions were then calculated as
\begin{equation} R_x(\Delta x) = \frac { \left \langle q(x,y)q(x+\Delta x,y)\right \rangle }{ \sqrt { \left \langle q^2(x,y)\right \rangle \left \langle q^2(x+\Delta x,y)\right \rangle } } \end{equation}
and
\begin{equation} R_y(\Delta y) = \frac { \left \langle q(x,y)q(x,y+\Delta y)\right \rangle }{ \sqrt { \left \langle q^2(x,y)\right \rangle \left \langle q^2(x,y+\Delta y)\right \rangle } }. \end{equation}
Only point pairs for which both points were located in the liquid region were included in the calculation. The curves of
$R_x(\Delta x)$
and
$R_y(\Delta y)$
were then obtained, and the coherence lengths in the two directions were defined by their first zero-crossings:
As shown in figure 11, the corresponding coherence lengths in the
$x$
and
$y$
directions, denoted by
$L_x$
and
$L_y$
, respectively, are marked in each contour of the
$Q$
field. A quantitative comparison shows that
$L_x$
decreases, whereas
$L_y$
increases or remains approximately unchanged. These results quantitatively support the observation that the vortical structures become narrower and more elongated.
Typical snapshots of vorticity Q-criterion field for (a)
$\textit{Wi}=0.0$
,
$Ra_e=2.7 \times 10^6$
, (b)
$\textit{Wi}=1.5$
,
$Ra_e=2.7 \times 10^6$
, (c)
$\textit{Wi}=0.0$
,
$Ra_e=2.16 \times 10^7$
, (d)
$\textit{Wi}=1.5$
,
$Ra_e=2.16 \times 10^7$
.

It can be seen from figure 10 that the melting interface is considerably flatter in the
$\textit{Wi}=1.5$
case, whereas larger interface undulations are observed in the
$\textit{Wi}=0.0$
case. To provide a more intuitive comparison of the interface evolution, we follow the same approach as in figure 4 and plot the melt-front position as a function of space and time at
$Ra=10^8$
, as shown in figure 12. The bifurcations between different roll sizes is clearly visible. Multiple merging mechanisms are observed, including the direct merge of adjacent rolls as well as more complicated behaviours where the disappearance of a roll triggers the reorganisation and merging of neighbouring structures. In the
$\textit{Wi}=1.5$
case, merging events between adjacent convection rolls occur more frequently.
Melt-front position as a function of space and time for (a)
$\textit{Wi}=0$
and (b)
$\textit{Wi}=1.5$
. Other parameters are
$Ra=10^8,\ Pr=10,\ { Ste}=1$
.

To quantitatively analyse the temporal evolution of the interface topography, we introduce the fluctuation of the interface height
$\xi$
, denoted by a prime, which is defined as the deviation of the local value from its horizontally averaged value:
where
$\langle \boldsymbol{\cdot }\rangle _x$
denotes the horizontal average. Then we measure the typical amplitude of the interface by the root mean square of
$\xi ^{\prime }(x,t)$
as
Figure 13 presents the temporal evolution of
$\xi _{rms}(t)$
for five different values of
$\textit{Wi}$
. In addition, the results reported by Yang et al. (Reference Yang, Howland, Liu, Verzicco and Lohse2023b) are included for comparison. Their simulations were performed for a Newtonian fluid at
$Pr=10,\ { Ste}=1,\ Ra=10^8$
, which are identical to the parameters of our
$\textit{Wi}=0.0$
case. Despite the use of the same physical parameters, noticeable differences in
$\xi _{rms}(t)$
can be observed between the two sets of results. These discrepancies arise primarily from differences in the initial conditions. In the present study, the initial liquid-layer thickness is chosen to be sufficiently small,
$h|_{t=0} = 0.02$
, in order to ensure a conduction-dominated melting regime at the initial stage. In contrast, Yang et al. (Reference Yang, Howland, Liu, Verzicco and Lohse2023b) initialised their simulations at an effective Rayleigh number of
$Ra_e=10^5$
, such that the melting process was already convection-dominated from the outset. In our simulations,
$\xi _{rms}(t)$
undergoes an initial laminar stage during which the convection rolls remain stable, leading to an approximately constant value of
$\xi _{rms}$
. This manifests as a plateau in the
$\xi _{rms}(t)$
curve (black squares in figure 13 for
$Ra_e \lt 5 \times 10^5$
). Such a plateau is absent in the results of Yang et al. (Reference Yang, Howland, Liu, Verzicco and Lohse2023b), where
$\xi _{rms}$
grows directly from zero and transitions rapidly to the turbulent regime. For sufficiently large effective Rayleigh numbers (
$Ra_e \gt 10^6$
), both sets of results exhibit a scaling behaviour consistent with
$\xi _{rms} {\, \propto \,} Ra_\textrm{e}^{1/3}$
, a scaling law that can be derived from the Stefan condition (Yang et al. Reference Yang, Howland, Liu, Verzicco and Lohse2023b
).
The influence of elasticity on
$\xi _{rms}(t)$
manifests itself mainly in two aspects. First, as the elasticity is enhanced with increasing
$\textit{Wi}$
from 0.1 to 1.5, the magnitude of
$\xi _{rms}(t)$
is significantly reduced. Nevertheless, its growth rate continues to follow the scaling law
$\xi _{rms} {\, \propto \,} Ra_\textrm{e}^{1/3}$
. Second, in the Newtonian case (
$\textit{Wi}=0.0$
), a pronounced laminar stage is observed, during which
$\xi _{rms}(t)$
remains approximately constant. A clear transition point can be identified between this plateau and the subsequent
$1/3$
-scaling growth regime. With increasing elasticity, however, this transition becomes progressively less distinct, as observed for intermediate cases such as
$\textit{Wi}=0.1$
and
$\textit{Wi}=0.5$
. For sufficiently large
$\textit{Wi}$
, the plateau disappears entirely, and
$\xi _{rms}(t)$
follows the
$Ra_\textrm{e}^{1/3}$
scaling throughout the entire evolution.
Rescaled topography amplitude
$\tilde {\xi }(x,t)=\xi (x,t) Ra^ {1/3}$
as a function of
$Ra_e$
(which grows with time) for
$\textit{Wi} = 0.0,\ 0.1,\ 0.5,\ 1.0,\ 1.5$
. The magenta pentagrams represent the results reported by Yang et al. (Reference Yang, Howland, Liu, Verzicco and Lohse2023b) which are included for comparison. Their simulations were performed for a Newtonian material with
$Pr=10,\ { Ste}=1,\ Ra=10^8$
.

4.2. Oscillatory convection during melting
From the analysis of figures 12 and 13, it is found that, in the
$\textit{Wi}=0.0$
case as well as in the low-
$\textit{Wi}$
regime, the melting process initially undergoes a laminar stage. During this stage, the melting interface remains stable, which is reflected in the plateau observed at the early stage of the
$\varepsilon _{\textit{rms}}$
curves in figure 13. The introduction of elasticity shortens the duration of this laminar stage and promotes an earlier onset of turbulence. This behaviour is consistent with the characteristics of oscillatory convection. Similar oscillatory behaviour has also been reported in previous studies (Maurya et al. Reference Maurya, Singh and Kumar2024). In the following, evidence for the existence of such oscillatory convection is presented.
To characterise the evolution of oscillatory convection during melting, a Fourier decomposition is performed on the temperature distribution extracted along a horizontal line at a fixed vertical position. For a given instant
$t$
, the temperature along the selected line is denoted by
$T(x,\overline {y},t)$
, where
$\overline {y}$
is the prescribed vertical location. For a spatially periodic flow,
$T(x,\overline {y},t)$
can be represented as
The perturbation field is then projected onto Fourier modes along the
$x$
direction, yielding
where
$m$
is the spatial wavenumber and
$L_x$
is the horizontal length of the domain. The complex coefficient
$F_m(t)$
can be written as
with
and
The evolution of
$\mathrm{Re}[F_m(t)]$
and
$\mathrm{Im}[F_m(t)]$
in the phase plane provides a convenient way to identify the temporal behaviour of the corresponding spatial mode.
Figure 14(a) presents the distribution of the horizontal velocity
$u$
along the
$x$
direction extracted at
$y=0.02$
and
$t=40$
, together with the corresponding contour plot of the horizontal velocity. It can be seen that, for
$\textit{Wi} = 0.0$
, the velocity field is distributed rather uniformly, and the velocity profile approximately follows a sinusoidal pattern. In contrast, for
$\textit{Wi} = 1.5$
, the horizontal velocity exhibits a clearly non-uniform distribution. The temperature data extracted at
$y=0.02$
, i.e.
$T(x,0.02,t)$
, over the time interval
$40 \leqslant t \leqslant 60$
, are processed using the Fourier decomposition described in (4.10)–(4.11), with the mode number fixed at
$m=1$
. For each instant, the decomposed mode is represented by a real part and an imaginary part. Taking the real part as the horizontal coordinate and the imaginary part as the vertical coordinate, the resulting trajectories of the dynamic system at different time intervals are shown in figure 14(b). For the
$\textit{Wi}=0.0$
case, the trajectory collapses to a single point located at
$(0,0)$
, indicating that the flow remains in a steady state with no evident temporal oscillation. In contrast, for the
$\textit{Wi}=1.5$
case, the trajectory forms an irregular ring-like pattern around the origin, indicating sustained temporal oscillations of the flow. This behaviour provides evidence for the occurrence of elasticity-induced oscillatory convection. An additional case with a very low global
$\textit{Wi}=0.01$
was considered. Since the initial liquid-layer thickness is
$h=0.02$
, the corresponding initial effective Weissenberg number is
$\textit{Wi}_{\textit{eff}}=0.01/0.02=0.5$
, which is below the critical value for the onset of oscillatory convection. As shown in figure 14(b), the phase-space trajectory is similar to that for the
$\textit{Wi}=0.0$
case and passes through the origin, indicating a steady convective state without sustained temporal oscillations.
(a) Distribution of the horizontal velocity along
$x$
extracted at
$y=0.02$
for
$\textit{Wi}=0.0$
,
$0.1$
and
$1.5$
. (b) Trajectories of the dynamical system over different time intervals for
$\textit{Wi}=0.0$
,
$0.1$
and
$1.5$
.

4.3. Melting rate and energy evolution in the turbulent regime
We now examine the effect of the Weissenberg number on the melting rate. To estimate the melting rate of the solid phase, we can integrate the energy equation (2.12) over the entire computational domain. In the present study, the flow is incompressible, the bottom boundary and the solid–liquid interface are impermeable and the lateral boundaries are periodic. Consequently, upon integration over the entire computational domain, the convective term vanishes, whereas the diffusive term reduces to the net heat flux across the upper and lower walls, yielding (Favier et al. Reference Favier, Purseed and Duchemin2019)
Once the liquid layer becomes fully convective, its average temperature can be approximated as 1/2, and the heat flux at the upper wall is zero. Accordingly, the equation can be further simplified as
where the volume of the fluid can be approximated by
For the Newtonian case, the Nusselt number can be further expressed by the conventional scaling law in terms of the effective Rayleigh number, i.e.
$Nu \approx k Ra_\textrm{e}^{\zeta }$
, leading to
The solution to this equation reads as (Favier et al. Reference Favier, Purseed and Duchemin2019)
\begin{equation} \bar {h}(t)= \left [ \bar {h}_0^{\,2-3\zeta } +(2-3\zeta )\frac {k Ra^\zeta }{\frac {1}{2}+{\frac {1}{Ste}}}\,t \right ]^{ \tfrac{1}{(2-3\zeta) }}. \end{equation}
The typical value of
$\zeta$
ranges from
$1/4$
to
$1/3$
, from which it follows that
$\bar {h}(t) {\, \propto \,} t$
or
$h {\, \propto \,} t^{4/5}$
. For the viscoelastic case, the Nusselt number depends on the Weissenberg number (Benzi et al. Reference Benzi, Ching and De Angelis2010):
This indicates that elasticity enhances the Nusselt number at low
$\textit{Wi}$
, whereas it suppresses the Nusselt number at high
$\textit{Wi}$
. They subsequently explained the physical mechanism underlying this phenomenon (Benzi et al. 2016). Specifically, they showed that whether elasticity enhances or suppresses heat transfer depends on the characteristic size of the flow structures affected by elasticity. The characteristic scale over which polymer elasticity influences the flow can be described by the Lumley scale
$l_L$
, defined as
where
$\lambda$
is the relaxation time and
$\delta v(l_L)$
is the characteristic velocity scale of eddies of a characteristic length scale
$l_L$
. Since
$\textit{Wi}$
increases with the polymer relaxation time
$\lambda$
, the Lumley scale also increases with
$\textit{Wi}$
. At relatively low
$\textit{Wi}$
,
$l_L$
remains small, and the elastic effect is mainly restricted to small-scale motions. This modifies the small-scale flow dynamics and reduces the viscous dissipation
$\varepsilon _s$
, accompanied by an increase in the kinetic energy and, consequently, enhanced heat transfer. As
$\textit{Wi}$
is further increased,
$l_L$
progressively extends towards larger flow scales. As
$l_L$
increases, the elastic effect is no longer confined to small-scale motions but also begins to influence the large-scale flow structures. The polymer feedback then begins to interfere with the convective instability that sustains the flow. Consequently, the large-scale convective motion is suppressed, leading to reductions in both the kinetic energy and convective heat transport. As a result, the melting process becomes slower at sufficiently large
$\textit{Wi}$
.
Considering the effect of
$\textit{Wi}$
, solution (4.16) becomes
If we simply assume that
$\bar {h}(t){\, \propto \,} t$
, then the time
$t_{m}$
corresponding to
$\bar {h}=0.8$
satisfies
Figure 15(a) shows the temporal evolution of the liquid-layer thickness
$\overline {h}(t)$
. In contrast to the monotonic trend reported for the
$Ra=10^6$
case, the melting behaviour at
$Ra=10^8$
exhibits a non-monotonic dependence on
$\textit{Wi}$
. The results indicate that
$\overline {h}(t)$
approximately follows the scaling
$\overline {h}{\, \propto \,} t$
, with different values of
$\textit{Wi}$
corresponding to different slopes. At low
$\textit{Wi}$
, elasticity enhances melting and thus increases the slope. However, at high
$\textit{Wi}$
, elasticity suppresses melting, resulting in a reduced slope.
(a) Average fluid depth
$\overline {h}(t)$
as a function of time for
$\textit{Wi}=0.0$
,
$0.1$
,
$0.5$
and
$1.5$
. (b) Bottom heat flux
$Q_w$
as a function of
$\overline {h}$
for
$\textit{Wi}=0.0$
,
$0.1$
and
$1.5$
. Other parameters are
$Ra=10^6$
,
$Pr=10$
and
${ Ste}=1$
.

We consider the heat flux at the bottom boundary
$Q_w$
at
$Ra=10^8$
. We show the evolution with time of this heat flux as a function of the average fluid depth
$\overline {h}$
for
$\textit{Wi}=0.0$
,
$0.1$
and
$1.5$
in figure 15(b). At the initial stage of melting, convection has not yet developed and heat transfer is dominated by conduction. The bottom heat flux can therefore be approximated as
$Q_w {\, \propto \,} -(\theta _m -1) / \overline {h}$
, which directly leads to the scaling
$Q_w {\, \propto \,} 1/\overline {h}$
. This explains the inverse dependence of the bottom heat flux on the liquid-layer thickness observed in figure 15(b). After the onset of convection,
$Q_w$
exhibits a rapid increase, which is associated with the emergence of plume ejection driven by buoyancy. Subsequently, the heat flux shows a decreasing trend with time.This behaviour can be interpreted from an energy perspective (Favier et al. Reference Favier, Purseed and Duchemin2019). First, a scaling relation exists between the Nusselt number and the Rayleigh number,
$Nu {\, \propto \,} Ra^{\zeta }$
. The definition of the Nusselt number is given in (2.19). Since the effective Rayleigh number scales as
$Ra_{\textit{eff}} {\, \propto \,} \overline {h}^{3}$
, it follows that the bottom heat flux obeys the scaling
$Q_w {\, \propto \,} \overline {h}^{\, 3\zeta -1 }$
. In the ultimate regime, where the flow is idealised as being free from boundary-layer effects and dominated solely by bulk dynamics, the scaling takes the value
$\zeta = 1/2$
. Otherwise, when boundary layers are present, the scaling is typically smaller, usually taking values of 1/3, 2/7 or 1/4 (Ahlers et al. Reference Ahlers, Grossmann and Lohse2009). For reference, the dashed line in figure 15(b) represents the scaling
$Q_w {\, \propto \,} \bar {h}^{-1/4}$
, corresponding to
$\zeta =1/4$
. Although all three cases follow the scaling relation
$Q_w {\, \approx \,} k_q \,\bar {h}^{-1/4}$
, the effect of elasticity is primarily reflected in the prefactor
$k_q$
. Previous studies have shown that the dependence of heat transfer on
$\textit{Wi}$
exhibits distinct scaling behaviours in different elasticity regimes (Benzi et al. Reference Benzi, Ching and De Angelis2010). In the low-
$\textit{Wi}$
regime,
${Nu(\textit{Wi})}/{Nu(0)} {\, \propto \,} \textit{Wi}^{3/2}$
, which suggests that the weak-elasticity case is associated with a larger prefactor
$k_q$
, as in the case of
$\textit{Wi}=0.1$
. In contrast, in the high-
$\textit{Wi}$
regime,
${Nu(\textit{Wi})}/{Nu(0)} {\, \propto \,} \textit{Wi}^{-1}$
indicating that excessive elasticity suppresses heat transfer, which is consistent with the smaller
$k_q$
observed for
$\textit{Wi}=1.5$
.
In addition, we also observe a succession of plateaus characterised by an approximately constant heat flux
$Q_w$
in the
$\textit{Wi}=0.0$
(red solid line) and
$\textit{Wi}=0.1$
(green solid line) cases, whereas this feature is absent in the
$\textit{Wi}=1.5$
(blue solid line) case. These plateau regimes are closely related to the topology of the melting interface. As illustrated in the second snapshot from the top in the left-hand panel of figure 10, and consistently observed in the melt-front evolution shown in figure 12(a) for
$50\lt t\lt 100$
, the
$\textit{Wi}=0.0$
and
$\textit{Wi}=0.1$
cases develop a quasi-steady flow state, in which the convection is effectively confined by the interface topography. In this regime, the heat flux remains nearly constant and decreases only when neighbouring convection rolls merge. In contrast, such a topological constraint does not form in the
$\textit{Wi}=1.5$
case, and consequently no plateau behaviour is observed in the evolution of
$Q_w$
.
Figure 16(a) shows the variation of the melting time
$t_m$
with the Weissenberg number. As predicted by (4.20),
$t_m$
follows the scaling
$t_m {\, \propto \,} \textit{Wi}^{-3/2}$
in the low-
$\textit{Wi}$
regime, whereas in the high-
$\textit{Wi}$
regime it obeys
$t_m {\, \propto \,} \textit{Wi}$
. To examine the scaling behaviour more clearly, we used the minimum melting time at
$\textit{Wi}_m=0.4$
as the reference value and considered the deviation of the melting time from this minimum
$\Delta t_m=t_m(\textit{Wi})-t_m(\textit{Wi}_m)$
. The decreasing and increasing branches were analysed separately. For the decreasing branch,
$\Delta t_m$
was plotted against the original
$\textit{Wi}$
on logarithmic axes. The Newtonian case at
$\textit{Wi}=0$
was not included in the log–log plot because the logarithm of
$\textit{Wi}=0$
is undefined.
For the increasing branch, the increase in the melting time occurs relative to the minimum located at
$\textit{Wi}_m$
. We therefore introduced
$\Delta \textit{Wi}=\textit{Wi}-\textit{Wi}_m$
and plotted
$\Delta t_m$
as a function of
$\Delta \textit{Wi}$
on logarithmic axes. In this way, the constant offset associated with the minimum melting time is removed, allowing the variation of the two branches to be examined more clearly. As shown in figure 16(b), for the decreasing branch, the fitted slope is
$-1.32$
, which is close to the theoretically predicted value of
$-3/2$
. For the increasing branch in figure 16(c), the fitted slope is
$0.92$
, which is also close to the theoretically predicted value of
$1$
.
Dimensionless melting time
$t_m(\textit{Wi})/t_m(0)$
as a function of
$\textit{Wi}$
: (a) variation in the original coordinate system; (b) log–log representation of the decreasing branch; (c) log–log representation of the increasing branch.

To further examine the dependence of
$\textit{Wi}_m$
on
$Ste$
, we performed additional simulations at
$Ste=0.2$
and
$Ste=5$
based on the present parameter set, while keeping
$Pr=10$
unchanged. As shown in figure 17(a), The decreasing branches for the three
$Ste$
cases are nearly coincident, indicating that the HTE at relatively low
$\textit{Wi}$
is only weakly affected by
$Ste$
over the present parameter range. In contrast, a clear dependence on
$Ste$
appears in the increasing branch. The curves for
$Ste=0.2$
and
$Ste=1$
remain close to each other, whereas the increase in the melting time becomes considerably more gradual for
$Ste=5$
. This behaviour may be attributed to the different time scales of the melting process. A larger
$Ste$
corresponds to a smaller latent-heat requirement and therefore a more rapidly advancing melting front. Consequently, the liquid-layer thickness
$h(t)$
increases more rapidly. Since the effective Weissenberg number scales approximately as
$\textit{Wi}_{\textit{eff}}\sim {\textit{Wi}}/{h(t)}$
,
$\textit{Wi}_{\textit{eff}}$
decreases more rapidly during the melting process at larger
$Ste$
. Therefore, for the rapidly melting
$Ste=5$
case, the duration over which strong elastic effects can act on the large-scale convective motion is reduced. A larger global
$\textit{Wi}$
is consequently required to produce the same degree of suppression of convective heat transport, resulting in the more gradual increasing branch observed at
$Ste=5$
.
Melting time
$t_m$
as a function of
$\textit{Wi}$
at
$Ra=10^8$
: (a) effect of
$Ste$
for
$Pr=10$
,
$\beta = 0.2$
, with
$Ste=0.2$
,
$1$
and
$5$
; (b) effect of
$Pr$
for
$Ste=1$
,
$\beta = 0.2$
, with
$Pr=1$
,
$10$
and
$50$
; (c) effect of
$\beta$
for
$Pr=10$
and
$Ste=1$
, with
$\beta =0.2$
,
$0.5$
and
$0.8$
.

To examine the dependence of
$\textit{Wi}_m$
on
$Pr$
, we performed additional simulations at
$Pr=1$
and
$Pr=50$
based on the present parameter set, while keeping
$Ste=1$
unchanged. As shown in figure 17(b), the three
$Pr$
cases exhibit distinct dependences of the melting time on
$\textit{Wi}$
. For
$Pr=1$
, the decreasing branch is relatively short and the minimum melting time is reached at a smaller
$\textit{Wi}$
, whereas the increasing branch rises rapidly with a further increase in
$\textit{Wi}$
. In contrast, for
$Pr=50$
, the decreasing branch extends to a larger
$\textit{Wi}$
, while the subsequent increase in the melting time is considerably more gradual. This behaviour can be understood in terms of the characteristic time scale of the convective flow. At fixed
$Ra$
, increasing
$Pr$
generally reduces the characteristic flow velocity
$\delta v(l_L)$
. According to the Lumley-scale argument,
$ {l_L}/{\delta v(l_L)}=\lambda$
, a larger polymer relaxation time is required at higher
$Pr$
for the elastic effect to reach the same range of flow scales. The lower minimum value of the normalised melting time at large
$Pr$
may be associated with the increased importance of viscous effects in the flow. In this regime, the elastic modification of the small-scale viscous dissipation can produce a larger relative enhancement of the convective motion before the elastic effect reaches the large-scale structures, resulting in a greater maximum enhancement of the melting process.
As shown in figure 17(c), the
$t_m$
–
$\textit{Wi}$
curves for different
$\beta$
exhibit essentially the same non-monotonic behaviour, consisting of a decreasing branch followed by an increasing branch. The main effect of increasing
$\beta$
is to reduce the magnitude of the elastic influence.
Figure 18 illustrates the evolution of the specific kinetic energy
$E_k$
and the specific elastic energy
$E_e$
, whose definitions are given in (3.6). From the evolution of
$E_k$
, a non-monotonic dependence on
$\textit{Wi}$
is observed. As
$\textit{Wi}$
increases, elasticity initially enhances the kinetic energy at weak elasticity (
$\textit{Wi}=0.1$
). However, at higher elasticity levels (
$\textit{Wi}=1.0$
and
$\textit{Wi}=1.5$
), elastic effects suppress the flow intensity, leading to a reduction in kinetic energy. This trend is consistent with the influence of
$\textit{Wi}$
on the melting rate (as shown in figure 15
a). Under weak elastic effects, enhanced flow intensity promotes convective heat transfer, thereby accelerating the melting process. In contrast, at high elasticity, the suppression of flow by elastic stresses weakens convective transport, resulting in a slower melting rate.
Evolution of kinetic and elastic energies at different Weissenberg numbers. (a) Kinetic energy for
$\textit{Wi}=0.0$
,
$0.1$
,
$1.0$
and
$1.5$
. (b) Elastic energy for
$\textit{Wi}=0.1$
,
$1.0$
and
$1.5$
.

The inset in figure 18(a) shows the evolution of kinetic energy during the onset of convection. A behaviour similar to that of
$\xi _{rms}$
in figure 13 is observed. At low
$\textit{Wi}$
, the kinetic energy exhibits an initial plateau, whereas this plateau disappears at higher
$\textit{Wi}$
. This behaviour results from the mutual interaction between the flow and the evolving topology. A stable flow structure first establishes a quasi-steady topology, which in turn constrains the flow evolution, leading to a transient quasi-steady state characterised by an energy plateau. At high elasticity, however, elastic stresses prevent the formation of such a stable flow-topology configuration during the early stage. Consequently, the kinetic energy increases from zero without exhibiting a plateau. Figure 18(b) shows the evolution of the elastic energy as a function of the increasing liquid-layer thickness. During the onset of convection, the elastic energy exhibits a rapid growth, reflecting the strengthening of flow-induced polymer stretching. After the flow becomes fully developed, the elastic energy reaches a stable plateau. The saturation of elastic energy at the later stages of melting indicates the establishment of a dynamic balance between elastic stress production induced by the flow and elastic stress relaxation. Although elastic energy saturates at late times for all cases, the saturation level increases with
$\textit{Wi}$
, since a larger
$\textit{Wi}$
allows polymer configurations to remain further away from equilibrium under the balance between flow-induced stretching and elastic relaxation.
Figure 19(a) shows that the buoyancy power input
$E_f$
increases monotonically with the average fluid depth
$\bar {h}$
, and strong fluctuations develop as
$\bar {h}$
becomes larger. At relatively low elasticity, the polymer effect promotes the buoyancy power input, while at high elasticity it suppresses the buoyancy power input. As a result, the kinetic energy exhibits a variation trend consistent with that of the buoyancy power input. Figure 19(b) shows the relative contributions of elastic and viscous dissipation. At small
$\bar {h}$
, the dissipation ratios show clear differences among different
$\textit{Wi}$
cases: a higher
$\textit{Wi}$
corresponds to a larger fraction of viscous dissipation and a smaller fraction of elastic dissipation. As
$\bar {h}$
increases, these curves gradually converge and eventually approach a nearly common partition state, with elastic dissipation accounting for about
$80\,\%$
of the total dissipation and viscous dissipation contributing the remaining
$20\,\%$
. This indicates that, during the early and intermediate stages of melting, different elastic strengths can significantly modify the flow structures and the pathways of energy redistribution, leading to pronounced differences in the dissipation mechanisms among different
$\textit{Wi}$
cases. However, as the liquid layer becomes thicker, convection develops more fully and the system enters a regime of stronger mixing and more complex unsteady motion. As a result, the relative roles of the dissipation channels gradually become stabilised, and the dissipation partition in different
$\textit{Wi}$
cases eventually tends towards a similar distribution.
(a) Evolution of the buoyancy power input for
$\textit{Wi}=0.0$
,
$0.1$
and
$1.5$
. (b) Relative contributions of elastic and viscous dissipation for
$\textit{Wi}=0.1$
,
$0.5$
,
$1.0$
and
$1.5$
. Other parameters are
$Ra=10^8,\ Pr=10, { Ste}=1$
.

5. Conclusions
In this work, the melting behaviour of a viscoelastic phase-change material is systematically investigated in a two-dimensional configuration. We investigate the melting dynamics of viscoelastic materials using DNS based on the enthalpy–porosity method, together with linear stability analysis. The main conclusions are summarised as follows.
At moderate Rayleigh numbers (§ 3), both the DNS results and the linear stability analysis demonstrate that elasticity has significant effects on the development of convection in the fluid layer. The onset of convection occurs earlier in the presence of elasticity, and the critical wavenumber undergoes a jump once
$\textit{Wi}$
exceeds a certain threshold, leading to a larger number of convection cells. Since convective melting is significantly more efficient than purely conductive melting, an earlier onset of convection leads to a substantial enhancement of the melting rate. In addition, the presence of shear-thinning effects leads to an increase in the mean kinetic energy, while the relative contributions of viscous and elastic dissipation in the total dissipation remain generally consistent with the viscosity ratio.
At high Rayleigh numbers (§ 4), viscoelasticity exerts a more pronounced influence on the flow dynamics. In the absence of elasticity, the melting process exhibits a clear stage-wise evolution: it begins with a purely conductive regime, followed by the onset of convection and the development of a laminar flow regime. As melting proceeds, the effective Rayleigh number increases continuously, and the flow subsequently undergoes a transition towards turbulence. In contrast, when elasticity is present, the duration of the laminar regime is markedly shortened, indicating that elasticity lowers the critical effective Rayleigh number for the laminar–turbulent transition. Through Fourier decomposition, we provide evidence for the occurrence of elasticity-induced oscillatory convection and show that this oscillatory behaviour is associated with the earlier transition of the flow from the laminar regime to turbulence. The transition of flow structures significantly affects the morphology of the melting interface. Elasticity suppresses the formation of large-scale convection rolls, leading to a less corrugated interface with reduced undulation amplitude. Quantitatively, the interface roughness amplitude is found to scale as
$Ra_\textrm{e}^{1/3}$
. In addition, we establish scaling relations between the melting time
$t_{m}$
and the Weissenberg number
$\textit{Wi}$
. At low
$\textit{Wi}$
, elasticity shortens the melting time, following the scaling law
$t_{m} {\, \propto \,} \textit{Wi}^{-3/2}$
. At high
$\textit{Wi}$
, however, the melting time increases with elasticity, with
$t_{m} {\, \propto \,} \textit{Wi}$
. Finally, we present the evolutions of the kinetic and elastic energies during the melting process, together with the fractions of viscous and elastic dissipation in the total dissipation. A non-monotonic effect of viscoelasticity on the flow kinetic energy is observed: it is enhanced at low
$\textit{Wi}$
, where elasticity promotes flow development, but suppressed at high
$\textit{Wi}$
, where excessive elastic effects hinder fluid motion. Moreover, the dissipation fractions remain comparable to the viscosity ratio.
Our study provides a framework for understanding melting in viscoelastic materials, including convection onset, flow transition, interfacial evolution and the estimation of melting time. However, numerous aspects of this system remain to be explored. In particular, whether the non-monotonic dependence of the melting time on
$\textit{Wi}$
persists in three-dimensional flows requires further verification. Although a similar non-monotonic variation of
$Nu$
with
$\textit{Wi}$
has been reported in some three-dimensional DNS, the value of
$\textit{Wi}_m$
, the magnitude of the melting-time variation and the detailed relationship between
$t_m$
and
$\textit{Wi}$
may differ from those obtained in the present two-dimensional simulations. The characteristic horizontal scales of the convection structures may also change in three dimensions because vortex stretching, energy transfer towards smaller scales and spanwise variations are absent in two-dimensional flows. These dimensional effects may further modify the spatial distribution of polymer stretching and the detailed morphology of the melting interface. Fully three-dimensional simulations are therefore required to determine the applicability of the present results and to quantify the effects of dimensionality on the flow structures, interface morphology and melting dynamics.
Funding
This work is supported by the National Natural Science Foundation of China (grant nos. 52076055 and 52276057) and the Postdoctoral Science Foundation of Heilongjiang Province (grant no. LBH-TZ2209).
Declaration of interests
The authors report no conflict of interest.
Appendix A. Perturbation equations and code validation
Here, we provide the complete linear perturbation equations as follows:
\begin{equation} \begin{aligned} \left ( \frac {\partial ^2}{\partial y^2} - k^2 \right ) \frac {\partial \tilde {v}}{\partial t} &= \left [ -i k_x \overline {U}\left ( \frac {\partial ^2}{\partial y^2} - k^2 \right ) + i k_x \overline {U}'' +\frac {\beta }{\sqrt {Ra/Pr}} \left ( \frac {\partial ^2}{\partial y^2} - k^2 \right )^2 \right ]\tilde {v} \\ &\quad + \left ( {\nabla} ^2 - \frac {\partial ^2}{\partial y^2} \right )\tilde {\theta } \\ &\quad +\frac {1-\beta }{\textit{Wi} \sqrt {Ra/Pr}} \left ( \begin{aligned} k_x^2 \frac {\partial \tilde {c}_{xx}}{\partial y} -k^2 \frac {\partial \tilde {c}_{yy}}{\partial y} -i k_x \left ( \frac {\partial ^2}{\partial y^2} + k^2 \right )\tilde {c}_{xy} \end{aligned} \right ), \end{aligned} \end{equation}
\begin{equation} \begin{aligned} \frac {\partial \tilde {c}_{xy}}{\partial t} &= \frac {1}{k^2} \left ( k^2\left ( i k_x \overline {C}_{xx} +\overline {C}_{xy}\frac {\partial }{\partial y} \right ) -k^2 \overline {C}_{xy}' +i k_x \overline {C}_{yy}\frac {\partial ^2}{\partial y^2} -k_x^2 \overline {C}_{xy}\frac {\partial }{\partial y} \right )\tilde {v} \\ &\quad +\overline {U}'\,\tilde {c}_{yy} -\left ( i k_x \overline {U}+\frac {1}{\textit{Wi}} \right ) \tilde {c}_{xy}, \end{aligned} \end{equation}
where
$k = \sqrt {k_x^2 + k_y^2}$
. The boundary conditions:
The perturbation boundary conditions of the conformation tensor
$\tilde {c}$
are not required since there are no terms involving derivatives of these stresses with respect to
$y$
(Zhang et al. Reference Zhang, Lashgari, Zaki and Brandt2013). In order to solve the eigenvalue problem (2.27), the spectral collocation method based on Chebyshev modes is used and its related differential and integral matrices can be found in Trefethen (Reference Trefethen2000).
To validate our stability code, we computed the linear onset threshold of Rayleigh–Bénard flow in viscoelastic fluids. Table 2 presents a comparison of the critical Rayleigh number
$Ra_c$
and critical wavenumber
$k_{xc}$
obtained in the present study with those reported in the literature. It can be seen that our results are in good agreement with those of Hirata et al. (Reference Hirata, de Alves, Delenda and Ouarzazi2015).
Comparison of the critical Rayleigh number
$Ra_c$
and critical wavenumber
$k_{xc}$
between the present results and the reference data under different elasticity number. The errors are calculated relative to the reference values.

Table 2. Long description
A table comparing critical Rayleigh number and critical wavenumber between present results and reference data under different elasticity numbers. The table has four rows and five columns. Column headers are Ra_c, Present k_xc, Ra_c, Hirata et al. (2015) k_xc, and Error (percent). Row labels are E = 4 and E = 12. Row 1: 1707.762, 3.116, 1739.58, 3.08898, 1.83, 0.87. Row 2: 1574.768, 3.32, 1582.42, 3.29294, 0.48, 0.82.
Appendix B. Code validation for direct numerical simulation
The validation of the DNS consists of two parts. In the first part, we validate the accuracy of the enthalpy–porosity method for simulating phase-change processes. We begin by simulating the Stefan problem in a semi-infinite space. This one-dimensional problem depends exclusively on the coordinate
$x$
and admits an analytical solution (Hahn & Özisik Reference Hahn and Özisik2012). Since convection is neglected, the thermal diffusion time is adopted as the characteristic time scale:
The spatial coordinates and temperature are non-dimensionalised in the same manner as those defined in (2.8). Accordingly, the dimensionless energy equation can be written as
where repeated indices imply summation over the spatial coordinates. The corresponding boundary conditions are given by
Periodic boundary conditions are imposed in the vertical direction. Figure 20(a) illustrates the evolution of the melting-front position over time for different
$ Ste$
values. Figure 20(b) displays a typical temperature profile at selected time instances (
$t = 1, 2, 3$
), demonstrating excellent agreement between the numerical results and the theoretical predictions.
Comparison between the analytical solutions and the numerical results: (a) position of the melting front and (b) temperature distribution along the
$x$
coordinate (
$St=10$
).

We next validate the numerical results for convection melting by considering two benchmark cases with
$Ra=2.5\times 10^4$
and
$Ra=2.5\times 10^5$
, under
$Ste=50$
and
$Pr=100$
. Figure 21(a) presents the comparison of the time evolution of the average liquid fraction, while figure 21(b) shows the corresponding evolution of the Nusselt number at the heated wall. The present results agree well with the reference data in the literature, indicating that the present code can accurately predict solid–liquid phase-change processes.
Comparison of the present convection-melting results with the reference results of Mencinger (Reference Mencinger2004): (a) comparison of melting rate and (b) comparison of the time evolution of the Nusselt number along the heated wall, for
$Ra=2.5\times 10^4$
and
$2.5\times 10^5$
, with
${ Ste}=50$
and
$Pr=100$
.

In the second part, we validate the accuracy of the present code for simulating turbulent viscoelastic thermal convection. For this purpose, we compare our results with the reference data reported by Benzi et al. (Reference Benzi, Ching and De Angelis2016). Viscoelastic thermal convection between two parallel plates is simulated for different values of
$\textit{Wi}$
, and the Nusselt number
$Nu$
as well as the viscous dissipation rate
$\varepsilon _u$
are compared. The results are presented in figure 22. Good agreement is obtained between the present results and the reference data, confirming the accuracy of the present code in predicting viscoelastic thermal convection.
Comparison of the present viscoelastic convection results with the reference results of Benzi et al. (Reference Benzi, Ching and De Angelis2016) for the Nusselt number,
$Nu(\textit{Wi})/Nu(0)$
, and the viscous dissipation rate,
$\varepsilon _u/\varepsilon _{u0}$
.

Furthermore, a grid-independence assessment was performed to verify that the numerical results were insensitive to the mesh resolution. The grid-independence assessment was performed for two Newtonian cases with
$\textit{Wi}=0$
,
$Pr=10$
and
$Ste=1$
, at
$Ra=10^6$
and
$Ra=10^8$
, respectively. The Newtonian cases were selected because the characteristic flow scales in viscoelastic flows are generally comparable to, or larger than, those in the corresponding Newtonian flows (Benzi et al. Reference Benzi, Ching and De Angelis2010; Cheng et al. Reference Cheng, Zhang, Cai, Li and Li2017). A mesh that adequately resolves the Newtonian cases is therefore also expected to provide sufficient resolution for the corresponding viscoelastic cases. As shown in figure 23, the grid-independence assessment includes the temporal evolution of the liquid fraction and the shape of the solid–liquid interface. The relative
$L_2$
error between the results obtained using the reference and refined grids is defined as
\begin{equation} L_2 = \frac { \left \| \phi _{\textit{refined}} - \phi _{\textit{reference}} \right \| }{ \left \| \phi _{\textit{reference}} \right \| }, \qquad \|\phi \| = \left ( \int _{\varOmega } |\phi |^2 \,\mathrm{d}\varOmega \right )^{1/2}, \end{equation}
where
$\phi$
denotes either the liquid fraction or the solid–liquid interface position. This confirms that the numerical results are insensitive to further grid refinement and that the grid adopted in the present simulations provides sufficient spatial resolution.
Grid-independence assessment for the cases at
$Ra=10^6$
and
$Ra=10^8$
by comparing the present mesh with a refined mesh containing twice the number of grid points: (a) evolution of the liquid volume fraction; (b) solid–liquid interface profiles at
$t=100$
,
$200$
and
$300$
for
$Ra=10^6$
; and (c) solid–liquid interface profiles at
$t=200$
,
$400$
,
$600$
and
$800$
for
$Ra=10^8$
. The other parameters are
$\textit{Wi} = 0$
,
$Pr = 10$
,
$Ste = 1$
.













Rac
kxc
Wi
Pr=10
ky=0
β=0.2, 0.5, 0.8
Θii
Wi=1.0
Ra=106
Θii
γ=1/2
t=50, 150, 336, 357
Wi=0
Wi=1
Ra=106, Pr=10, Ste=1
Ra=106
Wi=1.0
t=150
β=0.8
β=0.2
Wi=0.0, 0.01, 0.05, 0.5, 1.5
tm(Wi)/tm(0)
Wi
tm
80%
h¯
Ra=106
Pr=10
Ste=1
Wi=0.0
0.01
0.05
0.5
1.5
Wi=0.0, 0.01, 0.5, 1.5
Wi=0.01, 0.5, 1.5
Wi=0.0
0.2
1.2
Wi=0.2
0.5
1.0
1.5
Ra=106, Pr=10,Ste=1
Ra=108
Wi=0.0
Wi=1.5
t=25, 100, 254, 518
γ=1/2
Wi=0.0
Rae=2.7×106
Wi=1.5
Rae=2.7×106
Wi=0.0
Rae=2.16×107
Wi=1.5
Rae=2.16×107
Wi=0
Wi=1.5
Ra=108, Pr=10, Ste=1
ξ~(x,t)=ξ(x,t)Ra1/3
Rae
Wi=0.0, 0.1, 0.5, 1.0, 1.5
Pr=10, Ste=1, Ra=108
x
y=0.02
Wi=0.0
0.1
1.5
Wi=0.0
0.1
1.5
h¯(t)
Wi=0.0
0.1
0.5
1.5
Qw
h¯
Wi=0.0
0.1
1.5
Ra=106
Pr=10
Ste=1
tm(Wi)/tm(0)
Wi
tm
Wi
Ra=108
Ste
Pr=10
β=0.2
Ste=0.2
1
5
Pr
Ste=1
β=0.2
Pr=1
10
50
β
Pr=10
Ste=1
β=0.2
0.5
0.8
Wi=0.0
0.1
1.0
1.5
Wi=0.1
1.0
1.5
Wi=0.0
0.1
1.5
Wi=0.1
0.5
1.0
1.5
Ra=108, Pr=10,Ste=1
Rac
kxc
x
St=10
Ra=2.5×104
2.5×105
Ste=50
Pr=100
Nu(Wi)/Nu(0)
εu/εu0
Ra=106
Ra=108
t=100
200
300
Ra=106
t=200
400
600
800
Ra=108
Wi=0
Pr=10
Ste=1