<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Efficient Variable Time-stepping Adaptive DLN Algorithms for the Allen-Cahn Equation</title></titleStmt>
			<publicationStmt>
				<publisher>Springer</publisher>
				<date>08/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10633215</idno>
					<idno type="doi">10.1007/s10915-025-02980-4</idno>
					<title level='j'>Journal of Scientific Computing</title>
<idno>0885-7474</idno>
<biblScope unit="volume">104</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Yiming Chen</author><author>Dianlun Luo</author><author>Wenlong Pei</author><author>Yulong Xing</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<title>Abstract</title> <p>We consider a family of variable time-stepping Dahlquist-Liniger-Nevanlinna (DLN) schemes, which is unconditionally non-linear stable and second order accurate, for the Allen-Cahn equation. The finite element methods are used for the spatial discretization. For the non-linear term, we combine the DLN scheme with two efficient temporal algorithms: partially implicit modified algorithm and scalar auxiliary variable algorithm. For both approaches, we prove the unconditional, long-term stability of the model energy under any arbitrary time step sequence. Moreover, we provide rigorous error analysis for the partially implicit modified algorithm with variable time-stepping. Efficient time-adaptive algorithms based on these schemes are also proposed. Several one- and two-dimensional numerical tests are presented to verify the properties of the proposed time-adaptive DLN methods.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The Allen-Cahn equation was first introduced by Allen and Cahn in <ref type="bibr">[2]</ref> to describe the motion of anti-phase boundaries in crystalline solids. Given the domain &#937; &#8834; R d (d = 1, 2, 3), u(x, t) models the difference between the concentrations of two mixtures' components at time t, and is governed by</p><p>where is the interfacial parameter. The Helmholtz free-energy density F(u) and its derivative takes the form</p><p>The model energy of the Allen-Cahn equation ( <ref type="formula">1</ref>) is</p><p>which satisfies the following energy dissipation law:</p><p>Phase field models, including the Allen-Cahn equation, have been widely applied to complex moving interface problems in materials science and fluid dynamics. Over the past forty years, numerical simulations of phase field models have been extensively studied, leading to a wide array of spatial discretization techniques including finite element methods, alongside other approaches such as finite difference, finite volume, and Fourier-spectral methods. Various splitting techniques and stabilizers, coupled with classical time integrators, have been proposed to handle the potential functions in phase field models, resulting in numerous efficient and stable algorithms, as summarized in the recent survey paper <ref type="bibr">[12]</ref>.</p><p>Convex splitting technique is widely employed to ensure the discrete energy dissipation law <ref type="bibr">[15,</ref><ref type="bibr">18,</ref><ref type="bibr">38,</ref><ref type="bibr">43,</ref><ref type="bibr">47]</ref>. The main idea is to split the potential function into the convex and concave parts, treated implicitly and explicitly, respectively. Linearly-implicit stabilizers are another popular way for gradient flows, leading to linear solvers at each time step and ensuring unconditional energy stability <ref type="bibr">[31,</ref><ref type="bibr">45,</ref><ref type="bibr">49,</ref><ref type="bibr">50]</ref>. Exponential integrators, transferring phase field equations into equivalent integral formulations, also achieve energy stability <ref type="bibr">[3,</ref><ref type="bibr">14,</ref><ref type="bibr">25]</ref>. Additionally, Lagrange multiplier approach is an alternative way to construct stable numerical schemes <ref type="bibr">[19]</ref>, and two new classes of time-stepping schemes, invariant energy quadratization (IEQ) <ref type="bibr">[34,</ref><ref type="bibr">51,</ref><ref type="bibr">52]</ref> and scalar auxiliary variable (SAV) schemes <ref type="bibr">[1,</ref><ref type="bibr">4]</ref>, have been recently proposed. The variable step backward differentiation formulation (BDF2) method has been thoroughly investigated to show energy stability for the Allen-Cahn equation, under the ratio of successive time steps satisfying &#964; &lt; (3 + &#8730; 17)/2 <ref type="bibr">[33]</ref>. Fully discrete interior penalty discontinuous Galerkin methods for phase field models were developed in <ref type="bibr">[16,</ref><ref type="bibr">17]</ref> to derive error estimates dependent on the polynomial order of the reciprocal model parameter (1/ ) rather than the exponential order. Reduced-order finite element methods, based on the proper orthogonal decomposition method, can improve efficiency by reducing the dimension of the solution space while preserving the discrete energy dissipation law <ref type="bibr">[32]</ref>. Explicit hybrid finite difference and operator splitting methods have demonstrated the ability to obtain pointwise boundedness of the numerical solutions <ref type="bibr">[24]</ref>.</p><p>In this paper, we consider a family of two-step time-stepping schemes proposed by Dahlquist, Liniger and Nevanlinna (hence the DLN method) which is unconditionally Gstable (non-linear stable) and second order accurate under non-uniform time grids <ref type="bibr">[8]</ref><ref type="bibr">[9]</ref><ref type="bibr">[10]</ref><ref type="bibr">[11]</ref>. To the best of our knowledge, the DLN method is one of the few multi-step schemes possessing these two properties and thus provides a great potential in the simulations of differential equations. Recently the DLN method has been applied to various fluid models and its fine properties have been confirmed by some benchmark test problems <ref type="bibr">[27,</ref><ref type="bibr">[35]</ref><ref type="bibr">[36]</ref><ref type="bibr">[37]</ref><ref type="bibr">44]</ref>. Moreover, the DLN implementation can be simplified by adding a few lines of code to the commonlyused backward Euler scheme <ref type="bibr">[28]</ref>. To utilize the unconditional G-stability to a large extent, some adaptive DLN algorithms have been proposed to balance the time accuracy and computational costs <ref type="bibr">[29]</ref>.</p><p>Given the initial value problem:</p><p>with y: [0, T ] &#8594; R d , g: [0, T ]&#215;R d &#8594; R d and y 0 &#8712; R d , the two-step, variable time-stepping DLN method, with parameter &#952; &#8712; [0, 1] and starting points y 0 , y 1 , takes the form Here we denote</p><p>as the time grid on the interval [0, T ], with k n = t n+1t n as the time step, k n = &#945; 2 k n -&#945; 0 k n-1 as the average time step, and y n as the discrete DLN solution approximating y(t n ). The coefficients in (DLN) take the form</p><p>The step variability &#949; n = (k nk n-1 )/(k n + k n-1 ) represents the variation between two consecutive step sizes. On uniform time grids, step variability &#949; n reduces to 0, and the coefficients [&#946;</p><p>. Various efficient ways to address the non-linear term of the Allen-Cahn model <ref type="bibr">(1)</ref> in pursuit of unconditional energy stability have been designed. In the paper, we consider the implicit modified Crank-Nicolson method first, followed by the SAV method, which have been widely studied in the last decade. The implicit modified Crank-Nicolson scheme has been shown to provide unconditional energy stability in the Allen-Cahn model <ref type="bibr">[7,</ref><ref type="bibr">13,</ref><ref type="bibr">42,</ref><ref type="bibr">48]</ref>. The SAV scheme for gradient flows <ref type="bibr">[39]</ref><ref type="bibr">[40]</ref><ref type="bibr">[41]</ref> achieves unconditional stability of the model energy by introducing an auxiliary scalar function, which eliminates the need to solve non-linear algebraic equations. In this context, we investigate the partially implicit modified DLN algorithm and the DLN-SAV algorithm, combined with the finite element spatial discretization, for robust simulations of the Allen-Cahn model <ref type="bibr">(1)</ref>. The main contributions of this work are to:</p><p>&#8226; Construct the variable step modified DLN and DLN-SAV finite element algorithms based on the DLN refactorization process (simplifying the DLN implementation by adding filters on the backward Euler scheme); &#8226; Provide unconditional stability of model energy under arbitrary time grids for both modified DLN and DLN-SAV schemes; &#8226; Present a rigorous proof that the fully discrete modified DLN algorithm is 1st order accurate in time under arbitrary time steps and 2nd order accurate in time under uniform time grids;</p><p>&#8226; Carry out a rigorous error estimate of the fully discrete DLN-SAV algorithm via a novel way to analyze the nonlinear term; &#8226; Design time adaptive algorithms for both modified DLN and DLN-SAV schemes by the local truncation error (LTE) criterion: utilizing certain explicit time-stepping methods to estimate the LTE and adjusting time step size based on the estimator.</p><p>The rest of the paper is organized as follows. We provide necessary preliminaries and notations in Section 2. In Section 3, we study the partially implicit modified DLN scheme. We prove that the discrete model energy is unconditionally stable under variable time steps. Error estimate of the resulting fully discrete method is also provided. In Section 4, we propose the variable time-stepping DLN-SAV scheme. We prove that the corresponding model energy satisfies the discrete energy dissipation law. Moreover, we discuss how the DLN-SAV algorithm can be implemented by a simplified refactorization process: adding a few lines of code on the backward Euler-SAV (BE-SAV) scheme. Optimal error estimate of the proposed DLN-SAV algorithm in the H 1 norm is also carried out. In Section 5, the corresponding time adaptive algorithms (based on LTE criterion) are presented to improve computational efficiency. We estimate the LTE by the numerical solutions of the explicit AB2-like method (a revised two-step Adams-Bashforth method) with little or almost no extra computational costs. Several one-and two-dimensional numerical tests are presented in Section 6 to confirm the main conclusions of the paper. Conclusion remarks are provided in Section 7. Proofs of some lemmas in Section 2 are given in the appendices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries and Notations</head><p>We start by introducing some necessary notations. Let H r (&#937;) be the usual standard Sobolev space W r ,2 (&#937;) with the norm &#8226; r . When r = 0, this reduces to the inner product space L 2 (&#937;) with the L 2 norm &#8226; and the standard L 2 inner product (&#8226;, &#8226;). W r ,&#8734; (&#937;) is the function spaces containing all functions with essentially bounded weak derivatives up to order r . When r = 0, the space is reduced to L &#8734; (&#937;) space with norm &#8226; &#8734; . For spatial discretization, we denote X h s &#8834; H 1 (&#937;) as a standard finite element space on &#937; with the highest polynomial degree s and a mesh diameter h &gt; 0. Throughout the paper, C denotes a generic positive constant independent of h and time step size k n . For any given function u(x, t) on time grids {t n } N n=0 , u n = u n (x) represents the function u(&#8226;, t n ) at time t n . For an arbitrary sequence {z n } &#8734; n=0 , we define</p><p>with &#945; &#8467; and &#946; (n) &#8467; defined in (4). The following lemmas on stability and consistency of the DLN method (DLN) would play a key role in the numerical analysis.</p><p>and the coefficients &#947; (n) &#8467; are given by</p><p>The derivation of ( <ref type="formula">7</ref>) follows from algebraic calculation. We refer to <ref type="bibr">[11,</ref><ref type="bibr">27]</ref> for details, and omit the derivation here to save space. Following this, the variable time-stepping DLN method in (DLN) is unconditionally G-stable. (We refer to <ref type="bibr">[8,</ref><ref type="bibr">9]</ref> for the definition of Gstability for multi-step, time-stepping methods.) Lemma 2 Let u(&#8226;, t) be the mapping from [0, T ] to L 2 (&#937;), and u n be the function u(&#8226;, t n ) in L 2 (&#937;). Assuming the mapping u(&#8226;, t) is second-order differentiable in time, then for any &#952; &#8712; [0, 1), we have</p><p>When &#952; = 1, the DLN method reduces to the midpoint rule, and we have</p><p>Under uniform time grids with constant time step k, <ref type="bibr">(11)</ref> becomes</p><p>Lemma 3 Let u(&#8226;, t) be the mapping from [0, T ] to H r (&#937;), and u n be the function u(&#8226;, t n ) in H r (&#937;). Assuming the mapping u(&#8226;, t) is third-order differentiable in time, then for any &#952; &#8712; [0, 1), we have</p><p>When &#952; = 1, the DLN method reduces to the midpoint rule, and we have</p><p>The proof of these two Lemmas can be found in Appendix A and B.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="123">3 The Modified DLN Algorithm</head><p>Let u h n &#8712; X h s be the numerical approximation of u(x, t) in (1) at time t n . The modified DLN finite element algorithm for the Allen-Cahn equation ( <ref type="formula">1</ref>) is formulated as the following: given</p><p>holds for all v h &#8712; X h s , where u h n,&#945; , u h n,&#946; and u h n,&#952; are defined in <ref type="bibr">(5)</ref> and</p><p>Remark 1 The function f (u) is approximated by f numerically, which has the following properties.</p><p>Note that the solution u(x, t) of the Allen-Cahn model (1) satisfies the maximum principle: if the initial value and boundary conditions are bounded by some constant &#915; , then the solution at a later time is also bounded by &#915; , i.e.,</p><p>Following the maximum principle, there exists</p><p>) is a first order approximation to f (u(t n,&#946; )) in time under variable time steps and a second order approximation in time under constant time steps. This can be observed from <ref type="bibr">(11)</ref>, <ref type="bibr">(14)</ref> and</p><p>which follows from Taylor's expansion, where &#958; n is between u n and u n,&#946; . For &#952; = 1, f (u n+1,&#952; , u n,&#952; ) is always a second order approximation to f (u(t n,&#946; )) in time, which is implied by <ref type="bibr">(13)</ref> and <ref type="bibr">(20)</ref>.</p><p>where</p><p>The DLN-CSS scheme is obtained by replacing f (u h n+1,&#952; , u h n,&#952; ) in <ref type="bibr">(19)</ref> with f in <ref type="bibr">(21)</ref>. We test the DLN-CSS scheme on the 1D traveling wave example in Section 6.1. The numerical results are similar to those of the modified DLN scheme, and are omitted to save space.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Unconditional Stability in Model Energy</head><p>We define the corresponding discrete model energy for the modified DLN algorithm <ref type="bibr">(19)</ref> at time t n as</p><p>The following theorem presents the discrete energy dissipation law satisfied by the numerical solution.</p><p>Theorem 1 The model energy of the variable time-stepping modified DLN algorithm <ref type="bibr">(19)</ref> satisfies the discrete energy dissipation law:</p><p>thus the modified DLN algorithm <ref type="bibr">(19)</ref> is unconditionally stable in model energy.</p><p>following the G-stability identity <ref type="bibr">(7)</ref>. Then we use the fact</p><p>which implies (23).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Error Analysis</head><p>This subsection is devoted to the error estimate of the fully discrete modified DLN algorithm <ref type="bibr">(19)</ref>.</p><p>We remind that {&#946;</p><p>&#8467;=0 are uniformly bounded for any fixed &#952; &#8712; [0, 1], i.e. |&#946; (n) &#8467; | &lt; C &#946; (&#952; ) for all &#8467;, n, and define the following discrete Bochner function space for error analysis &#8467; 2 &#952; (0, N ; H r (&#937;))</p><p>Theorem 2 Let u h n &#8712; X h s denote numerical solutions of the modified DLN algorithm in <ref type="bibr">(19)</ref> and u n denote exact solutions of the Allen-Cahn equation in <ref type="bibr">(1)</ref> at time t n . We assume</p><p>there exists L &gt; 0 such that f (u) &#8734; &lt; L for all t &#8712; [0, T ], and time step sizes and time step ratios satisfy</p><p>for some C &#8467; , C u &gt; 0. Moreover we assume that the initial two solutions u h 0 and u h 1 satisfy</p><p>Then we have: for &#952; &#8712; [0, 1)</p><p>Under uniform time grids with constant time step k, <ref type="bibr">(28)</ref> becomes</p><p>Proof We start by defining the following Ritz projection operator &#928;:</p><p>The following approximation theorem <ref type="bibr">[6,</ref><ref type="bibr">46]</ref> holds for the Ritz projection: for any v &#8712; H r (&#937;) and its Ritz projection &#928;(v) &#8712; X h s , we have</p><p>We define the error of u at time t n to be</p><p>The exact solution u at t n,&#946; satisfies</p><p>Subtracting ( <ref type="formula">19</ref>) from (33) yields</p><p>The definition of &#928; leads to &#8711;&#951; n,&#946; , &#8711;v h = 0, and (34) can be rewritten as</p><p>We set v h = &#966; h n,&#946; in <ref type="bibr">(35)</ref> and use the G-stability identity in <ref type="bibr">(7)</ref> to obtain</p><p>Next, we provide a bound for each term on the right-hand side of <ref type="bibr">(36)</ref>. Utilizing ( <ref type="formula">16</ref>), Young's inequality and the fact |&#946;</p><p>where &#948; &gt; 0 will be decided later and C(&#952;, &#948;, L) is a constant only depending on &#952;, &#948;, L. By Cauchy-Schwarz inequality, Young's inequality and the projection error (32)</p><p>By HR older's inequality, we have</p><p>therefore, <ref type="bibr">(38)</ref> becomes</p><p>By Cauchy-Schwarz inequality and ( <ref type="formula">15</ref>)</p><p>For the non-linear term, utilizing Cauchy Schwarz inequality, triangle inequality and Young's inequality leads to</p><p>Considering the first term on the right-hand side, we have</p><p>By the assumption f (u) &#8734; &lt; L, f (&#8226;, &#8226;) are Lipschitz-continuous for both components <ref type="bibr">[42]</ref>. Thus</p><p>where the last inequality follows from HR older's inequality as in <ref type="bibr">(39)</ref>. Similarly, we have</p><p>We use ( <ref type="formula">10</ref>)-( <ref type="formula">11</ref>) in Lemma 2 and ( <ref type="formula">20</ref>) to obtain</p><p>Combining ( <ref type="formula">42</ref>) -( <ref type="formula">46</ref>), we have</p><p>Now, we are ready to derive the error estimate. We combine (36), ( <ref type="formula">37</ref>), ( <ref type="formula">40</ref>), ( <ref type="formula">41</ref>) and ( <ref type="formula">47</ref>), multiply both sides by k n and use the time ratio condition in <ref type="bibr">(27)</ref> to obtain</p><p>We sum <ref type="bibr">(48)</ref> over</p><p>2 and use the time ratio condition in ( <ref type="formula">27</ref>) to obtain</p><p>To estimate &#966; h N 2 , we need</p><p>to relax the upper bound for k max and obtain the time step restriction in <ref type="bibr">(26)</ref>. By the discrete GrR onwall inequality <ref type="bibr">[23]</ref> and the fact that the maximum time step k max &lt; 1, we have</p><p>which leads to</p><p>By <ref type="bibr">(51)</ref>, triangle inequality and (32), we have <ref type="bibr">(28)</ref>. Lastly, we comment on the case of uniform time grids with constant time step k. Under such case, utilizing <ref type="bibr">(10)</ref> and ( <ref type="formula">14</ref>) in Lemma 2, Eq. ( <ref type="formula">46</ref>) becomes</p><p>Following similar arguments, we have <ref type="bibr">(30)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Remark 4</head><p>We have proven that the modified DLN algorithm is first-order accurate in time under arbitrary time step sequences. However, all numerical tests in Section 6 demonstrate that numerical solutions on both uniform and non-uniform time grids converge at secondorder in time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">The DLN-SAV algorithm</head><p>In this section, we consider the energy-stable SAV approach, and present the DLN-SAV algorithm. For the Allen-Cahn model ( <ref type="formula">1</ref>), we introduce the scalar auxiliary variable of the form</p><p>where &#955; &gt; 0 is a small positive number and C 0 &gt; 0 is picked to ensure r (t) &gt; C r &gt; 0 for some constant C r . Then the Allen-Cahn model in (1) can be equivalently written as</p><p>where g(u) = f (u) -&#955;u.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">The algorithm</head><p>Let u h n , r h n be fully-discrete numerical solutions of u(x, t n ), r (t n ) respectively. The fullydiscrete weak formulation for the DLN-SAV algorithm with the finite element spatial discretization is: given</p><p>123</p><p>where u h n, * defined in ( <ref type="formula">6</ref>) is the explicit second-order approximation to u(t n,&#946; ) in time. The variable time-stepping DLN scheme can be simplified by the refactorization process: adding a few lines of codes to the backward Euler (BE) scheme to obtain the DLN solutions (see <ref type="bibr">[28]</ref> for details). The DLN-SAV algorithm can be equivalently rewritten as the following process:</p><p>Step 1. Pre-process</p><p>, where the coefficients for the pre-process are</p><p>Step 2. BE solver to solve u h,temp n+1 &#8712; X h s and r h,temp n+1 such that for all</p><p>Step 3. Post-process</p><p>, where the coefficients for the post-process are</p><p>In practice, the scalar auxiliary variable r need not be refactorized in Step 3, since its effect on accuracy can be negligible <ref type="bibr">[53]</ref>. The above refactorization process can be applied to the modified DLN algorithm in <ref type="bibr">(19)</ref> as well. However, the refactorization process of the modified DLN algorithm does not simplify the implementation much since the partially implicit, nonlinear term needs to be refactorized as well, and was omitted in Section 3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Lemma 4 The DLN-SAV algorithm in (53) admits a unique solution.</head><p>Proof Since the DLN-SAV algorithm in ( <ref type="formula">53</ref>) is equivalent to the above refactorization process, it suffices to show that the BE solver in (54) has a unique solution. We denote</p><p>and eliminate r h,temp n+1 in (54) to obtain</p><p>Let {&#968; &#8467; } N d &#8467;=1 be the basis for X h s . We have u h,temp n+1</p><p>and vectors</p><p>Then the algebraic structure for ( <ref type="formula">55</ref>) is</p><p>Since the mass matrix M &gt; 0, the stiffness matrix K &#8805; 0 and B (n) (B (n) ) T &#8805; 0, the linear system in (56) has a unique solution. In addition, r h,temp n+1 is uniquely obtained from the second equation of (54).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Numerical implementation</head><p>The left matrix in (56) is far away from a sparse matrix. To efficiently implement the DLN-SAV scheme, we solve (55) in the following simpler way. We denote A = I -2 k BE n &#916; &gt; 0 and apply integration by parts to (55) to rewrite it as</p><p>To solve u h,temp n+1 in (57) efficiently, we first solve for</p><p>s to be the unique finite element solution to the following second-order system</p><p>Thus A -1 G &#8712; X h s satisfies the following weak form</p><p>We use the definition (58) and integration by parts to obtain</p><p>We use (59) and set v h = A -1 &#981; h n in (57) to solve</p><p>To obtain u h,temp n+1 from (57), it suffices to solve</p><p>or equivalently,</p><p>We summarize the simplified implementation in the following steps.</p><p>(i) Solving for <ref type="formula">60</ref>). (iv) Computing u h,temp n+1 from (61) and r h,temp n+1 from the second equation of (54). ) obtained by the above process is the unique solution to the algorithm in (54), and the details are omitted here.</p><p>Remark 6 Solving two second-order equations in (62) and ( <ref type="formula">63</ref>) is much more efficient than solving (56) directly since the left matrix of the two linear systems in (62) and (63) becomes a sparse matrix M + 2 k BE n K .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Unconditional Stability in Model Energy</head><p>We define the discrete model energy for the DLN-SAV algorithm (53) at time t n as</p><p>and have the following theorem on its unconditional stability with respect to E SAV n .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem 3 The model energy of the variable time-stepping DLN-SAV algorithm (53) satisfies:</head><p>thus the DLN-SAV algorithm is unconditionally stable with respect to this model energy.</p><p>Proof We set v h = u h n,&#945; in the first equation of the DLN-SAV algorithm (53)</p><p>We multiply the second equation of the DLN-SAV algorithm (53) by 2 k n r n,&#946; and obtain</p><p>We combine (66) and (67) and use the G-stability identity (7) to obtain</p><p>which results in the unconditional stability property (65).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Remark 7</head><p>The inequality in (65) is the discrete version of the energy dissipation law (2) and the discrete energy E SAV n in ( <ref type="formula">64</ref>) is an approximation of the model energy E.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Error Analysis</head><p>In this subsection, we investigate the error estimate of the fully discrete DLN-SAV algorithm <ref type="bibr">(53)</ref>. Let u n , r n be exact solutions u(x, t), r (t) evaluated at t n respectively. The errors of numerical solutions of the DLN-SAV algorithm in (53) at time t n are denoted as</p><p>Introduce the following discrete Bochner function space for error analysis</p><p>Since t n,&#946; is a point between t n-1 and t n+1 , the above discrete norm can be understood as the Riemann sum of &#8730; 2 u L 2 (0,T ;L 2 (&#937;)) . To carry out the error analysis, one key idea is to use the mathematical induction to prove the following statement</p><p>for any M between 0 and N , under certain time step assumptions. To start, we assume that (70) holds for n = 0, 1, &#8226; &#8226; &#8226; , M -1. Since the exact solution u satisfies the maximum principle and is bounded, it can be derived that { u h n &#8734; } M-1 n=0 uniformly bounded following the triangle inequality. Next, we use the Ritz projection operator to decompose the error e u n as</p><p>Applying inverse inequality, triangle inequality and approximation theorem in (32) leads to</p><p>Thus for n = 0, 1,</p><p>and the diameter h is small enough.</p><p>Then we combine all these facts to achieve</p><p>which will be summarized in Theorem 4 below. Therefore, we can verify (70) for n = M under the time step restriction</p><p>The main error analysis of the DLN-SAV method is summarized as follows.</p><p>Theorem 4 We assume</p><p>the approximations of the DLN-SAV algorithm satisfy</p><p>the maximum time step has bound k max &#8804; min{1, h 1/2 } and the time step ratios satisfy</p><p>for some C &#8467; , C u &gt; 0. Moreover we assume that the initial two DLN-SAV solutions u h 0 and u h 1 satisfy</p><p>Then we have</p><p>Proof The exact solutions of (52) satisfy</p><p>We subtract the first equation of (76) evaluated at t n,&#946; from the first equation of DLN-SAV algorithm <ref type="bibr">(53)</ref> and apply integration by parts to obtain</p><p>where</p><p>Following the error decomposition e u n = &#951; n + &#966; h n , Eq. (77) becomes</p><p>where the fact 2 (&#8711;&#951; n,&#946; , &#8711;&#966; h n,&#945; ) = 0 is utilized in (79), due to the definition of Ritz projection.</p><p>We subtract the second equation of (76) evaluated at t n,&#946; from the second equation of ( <ref type="formula">53</ref>) and use the notation in (78) to derive</p><p>Setting v h = &#966; h n,&#945; in (79), multiplying (80) by e r n,&#946; , adding these two equations together and utilizing the G-stability identity (7) yield</p><p>Now we deal with each term on the right side of (81). By similar argument to ( <ref type="formula">38</ref>)-( <ref type="formula">40</ref>)</p><p>By the approximation theorem in <ref type="bibr">(32)</ref>, triangle inequality and Lemma 3</p><p>By Cauchy-Schwarz inequality, Young's inequality and Lemma 3</p><p>By algebraic calculation,</p><p>where</p><p>By maximum principle of exact solutions, we have that r (t) is uniformly bounded for all t,</p><p>We apply approximation theorem <ref type="bibr">(32)</ref>, triangle inequality, Lemma 3 to (88)</p><p>where u n, * is the second-order approximation to u(t n,&#946; ) in time is used in the last inequality. Similarly,</p><p>We combine (89) and (90) to obtain</p><p>By the uniform boundedness of r (t), u(t) &#8734; for all t, Cauchy-Schwarz inequality and Lemma 3</p><p>Similar to (89)-( <ref type="formula">92</ref>)</p><p>By the assumption in (72), { u h n, * &#8734; } M-1 n=1 is uniformly bounded and</p><p>where &#948; &gt; 0 is a certain constant to be decided later. We use the assumption in (72) again and the approximation theorem (32) to obtain</p><p>By triangle inequality, Young's inequality and the fact that u n, * is the second-order approximation to u(t n,&#946; ) in time</p><p>We combine (95), ( <ref type="formula">96</ref>), (97) to have</p><p>By the maximum bound principle for the exact solution and H&#246;lder's inequality</p><p>By the maximum bound principle for the exact solution and Lemma 3</p><p>We combine (81) -( <ref type="formula">86</ref>), ( <ref type="formula">91</ref>) -( <ref type="formula">94</ref>), ( <ref type="formula">98</ref>) -(101) and drop the numerical dissipation terms</p><p>-1 u t 2 s+1 dt + Ch 2s+2 k 4 max t n+1 t n-1 u tt 2 s+1 dt +(k n +k n-1 ) u(t n,&#946; ) 2 s+1 + Ck 4 max t n+1 t n-1 u ttt 2 dt + Ck 4 max t n+1 t n-1 &#916;u tt 2 dt + C(&#948;)k 4 max t n+1 t n-1</p><p>We sum (102) over n from 1 to N -1 and use time step ratio bounds in (73)</p><p>We set &#948; = (1 + &#952;)/(12C 2 &#946; (&#952; )) and apply the discrete Gr&#246;nwall inequality <ref type="bibr">[23]</ref> with the time step restriction k max &lt; 1 to (103)</p><p>We use the triangle inequality, approximation theorem in <ref type="bibr">(32)</ref>, (104) and initial conditions in (74) to have (75).</p><p>Remark 8 From (104), we can conclude that e u M &#8804; O(k 2 max , h s+1 ) achieves the optimal error estimate in the L 2 norm, if the initial two step solutions match the exact solutions (leading to zero &#966; h 0 and &#966; h 1 ). This is also verified by Table <ref type="table">4</ref> in the one-dimensional traveling wave test problem in Subsection 6.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Time Adaptivity</head><p>In this section, we discuss adaptive DLN algorithms for solving the Allen-Cahn equation, to better take advantage of this variable time-stepping method. Here we consider adaptive DLN algorithms by using the LTE criterion, which involve two essential parts:</p><p>&#8226; the estimator for LTE, &#8226; the time step controller.</p><p>An explicit, variable step AB2-like scheme 1 The deviation of this scheme is similar to twostep Adam-Bashforth scheme, thus we name it an AB2-like scheme. is adopted to estimate the LTE of the DLN method. The AB2-like time-stepping scheme, applying to the initial value problem in (3), takes the form</p><p>where g DLN (t n-1,&#946; , y n-1,&#946; ) and g DLN (t n-2,&#946; , y n-2,&#946; ) are calculated by the DLN scheme in (DLN)</p><p>Thus the AB2-like solution y AB2-like n+1 in ( <ref type="formula">105</ref>) is just the linear combination of the previous four DLN solutions {y n , y n-1 , y n-2 , y n-3 }, and thus obtained with low computational costs.</p><p>We denote time step ratio &#964; n = k n /k n-1 and utilize the AB2-like scheme (105) to estimate the LTE of the DLN method via</p><p>where G (n) , R (n) are coefficients before the LTEs of the DLN scheme and AB2-like scheme respectively:</p><p>We refer to <ref type="bibr">[29]</ref> for the derivation of the explicit AB2-like scheme in (105) and the estimator of LTE in (106).</p><p>For the time step controller, there are many choices and we consider the following one proposed in <ref type="bibr">[20]</ref> </p><p>where &#954; &#8712; (0, 1] is the safety factor and Tol is the required tolerance for the LTE. We summarize the adaptive DLN algorithm using the estimator of LTE in (106) and the step controller in (108) in the following pseudocode.</p><p>Algorithm 1: Adaptive DLN method (LTE estimator by AB2-like scheme) Input: tolerance Tol, four previous DLN solutions u h n , u h n-1 , u h n-2 , u h n-3 , current time step k n , three previous time step k n-1 , k n-2 , k n-3 , safety factor &#954; ; Compute the DLN solution u h,DLN n+1 by (19) or (53) ; Compute the AB2-like solution u h,AB2-like n+1 by (105) ; Use k n</p><p>AB2-like n+1 u h,DLN n+1 ; // relative estimator if T n+1 &lt; Tol then u h n+1 &#8656; u h,DLN n+1 ; // accept the result k n+1 &#8656; k n &#8226; min 1.5, max 0.2, &#954; Tol T n+1 1/3 ; // adjust step by (108) else // adjust current step to recompute k n &#8656; k n &#8226; min 1.5, max 0.2, &#954; Tol T n+1 1/3 ;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Numerical Tests</head><p>In this section, we test the performance of the proposed modified DLN algorithm and DLN-SAV algorithm on three numerical tests:</p><p>&#8226; Accuracy test on the 1D traveling wave solution;</p><p>&#8226; Accuracy test on the 2D test with known solutions;</p><p>&#8226; Simulation of the 2D test with random initial conditions.</p><p>We implement these algorithms with three different values of &#952; : 2/3, 2/ &#8730; 5, 1. Among these values, &#952; = 2/3 is proposed in <ref type="bibr">[11]</ref> to balance the magnitude of LTE and keep fine stability properties. The value &#952; = 2/ &#8730; 5 is suggested in <ref type="bibr">[26]</ref> to have the best stability at infinity. The algorithm with value &#952; = 1 reduces to the classical one-step midpoint rule. In the implementation, we use MATLAB for the 1D test problem and the software FreeFem++ <ref type="bibr">[22]</ref> for two 2D test problems. For the modified DLN algorithm <ref type="bibr">(19)</ref>, we use fixed point iteration to solve the non-linear system at each time step.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">One-dimensional Traveling Wave Solution</head><p>We use the 1D traveling wave problem <ref type="bibr">[5]</ref> with the known solution to test the accuracy of modified DLN and DLN-SAV algorithms. One traveling wave solution of Allen-Cahn equation (1) in 1D takes the form</p><p>where the traveling speed is s = 3 / &#8730; 2. We set the final time as T = 2, the model parameter as = 0.01, and use the inhomogeneous Dirichlet boundary condition. We use P 2 finite element space in the spatial discretization.</p><p>Table 1 L -norm of error and rate for 1D modified DLN scheme in time </p><p>.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99 &#952; = 2 &#8730; 5 0.04 2.17e-3 -2.41e-3 -4.80e-1 -0.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99 &#952; = 1 0 .04 2.17e-3 -2.41e-3 -4.80e-1 -0.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.1">Constant Time Step</head><p>First, we consider the constant time step k and set h = k 2 to check the accuracy of both algorithms in time. From Tables <ref type="table">1</ref> and <ref type="table">3</ref>, we observe that both modified DLN and DLN-SAV algorithms have second-order accuracy in time for the 1D traveling wave problem, confirming the expected time-stepping accuracy of these algorithms. Next, we set k = h 2 to check the accuracy of both algorithms in space. From Tables <ref type="table">2</ref> and <ref type="table">4</ref>, we can see that both algorithms demonstrate third-order spatial convergence for &#8467; &#8734; (L 2 )-norm and second-order spatial convergence for &#8467; 2 (H 1 )-norm.</p><p>Table 3 L 2 -norm of error and for 1D DLN-SAV scheme in time </p><p>.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99 &#952; = 2 &#8730; 5 0.04 2.17e-3 -2.41e-3 -4.80e-1 -0.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99 &#952; = 1 0 .04 2.17e-3 -2.41e-3 -4.80e-1 -0.02 2.91e-4 2.90 3.97e-4 2.60 1.32e-1 1.86 0.01 3.69e-5 2.98 5.19e-5 2.94 3.39e-2 1.97 0.005 4.65e-6 2.99 6.57e-6 2.98 8.53e-3 1.99</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.2">Variable Time Step</head><p>We utilize constant time step k as a reference time step and set h = k 2 to test the accuracy of the variable time-stepping modified DLN algorithm <ref type="bibr">(19)</ref> and DLN-SAV algorithm (53) over time. Two different time step scenarios are considered:</p><p>1. Randomized Time Steps: For each time step, we set k n = k + k &#8226; rand, where rand is a random number drawn from the uniform distribution in the interval (0,1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Alternating Time Steps:</head><p>We alternate the time step size as follows:</p><p>Table 5 L 2 -norm of error and rate for 1D modified scheme in time (k n</p><p>1 0.1919 2.20e-4 -2.06e-4 -3.45e-2 -0.05 0.0991 5.98e-5 1.97 5.33e-5 2.04 3.45e-3 3.48 0.04 0.0771 3.36e-5 2.31 3.02e-5 2.28 1.80e-3 2.61 0.02 0.0399 1.01e-5 1.82 8.58e-6 1.91 4.50e-4 2.10 &#952; = 2 &#8730; 5 0.1 0.1995 1.85e-4 -1.48e-4 -3.34e-2 -0.05 0.0992 5.61e-5 1.71 4.57e-5 1.68 2.71e-3 3.60 0.04 0.0789 3.56e-5 1.99 2.72e-5 2.26 1.32e-3 3.13 0.02 0.0398 8.16e-6 2.15 6.37e-6 2.12 2.37e-4 2.51 &#952; = 1 0 .1 0.1738 1.53e-4 -1.30e-4 -3.32e-2 -0.05 0.0994 4.81e-5 2.07 3.55e-5 2.32 2.40e-3 4.70 0.04 0.0787 3.01e-5 2.00 2.28e-5 1.91 1.15e-3 3.22 0.02 0.0391 7.86e-6 1.92 6.03e-6 1.90 2.02e-4 2.47</p><p>For both test scenarios, the time steps lie within the range [k, 2k]. The accuracy rate is calculated using the formula:</p><p>where Error 1 and Error 2 are the errors corresponding to the maximum time steps k max,1 and k max,2 , respectively. From Tables <ref type="table">5</ref><ref type="table">6</ref><ref type="table">7</ref><ref type="table">8</ref>, our observation indicates that both algorithms with all &#952; values achieve second-order accuracy in time for the 1D traveling wave problem, even under non-uniform time steps. This is better than the first order convergence in time that we can prove in Theorem 2 for the non-uniform time step case.</p><p>To further test the order of accuracy of the modified DLN scheme, we apply the modified DLN method on the corresponding ODE dy/dt + f (y) = 0, assuming y = y(t) is only timedependent. We have carried out extensive numerical investigation of this test with different ways to determine the non-uniform time step size and different choices of f (u). All of these tests demonstrate a second-order convergence numerically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.3">Comparison of the modified DLN and DLN-CSS algorithms</head><p>In this subsection, we compare the modified DLN algorithm with the DLN-CSS algorithm in <ref type="bibr">(21)</ref> in terms of accuracy and efficiency. Both algorithms are implicit and need certain non-linear solver at each time step. From Tables <ref type="table">9</ref> and <ref type="table">10</ref>, both algorithms reach second-order accuracy in time and take about the same CPU time to complete simulation. However, the modified DLN algorithm is slightly more accurate than the DLN-CSS algorithm, possibly due to the fact that the modified DLN algorithm addresses the whole non-linear term implicitly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1.4">Adaptive Algorithms</head><p>Next, we test the accuracy and efficiency of the adaptive DLN algorithm in Algorithm 1, by comparing it with the corresponding constant time step algorithms. For adaptive algorithms,</p><p>Table 6 L 2 -norm of error and rate for 1D modified DLN scheme in time (k n </p><p>1 0.1885 6.25e-4 -4.85e-4 -4.16e-2 -0.05 0.1000 1.62e-4 2.13 1.31e-4 2.07 6.75e-3 2.87 0.04 0.0781 1.20e-4 1.20 9.35e-5 1.36 4.80e-3 1.37 0.02 0.0399 3.10e-5 2.02 2.45e-5 1.99 1.22e-3 2.04 &#952; = 2 &#8730; 5 0.1 0.1931 7.12e-4 -5.64e-4 -4.10e-2 -0.05 0.0987 2.20e-4 1.76 1.66e-4 1.82 7.20e-3 2.59 0.04 0.0744 1.28e-4 1.89 9.68e-5 1.91 4.05e-3 2.03 0.02 0.0400 3.74e-5 1.98 2.80e-5 2.00 1.15e-3 2.03 &#952; = 1 0 .1 0.1996 8.19e-4 -6.41e-4 -4.13e-2 -0.05 0.0998 2.58e-4 1.67 2.04e-4 1.65 7.94e-3 2.38 0.04 0.0770 1.38e-4 2.42 1.05e-4 2.57 4.04e-3 2.62 0.02 0.0396 3.86e-5 1.91 2.96e-5 1.90 1.11e-3 1.93</p><p>the following setup is adopted: the tolerance Tol = 1.e -6, the minimum time step k min = 1.e -5, the maximum time step k max = 0.1, two initial time steps k 0 = k 1 = 1.e -3, and the safety factor &#954; = 0.8. For constant step algorithms, we set the constant time step as k = 1.e -3. From Tables <ref type="table">11</ref> and <ref type="table">12</ref>, we observe that both adaptive algorithms outperform the constant step algorithms. Adaptive algorithms take much fewer time steps to obtain the same accuracy for all three &#952; values, when compared with the corresponding constant step algorithms.</p><p>Table 8 L 2 -norm of error and rate for 1D DLN-SAV scheme in time (k n = k, 2k, k, 2k, ...; h = k 2 )  </p><p>04 1.84e-5 -1.05e-3 -72.18 0.02 4.64e-6 1.98 1.58e-4 2.73 431.92 0.01 1.17e-6 1.99 3.74e-5 2.08 3494.29 &#952; = 2 &#8730; 5 0.04 1.45e-5 -9.38e-4 -61.00 0.02 3.68e-6 1.98 1.05e-4 3.16 452.98 0.01 9.27e-7 1.99 2.27e-5 2.21 3506.87 &#952; = 1 0 .04 1.27e-5 -9.19e-4 -57.17 0.02 3.22e-6 1.98 9.45e-5 3.28 443.27 0.01 8.12e-7 1.99 1.97e-5 2.26 3519.10 </p><p>3 3.69e-5 3.67e-5 2.39e-2 1000 &#952; = 2 &#8730; 5 3.69e-5 3.67e-5 2.39e-2 1000 &#952; = 1 3.69e-5 3.67e-5 2.39e-2 1000 - </p><p>3 3.68e-5 3.67e-5 2.39e-2 174 65 &#952; = 2 &#8730; 5 3.67e-5 3.67e-5 2.39e-2 146 36 &#952; = 1 3.67e-5 3.67e-5 2.39e-2 140 43 Constant time-stepping DLN-SAV schemes &#952; u -u h &#8467; &#8734; (L 2 ) u -u h &#8467; 2 (L 2 ) u -u h &#8467; 2 (H 1 ) # Steps # Rejections &#952; = 2 3 3.68e-5 3.67e-5 2.39e-2 1000 &#952; = 2 &#8730; 5 3.68e-5 3.67e-5 2.39e-2 1000 &#952; = 1 3.68e-5 3.67e-5 2.39e-2 1000 -</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Two-dimensional Example with Known Solution</head><p>We consider a two-dimensional example to verify that the proposed DLN algorithms are accurate and efficient for 2D test problems. As studied in <ref type="bibr">[30]</ref>, we consider the exact function of the form u(x, y, t) = 0.05e -0.1t sin(x) sin(y), (x, y)</p><p>with the homogeneous boundary condition. Since this function does not satisfy the Allen-Cahn equation (1) exactly, we add the extra source term g(x, y, t) = 0.05(2 2 -1.1)e -0.1t sin(x) sin(y) + (0.05e -0.1t sin(x) sin(y)) 3   such that u(x, y, t) in ( <ref type="formula">109</ref>) is the exact solution to the revised Allen-Cahn equation</p><p>with the model parameter = 0.01. P 2 finite element space is again used.</p><p>Table 13 L 2 -norm of error and rate for 2D modified DLN scheme in time (N = 500) </p><p>4.98e-5 -2.57e-5 -1.48e-3 -40 6.08e-6 3.03 3.18e-6 3.02 3.78e-4 1.97 60 1.51e-6 3.43 8.03e-7 3.39 1.59e-4 2.14 80 5.74e-7 3.36 3.12e-7 3.29 8.81e-5 2.04 100 2.65e-7 3.46 1.46e-7 3.39 5.48e-5 2.13 &#952; = 2 &#8730; 5 20 4.97e-5 -2.57e-5 -1.48e-3 -40 6.07e-6 3.03 3.17e-6 3.02 3.78e-4 1.97 60 1.51e-6 3.43 8.02e-7 3.39 1.59e-4 2.14 80 5.73e-7 3.37 3.11e-7 3.29 8.81e-5 2.04 100 2.63e-7 3.48 1.45e-7 3.41 5.47e-5 2.13 &#952; = 1 20 4.96e-5 -2.56e-5 -1.48e-3 -40 6.06e-6 3.03 3.17e-6 3.02 3.78e-4 1.97 60 1.51e-6 3.43 8.01e-7 3.39 1.59e-4 2.14 80 5.72e-7 3.37 3.11e-7 3.29 8.81e-5 2.04 100 2.63e-7 3.49 1.45e-7 3.42 5.47e-5 2.13</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.1">Constant Time Step</head><p>To confirm the time convergence rate, we first set the final time as T = 4 and consider a refined triangular mesh with N = 500 nodes on each side of the boundaries. Tables <ref type="table">13</ref> and <ref type="table">15</ref> show that both modified DLN and DLN-SAV algorithms achieved second-order convergence in time for the 2D test problem in (109). Then we set the final time T = 1 and the constant time step k = 0.01 to check the spatial convergence. We observe from Tables <ref type="table">14</ref> and <ref type="table">16</ref> that both algorithms have third-order accuracy in L 2 -norm and second-order accuracy in H 1 -norm.</p><p>Table 15 L 2 -norm of error and rate for 2D DLN-SAV scheme in time (N = 500) </p><p>4.97e-5 -2.57e-5 -1.48e-3 -40 6.08e-6 3.03 3.18e-6 3.01 3.78e-4 1.97 60 1.52e-6 3.43 8.07e-7 3.38 1.59e-4 2.14 80 5.80e-7 3.34 3.15e-7 3.27 8.81e-5 2.04 100 2.71e-7 3.41 1.49e-7 3.35 5.48e-5 2.13 &#952; = 2 &#8730; 5 20 4.97e-5 -2.56e-5 -1.48e-3 -40 6.08e-6 3.03 3.18e-6 3.01 3.78e-4 1.97 60 1.52e-6 3.42 8.06e-7 3.38 1.59e-4 2.14 80 5.84e-7 3.32 3.16e-7 3.25 8.81e-5 2.04 100 2.78e-7 3.32 1.53e-7 3.27 5.48e-5 2.13 &#952; = 1 20 4.96e-5 -2.56e-5 -1.48e-3 -40 6.07e-6 3.03 3.17e-6 3.01 3.78e-4 1.97 60 1.52e-6 3.42 8.06e-7 3.38 1.59e-4 2.14 80 5.86e-7 3.31 3.17e-7 3.24 8.81e-5 2.04 100 2.83e-7 3.26 1.55e-7 3.22 5.47e-5 2.13 6.2.2 Variable Time Step Similar to Section 6.1.2, we test the accuracy of the variable time-stepping modified DLN algorithm (19) and DLN-SAV algorithm (53) over time for the 2D case, utilizing the randomized time step k n = k + k &#8226; rand. The final time is T = 4.0 and the number of nodes N = 500 on each side of the boundaries. The accuracy rate calculated using k max again demonstrates second-order temporal convergence rate numerically, as seen in Tables <ref type="table">17</ref> and <ref type="table">18</ref>.</p><p>Table 17 L 2 -norm of error and rate for 2D modified DLN scheme in time (k n </p><p>3 0.4 0.7818 3.37e-3 -3.27e-3 -4.63e-3 -0.3 0.5851 2.17e-3 1.52 1.87e-3 1.94 2.64e-3 1.94 0.2 0.3683 1.10e-3 1.47 9.02e-4 1.57 1.28e-3 1.57 0.1 0.1987 3.10e-4 2.05 2.33e-4 2.20 3.29e-4 2.20 &#952; = 2 &#8730; 5 0.4 0.7818 4.25e-3 -4.12e-3 -5.83e-3 -0.3 0.5851 2.87e-3 1.35 2.47e-3 1.76 3.50e-3 1.76 0.2 0.3683 1.52e-3 1.38 1.25e-3 1.48 1.76e-3 1.48 0.1 0.1987 4.48e-4 1.98 3.36e-4 2.13 4.75e-4 2.13 &#952; = 1 0 .4 0.7818 4.65e-3 -4.51e-3 -6.37e-3 -0.3 0.5851 3.21e-3 1.28 2.76e-3 1.69 3.90e-3 1.69 0.2 0.3683 1.72e-3 1.35 1.41e-3 1.45 2.00e-3 1.45 0.1 0.1987 5.16e-4 1.95 3.87e-4 2.10 5.47e-4 2.10</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2.3">Adaptive Algorithms</head><p>Next, we compare Algorithm 1 and the corresponding constant time-stepping algorithms to show the accuracy and efficiency of time adaptivity. We set final time T = 1, model parameter = 0.01, the number of nodes N = 50 on each side of the boundaries for both adaptive and constant algorithms. For adaptive algorithms, we set the maximum time step k max = 0.1, the minimum time step k min = 1.e -5, two initial time step k 0 = k 1 = 1.e -3, tolerance Tol = 1.e -8 and safety factor &#954; = 0.8. We use time step k = 1.e -3 for constant time-stepping algorithms. From Table <ref type="table">19</ref>, we can see that adaptive modified DLN algorithms, especially with &#952; = 2/3 or 1, work more efficiently than the corresponding constant time-stepping algorithms, since the adaptive algorithms take much fewer number of time steps and obtain errors comparable to those of the constant step algorithms. For</p><p>Table 19 Errors and number of time steps of the adaptive and constant time-stepping 2D modified DLN schemes Adaptive modified DLN schemes &#952;</p><p>-6 1.79e-6 2.37e-4 280 73 &#952; = 2 &#8730; 5 4.86e-6 2.96e-6 2.38e-4 93 18 &#952; = 1 2.96e-6 1.60e-6 2.37e-4 48 18 Constant time-stepping modified DLN schemes &#952; </p><p>6 1.62e-6 2.37e-4 45 9 &#952; = 2 &#8730; 5 3.08e-6 1.65e-6 2.37e-4 44 9 &#952; = 1 3.11e-6 1.66e-6 2.37e-4 44 15 Constant time-stepping DLN-SAV schemes &#952; u -u h &#8467; &#8734; (L 2 ) u -u h &#8467; 2 (L 2 ) u -u h &#8467; 2 (H 1 ) # Steps # Rejections &#952; = 2 3 2.97e-6 1.56e-6 2.37e-4 1000 &#952; = 2 &#8730; 5 2.97e-6 1.56e-6 2.37e-4 1000 &#952; = 1 2.97e-6 1.56e-6 2.37e-4 1000 -</p><p>DLN-SAV algorithms, we observe from Table <ref type="table">20</ref> that adaptive algorithms have the same error magnitude as constant time-stepping algorithms. However, adaptive algorithms with all three &#952; values finish the simulation only in 45 time steps while the constant step algorithms take 1000 time steps.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3">Two-dimensional test with random initial value</head><p>In this example, we simulate 2D Allen-Cahn equation with random initial condition <ref type="bibr">[21]</ref>: where the function rand(x, y) generates value uniformly distributed on [0, 1] at point (x, y).</p><p>We set the model parameter to be 0.1 and number of nodes on each side of the boundaries to be 100 to generate a triangular mesh. We test the adaptive Algorithm 1 with periodic boundary condition. Fig. 2 2D Adaptive DLN-SAV algorithm with &#952; = 1 converges to steady state with 5896 time steps For both adaptive modified DLN and DLN-SAV algorithms, we set two initial time step k 0 = k 1 = 0.01, the maximum time step k max = 0.1, the minimum step k min = 1.e -5, the tolerance for LTE Tol = 1.e -6, and safety factor &#954; = 0.8. We use the fixed point iteration with tolerance 1.e -8 for non-linear solver in the adaptive modified DLN algorithm. The results of three &#952; values (2/3, 2/ &#8730; 5, 1) are very close, thus we only present the numerical results for the case of &#952; = 1. From Fig. 1 and Fig. 2, we observe that both modified DLN and DLN-SAV algorithms converge to the steady state at the time T = 320 with around 5800 time steps. We also test the corresponding constant time-stepping DLN algorithms with constant step k = 0.01 and observe that the constant time-stepping algorithms converge to the steady state with more than 30000 time steps. From this test problem, we demonstrate that the adaptive DLN algorithms are stable and possess superior time efficiency when compared to the corresponding constant time-stepping algorithms.</p><p>Then Eq. <ref type="bibr">(11)</ref> follows by the fact t n,&#946; &#8712; [t n-1 , t n+1 ] and using H&#246;lder's inequality: u n+1,&#952; + u n,&#952; 2 u(t n,&#946; ) 2 &#8804; 1 + &#952; 4 2 &#937; t n+1 t n-1 |u t (x, t)|dt 2 dx &#8804; C(&#952; ) &#937; t n+1 t n-1 1dt t n+1 t n-1 |u t (x, t)| 2 dt dx.</p><p>For the case of &#952; = 1, the corresponding conclusions for the midpoint rule are easy to verify and the details are omitted here.</p><p>Next, we consider the case of uniform time grids with constant time step k and aim to prove <ref type="bibr">(14)</ref>. Applying Taylor's theorem with integral remainder u(x, t n+1 ) = u(x, t n ) + u t (x, t n )k + t n+1 t n u tt (x, t)(t n+1t)dt, u(x, t n-1 ) = u(x, t n )u t (x, t n )k + t n-1 t n u tt (x, t)(t n-1t)dt, u(x, t n,&#946; ) = u(x, t n ) + u t (x, t n )(t n,&#946;t n ) + t n,&#946; t n u tt (x, t)(t n,&#946;t)dt = u(x, t n ) + u t (x, t n ) &#946; (n) 2 -&#946; (n) 0 k + t n,&#946; t n u tt (x, t)(t n,&#946;t)dt, (110) with (under uniform time grids) &#946; (n) 2 = 1 4 (2 + &#952; -&#952; 2 ), &#946; (n) 0 = 1 4 (2 -&#952; -&#952; 2 ), gives u n+1,&#952; + u n,&#952; 2 u(x, t n,&#946; ) = 1 + &#952; 4 u(x, t n+1 ) + 1 2 u(x, t n ) + 1 -&#952; 4 u(x, t n-1 )u(x, t n,&#946; ) = 1 + &#952; 4 t n+1 t n u tt (x, t)(t n+1t)dt + 1 -&#952; 4 t n-1 t n u tt (x, t)(t n-1t)dt t n,&#946; t n u tt (x, t)(t n,&#946;t)dt. Therefore, Eq. (14) follows from u n+1,&#952; + u n,&#952; 2 u(t n,&#946; ) 2 &#8804; C(&#952; ) &#937; t n+1 t n |u tt (x, t)| 2 dt t n+1 t n (t n+1 -t) 2 dt+ t n t n-1 |u tt (x, t)| 2 dt t n t n-1 (t -t n-1 ) 2 dt + t n,&#946; t n |u tt (x, t)| 2 dt t n,&#946; t n (t n,&#946; -t) 2 dt dx &#8804; C(&#952; )k 3 &#937; t n+1 t n-1 |u tt (x, t)| 2 dtdx.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="123">B Proof of Lemma 3</head><p>As in the proof of Lemma 2, we only prove the case &#952; &#8712; [0, 1) below. The case for &#952; = 1 can be shown easily following the same procedure. Also, it suffices to consider the case r = 0 below. Combining Taylor's theorem with integral remainder (110) (but with variable time step sizes k n and k n-1 ) with the fact that &#946; (n)</p><p>1 leads to u n,&#946; (x)u(x, n,&#946; ) = &#946; (n) 2 t n+1 t n u tt (x, t)(t n+1t)dt + &#946; (n) 0 t n-1 t n u tt (x, t)(t n-1t)dt t n,&#946; t n u tt (x, t)(t n,&#946;t)dt. (111) Utilizing the H&#246;lder's inequality, and bounding &#946; (n) &#8467; by C(&#952; ), we have u n,&#946; (&#8226;)u(&#8226;, t n,&#946; ) 2 &#8804; C(&#952; ) &#937; t n+1 t n |u tt (x, t)|(t n+1 -t)dt + t n t n-1 |u tt (x, t)|(t -t n-1 )dt + t n,&#946; t n |u tt (x, t)||t n,&#946; -t|dt 2 dx &#8804; C(&#952; ) &#937; t n+1 t n |u tt (x, t)| 2 dt t n+1 t n (t n+1 -t) 2 dt 1 2 + t n t n-1 |u tt (x, t)| 2 dt t n t n-1 (t -t n-1 ) 2 dt 1 2 + t n,&#946; t n |u tt (x, t)| 2 dt t n,&#946; t n (t n,&#946; -t) 2 dt 1 2 2 dx &#8804; C(&#952; )(k n + k n-1 ) 3 &#937; t n+1 t n-1 |u tt (x, t)| 2 dtdx, which implies (15) with r = 0. Next, we consider Eq. (16). We again consider Taylor's theorem with integral remainder u(x, t n+1 ) = u(x, t n )+u t (x, t n )k n +u tt (x, t n ) k 2 n 2 + t n+1 t n u ttt (x, t) (t n+1 -t) 2 2 dt, u(x, t n-1 ) = u(x, t n )-u t (x, t n )k n-1 +u tt (x, t n ) k 2 n-1 2 + t n-1 t n u ttt (x, t) (t n-1 -t) 2 2 dt, u t (x, t n,&#946; ) = u t (x, t n )+u tt (x, t n )(&#946; (n) 2 k n -&#946; (n) 0 k n-1 )+ t n,&#946; t n u ttt (x, t)(t n,&#946; -t)dt. and combine them with the fact that &#945; 2 + &#945; 1 + &#945; 0 = 0 to obtain u n,&#945; (x) k n u t (t n,&#946; ) = &#945; 2 k n 2 +&#945; 0 k n-1 2 2 k n -&#946; (n) 2 k n -&#946; (n) 0 k n-1 u tt (x, t n )-t n,&#946; t n u ttt (x, t)(t n,&#946; -t)dt + &#945; 2 k n t n+1 t n u ttt (x, t)(t n+1 -t) 2 dt + &#945; 0 k n t n-1 t n u ttt (x, t)(t n-1 -t) 2 dt. It's easy to check &#945; 2 k n 2 + &#945; 0 k n-1 2 2 k n -&#946; (n) 2 k n -&#946; (n) 0 k n-1 = 0. (112) Therefore, u n,&#945; (&#8226;) k n u t (x, t n,&#946; ) 2 &#8804; C(&#952; ) k 2 n &#937; t n+1 t n |u ttt (x, t)|(t n+1t) 2 dt + t n t n-1 |u ttt (x, t)|(t n-1t) 2 dt + k n t n,&#946; t n |u ttt (x, t)||t n,&#946; -t|dt 2 dx &#8804; C(&#952; ) k 2 n &#937; t n+1 t n |u ttt (x, t)| 2 dt t n+1 t n (t n+1 -t) 4 dt 1 2 + t n t n-1 |u ttt (x, t)| 2 dt t n t n-1 (t -t n-1 ) 4 dt 1 2 + k n t n,&#946; t n |u ttt (x, t)| 2 dt t n,&#946; t n (t n,&#946; -t) 2 dt 1 2 2 dx &#8804; C(&#952; ) (k n + k n-1 ) 2 + k 2 n k 2 n (k n + k n-1 ) 3 &#937; t n+1 t n-1 |u ttt (x, t)| 2 dtdx &#8804; C(&#952; )(k n + k n-1 ) 3 &#937; t n+1 t n-1 |u ttt (x, t)| 2 dtdx,</p><p>where the last inequality follows from k n = 1+&#952; 2 k n + 1-&#952; 2 k n-1 . The case with r &#8805; 0 can be proven in the same way.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0"><p>+</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1"><p>f (u n+1,&#952; , u h n,&#952; )f (u n+1,&#952; , u n,&#952; ) 2 + 3 f (u n+1,&#952; , u n,&#952; )f (u(t n,&#946; )) 2 . (43)</p></note>
		</body>
		</text>
</TEI>
