校园网页 · 学校官网
Efficient splitting schemes for magneto-hydrodynamic equations.pdf
SCIENCE CHINA Mathematics . ARTICLES . August 2016 Vol.59 No.8: 1495–1510 doi: 10.1007/s11425-016-0280-5 c⃝ Science China Press and Springer-Verlag Berlin Heidelberg 2016 math.scichina.com link.springer.com Efficient splitting schemes for magneto- hydrodynamic equations CHOI Heejun & SHEN Jie ∗ Department of Mathematics, Purdue University, West Lafayette, IN 47906,U S A Email: artphone 1@gmail.com, shen7@purdue.edu Received December 19, 2015; accepted April 27, 2016; published online June 6, 2016 Abstract We present in this paper several efficient numerical schemes for the magneto-hydrodynamic (MHD) equations. These semi-discretized (in time) schemes are based on the standard and rotational pressure-correction schemes for the Navier-Stokes equations and do not involve a projection step for the magnetic field. We show that these schemes are unconditionally energy stable, present an effective algorithm for their fully discrete versions and carry out demonstrative numerical experiments. Keywords magneto-hydrodynamic (MHD), incompressible, stability, error analysis, spectral method MSC(2010) 65M12, 65M70, 76W05 Citation: Choi H, Shen J. Efficient splitting schemes for magneto-hydrodynamic equations. Sci China Math, 2016, 59: 1495–1510, doi: 10.1007/s11425-016-0280-5 1 Introduction We consider in this paper numerical approximation of the following magneto-hydrodynamic (MHD) equations ut +(u·∇)u−νΔu+∇p−α(∇× b)×b =0 , in Ω, bt −ηΔb+∇× (b×u)=0 , in Ω, div u =0 , in Ω, div b =0 , in Ω, (1.1) with given initial data u(·,0) =u0(·),b (·,0) =b0, (1.2) where Ω is an open bounded domain inRd (d =2 ,3), n is unit outward normal of∂Ω, the unknowns are the velocity fieldu, magnetic fieldb and pressure p, the parameters νand ηare respectively the kinematic viscosity, the magnetic diffusivity, andα=1 /(4πμρ) withμbeing the magnetic permeability and ρthe fluid density. To fix the idea, we assume the no-slip boundary condition for the velocity, and the perfectly conducting boundary condition for the magnetic field, namely, u|∂Ω =0 ,n ·b|∂Ω =0 ,n ×(∇× b)|∂Ω =0 . (1.3) ∗Corresponding author 1496 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 The above MHD equations model an incompressible, resistive and electrically conducting fluid in a perfectly conducting container Ω. The wellposedness of this system is similar to the corresponding Navier-Stokes system and has been established by many authors (see [4,13]). Various numerical approx- imations for MHD equations (stationary or time dependent) have been proposed, mostly concentrated on developing stable finite-element discretizations which require solving a double saddle point problem (see [1,5,10,12]). On the other hand, a decoupled approach based on the commutator of Laplacian and Leray projection is proposed in [11], and several very interesting splitting schemes based on double projection steps were proposed in [2]. In this paper, we develop several unconditionallystable, semi-discretized linear schemes, based on standardandrotationalpressure-correctionmethods [7,9,15,16]proposedfor the Navier-Stokesequations. Unlike in [2], we do not perform a projection step for the magnetic field, avoiding additional splitting errors and computational cost associated with the projection. We show that our schemes will lead to divergence-free magnetic field if the initial conditionb 0 is divergence-free. The rest of the paper is organized as follows. In Section 2, we construct first-order semi-discretized schemes based standard and rotational pressure-correctionmethods, and show that they are uncondition- ally stable. Second-order schemes and their stability analysis are presented in Section 3. In Section 4, we perform an error analysis for the first-order standard pressure-correction scheme. In Section 5, we first describe a generic spatial discretization followed by a detailed description for an efficient implementation of Legendre-Galerkin method in space. In Section 6, we present numerical results to demonstrate the convergence rates for our schemes and describe an adaptive time stepping strategy. Finally in Section 7, we present some concluding remarks. 2 First-order schemes We construct two semi-implicit time discretization schemes based on standard pressure-correction and rotational pressure-correction for the MHD equations and show that they are unconditionally stable. 2.1 A first-order scheme based on standard pressure-correction Inspired by the pressure-correction scheme for the Navier-Stokes equations [7,16], we construct the fol- lowing scheme for (1.1) with (1.3). Given (˜un,un,bn,pn), find (˜un+1,un,bn+1,pn+1) such that ⎧ ⎪⎪ ⎪ ⎪ ⎪⎪⎪ ⎨ ⎪⎪ ⎪⎪⎪ ⎪ ⎪ ⎩ ˜u n+1 −un δt +(un ·∇)˜un+1 −νΔ˜un+1 +∇pn −α(∇× bn+1)×bn =0 , bn+1 −bn δt −ηΔbn+1 +∇× (bn × ˜un+1)=0 , (2.1) ˜un+1|∂Ω =0 , bn+1 ·n|∂Ω =0 ,n ×(∇× bn+1)|∂Ω =0 , and ⎧ ⎪⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎩ u n+1 −˜un+1 δt +∇(pn+1 −pn)=0 , divun+1 =0 , (2.2) un+1 ·n|∂Ω =0 . Note that (2.1) is a coupled but linear elliptic type system for (˜un+1,bn+1), while (2.2) can be rewritten as −Δ(pn+1 −pn)= −1 δt˜un+1, ∂ ∂n(pn+1 −pn)|∂Ω =0 , un+1 =˜un+1 −δt∇(pn+1 −pn). (2.3) Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1497 Hence, the aboveschemeis veryeasytosolvenumericallycomparedwith afully implicit coupled nonlinear system. Let us denote (u,v)= ∫ Ωuvdx and ∥u∥2 =( u,u). Theorem 2.1. The scheme (2.1)–(2.2) is unconditionally energy stable in the sense that ∥un+1∥2 +α∥bn+1∥2 +δt2∥∇pn+1∥2 +(∥˜un+1 −un∥2 +2νδt∥∇˜un+1∥2 +2αηδt∥∇bn+1∥2) ⩽ ∥un∥2 +α∥bn∥2 +δt2∥∇pn∥2, ∀n ⩾ 0. (2.4) Furthermore, we have ∥divbm+1∥2 +2δtη m∑ k=0 ∥∇divbk+1∥2 ⩽ ∥divb0∥2, ∀m> 0. (2.5) Proof. Taking the inner product of the first equation in (2.1) with 2δt˜un+1,w eo b t a i n ∥˜un+1∥2 −∥un∥2 +∥˜un+1 −un∥2 +2νδt∥∇˜un+1∥2 +2δt(∇pn,˜un+1)−2δtα((∇× bn+1)×bn,˜un+1)=0 , (2.6) w h e r ew eu s e dt h ef a c t ((u·∇)v,v)=0 , ∀u ∈H, v ∈H1(Ω)d. (2.7) Taking the inner product of the second equation in (2.1) with 2δtαbn+1, we find α∥bn+1∥2 −α∥bn∥2 +α∥bn+1 −bn∥2 +2δtαη∥∇bn+1∥2 +2δtα(∇× (bn × ˜un+1),bn+1)=0 . (2.8) Next, we rewrite (2.2) as 1 δtun+1 +∇pn+1 = 1 δt˜un+1 +∇pn, and take the inner product of the above with itself on both sides. We find 1 δt2∥un+1∥2 +∥∇pn+1∥2 = 1 δt2∥˜un+1∥2 +∥∇pn∥2 +2 1 δt(∇pn,˜un+1), which we rearrange as 2δt(∇pn,˜un+1)= ∥un+1∥2 −∥˜un+1∥2 +δt2(∥∇pn+1∥2 −∥∇pn∥2). (2.9) We have from integration by parts that (∇× (bn × ˜un+1),bn+1)=( (bn × ˜un+1),∇× bn+1)=( (∇× bn+1)×bn,˜un+1). (2.10) Taking the sum of (2.6) and (2.8), using (2.9) and (2.10), we arrive at ∥un+1∥2 −∥un∥2 +∥˜un+1 −un∥2 +2δtν∥∇˜un+1∥2 +δt2(∥∇pn+1∥2 −∥∇pn∥2) +α∥bn+1∥2 −α∥bn∥2 +α∥bn+1 −bn∥2 +2δtαη∥∇bn+1∥2 =0 , which implies (2.4). To prove (2.5), we recall that for any smooth functionb, uand φ,w eh a v e (∇× (b×u),∇φ)= ⟨n×(b×u),∇φ⟩|∂Ω, n×(b×u)=( n·u)b−(n·b)u. (2.11) We take the inner product of the second equation in (2.1) with∇divbn+1. Thanks to the above identities and the boundary conditions for ˜un+1 and bn, we find (bn+1 −bn δt ,∇divbn+1 ) −η(Δbn+1,∇divbn+1)=0 . (2.12) 1498 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 Using the identity Δb = ∇×∇× b−∇divb, and integration by parts, we obtain from the above that 1 δt(div(bn+1 −bn),divbn+1)+ η(∇divbn+1,∇divbn+1)=0 , (2.13) from which we derive ∥divbn+1∥2 −∥divbn∥2 +∥div(bn+1 −bn)∥2 +2δtη∥∇divbn+1∥2 =0 . We obtain (2.5) by summing up the last relation forn =0 ,1,...,m . Remark 2.2. Note that we do not explicitly enforce divbn+1 = 0 in the above scheme. However, (2.5) indicates thatbn will remain divergence-free as long as its initial conditionb0 is divergence-free. Furthermore, even with incompatibleb0,d i vbn will be quickly dissipated towards zero. This remark applies also to other schemes presented below. 2.2 First-order scheme based on rotational pressure-correction It is well known that the pressure-correction scheme leads to an artificial boundary condition, i.e., ∂ ∂n(pn+1 −pn)|∂Ω = 0 in (2.3), which induces large errors for the pressure near the boundary. A ro- tational pressure-correction scheme is introduced in [9,15] for the Navier-Stokes equations to remove the artificial pressure boundary layer. Hence, we adopt a similar approach here and propose a rotational pressure-correction scheme for the MHD equations below: ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎩ ˜u n+1 −un δt +(un ·∇)˜un+1 −νΔ˜un+1 +∇pn −α(∇× bn+1)×bn =0 , bn+1 −bn δt −ηΔbn+1 +∇× (bn × ˜un+1)=0 , ˜un+1|∂Ω =0 , bn+1 ·n|∂Ω =0 ,n ×(∇× bn+1)|∂Ω =0 , (2.14) ⎧ ⎪⎪⎪⎨ ⎪⎪ ⎪ ⎩ u n+1 −˜un+1 δt +∇ψn+1 =0 , divun+1 =0 , un+1 ·n|∂Ω =0 , (2.15) and pn+1 = ψn+1 +pn −ν∇· ˜un+1. (2.16) Note that (2.15) can also be reformulated as a Poisson equation, so the computational procedure for this scheme is essentially the same as the scheme (2.1)–(2.2). Theorem 2.3. The scheme (2.14)–(2.16) is unconditionally energy stable in the sense that ∥un+1∥2 +α∥bn+1∥2 +δt2∥∇ψn+1∥2 + δt ν∥qn+1∥2 +δt(2ν∥∇× ˜un+1∥2 +ν∥∇· ˜un+1∥2 +2αη∥∇bn+1∥2) ⩽ ∥un∥2 +α∥bn∥2 +δt2∥∇ψn∥2 + δt ν∥qn∥2, ∀n ⩾ 0. (2.17) Furthermore, we have ∥divbm+1∥2 +2δtη m∑ k=0 ∥∇divbk+1∥2 ⩽ ∥divb0∥2, ∀m> 0. (2.18) Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1499 Proof. The proof of (2.18) is exactly the same as before. To prove (2.17), we introduce a set of new variables qn+1 = qn −ν∇· ˜un+1,ψ n+1 = pn+1 −qn+1. (2.19) Then, we can rewrite (2.15) as ⎧ ⎪⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎩ u n+1 −˜un+1 δt +∇(ψn+1 −ψn)=0 , divun+1 =0 , (2.20) un+1 ·n|∂Ω =0 . Taking the inner product of the first equation in (2.14) with 2δt˜un+1, and that of the section equation in (2.14) with 2αδtbn+1, and adding them together, we obtain ∥˜un+1∥2 −∥un∥2 +∥˜un+1 −un∥2 +2δtν∥∇˜un+1∥2 +2δt(∇(ψn +qn),˜un+1) +α∥bn+1∥2 −α∥bn∥2 +α∥bn+1 −bn∥2 +2δtαη∥∇bn+1∥2 =0 , (2.21) where we used the fact that the curl terms are canceled with each other as in the proof of Theorem 2.1. For the inner product term in the above, we have 2δt(∇ψn +∇qn,˜un+1) =2 δt(∇ψn,˜un+1)+2 δt(∇qn,˜un+1) =2 δt(∇ψn,un+1 +δt(∇ψn+1 −∇ψn))−2δt(qn,∇· ˜un+1) = δt2(∥∇ψn+1∥2 −∥∇ψn∥2 −∥∇ψn+1 −∇ψn∥2)+ 2δt ν(qn,qn+1 −qn) = δt2 ( ∥∇ψn+1∥2 −∥∇ψn∥2 − 1 δt2∥un+1 −˜un+1∥2 ) + δt ν(∥qn+1∥2 −∥qn∥2 −∥qn+1 −qn∥2) = δt2(∥∇ψn+1∥2 −∥∇ψn∥2)−∥un+1 −˜un+1∥2 + δt ν(∥qn+1∥2 −∥qn∥2 −ν2∥∇· ˜un+1∥2). On the other hand, taking the inner product of (2.15) with 2δtun+1,w eo b t a i n ∥un+1∥2 −∥˜un+1∥2 +∥un+1 −˜un+1∥2 =0 . Combining the above equalities together and using the identity∥∇u∥2 = ∥∇ ×u∥2 + ∥∇ ·u∥2 for u ∈H1 0(Ω)d,w eo b t a i n ∥un+1∥2 −∥un∥2 +∥˜un+1 −un∥2 +2δtν∥∇× ˜un+1∥2 +νδt∥∇· ˜un+1∥2 +δt2(∥∇ψn+1∥2 −∥∇ψn∥2)+ δt ν(∥qn+1∥2 −∥qn∥2) +α∥bn+1∥2 −α∥bn∥2 +α∥bn+1 −bn∥2 +2δtαη∥∇bn+1∥2 =0 , which implies (2.17). 3 Second-order schemes The schemes presented in last section is only first-order accurate. Similarly to that for the Navier-Stokes equations, we can construct second-order schemes based on standard pressure-correction and rotational pressure-correction. 1500 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 3.1 Second-order scheme based standard pressure-correction A semi-implicit second-order scheme for (1.1)–(1.3) based on pressure-correction is as follows: ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎪ ⎪ ⎪⎪⎪ ⎪ ⎩ 3˜u n+1 −4un +un−1 2δt +((2un −un−1)·∇)˜un+1 −νΔ˜un+1 +∇pn −α(∇× bn+1)×(2bn −bn−1)=0 , 3bn+1 −4bn +bn−1 2δt −ηΔbn+1 +∇× ((2bn −bn−1)× ˜un+1)=0 , (3.1) ˜un+1|∂Ω =0 , bn+1 ·n|∂Ω =0 ,n ×(∇× bn+1)|∂Ω =0 , and ⎧ ⎪⎪⎪⎨ ⎪⎪ ⎪ ⎩ 3u n+1 −3˜un+1 2k +∇(pn+1 −pn)=0 , divun+1 =0 , (3.2) un+1 ·n|∂Ω =0 . To start up the scheme, we can use the first-order scheme (2.1)–(2.2) to obtain the approximation at the first time step. Hence, the computational procedure of this scheme is still essentially the same as the previous first-order schemes. Theorem 3.1. The scheme (3.1)–(3.2) is unconditionally energy stable in the sense that ∥u n+1∥2 +α∥bn+1∥2 +∥2un+1 −un∥2 +α∥bn∥2 +α∥2bn+1 −bn∥2 + 4 3δt2∥∇pn+1∥2 +δt(4ν∥∇˜un+1∥2 +4αη∥∇bn+1∥2) ⩽ ∥un∥2 +α∥bn∥2 +∥2un −un−1∥2 +α∥2bn −bn−1∥2 + 4 3δt2∥∇pn∥2, ∀n ⩾ 0. (3.3) Furthermore, we have ∥divbm+1∥2 +∥div(2bm+1 −bm)∥2 +4δtη m∑ k=0 ∥∇divbk+1∥2 ⩽ ∥divb1∥2 +∥div(2b1 −b0)∥2, ∀m> 0. (3.4) Proof. Taking the inner product of the first equation in (3.1) with 4δt˜un+1, using (2.7), we derive (3˜un+1 −4un +un−1,2˜un+1)+4 δtν∥∇˜un+1∥2 +4δt(∇pn,˜un+1) −4αδt((∇× bn+1)×(2bn −bn−1),˜un+1)=0 . (3.5) Taking the inner product of the second equation in (3.1) with 4δtαbn+1, we derive α(3bn+1 −4bn +bn−1,2bn+1)+4 ηαδt∥∇bn+1∥2 +4αδt(∇× ((2bn −bn−1)× ˜un+1),bn+1)=0 . (3.6) We obtain from integration by parts that (∇× ((2bn −bn−1)× ˜un+1),bn+1) = ((2bn −bn−1)× ˜un+1,∇× bn+1) =( (∇× bn+1)×(2bn −bn−1),˜un+1). (3.7) Summing up (3.5) and (3.6), and using (3.7), we obtain (3˜un+1 −4un +un−1,2˜un+1)+ α(3bn+1 −4bn +bn−1,2bn+1) +4δtν∥∇˜un+1∥2 +4ηαδt∥∇bn+1∥2 +4δt(∇pn,˜un+1)=0 . (3.8) Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1501 We denote I1 := (3˜un+1 −4un +un−1,2˜un+1), I2 := α(3bn+1 −4bn +bn−1,2bn+1), I3 := 4δt(∇pn,˜un+1), (3.9) and bound them separately below, I1 =( 3˜un+1 −4un +un−1,2˜un+1) =( 3un+1 −4un +un−1,2˜un+1)−(3un+1 −3˜un+1,2˜un+1) =( 3un+1 −4un +un−1,2un+1)−(3un+1 −4un +un−1,2(un+1 −˜un+1)) −(3un+1 −3˜un+1,2˜un+1) =: I11 −I12 −I13. (3.10) For any sequence{vn},w ed e n o t eδvn = vn −vn−1 and δ2vn = δ(vn −vn−1). Using the identities (a−b,2a)= |a|2 −|b|2 +|a−b|2, (2a−2b,2a)= |2a−b|2 −|b|2, we find I11 =( 3un+1 −4un +un−1,2un+1) =( un+1 −2un +un−1,2un+1)+(2 un+1 −2un,2un+1) = ∥un+1∥2 −∥2un −un−1∥2 +∥δ2un+1∥2 +∥2un+1 −un∥2 −∥un∥2, (3.11) I12 =( 3un+1 −4un +un−1,2(un+1 −˜un+1)) = − ( 3un+1 −4un +un−1, 4δt 3 ∇(pn+1 −pn) ) =0 , (3.12) and I13 =( 3un+1 −3˜un+1,2˜un+1)=3 (∥un+1∥2 −∥˜un+1∥2 −∥un+1 −˜un+1∥2). (3.13) Similarly, we have I2 = α(3bn+1 −4bn +bn−1,2bn+1) = α((bn+1 −2bn +bn−1,2bn+1)+(2 bn+1 −2bn,2bn+1)) = α(∥bn+1∥2 −∥2bn −bn−1∥2 +∥δ2bn+1∥2 +∥2bn+1 −bn∥2 −∥bn∥2). (3.14) From the equation (3.2), we have 3un+1 +2δt∇pn+1 =3˜un+1 +2δt∇pn. Taking the inner product of the above with itself, we derive 9∥un+1∥2 +4δt2∥∇pn+1∥2 =9 ∥˜un+1∥2 +12δt(˜un+1,∇pn)+4 δt2∥∇pn∥2, which implies that I3 =4 δt(˜un+1,∇pn)=3 ∥un+1∥−3∥˜un+1∥+ 4 3δt2(∥∇pn+1∥2 −∥∇pn∥2). (3.15) Combining the above identities into (3.8), we arrive at ∥un+1∥2 −∥un∥2 +∥2un+1 −un∥2 −∥2un −un−1∥2 +4δtν∥∇˜un+1∥2 +4αηδt∥∇bn+1∥2 +∥δ2un+1∥2 +3∥un+1˜un+1∥2 +α(∥bn+1∥2 −∥bn∥2 +∥2bn+1 −bn∥2 −∥2bn −bn−1∥2) + 4 3δt2(∥∇pn+1∥2 −∥∇pn∥2) =0 , which implies (3.3). The proof of (3.4) is similar to that of (2.5) except that we use an identity similar to (3.10). 1502 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 3.2 Second-order scheme based on rotational pressure-correction We can also construct a second-order scheme based onrotational pressure-correction as follows: ⎧ ⎪⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪⎨ ⎪⎪ ⎪ ⎪⎪⎪ ⎪ ⎪ ⎪ ⎩ 3˜u n+1 −4un +un−1 2δt +((2un −un−1)·∇)˜un+1 −νΔ˜un+1 +∇pn −α(∇× bn+1)×(2bn −bn−1)=0 , 3bn+1 −4bn +bn−1 2δt −ηΔbn+1 +∇× ((2bn −bn−1)× ˜un+1)=0 , (3.16) ˜un+1|∂Ω =0 , bn+1 ·n|∂Ω =0 ,n ×(∇× bn+1)|∂Ω =0 , and ⎧ ⎪⎪ ⎪ ⎨ ⎪⎪ ⎪ ⎩ 3u n+1 −3˜un+1 2δt +∇(pn+1 −pn +ν∇· ˜un+1)=0 , divun+1 =0 , (3.17) un+1 ·n|∂Ω =0 . Based on the results that we established in Theorem 2.3, it can be expected, and confirmed by our numerical experiments, that the above scheme is also unconditionally stable. However, its proof appears to be much more involved that we will not pursue here for the sake of brevity. 4 Error estimates To illustrate the procedure for error analysis, we establish below some error estimates for the first-order pressure-correction scheme. We start with some notation. Given a time stepδtand T> 0, letφ k (k =0 ,1,...,m =[ T/δt]) be a sequence of functions in a normed spaceE, and denote ∥φδt∥2 l2(E) = δt m∑ k=0 ∥φk∥2 E, ∥φδt∥l∞(E) =m a x 0⩽k⩽m ∥φk∥E. (4.1) Let tn = nδt, and denote en u = u(tn)−un, ˜en u = u(tn)−˜un,e n b = b(tn)−bn,e n p = p(tn)−pn. (4.2) Theorem 4.1. Assume that the solution to(1.1)–(1.3) is sufficiently smooth. Then the solution to the scheme (2.1)–(2.2) satisfies the following error estimates: ∥eu,δt∥l∞(L2(Ω)d) +∥eb,δt∥l∞(L2(Ω)d) +∥˜eu,δt∥l2(H1(Ω)d) +∥eb,δt∥l2(H1(Ω)d) ⩽ Cδt. Proof. We define the following truncation errors: Rn u = u(tn+1)−u(tn) δt +(u(tn)·∇)u(tn+1)−νΔu(tn+1) +∇p(tn)−α(∇× b(tn+1))×b(tn), (4.3) Rn b = b(tn+1)−b(tn) δt −ηΔb(tn+1)+ ∇× (b(tn)×u(tn+1)). (4.4) We also define Rn p = u(tn+1)−u(tn) δt +∇(p(tn+1)−p(tn)). (4.5) It is clear that we have ∥Ru,δt∥l∞(H1(Ω))+∥Rb,δt∥l∞(H1(Ω))+∥Rp,δt∥l∞(L2(Ω)) ⩽ cRδt, (4.6) Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1503 where cR > 0 is independent ofδt. Subtracting the first and second equations of (2.1) and (2.2) from (4.3)–(4.5), respectively, we get the following error equations forn ⩾ 0, ˜en+1 u −en u δt +((u(tn)·∇)u(tn+1)−(un ·∇)˜un+1)−νΔ˜en+1 u +∇qn −α(∇× b(tn+1))×en b −α(∇× en+1 b )×bn = Rn+1 u , (4.7) en+1 b −en b δt −ηΔen+1 b +∇× (en b ×u(tn+1))+ ∇× (bn × ˜en+1 u )= Rn+1 b , (4.8) en+1 u −˜en+1 u δt +∇qn+1 −∇qn = Rn+1 p . (4.9) Taking the inner product (4.7) with 2δt˜en+1 u ,w eo b t a i n ∥˜en+1 u ∥2 −∥en u ∥2 +∥˜en+1 u −en u ∥2 +2δt((u(tn)·∇)u(tn+1)−(un ·∇)˜un+1,˜en+1 u ) +2δtν∥∇˜en+1 u ∥2 +2δt(∇qn,˜en+1 u )−2δtα((∇× b(tn+1))×en b ,˜en+1 u ) −2δtα((∇× en+1 b )×bn,˜en+1 u ) =2 δt(Rn u,˜en+1 u ). (4.10) Thanks to (2.7), we have ((u(tn)·∇)u(tn+1)−(un ·∇)˜un+1,˜en+1 u ) =( (u(tn)·∇)˜en+1 u +(en u ·∇)˜un+1,˜en+1 u ) =( (u(tn)·∇)˜en+1 u −(en u ·∇)˜en+1 u +(en u ·∇)u(tn+1),˜en+1 u ) =( (en u ·∇)u(tn+1),˜en+1 u ). On the other hand, 2δt(∇qn,˜en+1 u )=2 δt(∇qn,en+1 u +δt(∇qn+1 −∇qn)−δtRn p) = δt2(∥∇qn+1∥2 −∥∇qn∥2 −∥∇qn+1 −∇qn∥2)−2δt2(∇qn,Rn p). (4.11) We derive from (4.9) that 1 δten+1 u +∇qn+1 −∇qn 2 = R n p + 1 δt˜en+1 u 2 , ∥∇qn+1 −∇qn∥2 = 1 δt2(∥˜en+1 u ∥2 −∥en+1 u ∥2)+ ∥Rn p∥2 + 2 δt(Rn p,˜en+1 u ), w h e r ew eu s e dt h ef a c tt h a t(en+1 u ,∇qn+1 −∇qn)=0 .H e n c e 2δt(∇qn,˜en+1 u )= ∥en+1 u ∥2 −∥˜en+1 u ∥2 +δt2(∥∇qn+1∥2 −∥∇qn∥2) −δt2∥Rn p∥2 −2δt(Rn p,˜en+1 u )−2δt2(∇qn,Rn p). (4.12) Taking the inner product (4.8) with 2αδten+1 b ,w eo b t a i n α(∥en+1 b ∥2 −∥en b ∥2 +∥en+1 b −en b ∥2)+2 αδtη∥∇en+1 b ∥2 +2αδt(∇× (en b ×u(tn+1)),en+1 b )+2 αδt(∇× (bn × ˜en+1 u ),en+1 b ) =2 αδt(Rn b ,en+1 b ). (4.13) Using integration by parts, we get 2αδt(∇× (bn × ˜en+1 u ),en+1 b )=2 αδt((bn × ˜en+1 u ),∇× en+1 b ) =2 δtα((∇× en+1 b )×bn,˜en+1 u ). (4.14) 1504 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 Summing up (4.10) and (4.13), using (4.12) and (4.14), we obtain ∥en+1 u ∥2 −∥en u ∥2 +∥˜en+1 u −en u ∥2 +2δtν∥∇˜en+1 u ∥2 +α(∥en+1 b ∥2 −∥en b ∥2 +∥en+1 b −en b ∥2)+2 αδtη∥∇en+1 b ∥2 +δt2(∥∇qn+1∥2 −∥∇qn∥2)−δt2∥Rn p∥2 −2δt(Rn p,˜en+1 u )−2δt2(∇qn,Rn p) +2δt((en u ·∇)u(tn+1),˜en+1 u )−2δtα((∇× b(tn+1))×en b ,˜en+1 u ) +2αδt(∇× (en b ×u(tn+1)),en+1 b ) =2 δt(Rn u,˜en+1 u )+2 αδt(Rn b ,en+1 b ). (4.15) We bound each inner product term in the above as follows: |2kα((∇× b(tn+1))×en b ,˜en+1 u )| ⩽ ck∥(∇× b(tn+1))×en b ∥∥˜en+1 u ∥ ⩽ cδt∥en b ∥∥˜en+1 u ∥ ⩽ cδt∥en b ∥∥∇˜en+1 u ∥ ⩽ cδt∥en b ∥2 + ν 8δt∥∇˜en+1 u ∥2, |2αδt(∇× (en b ×u(tn+1)),en+1 b )| = |2αδt(en b ×u(tn+1),∇× en+1 b )| ⩽ cδt∥en b ×u(tn+1)∥∥∇× en+1 b ∥ ⩽ cδt∥en b ∥∥∇en+1 b ∥ ⩽ cδt∥en b ∥2 +δtαη 8 ∥∇en+1 b ∥2, |2δt(Rn p,˜en+1 u )| ⩽ 2δt∥Rn p∥∥˜en+1 u ∥ ⩽ cδt3 +δtν 8∥∇˜en+1 u ∥2, |2k((en u ·∇)u(tn+1),˜en+1 u )| ⩽ 2δt∥(en u ·∇)u(tn+1)∥∥˜en+1 u ∥ ⩽ cδt∥en u∥∥˜en+1 u ∥ ⩽ cδt∥en u ∥2 +δtν 8∥∇˜en+1 u ∥2, 2δt(Rn b ,en+1 b ) ⩽ 2δt∥Rn b ∥∥en+1 b ∥ ⩽ cδt3 +δtηα 8∥∇en+1 b ∥2, |2δt2(∇qn,Rn p)| =2 δt2∥∇qn∥∥Rn p∥ ⩽ cδt3∥∇qn∥2 +cδt3. Combining the above estimates into (4.15), we find ∥en+1 u ∥2 −∥en u ∥2 +∥˜en+1 u −en u ∥2 +δtν∥∇˜en+1 u ∥2 +α(∥en+1 b ∥2 −∥en b ∥2 +∥en+1 b −en b ∥2)+ αδtη∥∇en+1 b ∥2 +δt2(∥∇qn+1∥2 −∥∇qn∥2) ⩽ cδt3 +cδt(∥en u∥2 +∥en b ∥2 +δt2∥∇qn∥2). Summing up the above forn =0 ,...,m ,w eo b t a i n ∥em+1 u ∥2 +α∥em+1 b ∥2 +δt2∥∇qm+1∥2 + m∑ n=0 (∥˜en+1 u −en u ∥2 +δtν∥∇˜en+1 u ∥2 +αδtη∥∇en+1 b ∥2 +α∥en+1 b −en b ∥2) ⩽ cδt2 +cδt m∑ n=0 (∥en u∥2 +α∥en b ∥2 +δt2∥∇qn∥2). Finally, we can obtain the desired result by applying a discrete Gronwall inequality. Remark 4.2. It is also possible to derive rigorous error estimates for the rotationalpressure-correction and second-order schemes presented above by combining the procedures in the above proof and in [9]. However, the process is very tedious so we leave the details to the interested readers. Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1505 5 Spatial discretizations and fully discrete schemes We first describe briefly how to construct fully discrete schemes with a generic approximation in space, and then describe in some detail a Legendre-Galerkinmethod. For the sakeof simplicity, we shall consider only the first-order scheme (2.1)–(2.2), the other schemes can be treated by the same manner. 5.1 A generic spatial approximation Let X h ⊂(H1 0(Ω))d denote the approximation space for the intermediate velocity field, Yh ⊂H1 n(Ω) :={b ∈(H1(Ω))d : b·n|∂Ω =0 } denote the approximation space for the magnetic field, Mh ⊂H1∫ (Ω) := { q ∈H1(Ω) : ∫ Ω q =0 } denote the approximation space for the pressure, andZh := {v = u+∇q : u ∈Xh,q ∈Mh}. Then, a fully discrete scheme based on (2.1)–(2.2) and the above discrete spaces is as follows: (i) Find ˜un+1 h ∈Xh and bn+1 h ∈Yh such that (1 δt˜un+1 h ,vh ) +b(un h,˜un+1 h ,vh)+ ν(∇˜un+1 h ,∇vh)−α(∇× bn+1 h ,bn h ×vh) = (1 δtun h −∇pn h ,vh ) , ∀vh ∈Xh, (5.1) (α δtbn+1 h ,wh ) +αη(∇bn+1 h ,∇wh)+ α(bn h × ˜un+1 h ,∇× wh)= (α δtbn h,wh ) , ∀wh ∈Yh, (5.2) where b(uh,wh,vh)=( (uh ·∇)wh,vh)+ 1 2(divuh,wh,vh). (ii) Findpn+1 h ∈Mh such that (∇pn+1 h ,∇qh)= ( ∇pn h + 1 δt˜un+1 h ,∇qh ) , ∀qh ∈Mh. (5.3) (iii) Set un+1 h =˜un+1 h −δt∇(pn+1 h −pn h) ∈Zh. (5.4) By using a similar procedure to that in the proof of Theorem 2.1, we can establish the following: Theorem 5.1. The scheme (5.1)–(5.4) is unconditionally energy stable in the sense that ∥un+1 h ∥2 +α∥bn+1 h ∥2 +δt2∥∇pn+1 h ∥2 +(∥˜un+1 h −un h∥2 +2νδt∥∇˜un+1 h ∥2 +2αηδt∥∇bn+1 h ∥2) ⩽ ∥un h∥2 +α∥bn h ∥2 +δt2∥∇pn h ∥2, ∀n ⩾ 0. Proof. Taking vh =2 δt˜un+1 h in (5.1), we obtain ∥˜un+1 h ∥2 −∥un h∥2 +∥˜un+1 h −un h∥2 +2νδt∥∇˜un+1 h ∥2 +2δt(∇pn h,˜un+1 h )−2δtα(∇× bn+1 h ,bn h × ˜un+1 h ) =0 , (5.5) since, by integration by parts, we have b((uh ·∇)vh,vh)=0 , ∀uh ∈Zh,v h ∈Xh. (5.6) Taking wh =2 δtαbn+1 h in (5.2), we find α∥bn+1 h ∥2 −α∥bn h∥2 +α∥bn+1 h −bn h∥2 +2δtαη∥∇bn+1 h ∥2 1506 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 +2δtα(bn h × ˜un+1 h ,∇× bn+1 h )=0 . (5.7) We rewrite (5.4) as un+1 h +δt∇pn+1 h =˜un+1 h +δt∇pn h. Since both sides are inZh, we can take the inner product of the above with itself on both sides to get ∥un+1 h ∥2 +δt2∥∇pn+1 h ∥2 = ∥˜un+1 h ∥2 +δt2∥∇pn h∥2 +2δt(∇pn h ,˜un+1 h ). (5.8) We obtain the desired result by taking the sum of (5.5), (5.7) and (5.8). Remark 5.2. By making standard assumptions on the approximation properties ofXh, Yh,M h and the usual inf-sup condition on (Xh,Mh), one can establish an error estimate, for the fully discretized scheme (5.1)–(5.4) using a standard procedure (see [8]). We leave the details to the interested readers. Note that ˜un+1 h and bn+1 h are coupled together, and are solutions to a linear system of the form An+1 h ( ˜un+1 h bn+1 h ) = ( 1 δtun h −∇pn h 1 δtbn h ) . (5.9) It is easy to check that foruh ∈Xh and bh ∈Yh,w eh a v e (( uh bh ) ,An+1 h ( uh bh )) = 1 δt∥uh∥2 +ν∥∇uh∥2 + α δt∥bh∥2 +αη∥∇bh∥2. (5.10) Hence the matrix representationAn+1 h is positive definite (but not symmetric). Therefore, (5.9) can be solved efficiently by one’s favorite method. For example, one can use the preconditioned BiCGSTAB [6], which does not require (An+1 h )T, with the following block diagonal operator as the preconditioner: Ph = ( 1 δtI −νΔh 0 0 α δtI −αη˜Δh, ) , (5.11) where Δh and ˜Δh are discrete Laplacians defined by −⟨Δhuh,vh⟩ := (∇uh,∇vh), ∀uh,vh ∈Xh, −⟨˜Δhbh,wh⟩ := (∇bh,∇wh), ∀uh,vh ∈Yh. (5.12) Hence, each BiCGSTAB iteration requires solving only two decoupled Poisson-type equations. 5.2 A Legendre-Galerkin method As an example, we present and implement below a Legendre-Galerkin method in space. To this end, we set Ω = (−1,1)d. Using the convention of spectral methods, we shall useN instead ofh to denote the spatial discretization parameter. Let PN be the space of polynomials of degree less than or equal toN in each direction. We define the approximation spaces for the velocityu, magnetic fieldb and pressurep by XN = {u ∈(PN)d : u|∂Ω =0 }, YN = {b ∈(PN)d : n·b|∂Ω =0a n dn×(∇× b)|∂Ω =0 }, MN = { p ∈PN −2 : ∫ Ω pdx =0 } , (5.13) respectively, and set ZN := {vN + ∇qN : vN ∈XN,qN ∈MN}. Note that here we choose to enforce the boundary conditionn × (∇× b)|∂Ω = 0 explicitly inYN. As we shall see below, this allows us to construct a more efficient algorithm. Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1507 The Legendre-Galerkin method for (2.1) is to find ˜un+1 N ∈XN and bn+1 N ∈YN such that (1 δt˜un+1 N ,vN ) +((un N ·∇)˜un+1 N ,vN)−ν(Δ˜un+1 N ,vN) −α((∇× bn+1 N )×bn N,vN)= (1 δtun N −∇pn N ,vN ) , ∀vN ∈XN, (α δtbn+1 N ,wN ) −αη(Δbn+1 N ,wN)+ α(∇× (bn N × ˜un+1 N ),wN)= (α δtbn N,wN ) , ∀wN ∈YN. (5.14) The Legendre-Galerkin method for (2.2) is to find∇pn+1 N ∈MN such that (∇pn+1 N ,∇qN)= ( ∇pn N + 1 δt˜un+1 N ,∇qN ) , ∀qN ∈MN, (5.15) and un+1 N =˜un+1 N −δt∇(pn+1 N −pn N) ∈ZN. (5.16) Asdiscussedabove,weshallsolvethecoupledlinearsystem(5.14)usingthe preconditionedBiCGSTAB method. Withtheblockdiagonalpreconditioner,eachBiCGSTAB iterationrequiressolvingconsecutively two equations of the following form: FinduN ∈XN such that α1(uN,vN)+( ∇uN,∇vN)=( f1,vN), ∀vN ∈XN, (5.17) and findbN ∈YN such that α2(bN,wN)+( ∇bN,∇wN)=( f2,wN), ∀wN ∈YN, (5.18) where α1 and α2 are two constants, andf1 and f2 are two given functions. We shall use the efficient method presented in [14] for solving (5.17), and describe below an efficient method for solving (5.18). We consider first the two-dimensional case. Let b =( b1,b2)T. Then, n·b|∂Ω = 0 can be written as b1(±1,y)=0 a n d b2(x,±1) = 0,x , y∈(−1,1). (5.19) The second boundary condition n×(∇× b)=0 can also be separated. Indeed, since n×(∇× b)= n×(0,∂xb2 −∂yb1), (5.20) at x = ±1, we have ∂xb2(±1,y)−∂yb1(±1,y)=0 . Since b1(±1,y) = 0 from the first boundary condition, we have∂xb2(±1,y) = 0. Similarly, we have by(x,±1) = 0. Hence, the boundary conditions forb1 and b2 are completely decoupled and are given by b1(±1,y)=0 ,∂ yb1(x,±1) = 0,y ∈(−1,1) (5.21) and b2(x,±1) = 0,∂ xb1(±1,y)=0 . (5.22) H e n c ew ec a ns o l v ef o rb1 and b2 separately by using the efficient Legendre-Galerkin method presented in [14]. In the three-dimensional case, the boundary conditions no longer decouple from each other. However, one can still develop an efficient Legendre-Galerkin solver for the coupled system as in [3]. 1508 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 6 Numerical results It is clear that the first-order schemes lead to first-order convergence rate for all quantities. But the convergence rates of second-order schemes are more complicated [7]. Hence, we shall examine the rate of convergence for the second-order schemes (3.1)–(3.2) and (3.16)–(3.17) with the following fabricated exact solution (with corresponding forcing functions added in (1.1)): u =( s i n (t)sin(2πy)sin2(πx),−sin(t)sin(2πx)sin2(πy))T, b =( s i n (t)sin(πx)cos(πy),−sin(t)sin(πy)cos(πx))T, p = sin(t)exp(x+y). We takeν= α= η=1 , and unless specified otherwise, we useN = 40 in our spectral approximation which is more than enough to resolve the given solution to machine accuracy sothe computed errors are due only to the time discretizations. In Figure 1, we plot the errors vs.δtof the scheme (3.1)–(3.2). We observe that the convergence rate for the magnetic fieldb is of second-order in bothL2 and H1. However, the convergence rate for the velocity u is of second-order inL2 but of 3/2-order inH1, and the convergence rate for the pressurep in L2 is of first-order. These are consistent with the results for Navier-Stokes equations [7]. In Figure 2, we plot the errors vs.δtof the scheme (3.16)–(3.17). We observe that the convergence rates for all measured quantities are of second-order. Since the computational procedure and complexity of this scheme is essentially the same as that of (3.1)–(3.2), we have that, this scheme is recommended in practice. u1 dt dt dt Pressure error Error Error Error errorerror b1 L2 H1 L2 H1 L2 Figure 1 Errors of u1,b 1,p at T = 1 with the scheme (3.1)–(3.2) Choi H et al. Sci China Math August 2016 Vol. 59 No.8 1509 u1 errorerror b1 Error Error dt dt L2 H1 L2 H1 Pressure error Error dt L2 Figure 2 Errors of u1,b 1,p at T = 1 with the scheme (3.16)–(3.17) Time dt dt dt dt Figure 3 Evolution of BiCGSTAB iteration numbers Next, we examine the convergence performance of the preconditioned BiCGSTAB for solving (5.9). In Figure 3, the iteration numbers of BiCGSTAB for variousδtare plotted for a tolerance of τ=1 0−10. We observe that convergences are achieved with a few iterations for all cases, and asδtdecreases, the number of iterations required decreases. 1510 Choi H et al. Sci China Math August 2016 Vol. 59 No.8 7 Concluding remarks In this paper, we developed several semi-discretized schemes for the MHD equations. These schemes are based on the standard and rotational pressure-correction schemes for the Navier-Stokes equations, and enjoy the following properties: •There are unconditionally energy stable. Hence, a suitable time adaptive strategy can be used. •They lead to, at each time step, a coupled linear system for the velocity and magnetic field, and a Poisson equation for the pressure. The coupled linear system is positive definite so it can be efficiently solved by one’s favorite method, in particular, by a preconditioned BiCGSTAB method with the block diagonal preconditioner. •The schemes do not enforce explicitly the divergence-free condition for the magnetic field, or in other words, do not involve a projection step as in [2]. However, it is shown that our schemes lead to divergence-free magnetic field if the initial magnetic field is divergence-free. Hence, these schemes are very effective and easy toimplement, and we believe that they can be very useful in numerical simulation of MHD flows. Acknowledgements This work was supported by National Science Foundation of USA (Grant No. DMS- 1419053). References 1 Badia S, Codina R, Planas R. On an unconditionally convergent stabilized finite element approximation of resistive magnetohydrodynamics. J Comput Phys, 2013, 234: 399–416 2 Badia S, Planas R, Guti´errez-Santacreu J V. Unconditionally stable operator splitting algorithms for the incompressible magnetohydrodynamics system discretized by a stabilized finite element formulation based on projections. Internat J Numer Methods Engrg, 2013, 93: 302–328 3 Chen F, Shen J. Efficient spectral-Galerkin methods for systems of coupled second-order equations and their applica- tions. J Comput Phys, 2012, 231: 5016–5028 4 Duvaut G, Lions J-L. In´equations en thermo´elasticit´e et magn´ etohydrodynamique. Arch Ration Mech Anal, 1972, 46: 241–279 5 Gerbeau J F. A stabilized finite element method for the incompressible magnetohydrodynamic equations. Numer Math, 2000, 87: 83–111 6 Golub G H, Van Loan C F. Matrix Computations. Maryland: JHU Press, 2012 7 Guermond J-L, Minev P, Shen J. An overview of projection methods for incompressible flows. Comput Methods Appl Mech Engrg, 2006, 195: 6011–6045 8 Guermond J-L, Quartapelle L. On the approximation of the unsteady Navier-Stokes equations by finite element pro- jection methods. Numer Math, 1998, 80: 207–238 9 Guermond J-L, Shen J. On the error estimates of rotational pressure-correction projection methods. Math Comp, 2004, 73: 1719–1737 10 Gunzburger M D, Meir A J, Peterson J S. On the existence, uniqueness, and finite element approximation of solutions of the equations of stationary, incompressible magnetohydrodynamics. Math Comp, 1991, 56: 523–563 11 Liu J G, Pego R. Stable discretization of magnetohydrodynamics in bounded domains. Commun Math Sci, 2010, 8: 235–251 12 Sch¨otzau D. Mixed finite element methods for stationary incompressible magneto-hydrodynamics. Numer Math, 2004, 96: 771–800 13 Sermange M, Temam R. Some mathematical questions related to the MHD equations. Comm Pure Appl Math, 1983, 36: 635–664 14 Shen J. Efficient spectral-Galerkin method I: Direct solvers for second- and fourth-order equations by using Legendre polynomials. SIAM J Sci Comput, 1994, 15: 1489–1505 15 Timmermans L J P, Minev P D, Van De Vosse F N. An approximate projection scheme for incompressible flow using spectral elements. Int J Numer Methods Fluids, 1996, 22: 673–688 16 van Kan J. A second-order accurate pressure-correction scheme for viscous incompressible flow. SIAM J Sci Stat Comput, 1986, 7: 870–891
采集于
查看校方原文 ↗