校园网页 · 学校官网
doi:10.1016/j.jcp.2006.06.013
Gauge–Uzawa methods for incompressible flows with variable density Jae-Hong Pyo a,1, Jie Shen b,*,2 a Department of Mathematics, Yonsei University, Seoul, South Korea b Department of Mathematics, Purdue University, 150 N University Street, West Lafayette, IN 47907, USA Received 14 October 2005; received in revised form 11 May 2006; accepted 7 June 2006 Available online 24 July 2006 Abstract Two new Gauge–Uzawa schemes are constructed for incompressible flows with variable density. One is in the conserved form while the other is in the convective form. It is shown that the first-order versions of both schemes, in their semi-dis- cretized form, are unconditionally stable. Numerical experiments indicate that the first-order (resp. second-order) versions of the two schemes lead to first-order (resp. second-order) convergence rate for all variables and that these schemes are suitable for handling problems with large density ratios such as in the situation of air bubble rising in water. /C211 2006 Elsevier Inc. All rights reserved. MSC: 65M12; 65M60; 76D05 Keywords: Incompressible flows with variable density; Projection methods; Gauge–Uzawa method; Finite element method; Stability 1. Introduction We consider in this paper numerical approximations of incompressible viscous flows with variable density governed by the following coupled nonlinear system: qt þ u /C1rq ¼ 0; ð1:1aÞ qðut þð u /C1r ÞuÞþr p /C0 lDu ¼ f in X /C2ð 0; T /C138; ð1:1bÞ r/C1u ¼ 0; ð1:1cÞ 0021-9991/$ - see front matter /C211 2006 Elsevier Inc. All rights reserved. doi:10.1016/j.jcp.2006.06.013 * Corresponding author. Tel.: +1 765 494 1923; fax: +1 928 223 3244. E-mail addresses: jhpyo@yonsei.ac.kr (J.-H. Pyo), shen@math.purdue.edu (J. Shen). URLs: http://www.math.purdue.edu/~pjh (J.-H. Pyo), http://www.math.purdue.edu/~shan/ (J. Shen). 1 The work of this author is partially supported by the Brain Korea 21 Project in 2005. 2 The work of this author is partially supported by NFS Grants DMS-0456286 and DMS-0509665. Journal of Computational Physics 221 (2007) 181–197 www.elsevier.com/locate/jcp where the unknowns are the density q > 0, the velocity field u and the pressure p; l is the dynamic viscosity coefficient, f represents the external force, X is a bounded domain in Rd (d = 2 or 3) and T > 0 is fixed time. The system (1.1) is supplemented with initial and boundary conditions for u and q: qðx; 0Þ¼ q0ðxÞ in X and qðx; tÞjCuðx;tÞ ¼ rðx; tÞ; uðx; 0Þ¼ u0ðxÞ in X and uðx; tÞjC ¼ gðx; tÞ; ( ð1:2Þ where C = oX, and for any velocity field v, Cv is the inflow boundary defined by Cv :¼f x 2 C : vðxÞ/C1m < 0g with m being the outward unit normal vector. We note that no initial and boundary condition is needed for the pressure p which can be viewed as a Lagrange multiplier whose mathematical role is to enforce the incompress- ibility condition (1.1c). We refer to [9] for the mathematical theory on the well posedness of (1.1)–(1.2). How to construct stable and efficient numerical schemes for the system (1.1)–(1.2) is challenging since, in addition to all the difficulties associated with the incompressible flows with constant density, it involves a transport equation for the density q which enforces, in addition to the incompressibility, that the mass density remains unchanged during the fluid motion. It is now well established (see, for instance, the review [5] and the references therein) that the difficulties associated with the incompressibility can be effectively handled by using a suitable projection type scheme originally proposed by Chorin [2] and Temam [14]. This approach has been used in [1,6,8], among others, for incompressible flows with variable density. However, the variable density introduces considerable difficulties for the construction and analysis of accurate and stable projection type schemes. For example, it is well known that the skew-symmetry of the nonlinear term in the Navier–Stokes equations (with constant density q 0), namely,Z X ðq0u /C1r Þv /C1v dx ¼ 0 for u; v smooth enough and u /C1mjC ¼ 0; plays a very important role in the analysis of the Navier–Stokes equations and the corresponding numerical schemes. However, this property no longer holds when q is not a constant. To overcome this difficulty, Guer- mond and Quartapelle [6] considered the following system in conserved form: qt þ u /C1rq þ q 2 r/C1u ¼ 0; ð1:3aÞ rðruÞt þð qu /C1r Þu þ u 2 r/C1ðquÞþr p /C0 lDu ¼ f in X /C2ð 0; T /C138; ð1:3bÞ r/C1u ¼ 0; ð1:3cÞ where r ¼ ffiffiffiqp . Note that the term q 2r/C1u, which is zero everywhere due to (1.3c), is kept in the formulation in anticipation that the incompressibility condition (1.3c) may not be satisfied exactly in the space discrete case. We derive from (1.1a) and (1.1c) that rðruÞt ¼ qut þ 1 2 qtu ¼ qut /C0 1 2 r/C1ðquÞu: Hence, the system (1.3) is mathematically equivalent to the original system (1.1), but now the nonlinear terms in (1.3) satisfy the desired properties that for q, u, v smooth enough and u Æ m|C = 0, we have Z X u /C1rq /C1q dx ¼ 0a n d 1 2 Z X qr/C1uq dx ¼ 0; ð1:4Þ Z X ðqu /C1r Þv /C1v dx þ 1 2 Z X r/C1ðquÞv /C1v dx ¼ 0: ð1:5Þ Hence, taking the inner product of (1.3a) with q(x, t) and of (1.3b) with u(x, t), we obtain the following identities: 1 2 d dt kqð/C1; tÞk2 L2 ¼ 0; 1 2 d dt krðtÞuð/C1; tÞk2 L2 þ lkruð/C1; tÞk2 L2 ¼ Z X fðx; tÞ/C1uðx; tÞ dx: 182 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 It is from this conserved formulation that Guermond and Quartapelle were able to construct some stable pro- jection type schemes for the incompressible flows with variable density and proved rigorously their stability in [6]. To the best of our knowledge, the stability analysis [6] is still the only rigorous proof available for any projection type scheme with variable density. However, for the more accurate version (see (4.1)–(4.5) in [6]) which is based on the incremental projection scheme (i.e., the pressure-correction scheme), two projection steps (i.e., two pressure-Poisson solvers) are needed to preserve the stability of the scheme. Since the pres- sure-Poisson solver consumes a significant part (it is often the most time consuming part) of the total compu- tational effort, this approach could increase the total computational cost significantly as opposed to the schemes with only one projection step. On the other hand, while the system in conserved form (1.3) is conve- nient for analysis, it does involve additional cost in computing the two additional nonlinear terms in (1.3a) and (1.3b). In some cases where a non-variational method such as spectral-collocation method or finite difference method is used, it is often not advisable to use (1.3). Hence, it is also of interest to have a stable numerical scheme which is based on the original system (1.1). The purpose of this paper is to propose two new Gauge–Uzawa schemes for incompressible flows with var- iable density. The first scheme will be based on the system in conserved form (1.3) while the second scheme will be based on the system in convected form (1.1). We recall that the Gauge–Uzawa method is introduced in [12,10] to overcome some implementation difficulties associated with the Gauge method introduced in [3]. It has been shown in [12,10,13,11] that the Gauge–Uzawa method has many advantages over the original Gauge method and the pressure-correction method. We will show that a proper Gauge–Uzawa formulation is well suitable for problems with variable density. More precisely, our two new schemes will only involve one projection step and will be proved unconditionally stable. The paper is organized as follows. In the next two sections, we present the two Gauge–Uzawa schemes and show that they are unconditionally stable, respectively. In Section 4, we present some numerical results which reveal the convergence rate of our schemes for each of the three unknown functions. We also present a chal- lenging numerical simulation of an air bubble rising in water. some concluding remarks are given in Section 5. We now introduce some notations. We denote by H s(X) and H s 0ðXÞ the usual Sobolev spaces. Let d = 2 or 3 be the space dimension. We set L2(X): =( L2(X))d and Hs(X): =( Hs(X))d, and denote by L2 0ðXÞ the subspace of L2(X) of functions with vanishing mean-value. We use i Æ is to denote the norm in Hs(X) and Æ Æ, Ææ to denote the inner product in L2(X). 2. Gauge–Uzawa method in conserved form 2.1. The scheme and its stability The first-order semi-discrete Gauge–Uzawa method based on the conserved system (1.3) reads as follows: Algorithm 1 (Gauge–Uzawa method in conserved form ). Set q0 = q0, u0 = u0 and s0 = 0; repeat for 1 6 n 6 N 6 T/s/C0 1: Step 1 . Find qn+1 as the solution of qnþ1/C0 qn s þ un /C1rqnþ1 þ qnþ1 2 r/C1un ¼ 0; qnþ1jCun ¼ rnþ1: ( ð2:1Þ Step 2 . Find bunþ1 as the solution of rnþ1 rnþ1bunþ1 /C0 rn un s þ qnþ1ðun /C1r Þbunþ1 þ 1 2 ðr /C1 ðqnþ1unÞÞbunþ1 þ lrsn /C0 lDbunþ1 ¼ fnþ1; bunþ1jC ¼ gnþ1: ( ð2:2Þ Step 3 . Find /n+1 as the solution of /C0r /C1 1 qnþ1 r/nþ1 /C16/C17 ¼r/C1bunþ1; om /nþ1jC ¼ 0: 8 < : ð2:3Þ J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 183 Step 4 . Update un+1 and sn+1 by unþ1 ¼bunþ1 þ 1 qnþ1 r/nþ1; snþ1 ¼ sn /C0r/C1 bunþ1: ð2:4Þ Remark 2.1. In practice, (2.3) is often reformulated in the following weak formulation 1 qnþ1 r/nþ1; rq /C28/C29 ¼/C0 h bunþ1; rqi8 q 2 H 1ðXÞ; ð2:5Þ and then discretized. We derive immediately from (2.5, 2.4) that hunþ1; rqi¼ 0 8q 2 H 1ðXÞ; ð2:6Þ which implies that in the space continuous case, we have r/C1unþ1 ¼ 0 and unþ1 /C1mjC ¼ gnþ1 /C1mjC: ð2:7Þ However, in the space discrete case, only a discrete version of (2.6) will be satisfied so the discrete velocity field will generally not be divergence free. Remark 2.2. Note that the pressure does not appear in the above algorithm. However, a proper approxima- tion of the pressure can be constructed. To this end, let us assume for the moment q = q0 is a constant and drop the nonlinear terms. Then, eliminating bunþ1 from (2.2) using (2.4) and (2.7) leads to q0 unþ1 /C0 un s /C0 lDunþ1 þr ðlsnþ1 /C0 1 s /nþ1Þ¼ fnþ1; r/C1unþ1 ¼ 0; unþ1 /C1mjC ¼ gnþ1 /C1mjC: Hence, we should define the pressure approximation as pnþ1 ¼/C0 1 s /nþ1 þ lsnþ1: ð2:8Þ Next, we establish a stability result. For the sake of simplicity, we shall consider only homogeneous Dirich- let boundary conditions for the velocity, i.e., u|C =0 . Theorem 2.1. Assuming g ” 0, the Gauge–Uzawa Algorithm 1 is unconditionally stable in the sense that, for all s > 0 and 0 6 N 6 T/s /C0 1, the following a priori bounds hold: kqN þ1k2 0 þ XN n¼0 kqnþ1 /C0 qnk2 0 ¼k q0k2 0 ð2:9Þ and krN þ1buN þ1k2 0 þ XN n¼1 krnþ1bunþ1 /C0 rnunk2 0 þk 1 rn r/nk2 0 /C18/C19 þ lsksN þ1k2 0 þ l 2 s XN n¼1 krbunþ1k2 0 6 kr0bu0k2 0 þ Cls XN n¼1 kfnþ1k2 /C0 1: ð2:10Þ Proof. Taking the inner product of (2.1) with 2 sqn+1, thanks to (1.4), we get kqnþ1k2 0 þk qnþ1 /C0 qnk2 0 /C0k qnk2 0 ¼ 0: Summing it over n from 0 to N leads to (2.9). 184 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 Next, we take the inner product of (2.2) with 2 sbunþ1, thanks to (1.5), we get krnþ1bunþ1k2 0 þk rnþ1bunþ1 /C0 rnunk2 0 /C0k rnunk2 0 þ 2lskrbunþ1k2 0 þ 2lshrsn;bunþ1i¼ 2lshfnþ1;bunþ1i: ð2:11Þ The next task is to derive a suitable relation between krnunk2 0 and krnbunk2 0 so that we can sum over n the rela- tion (2.11). To this end, we derive from (2.3) and (2.6) that krnunk2 0 ¼h qnun; uni¼h qnbun þr /n; uni¼h qnbun; uni¼ qnbun;bun þ 1 qn r/n /C28/C29 ¼k rnbunk2 0 þ un /C0 1 qn r/n; r/n /C28/C29 ¼k rnbunk2 0 /C0k 1 rn r/nk2 0: ð2:12Þ We now sum up (2.11) and (2.12) to get krnþ1bunþ1k2 0 /C0k rnbunk2 0 þk 1 rn r/nk2 0 þk rnþ1bunþ1 /C0 rnunk2 0 þ 2lskrbunþ1k2 0 ¼ A1 þ A2 ð2:13Þ with A1 :¼ 2ls sn; r/C1bunþ1hi ; A2 :¼ 2ls fnþ1;bunþ1/C10/C11 : ð2:14Þ We derive from the well-known inequality kr /C1vk0 6 krvk0 8v 2 H1 0ðXÞ; ð2:15Þ and (2.4) that A1 ¼/C0 2lshsn; snþ1 /C0 sni¼/C0 lsðksnþ1k2 0 /C0k snþ1 /C0 snk2 0 /C0k snk2 0Þ ¼/C0 lsðksnþ1k2 0 /C0k snk2 0Þþ lskr /C1bunþ1k2 0 6 /C0 lsðksnþ1k2 0 /C0k snk2 0Þþ lskrbunþ1k2 0: ð2:16Þ Using the Cauchy-Schwarz inequality, we find A2 6 Clskfnþ1k2 /C0 1 þ l 2 skrbunþ1k2 0: ð2:17Þ Inserting the above two results into (2.13) leads to krnþ1bunþ1k2 0 /C0k rnbunk2 0 þ lsksnþ1k2 0 /C0 lsksnk2 0 þk 1 rn r/nk2 0 þk rnþ1bunþ1 /C0 rnunk2 0 þ l 2 skrbunþ1k2 0 6 Clskfnþ1k2 /C0 1: Summing the above over n from 0 to N yields (2.10). h 2.2. A finite element discretization We now describe, as an example of space discretizations, a finite element method for Algorithm 1 . Let R ={ K} be a shape regular quasi-uniform partition of X with mesh-size h. We define Wh ¼f /h 2 L2ðXÞ : /hjK 2 PðKÞ8 K 2 Rg; Qh ¼f qh 2 L2 0ðXÞ\ CðXÞ : qhjK 2 QðKÞ8 K 2 Rg; Vb h ¼f vh 2 CðXÞ : vhjK 2 RðKÞ8 K 2 R; vhjC ¼ bg; where, for all K 2 R, PðKÞ; QðKÞ and RðKÞ are spaces of polynomials with degree P; Q and R, respectively. Then, the FEM Gauge–Uzawa method reads as follows: FEM Gauge–Uzawa method . Let q0h and u0h be a suitable approximation of q0 and u0, respectively. Set q0 h ¼ q0h; u0 h ¼ u0h and s0 h ¼ 0; repeat for 1 6 n 6 N 6 T/s /C0 1: J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 185 Step 1 . Find qnþ1 h 2 Wh such that qnþ1 h /C0 qn h s þ un h /C1rqnþ1 h þ qnþ1 h 2 r/C1un h; wh DE ¼ 0 8wh 2 Wh; qnþ1 h jCun ¼ rnþ1 h : 8 < : ð2:18Þ Step 2 . Find bunþ1 h 2 Vgnþ1 h such that rnþ1 h rnþ1 h bunþ1 h /C0 rn hun h s ; wh /C28/C29 þh qnþ1 h ðun h /C1r Þbunþ1 h ; whiþ 1 2 ðr /C1 ðqnþ1 h un h ÞÞbunþ1 h ; wh /C10/C11 /C0 l sn h; r/C1wh /C10/C11 þ l rbunþ1 h ; rbunþ1 h /C10/C11 ¼ fhðtnþ1Þ; wh /C10/C11 8V h 2 V0 h: ð2:19Þ Step 3 . Find /nþ1 h 2 Qh such that 1 qnþ1 h r/nþ1 h ; rqh /C28/C29 ¼/C0 bunþ1 h ; rqh /C10/C11 8qh 2 Qh: ð2:20Þ Step 4 . Update unþ1 h and snþ1 h 2 Qh by unþ1 h ¼bunþ1 h þ 1 qnþ1 h r/nþ1 h ; snþ1 h ; qh /C10/C11 ¼ sn h /C0r/C1 bunþ1 h ; qh /C10/C11 8qh 2 Qh: ð2:21Þ Remark 2.3. We recall that in proving Theorem 2.1, we did not use directly the incompressibility condition. In fact, only the properties (1.4), (1.5) and (2.6) were used. Since we derive from (2.20) and (2.21) that unþ1 h ; rqh /C10/C11 ¼ 0 8qh 2 Qh so the proof of Theorem 2.1 can be carried over to this discrete case and the stability results in Theorem 2.1 are also valid with all quantities replaced by their discrete counterparts. Note that un h computed from (2.21) lives in a strange space which is not convenient for implementation and for analysis. However, it is clear that one may completely eliminate un h from the above algorithm to avoid this difficulty. The solution of the discrete density Eq. (2.18) presents the usual difficulties associated with Galerkin FEM for hyperbolic equations (see, for instance, [7,4]). Many finite element techniques have been developed to over- come these difficulties, e.g., streamline diffusion [7], discontinuous Galerkin [7], artificial diffusion [7], sub-grid discretization or least-squares [4], and so on. In the numerical results presented below, we adopted a least- square method which we briefly describe now. To simplify the presentation, we consider the simple equation q þ aU /C1rq ¼ f ; ð2:22Þ where a is a given constant and U is a given velocity with $ Æ U = 0 and U Æ m|C =0 .T h e Least-Squares method can be derived by taking the inner product of (2.22) with w + aU Æ $w: hq þ aU /C1rq; w þ aU /C1rwi¼h f ; w þ aU /C1rwi: ð2:23Þ Since $ Æ U = 0 and U Æ m = 0, we have Æ U Æ $q, wæ = /C0 Æ U Æ $w, qæ.S o (2.23) can be rewritten as hq; wiþ a2hU /C1rq; U /C1rwi¼h f ; w þ aU /C1rwi: We then define the Least-squares method as: find qh 2 Vh such that hqh; whiþ a2hU /C1rqh; U /C1rwhi¼h f ; wh þ aU /C1rwhi8 wh 2 Vh: We indicate that, unlike the standard Galerkin formulation, the above linear system is symmetric and we have the following error bound (cf. [4]): kq /C0 qhk0 þk U /C1r ðq /C0 qhÞk0 6 Chckqkcþ1: Note that this estimate is optimal in the norm induced by the stream-wise derivative but is only sub-optimal in the L2-norm as is in the standard Galerkin method. 186 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 2.3. A second-order version Algorithm 1 is only first-order accurate. However, a second-order version with essentially the same com- putational procedures can be constructed as follows. For simplicity, we denote, for any function a, its sec- ond-order extrapolation by anþ1 ¼ 2an /C0 an/C0 1. A second-order Gauge–Uzawa method . Set q0 = q0, u0 = u0 and s0 = 0 and compute u1, /1, s1, p1 with Algo- rithm 1 ; repeat for 2 6 n 6 N 6 T/s/C0 1. Step 1 . Find qn+1 as the solution of 3qnþ1 /C0 4qn þqn/C0 1 2s þ unþ1 /C1rqnþ1 þ qnþ1 2 r/C1unþ1 ¼ 0; qnþ1jCunþ1 ¼ rnþ1: ( ð2:24Þ Step 2 . Find bunþ1 as the solution of qnþ1 3bunþ1 /C0 4un þun/C0 1 2s þ qnþ1ðunþ1 /C1r Þbunþ1 þ 1 2 ðr /C1 ðqnþ1unþ1ÞÞbunþ1 þr pn þ lrsn /C0 lDbunþ1 ¼ fnþ1; bunþ1jC ¼ gnþ1: ( ð2:25Þ Step 3 . Find /n+1 as the solution of /C0r /C1 1 qnþ1 r/nþ1 /C16/C17 ¼r/C1bunþ1; om /nþ1jC ¼ 0: n ð2:26Þ Step 4 . Update un+1, sn+1 and pn+1 by unþ1 ¼bunþ1 þ 1 qnþ1 r/nþ1; snþ1 ¼ sn /C0r/C1 bunþ1; pnþ1 ¼ pn /C0 3/nþ1 2s þ lsnþ1: ð2:27Þ To see that the above scheme is indeed (formally) second-order accurate, we drop the nonlinear terms and consider q = q0 (note that it is obvious that the approximations for the nonlinear terms and the density are second-order), after eliminating bunþ1, we find q0 3unþ1 /C0 4un þ un/C0 1 2s /C0 lDunþ1 þr pnþ1 ¼ fnþ1; r/C1unþ1 ¼ 0; unþ1 /C1mjC ¼ 0: Hence, the scheme is formally second-order accurate. However, although ample numerical experiments indicate that this scheme is unconditionally stable, how to prove the unconditional stability is an open problem. In fact, how to prove the stability of the above algorithm without the nonlinear terms and with constant density is still an open problem. 3. Gauge–Uzawa method in convective form As we mentioned in the introduction, in some cases where a non-variational method such as spectral-col- location method or finite difference method is used, it is often desirable to use numerical algorithms based on the original system in convective form. Algorithm 2 (Gauge–Uzawa method in convective form ). Set q 0 = q0, u0 = u0 and s0 = 0; repeat for 1 6 n 6 N 6 T/s /C0 1: J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 187 Step 1 . Find qn+1 as the solution of qnþ1 /C0 qn s þ un /C1rqnþ1 ¼ 0; qnþ1jCun ¼ rnþ1: ( ð3:1Þ Step 2 . Find bunþ1 as the solution of qnbunþ1 /C0 un s þ qnþ1ðun /C1r Þbunþ1 þ lrsn /C0 lDbunþ1 ¼ fnþ1; bunþ1jC ¼ gnþ1: ( ð3:2Þ Step 3 . Find /n+1 as the solution of /C0r /C1 ð 1 qnþ1 r/nþ1Þ¼r/C1bunþ1; om /nþ1jC ¼ 0: ( Step 4 . Update un+1 and sn+1 by unþ1 ¼bunþ1 þ 1 qnþ1 r/nþ1; snþ1 ¼ sn /C0r/C1 bunþ1: Remark 3.1. Once again, the pressure does not appear directly in the algorithm but an approximation of the pressure can be defined by (2.8). A second-order version of this algorithm can be similarly constructed as in Eqs. (2.24)–(2.27). We now present a stability result. As in Theorem 2.1 , we shall consider, for the sake of simplicity, only homogeneous Dirichlet boundary conditions for the velocity, i.e., u|C =0 . Theorem 3.1. Assuming g ” 0, the Gauge–Uzawa Algorithm 2 is unconditionally stable in the sense that, for all s > 0 and 0 6 N 6 T/s /C0 1, the following a priori bounds hold: kqN þ1k2 0 þ XN n¼0 kqnþ1 /C0 qnk2 0 ¼k q0k2 0 ð3:3Þ and krN þ1bunþ1k2 0 þ XN n¼0 krnðbunþ1 /C0 unÞk2 0 þ 1 rn r/n /C13/C13/C13/C13 /C13/C13/C13/C13 2 0 ! þ lsksN þ1k2 0 þ l 2 s XN n¼0 krbunþ1k2 0 6 kr0bu0k2 0 þ Cls XN n¼0 kfnþ1k2 /C0 1: ð3:4Þ Proof. Taking the inner product of (3.1) with 2 sqn+1, thanks to the first equation in (1.4),w eh a v e kqnþ1k2 0 þk qnþ1 /C0 qnk2 0 /C0k qnk2 0 ¼ 0: Summing up over n from 0 to N leads to (3.3). Next, taking the inner product of (3.2) with 2 sbunþ1, we find 2 qnðbunþ1 /C0 unÞ;bunþ1/C10/C11 þ 2sq nþ1ðun /C1r Þbunþ1;bunþ1/C10/C11 þ 2ls rsn;bunþ1/C10/C11 þ 2lskrbunþ1k2 0 ¼ 2ls fnþ1;bunþ1/C10/C11 : ð3:5Þ Setting rn ¼ ffiffiffiffiffiqnp , we can write the first term in the above as 2 qnðbunþ1 /C0 unÞ;bunþ1/C10/C11 ¼k rnbunþ1k2 0 þk rnðbunþ1 /C0 unÞk2 0 /C0k rnunk2 0: ð3:6Þ The relation (2.12) is still valid so we only need to derive a suitable relation between krnbunþ1k2 0 and krnþ1bunþ1k2 0. To this end, we take the inner product of (3.1) with a scalar function sbunþ1 /C1bunþ1 to get 188 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 hqnþ1 /C0 qn;bunþ1 /C1bunþ1i¼/C0 shr /C1 ðqnþ1unÞ;bunþ1 /C1bunþ1i; ð3:7Þ which can be rewritten as krnþ1bunþ1k2 0 /C0k rnbunþ1k2 0 ¼ 2sq nþ1ðun /C1r Þbunþ1;bunþ1/C10/C11 : ð3:8Þ Combining (3.8) and (2.12) into (3.6), we obtain 2 qnðbunþ1 /C0 unÞ;bunþ1/C10/C11 þ 2sq nþ1ðun /C1r Þbunþ1;bunþ1/C10/C11 ¼k rnþ1bunþ1k2 0 þk rnðbunþ1 /C0 unÞk2 0 /C0k rnbunk2 0 þ 1 rn r/n /C13/C13/C13 /C13 /C13/C13/C13 /C13 2 0 : Now, replacing the first two terms in (3.5) by the above leads to krnþ1bunþ1k2 0 þk rnðbunþ1 /C0 unÞk2 0 /C0k rnbunk2 0 þ 1 rn r/n /C13/C13/C13 /C13 /C13/C13/C13 /C13 2 0 þ 2lskrbunþ1k2 0 ¼ A1 þ A2 with A1 and A2 defined in (2.14). Using the estimates (2.16) and (2.17) yields krnþ1bunþ1k2 0 þk rnðbunþ1 /C0 bunÞk2 0 /C0k rnbunk2 0 þ l 2 skrbunþ1k2 0 þ 1 rn r/n /C13/C13 /C13/C13 /C13/C13 /C13/C13 2 0 þ lsðksnþ1k2 0 /C0k snk2 0Þ 6 Clskfnþ1k2 /C0 1: Summing up the above over n from 0 to N leads to (3.4). h Remark 3.2. How to design a suitable space discretization for Algorithm 2 and prove its stability is a more complicate issue. First of all, (3.7) indicates that the polynomial degree for the density q may have to be twice that of the velocity u. Secondly, the incompressibility condition for un plays an essential role in the stability proof. Hence, in order to carry over the proof to the discrete case, one may need to reformulate Steps 3 and 4 in a mixed formulation to ensure that the finite dimensional approximation of u n+1 satisfies hr /C1unþ1 h ; qhi¼ 0 8qh 2 Qh: 4. Numerical experiments In this section, we present some computational experiments using the Gauge–Uzawa methods. Since the numerical results with the Gauge–Uzawa method in conserved form behave similarly with those with Gauge–Uzawa method in convective form, only the results with Gauge–Uzawa method in convective form will be presented. In all the experiments, we use Taylor-Hood finite element for ( u, p) and linear element for q, i.e., ðP 1; P2; P1Þ for ( q, u, p). Before performing the numerical experiments presented below, we have carried out a series of runs which confirmed that both the first- and second-order Gauge–Uzawa schemes in conserved form and in convective form are unconditionally stable. 4.1. Example 1: Accuracy check using an exact solution In order to check the convergence rate of our numerical algorithms, we consider the exact solution used in [6]. The computational domain is the unit circle | r| 6 1 and we choose an exact solution of (1.1) to be: qðx; y; tÞ¼ 2 þ r cosðh /C0 sinðtÞÞ; uðx; y; tÞ¼/C0 y cosðtÞ; vðx; y; tÞ¼ x cosðtÞ; pðx; y; tÞ¼ sinðxÞ sinðyÞ sinðtÞ: 8 >>> < >> >: J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 189 We set l = 1 and find the force function f to be: fðx; y; tÞ¼ ðy sinðtÞ/C0 x cos2ðtÞÞqðx; y; tÞþ cosðxÞ sinðyÞ sinðtÞ /C0ð x sinðtÞþ y cos2ðtÞÞqðx; y; tÞþ sinðxÞ cosðyÞ sinðtÞ /C18/C19 : We choose the same mesh size for time and space s = h. Let us denote enþ1 ¼ qðtnþ1Þ/C0 qnþ1; Enþ1 ¼ uðtnþ1Þ/C0 unþ1; enþ1 ¼ pðtnþ1Þ/C0 pnþ1: In Tables 1 and 2 , the errors and convergence rates for the first-order and second-order Gauge–Uzawa methods in convective form are displayed respectively. We note that optimal convergence rates (in time) for all variables are observed for both the first- and second-order schemes. Table 1 Error and convergence rate of the first-order Gauge–Uzawa scheme in convective form with finite element ðP1; P2; P1 Þ for (q, u, p), l =1 and s = h s = h 1/8 1/16 1/32 1/64 1/128 kekL2 0.0439168 0.0226351 0.0114484 0.00574574 0.00287605 Order 0.956211 0.983416 0.994581 0.998404 kekL1 0.0645181 0.0351897 0.0181881 0.00926832 0.00473454 Order 0.874551 0.952158 0.972615 0.969084 iEi2 0.00694788 0.00345072 0.00170972 0.000849323 0.000423064 Order 1.009675 1.013137 1.009375 1.005437 kEkL1 0.00722572 0.0038037 0.00190435 0.000945517 0.000470576 Order 0.925738 0.998105 1.010123 1.006676 kEkH1 0.0495402 0.0246391 0.0120976 0.00595981 0.00295276 Order 1.007650 1.026229 1.021383 1.013202 kekL2 0.040379 0.0203382 0.0101331 0.00504652 0.00251691 Order 0.989413 1.005116 1.005715 1.003635 kekL1 0.0691807 0.0359907 0.0180811 0.00901139 0.00449888 Order 0.942745 0.993142 1.004661 1.002184 Table 2 Error and convergence rate of the second-order Gauge–Uzawa scheme in convective form with finite element ðP 1 ; P2; P1Þ for ( q, u, p), l = 1 and s = h s = h 1/8 1/16 1/32 1/64 1/128 kekL2 0.00536121 0.00153932 0.000409795 0.000105529 2.67632e /C0 05 Order 1.800266 1.909319 1.957263 1.979317 kekL1 0.00671147 0.00184529 0.000480763 0.000122597 3.0921e /C0 05 Order 1.862781 1.940450 1.971402 1.987265 iEi2 0.000547451 0.000151833 4.01149e /C0 05 1.02998e /C0 05 2.60881e /C0 06 Order 1.850245 1.920275 1.961522 1.981153 kEkL1 0.000591473 0.000162425 4.53672e /C0 05 1.19136e /C0 05 3.03836e /C0 06 Order 1.864539 1.840052 1.929040 1.971245 kEkH1 0.00350691 0.00102363 0.000279096 7.2713e /C0 05 1.85415e /C0 05 Order 1.776506 1.874861 1.940476 1.971455 kekL2 0.00511148 0.00130559 0.000329946 8.29264e /C0 05 2.07863e /C0 05 Order 1.969039 1.984400 1.992326 1.996199 kekL1 0.00864952 0.00247663 0.000705502 0.000197117 5.43216e /C0 05 Order 1.804242 1.811656 1.839598 1.859454 Table 3 Physical parameters for Example 2 Parameter Air Water Unit (MKS) Density ( q) 1.161 995.65 kg/m 3 Viscosity ( l) 0.0000186 0.0007977 kg/ms 190 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 4.2. Example 2: An air bubble rising in water This example has been simulated by a number of authors in a two dimensional rectangular domain (cf. [8]), although the situation can not be realized in an experimental setting, as well as in a cylinder (cf. [1]). To com- 0 0.005 0.01 0 0.005 0.01 0.015 0.02 0.025 0.005 0.015 0.025 0.005 0.015 0.025 0.005 0.015 0.025 0.005 0.015 0.025 0.005 0.015 0.025 0.03 t=0.0 0 0.005 0.01 0 0.01 0.02 0.03 t=0.01 0 0.005 0.01 0 0.01 0.02 0.03 t=0.02 0 0.005 0.01 0 0.01 0.02 0.03 t=0.03 0 0.005 0.01 0 0.01 0.02 0.03 t=0.04 0 0.005 0.01 0 0.01 0.02 0.03 t=0.05 Fig. 1. Air bubble rises in a rectangular domain filled with water – I. J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 191 pare with the available numerical simulations, we carried out simulations in both situations using the FEM specified before with the Gauge–Uzawa scheme in convective form. The physical parameters we used are listed in Table 3. They are the same as in [8]. The finite element space ðP 1; P2; P1Þ for (q, u, p) is used for both sim- ulation with h = 0.01/256 m and s = 1/10,000 s. Since the air and water have different viscosities, we replace the viscous term /C0 lDu by /C0 $ Æ (l(q)$u), so in the FEM implementation, the bilinear form l Æ $u, $væ in (2.19) is replaced by Æ l(q)$u, $væ. We approximate the initial discontinuous density at the air–water interface by qðx; 0Þ¼ qair þ qwater /C0 qair 2 /C16/C17 /C2 1 þ tanh d /C0 0:0025 0:00025 /C18/C19/C18/C19 ; ð4:9Þ where d is the distance from the center of the bubble to the point. The discontinuity for the viscosity is handled in a similar fashion. Gravity is accounted for via the force term f q ¼½ 0; /C0 9:80665 kg=m2/C138T. The initial condi- tion for the velocity is set to be zero. We first computed the problem in a rectangle of size [0, 0.02 m] · [0, 0.03 m] with an air bubble of radius 0.25 cm initially in the lower middle of the rectangle filled with water. We assume that the flow remains to be symmetric so the computational domain is reduced by half. Snapshots of the air bubble at nine different times from 0 to 0.8 s are displayed in Figs. 1 and 2 . These results are essentially the same as those reported in [8]. The slight difference between our results and theirs may be due to the fact in their computation, an arti- ficial homogeneous Neumann boundary condition was applied to the density, while in our computation, no boundary condition is enforced on the density since the inflow boundary C u is empty. Next, we consider a physically realistic situation, namely, the rise of an air bubble of radius 0.25 cm initially in the lower middle axis of a cylinder of radius 1 cm and hight 3 cm filled with water. We assume that the flow remains to be axisymmetric so the computational domain is [0, 0.01 m] · [0, 0.03 m]. Snapshots of the air bub- ble at twenty different times from 0 to 0.19 s are displayed in Figs. 3–6. It can be noted that the bubble in the cylinder evolves quite differently form the rectangular case. We also observe that the Gauge–Uzawa algorithm is even robust as the bubble goes through a topological change around t = 0.1 s when a large part of the bub- 0 0.005 0.01 0 0.01 0.02 0.03 t=0.06 0 0.005 0.01 0 0.01 0.02 0.03 t=0.07 0 0.005 0.01 0 0.01 0.02 0.03 t=0.08 0.005 0.015 0.025 0.005 0.015 0.025 0.005 0.015 0.025 Fig. 2. Air bubble rises in a rectangular domain filled with water – II. 192 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 ble is detached from the axis. We note that this detachment may be due to the lack of surface tension in the governing equations; since the main purpose of the paper is to develop efficient and stable algorithms for flows with variable density, we will leave the surface tension effect on this problem to a future study. Finally, we note that our results at early times are qualitatively consistent with those presented in [1] where the results were computed with a constant viscosity of the water and only up to t = 0.022 s. 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.0 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.01 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.02 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.03 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.04 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.05 Fig. 3. Air bubble rising in a cylinder filled with water – I. J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 193 5. Concluding remarks We presented in this paper two new Gauge–Uzawa schemes for incompressible flows with variable density and proved that the first-order versions of both schemes, in their semi-discretized form, are unconditionally stable. The first scheme is based on the conserved form and its stability proof can be readily carried over 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.06 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.07 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.08 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.09 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.1 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.11 Fig. 4. Air bubble rising in a cylinder filled with water – II. 194 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 to its finite element discretization without using the incompressibility condition. The second scheme is based on a convective form which is computationally more efficient but its stability proof relies on the incompress- ibility condition. As opposed to the incremental projection scheme introduced in [6], our schemes only involve one projection step so they are more attractive computationally and easier to analyze as well. 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.12 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.13 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.14 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.15 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.16 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.17 Fig. 5. Air bubble rising in a cylinder filled with water – III. J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 195 We presented numerical evidence that first-order (resp. second-order) versions of the two schemes lead to first-order (resp. second-order) convergence rate for all variables. We also presented numerical simulations of air bubble rising in a cylinder filled with water as well as in a rectangle filled with water. Our numerical results are consistent with those available in the literature. Our stability analysis and numerical experiments indicate that the new schemes are well suited for numer- ical simulation of incompressible flows with variable density. References [1] Ann S. Almgren, John B. Bell, Phillip Colella, Louis H. Howell, Michael L. Welcome, A conservative adaptive projection method for the variable density incompressible Navier–Stokes equations, J. Comput. Phys. 142 (1) (1998) 1–46. [2] A.J. Chorin, Numerical solution of the Navier–Stokes equations, Math. Comput. 22 (1968) 745–762. [3] E. Weinan, Jian-Guo Liu, Gauge method for viscous incompressible flows, Commun. Math. Sci. 1 (2) (2003) 317–332. [4] Alexandre Ern, Jean-Luc Guermond, Theory and practice of finite elementsApplied Mathematical Sciences, vol. 159, Springer, New York, 2004. [5] J.L. Guermond, P. Minev, J. Shen, An overview of projection methods for incompressible flows. Comput. Methods Appl. Mech. Eng., in press, doi:10.1016/j.cma.2005.10.010. [6] J.-L. Guermond, L. Quartapelle, A projection FEM for variable density incompressible flows, J. Comput. Phys. 165 (1) (2000) 167– 188. [7] Claes Johnson, Numerical Solution of Partial Differential Equations by the Finite Element Method, Cambridge University Press, Cambridge, 1987. [8] Hans Johnston, Jian-Guo Liu, Finite difference schemes for incompressible flow based on local pressure boundary conditions, J. Comput. Phys. 180 (1) (2002) 120–154. [9] Pierre-Louis Lions. Mathematical topics in fluid mechanics. Vol. 1, volume 3 of Oxford Lecture Series in Mathematics and its Applications. The Clarendon Press Oxford University Press, New York, 1996. Incompressible models, Oxford Science Publications. [10] R. Nochetto, J.-H. Pyo, The Gauge–Uzawa finite element method part I: the Navier–Stokes equations, SIAM J. Numer. Anal. 43 (2005) 1043–1068. [11] R. Nochetto, J.-H. Pyo, The Gauge–Uzawa finite element method part II: Boussinesq equations. Math. Models Methods Appl. Sci., to appear. [12] J.-H. Pyo, The Gauge–Uzawa and related projection finite element methods for the evolution Navier–Stokes equations. Ph.D Dissertation, 2002. 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.18 0 0.002 0.004 0.006 0.008 0.010 0.005 0.01 0.015 0.02 0.025 0.03 t=0.19 Fig. 6. Air bubble rising in a cylinder filled with water – IV. 196 J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 [13] J.-H. Pyo, Jie Shen, Normal mode analysis of second-order projection methods for incompressible flows, Discrete Contin. Dyn. Syst. Ser. B 5 (3) (2005) 817–840. [14] R. Temam, Sur l’approximation de la solution des equations de Navier–Stokes par la methode des pas fractionnaires. II, Arch. Rational Mech. Anal. 33 (1969) 377–385. J.-H. Pyo, J. Shen / Journal of Computational Physics 221 (2007) 181–197 197
采集于
查看校方原文 ↗