校园网页 · 学校官网
Atmosphere.dvi
A FAST AND ACCURATE NUMERICAL SCHEME FOR THE PRIMITIVE EQUATIONS OF THE ATMOSPHERE JIE SHENy AND SHOUHONG WANGz SIAM J. NUMER. ANAL. c 1999 Society for I ndustrial and Applied Mathematics Vol. 36, No. 3, pp. 719{737 Abstract. We present a fast and accurate numerical scheme for the approximation of the primitive equations of the atmosphere. The temporal variable is discretized by using a special semi- implicit scheme which requires only to solve a Helmholtz equation and a nonlocal Stokes problem at each time step; the spatial variables are discretized by a spectral-Galerkin procedure with the horizontal components of vectorial spherical harmonics for the horizontal variables and Legendre or Chebyshev polynomials for the vertical variable. The new scheme has two distinct features: (i) it is unconditionally stable given xed physical parameters, and (ii) the Helmholtz equation and the nonlocal Stokes problem which need to be solved at each time step can be decomposed into a sequence of one-dimensional equations (in the vertical variable) which can be solved by a spectral-Galerkin method with optimal computational complexity. Key words. primitive equations of the atmosphere, spectral-Galerkin, semi-implicit time dis- cretization, unconditional stability AMS subject classi cations. 35Q35, 65M70, 86-08, 86A10 PII. S0036142997324770 1. Introduction. We consider in this article numerical approximations of the primitive equations of the atmosphere, hereafter abbreviated PEs. Physical laws governing the motion and states of the atmosphere can be described by the general equations of hydrodynamics and thermodynamics. However, these equations are far too complicated to be investigated both analytically and numerically; simpli cations from both the physical and mathematical points of view are thus inevitable. The PEs are obtained from these general equations with the hydrostatic assumption; see [28, 21, 14] for more detailed explanations. This assumption is legitimate to the rst order since the ratio between the vertical and horizontal scales is very small for the large-scale atmosphere. The PEs are considered the core equations of the atmosphere. Although the PEs have been studied intensively, many important mathematical and numerical issues related to the PEs still remain to be addressed. We refer to [14, 27] for some recent mathematical analysis of PEs. The dynamics of the atmosphere and climate are extremely rich and complicated, and their study involves many aspects of modeling, mathematical and numerical analysis, and numerical simulations. We refer interested readers to [26] for an up-to-date survey of problems and issues in climate sciences. Although the latest version of the community climate model CCM3 developed by the National Center for Atmospheric Research in Boulder, Colorado was built upon the PEs with detailed physical parameterizations, it is still of interest to develop a relatively simple general circulation model (GCM) using the PEs with simpli ed Received by the editors July 18, 1997; accepted for publication (in revised form) July 28, 1998; published electronically March 23, 1999. http://www.siam.org/journals/sinum/36-3/32477.html yDepartment of Mathematics, Penn State University, 322 McAllister Bldg., University Park, PA 16802 (shen j@math.psu.edu). This author was partially supported by NSF grants DMS-9623020 and DMS-9706951. zDepartment of Mathematics, Indiana University, Rawles Hall 115, Bloomington, IN 47405 (showang@indiana.edu, http://php.indiana.edu/showang/). This author was partially supported by Oce of Naval Research grant NAVY-N00014-96-1-0425 and National Science Foundation grant NSF-DMS-9623071. 719 720 JIE SHEN AND SHOUHONG WANG physical assumptions to study the essential dynamics of the atmosphere and climate. On the other hand, further simpli ed models, such as quasi-geostrophic models, are frequently used to study some important climate regimes and phenomena. The avail- ability of a simple GCM model may be used to justify some features of these further simpli ed models. Therefore, as a rst step toward our long-range objective of better understanding the phenomena of atmosphere and climate, in particular the large-scale atmospheric variability on time scales of days to years, we will construct a fast and accurate numerical scheme for the PEs with simpli ed physical assumptions. Although there have been numerous numerical studies done for the PEs (see for instance [12, 10, 25, 9, 20] and a nice review in [13]), there are some essential di erences between our scheme and those of others: We study directly the vectorial form of the PEs instead of using the diver- gence and vorticity form of the PEs which are derived from di erentiating the vectorial PEs and which need to be supplemented with subtle boundary conditions. With a special time discretization scheme, we need only to solve a standard Helmholtz equation and a nonlocal Stokes problem at each time step. Us- ing vectorial spherical harmonics, we are able to decompose the PEs into a sequence of one-dimensional (in the vertical direction) two points boundary value problems which can be solved by a new fast spectral-Galerkin method [23, 24] using Legendre or Chebyshev polynomials. The new scheme is shown to be unconditionally stable for xed physical pa- rameters, i.e., the allowable time step is related only to the physical parame- ters, but is not restricted by the spatial resolution. Of course, we use simpli ed physical assumptions to handle the surface boundary layers, but this is legitimate in the sense that they retain the essential dynamics of the atmosphere and climate. Also, we do not take into account the humidity. However, it is obvious that the humidity equation can be easily incorporated into our scheme and that the more sophisticated (or realistic) viscosity involving the Richardson num- ber does not introduce any essential diculty so that it can be handled with slight modi cations. This article is organized as follows. The nondimensional form of the PEs is de- scribed in section 2. In section 3, we propose two special semi-implicit time discretiza- tion schemes of the PEs. In section 4, we present a fast spectral-Galerkin method for the Helmholtz equation and the nonlocal Stokes problem. Some concluding remarks are given in section 5. For readers' convenience, we provide a brief derivation of the nondimensional form of the PEs in Appendix A, and we also gather some basic facts about the scalar and vectorial spherical harmonics in Appendix B. 2. The primitive equations. With proper scaling (see Appendix A and [14, 15] for more details), the nondimensional PEs read @v @t +rvv W (v)@v @ + 1 Ro fkv +r s +rM T K2 +L1v =0;(2.1) @T @t +rvT W (v)@T @ 1 Ro W (v) K2 +L2T =Q;(2.2) div Z 1 0 vd =0;(2.3) NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 721 with the initial condition u (v;T )= u0 =(v0;T 0)a t t =0;(2.4) and the boundary conditions 8 >>< >> : @v @ = sv; ! =0 a n d @T @ = s(T Ts)a t =0; @v @ =0;! =0 a n d @T @ =0a t =1: (2.5) Some explanations are in order. The unknown functions are the horizontal velocity v; the temperature func- tionT , and the surface geopotential function s. Note that a function de ned only on the surface of the sphere is denoted by adding a subscript s to the function name. The domain for the space variables (;'; ) is the nondimensional pseudospa- tial domain D =S2 (0; 1) with S2 being the unit sphere. Here stands for the colatitude, ' the longi- tude, and the nondimensional pressure (see Appendix A). The operatorM, its adjoint (in the L2 sense)M, and the operator W are de ned by M ()= Z 0 d0; M ()= Z 1 d0;W (v)= divMv:(2.6) The two linear elliptic operators L1 and L2 are de ned by 8 >> < >> : L 1 = 1 Re1 1 Re2 @ @ K1 @ @ ; L2 = 1 Rt1 1 Rt2 @ @ K1 @ @ : (2.7) The operatorsr,rvvr , div, and are horizontal di erential operators in spherical coordinates on S2. , Ro, Re1,Re2, Rt1,a n dRt2 are given positive constants; K1,K2, s,a n d s are given positive functions; f, Ts, Q, and the initial data u0 =( v0;T 0) are given functions; k is the unit vector in the vertical direction. More details on the derivation of the nondimensional PEs and the physical mean- ings of the various quantities are given in Appendix A. The mathematical analysis of the PEs, including the existence, uniqueness, and long-term behavior of the solutions, was previously conducted in [14] and [27]. In particular, the authors proved the existence of global (in time) weak solutions for arbitrary L2 initial data, as well as the existence and uniqueness of global (in time) strong solutions with small data. 3. Special semi-implicit time discretization schemes. We construct below a special semi-implicit discretization scheme for the PEs. Let t be the time step, 722 JIE SHEN AND SHOUHONG WANG un =(vn;Tn)a n d n s be the approximate solutions to (v;T )a n d s at time t =nt. We use K1, s,a n d s to denote the following positive numbers: 8 >>>> > > > < >> > > > > > : K 1 = 1 2 max S2 K1 +m i n S2 K1 ; s = 1 2 max S2 s +m i n S2 s ; s = 1 2 max S2 s +m i n S2 s ; (3.1) and we denote by L1 and L2 the following two linear constant-coecient operators associated with the linear operators L1 and L2: 8 >> < >> : L 1 = 1 Re1 K1 Re2 @2 @2; L2 = 1 Rt1 K1 Rt2 @2 @2: (3.2) We can now write our rst-order semi-implicit scheme for the PEs (2.1){(2.5) as follows. Scheme 3.1. Let u0 =( v0;T 0). When ( vj; j s;Tj)( j =0 ; 1;:::;n )a r ek n o w n , we de ne (vn+1; n+1 s ;Tn+1) as the solution of the following linear system: vn+1 vn t + 1 Ro fkvn +r n+1 s +rM Tn K2 (3.3) +rvnvn W (vn)@vn @ + L1vn+1 = 1 Re2 @ @ (K1 K1)@vn @ ; Tn+1 Tn t +rvnTn W (vn)@Tn @ 1 Ro W (vn) K2 (3.4) +L2Tn+1 =Qn + 1 Rt2 @ @ (K1 K1)@Tn @ ; div Z 1 0 vn+1d =0;(3.5) with the following boundary conditions: 8 >> > > >>> < >> >>> > > : @v n+1 @ = svn+1 ( s s)vn for =0; @Tn+1 @ = sTn+1 ( s s)Tn sTs for =0; @vn+1 @ =0; @Tn+1 @ =0 f o r =1: (3.6) A few remarks are in order: To facilitate the numerical computation, terms involving nonconstant coe- cientsK1, s,a n d s are split up into an implicit part with constant coecients and an explicit part with nonconstant coecients. This treatment will enable us to decompose (3.4){(3.6) into a sequence of one-dimensional problems (see the next section) while preserving the stability of the scheme. NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 723 (vn+1; n+1 s )a n dTn+1 in Scheme 3.1 are decoupled. More precisely, at each time step, we need only to solve a generalized nonlocal Stokes problem for (vn+1; n+1 s ) 8 >> > > > > < >> > > > > : 1 tvn+1 + L1vn+1 + 1 Ror n+1 s =fn 1 in S2 (0; 1); div Z 1 0 vn+1d =0 i n S2; Z S2 n+1 s dA =0; (3.7) and a standard Helmholtz equation for Tn+1 tTn+1 + L2Tn+1 =fn 2 in S2 (0; 1);(3.8) subject to the boundary conditions in (3.6) and with fn 1 and fn 2 depending only on functions of the previous time step. Since the solution ( vn+1; n+1 s ) of the rst two equations in (3.7) is unique only up to a constant for n+1 s , we added the constraint, the third equation in (3.7), for n+1 s to determine uniquely this function. Scheme 3.1 is only rst-order accurate in time. However, one can also construct a second-order semi-implicit scheme with similar properties. To this end, we denote RHS 1n = rvnvn +W (vn)@vn @ 1 Ro fkvn +rM Tn K2 ;(3.9) RHS 2n =Qn + 1 Rt2 @ @ (K1 K1)@Tn @ (3.10) rvnTn W (vn)@Tn @ + 1 Ro W (vn) K2 ; BD1n =( s s)vn;(3.11) BD2n =( s s)Tn + sTs:(3.12) Then, a second-order semi-implicit scheme can be written as follows. Scheme 3.2. 1 2t(3vn+1 4vn +vn 1)+ L1vn+1 + 1 Ror n+1 s(3.13) =( 2RHS 1n RHS 1n 1); 1 2t(3Tn+1 4Tn +Tn 1)+ L2Tn+1 =( 2RHS 2n RHS 2n 1);(3.14) div Z 1 0 vn+1d =0;(3.15) with the boundary conditions 8 >> > > > > > < >> > > > > > : @v n+1 @ = svn+1 (2BD1n BD1n 1)f o r =0; @Tn+1 @ = sTn+1 (2BD2n BD2n 1)f o r =0; @vn+1 @ =0; @Tn+1 @ =0 f o r =1: (3.16) 724 JIE SHEN AND SHOUHONG WANG It is obvious that at each time step Scheme 3.2 also leads to a nonlocal Stokes problem and a Helmholtz equation. We emphasize that for xed physical parame- ters these schemes are unconditionally stable. More precisely, it can be shown and is veri ed by preliminary numerical results that for xed physical parameters, and assuming the existence of the strong solution in the time interval (0 ; ], there exists t c such that for all t tc and n t 1; kvn+1 v((n +1 ) t)kL2(D) +kTn+1 T ((n +1 ) t)kL2(D)C(t) ; where =1f o rS c h e m e3 . 1a n d = 2 for Scheme 3.2. Therefore, when Schemes 3.1 and 3.2 are further approximated by any appropriate spatial discretization, the allowable time step will be related only to the physical parameters, but not restricted by the spatial resolution. 4. A fast and accurate spectral approximation of the nonlocal Stokes problem. We recall that after time discretization, one needs only to solve a nonlocal Stokes problem and a Helmholtz equation. This section is devoted to constructing a fast and accurate approximation to these equations. Since the numerical approximation of the Helmholtz equation is standard, we consider in this section only the numerical approximation for the generalized nonlocal Stokes problem 8 >> > >>> > < >>>> > > > : av bv e@ 2v @2 +r s =f inS2 (0; 1); div Z 1 0 vd =0 i n S2; Z S2 sdA =0: (4.1) The boundary conditions for (4.1) are the same as those given for the horizontal velocity in the primitive equations, namely, 8 >>< >> : @v @ =0 a t =1 , @v @ = v vs at =0 . (4.2) Here, ab ,e,a n d are given positive constants; f and vs are given functions. It is proved in [14] that there exists a unique solution ( v; s) to the nonlocal Stokes boundary value problem (4.1){(4.2). In this section, we propose a spectral approximation for (4.1){(4.2). 4.1. Decomposition via spherical harmonics and error analysis. LetY`;m (` =0; 1;:::; jmj `) be the usual scalar spherical harmonics (see Appendix B for its de nition). Then, C`;m = 1=2 l curl Y`;m and G`;m = 1=2 l rY`;m form the basis of the horizontal components of the vectorial spherical harmonics (see Appendix B for details). Hence, we have formally the following spectral expansion of the horizontal vector eld v and external forcing f: v = 1X `=1 jmj` v`;m g ()G`;m(;' )+ v`;m c ()C`;m(;' ) ; NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 725 where v`;m g ();v`;m c ()2C1 are complex, continuously di erentiable functions of . Note that the constant terms (corresponding to ` = 0) are excluded in the expansions to eliminate the arbitrary constants. The vector eld v is naturally decomposed into the nonrotational part vg and nondivergent part vc with 8 >> > > > > > < >> > > > > >: v g = 1X `=1 jmj` v`;m g ()G`;m(;' ); vc = 1X `=1 jmj` v`;m c ()C`;m(;' ): (4.3) To x the notation, we expand also the external forcing term f =fg +fc with 8 >> > > >>> < >> >>> > > : f g = 1X `=1 jmj` f`;m g ()G`;m(;' ); fc = 1X `=1 jmj` f`;m c ()C`;m(;' ): (4.4) Since the geopotential function s is independent of ,w eh a v e s(;' )= 1X `=1 jmj` `;m s Y`;m(;' ): We also write vs = 1X `=1 jmj` v`;m sg G`;m +v`;m sc C`;m : Now inserting these expansions into (4.1){(4.2), we nd that the nonlocal Stokes problem (4.1){(4.2) is decomposed into two sets of one-dimensional boundary value problems: 8 >< >: (a +b`)v`;m c ed2v`;m c d2 =f`;m c ; (v`;m c )0(1) = 0; (v`;m c )0(0) = v`;m c (0) v`;m sc ; (4.5) 8 >> > > > < >> > > > : (a +b `)v`;m g ed2v`;m g d2 + `;m s =f`;m g ; Z 1 0 v`;m g (0)d0 =0; (v`;;m g )0(1) = 0; (v`;m g )0(0) = v`;m g (0) v`;m sg : (4.6) Then, we have only to solve the following two prototypical problems. 726 JIE SHEN AND SHOUHONG WANG The rst is a standard one-dimensional Helmholtz equation ( u uxx =f(x);x 2 ( 1; 1)I; au(1) +bux(1) = ;(4.7) and the second is a nonlocal one-dimensional elliptic equation 8 >>> < >>>: u u xx + =f(x);x 2I; Z 1 1 u(x)dx =0; au(1) +bux(1) = : (4.8) Since the nonhomogeneous boundary conditions ( 6= 0) can be easily handled by subtracting from the solution a simple function satisfying the boundary conditions, we shall consider only the case with =0 . It is well known (see, for instance, [8]) that (4.7) has a unique solution if a2 +b2 6=0;a b 0; a2 + +b2 +6=0;a +b+ 0: The above is veri ed by (4.5) since > 0. Similarly, we can easily show that (4.8) has a unique solution under the above conditions by eliminating and the integral condition in (4.8). Let us rst consider the approximation of (4.7). Let PN be the space of all polynomials of degree N and XN =fu2PN :au(1) +bux(1) = 0g: We denote (u;v )w = Z 1 1 uvwdx; wherew 1 in the Legendre case and w =( 1 x2) 1=2 in the Chebyshev case. Then the spectral-Galerkin approximation for (4.7) (with = 0) is as follows. Find uN 2XN such that (uN;v )w (u00 N;v )w =(f;v )w 8v2XN:(4.9) Remark 4.1. In actual implementation (see section 4.2 below), f in (4.9) should be replaced byINf2PN which is the polynomial interpolation off at the Legendre or Chebyshev Gauss{Lobatto points. We note that in the Legendre case, the scheme can be accelerated by using the interpolation operator IN b a s e do nt h eChebyshev Gauss{ Lobatto points thanks to the availability of a fast transform between the Chebyshev and Legendre polynomials (cf. [1] and [24]). Hereafter,kks;! is used to denote the weighted Sobolev norm in Hs !(I)( c f . [ 5 ] ) , and the expression \AN .BN " means that there exists a constant C independent of N such that \AN CBN ." It is evident that the approximation (4.9) is spectrally accurate. More precisely, we have the following result. Theorem 4.1. Let u and uN be, respectively, the solution of (4.7) with =0 and (4.9) with ! 1.T h e n ku uNk1.N1 skfks 28s 2: NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 727 Remark 4.2. Here and below, we establish only the error estimates for the case ! 1. These results can be extended in a straightforward manner to the case of Chebyshev weight with Dirichlet boundary conditions, i.e., b = 0 in (4.7){(4.8). We believe that similar results hold for the case of Chebyshev weight with mixed boundary conditions; however, the actual proof is much more involved and hence will not be addressed here. The following technical lemma is needed for the proof of Theorem 4.1. Note that the result in Lemma 4.1 is well known in the special case when b = 0 (see [5]). Lemma 4.1. Let X =fu2H2 !(I): au(1) +bux(1) = 0g;X N =X\PN: We have inf N2XN k Nk;! .N sk ks;w 8 2X\Hs !(I);s 2; 0 2: Proof.L e tH(1;x) be the Hermite polynomial (of degree 3) such that H(1; 1) = 1;H 0(1; 1) = 0;H (1; 1) =H0(1; 1) = 0; and let ^H(1;x) be such that ^H(1; 1) = 0; ^H0(1; 1) = 1; ^H(1; 1) = ^H0(1; 1) = 0: Similarly, we de ne H( 1;x)a n d ^H( 1;x). Then for 2X\Hs !(I), we set e (x)= (x) (1)H(1;x) ( 1)H( 1;x) 0(1) ^H(1;x ) 0( 1) ^H( 1;x): (4.10) By construction, we have e (1) =e 0(1) = 0 and consequently e 2H2 0;!(I): Furthermore, we derive from (4.10) that ke ks;! .k ks;! +j (1)j +j ( 1)j +j 0(1)j +j 0( 1)j .k ks;! 8s 2: (4.11) Let 2;0 N be the orthogonal projector fromH2 0;!(I)o n t oH2 0;!(I)\PN with respect to the inner product (u00;v00)!.I ti sp r o v e n i n[ 3 ]t h a t ke 2;0 N e k;! .N ske ks;! 8e 2H2 0;!(I)\Hs !(I); 0 2;s 2:(4.12) We now de ne BN = 2;0 N e + (1)H(1;x)+ ( 1)H( 1;x) + 0(1) ^H(1;x)+ 0( 1) ^H( 1;x): (4.13) Then by (4.10), we have BN =e 2;0 N e ; (BN )(1) = (1); (BN )0(1) = 0(1): 728 JIE SHEN AND SHOUHONG WANG Hence, BN 2XN . Therefore, thanks to (4.11) and (4.12), we have inf N2XN k Nk;! k BN k;! =ke 2;0 N e k;! .N ske ks;! .N sk ks;! 8s 2: (4.14) Proof of Theorem 4.1. From (4.7) and (4.9), we nd (cf. [6] for the Chebyshev case) ku uNk2 1 . (u uN;u uN ) ((u uN )00;u uN ) = (u uN;u BNu) ((u uN )00;u BNu) . ku uNkku BNuk +ku BNuk1ku uNk1: Therefore, thanks to (4.14) and the regularity of (4.7), we have ku uNk1;!.ku BNuk1;!.N1 skuks;!.N1 skfks 2;!: The proof of Theorem 4.1 is then complete. We now consider the approximation of (4.8) (with = 0) whose (weighted) variational formulation is the following: Find (u; )2XR (where X =H1 0;!)s u c h that (u;v )w (u00;v )w + Z 1 1 vwdx =(f;v )w 8v2X; Z 1 1 udx =0: (4.15) The spectral-Galerkin approximation for (4.15) is the following: Find ( uN; N ) 2 XNR such that (uN;v )w (u00 N;v )w + N Z 1 1 vwdx =(f;v )w 8v2XN; Z 1 1 uNdx =0: (4.16) Theorem 4.2. Let (u; ) and (uN; N ) be, respectively, the solution of (4.15) and (4.16) with ! 1.T h e n ku uNk1 +j Nj.N1 skfks 28s 2: Proof. The formulation (4.15){(4.16) with ! 1 is reminiscent of, although much simpler than, a spectral-Galerkin approximation of the Stokes problem (see, for instance, [4]). Thus, we can adopt the abstract setting for the Stokes problem (for the case of the Chebyshev weight, the abstract setting in [2] should be used). Let us denote a(u;v )= (u;v ) (u 00;v );u ;v2X; b(v;q )= q Z 1 1 vdx; v2X; q2R: (4.17) NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 729 Then (4.15) and (4.16) with ! 1 can be cast into the following mixed formulations, respectively. Find (u; )2XR such that a(u;v )+ b(v; )=( f;v )! 8v2X; b(u;q )=0 8q2R;(4.18) nd (uN; N )2XN R such that a(uN;v )+ b(v; N )=( f;v )! 8v2XN; b(uN;q )=0 8q2R:(4.19) Thus, according to the abstract theory for the mixed formulation (see, for instance, [4]), we need only to prove the following inf-sup condition: sup v2XN b(v;q ) kvk1 jqj8 q2R:(4.20) Let us choose a; bsuch that 0(x)= L0(x)+ aL1(x)+ bL2(x)2X; where Li(x)i st h eith degree Legendre polynomial. Then, by taking v = 0 or 0 in (4.20), the condition (4.20) is satis ed with = j R 1 1 0dxj k 0k1 = 2 k 0k1 :(4.21) Therefore, Theorem 4.2 is then a direct consequence of Lemma 4.1 and of Theorem 4.2.5 in [4]. We are now in a position to de ne the spectral approximation of ( v; s) de ned in (4.1){(4.2). For 1 j mj ` M,l e tfv`;m c;N;v`;m g;N; `;m s;N g be the spectral-Galerkin approximation (as de ned in (4.9) and (4.16) with ! 1) of fv`;m c ;v`;m g ; `;m s g in (4.5){(4.6). We de ne the approximation of ( v; s) as follows: 8 >> >>> < >> >>> : v N;M = MX `=1 X jmj` v`;m c;N ( )C`;m(;' )+ v`;m g;N ( )G`;m(;' ); s N;M = MX `=1 X jmj` `;m s;NY`;m(;' ): (4.22) The following result indicates that our approximation is spectrally accurate and has optimal convergence rate. Theorem 4.3. Letfv; sg be the solution of (4.1){(4.2) andfvN;M; s N;Mg be the spectral approximation de ned in (4.22).T h e n kv vN;MkH1(D) +k s s N;MkL2(S2) . (N1 s +M1 s)(kvkHs(D) +k skHs 1(S2)) . (N1 s +M1 s)(kfkHs 2(D) +kvskHs 1(S2)); 730 JIE SHEN AND SHOUHONG WANG whereD =S2 ( 1; 1). Proof.L e t =P1 `=1 P jmj` `;m c C`;m(;' )+ `;m g G`;m(;' ) be a function on the unit sphere S2. We de ne the orthogonal projector Ps M by Ps M = MX `=1 X jmj` `;m c C`;m(;' )+ `;m g G`m(;' ) : It can be shown by using a standard procedure (see [7]) that k ps M kH (S2).M sk kHs(S2) for 0 1s:(4.23) Now we write the solution v of (4.1) as v( ;;' )= 1X j;`=1 X jmj` vj;`;m c C`;m(;' ) j ( )+ vj;`;m g G`;m(;' ) j ( ) ; where j( )= pj( )+ ajpj+1( )+ bjpj+2( ) satis es the boundary conditions (4.2). We then de ne the projection operator N;M by N;Mv = NX j=0 MX `=1 X jmj` vj;`;m c C`;m(;' )+ vj;`;m g G`;m(;' ) j ( ): By using Lemma 4.1 and (4.23), we have kv N;MvkH ( ). (N s +M s)kvkHs( ); 0 1s: Theorem 4.3 is then a consequence of the above estimates and the following regularity result for (4.1){(4.2) (cf. [14]): kvkHs( ) +k skHs 1(S2).kfkHs 2( ) +kvskHs 1(S2): 4.2. Fast spectral-Galerkin solvers. A c c o r d i n gt ot h ea b o v ep r e s e n t a t i o n ,w e have only to solve a sequence of one-dimensional equations (4.5) and (4.6) at each time step. We present below two fast solvers with optimal computational complexity for these equations. We consider rst the spectral-Galerkin approximation (4.9) for (4.7). Let p i(x) be either the Legendre or Chebyshev polynomial; we set i(x)= pi(x)+ aipi+1(x)+ bipi+2(x);i =0; 1; 2;:::(4.24) such that a i(1) +b 0 i(1) = 0: It is shown in [24] that fai;big in (4.24) can be determined uniquely. Therefore, we have XN =s p a nf 0; 1;:::; N 2g: NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 731 Setting aij = ( 00 j; i)w;A =(aij);u N = N 2X i=0 xi i(x); bij =( j; i)w;B =(bij);f i =(INf; i)w; x =(x0;x 1;:::;x N 2)T; f =(f0;f 1;:::;f N 2)T; (4.25) then (4.9) (with f replaced by INf) is equivalent to the linear system ( B +A)x = f:(4.26) Thanks to the orthogonal properties of Legendre and Chebyshev polynomials, we see that B is symmetric and has only ve nonzero diagonals. We recall that in the Legendre case A is diagonal [22], and in the Chebyshev case A is a special upper-triangular matrix such that (4.26) can be solved in O(N) operations [23]. The equations in (4.16) can be treated in a similar fashion. Indeed, consider rst the Legendre case (w 1). Setting YN =s p a nf 1; 2;:::; N 2g; then we have Z 1 1 u(x)dx =0 8u2YN: Therefore, let eA =(aij)i;j=1;:::;N 2; eB =(bij)i;j=1;:::;N 2 and x =(x1;x 2;:::;x N 2)T; f =(f1;f 2;:::;f N 2)T; whereaij;bij;xi;fi are de ned in (4.25). Then, (4.16) (with ! 1a n df replaced by INf) reduces to the following linear system: ( eB + eA)ex = ef; which can be solved eciently since eA is diagonal and eB is penta-diagonal. In the Chebyshev case, (4.16) cannot be easily decoupled so we will solve it as a coupled system. Setting uN = N 2X i=0 xi i(x);w i = Z 1 1 i(x)dx; w =(w0;w 1;:::;w N 2)T; h =( 2; 0;:::; 0)T; ^x =(x0;x 1;:::;x N 2; N )T; ^f =(f0;f 1;:::;f N 2; 0)T; (4.27) then (4.16) is equivalent to B +A h wT 0 ^x = ^f:(4.28) Since ( B +A)x = f can be solved in O(N) operations by a special Gaussian elimination process, we see that (4.28) can also be solved in O(N)o p e r a t i o n sb yt h e same process. 732 JIE SHEN AND SHOUHONG WANG 5. Concluding remarks. We have presented a fast and accurate numerical method for the approximation of the primitive equations of the atmosphere with simpli ed model physics. The method was based on a special semi-implicit time discretization scheme which requires us to solve a Helmholtz equation and the nonlocal Stokes problem with constant coecients at each time step. Thanks to the orthogonal properties of vectorial spherical harmonics, we were able to decompose the nonlocal Stokes problem (and the Helmholtz equation) into a sequence of one-dimensional equations in the vertical variable. We then proposed a fast spectral-Galerkin method using Legendre or Chebyshev polynomials for solving these one-dimensional equations with optimal computational complexity. We emphasize that this scheme is extremely ecient since we need only to deal with, at each time step, linear systems which can be solved by a direct (without iterations) method with optimal computational complexity. A drawback of this scheme is that the use of spherical harmonics entails expensive transformations which are needed for computing the nonlinear terms with the transform method [19, 17]. However, this situation may be improved with the recent contribution of [11] on accelerating spherical harmonics transforms. In addition to the superior eciency and accuracy of the spatial approximation, the fully discretized scheme is unconditionally stable from a numerical analysis point of view for xed physical parameters, thanks to the implicit treatment of the linear elliptic terms in the PEs. We would like to point out that this unconditional stability should be viewed with caution in practical situations, for the scheme is only stable for t less than a certain critical time step t c which is related to the physical parameters. However, it does imply in particular that grid re nement can be performed without reducing the time step. The construction of a fast and accurate numerical scheme is only a rst step to- ward our long-range objective of better understanding the phenomena of atmosphere and climate. The scheme is currently being implemented to simulate various atmo- spheric phenomena including, in particular, the interannual variability of the global atmosphere; numerical results and their interpretations, which are beyond the scope of this paper, will be presented elsewhere. Appendix A. Nondimensionalization of the PEs. In this section, we brie y describe the derivation of the nondimensional PEs (2.1){(2.5) from the PEs below w h i c ha r eg i v e ni nap-coordinate system (;';p ), where is the colatitude (0 );' is the longitude (0' 2); and p is the pressure (see [14, 21, 28]): 8 >> > > > > > > > >>< >> > >>> > > > > > : @v @t +rvv +!@v @p +2 c o sk v +r +eL1v =0; @ @p + RT p =0; R2 c2 @T @t +rvT +!@T @p R! p +eL2T = eQ; div v + @! @p =0: (A.1) The space domain is given by fM = eS2 (p0;P ); whereeS2 is the two-dimensional sphere with radiusa, representing the surface of the earth,p0 is the pressure on top of the atmosphere, andP is the pressure NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 733 on the surface of the earth. We assume that P and p0 are constants. The positive constant R is the gas constant, g the gravitational constant, and the angular velocity of the earth. The unknown functions are the horizontal wind velocity v; the vertical ve- locity ! in the pressure coordinates, the temperature function T; and the geopotential : The linear di erential operators eL1 and eL2 are de ned by eL1v = 1v 1 @ @p gp R T 2 @v @p ; eL2T = 2T 2 @ @p gp R T 2 @T @p ; where i and i (i =1; 2) are (positive) viscosity coecients. The operators r, rv, are horizontal di erential operators in spherical coordinates on eS2. The given function T2C1([p0;P ]) is determined by c2 =R R T cp p@ T @p =c o n s t:(A.2) The function T can be considered as the mean pro le of the temperature function averaged on the isobaric surface, and the constant c is a stability constant. We refer to [14, 15] for more detailed explanations about T andc2: The boundary conditions for the PEs are given by 8 >>< >> : @v @p = e sv; ! =0; @T @p =e s(eTs T )a t p =P; @v @p =0;! =0; @T @p =0 a t p =p0: (A.3) We consider the typical horizontal length scale L =a and a reference horizontal velocityU,a n dw es e t 8 >>>> < >>>> : v =v 0U; ! = (P p0)U a !0;T = aU R T0; =aU 0; t = a Ut0;p =P (P p0); (A.4) 734 JIE SHEN AND SHOUHONG WANG 8 >> > > > > > >>> > > > > > > > > >>> > > < >>> > > > > > > > >>> > > > > > > > > >>: f =2c o s; Ro = U a ; = a2 2 c2 ;Q = eQa2 U2R ; 1 Re1 = 1 aU; 1 Re2 = P21ag2 (P p0)2UR2 T2 0 ; 1 Rt1 = 2a 2 UR2 ; 1 Rt2 = P P p0 2 a3 22g2 T2 0R2U; ; K2()= P P p0 ; K 1()= p T0 P T 2 ; T0 = aU R : (A.5) Substituting (A.4){(A.5) into (A.1) and dropping all primes in the resulting equa- tions, we obtain the following nondimensional PEs in the nondimensional pseudospa- tial domain M =S2 (0; 1): @v @t +rvv !@v @ + 1 Ro[fkv +r ]+ L1v =0;(A.6) @T @t +rvT !@T @ 1 Ro ! K2 +L2T =Q;(A.7) div v @! @ =0;(A.8) @ @ = T K2 ;(A.9) where L1 and L2 are de ned in (2.7). The nondimensional boundary conditions are 8 >>< >> : @v @ = sv; ! =0; @T @ = s(T Ts)a t =0; @v @ =0;! =0; @T @ =0a t =1: (A.10) Here s; s;vs;Ts are the nondimensional forms of e s;e s;evs,a n deTs: Integrating the diagnostic equations (A.8){(A.9) and taking into account (2.5) ( ! =0a t =1 ) ,w e nd 8 >>>> > < >>>> > : ! =W (v)= divM v; div Z 1 0 vd =0; = s +M T K2 ; (A.11) whereM and its adjoint (in the L2 sense)M are de ned in (2.6). In (A.11), the function s, depending only on and', is the unknown value of =gz at the isobar p =P ( =0 ): We then obtain (2.1){(2.3) by substituting (A.11) into (A.6){(A.9). NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 735 Appendix B. Spherical harmonics. B.1. Scalar spherical harmonics. We rst recall the de nition of scalar spher- ical harmonics. Readers are referred to [8] or [18] for more details. For any` =0; 1;:::; and 0m`, we de ne Y`;m(;' )= `;m()eim'; `;m()= (2` +1 ) (` m)! 4(` +m)! 1=2 P`;m(cos); where P`;m is the associated Legendre function de ned by P`;m()=( 1)m(1 2)m=2 dm dmP`(): Here P`()i st h e`th Legendre polynomial. Then we de ne Y`; m(;' )( m> 0) by Y`; m(;' )=( 1)m[Y`;m(;' )]; ( being the conjugate transpose operator). Here are some basic properties of the scalar spherical harmonics: f Y`;mj` =0 ; 1;:::; jmj `g forms an orthonormal basis of L2(S2). Conse- quently, for all f2L2(S2), we have 8 >>>> < >>>> : f(;' )= 1X `=0 X jmj` f`;mY`;m(;' ); f`; m =( 1)m(f`;m); f`;m2C1; (B.1) and the L2-norm of f is given by jfj = 0 @ 1X `=0 X jmj` jf`;mj2 1 A 1=2 : f Y`;mj` =0 ; 1;:::; jmj `g are complex eigenfunctions of the Laplace{ Beltrami operator on S2, i.e., ( Y`;m =`Y`;m; ` =`(` +1 ):(B.2) Therefore it is evident that for any f with expansion (B.2) and sucient regularity, j( ) fj2 = 1X `=0 X jmj` 2 ` jf`;mj2: The eigenvalue` has multiplicity 2l +1 . 736 JIE SHEN AND SHOUHONG WANG B.2. Vectorial spherical harmonics. For any ` =0 ; 1;:::; andjmj `,w e de ne ( G`;m = 1=2 ` rY`;m; C`;m = 1=2 ` curlY`;m: (B.3) By the Hodge decomposition, for any s2R1,w eh a v e Hs(TS 2)= rHs+1(S2) curlHs+1(S2): Hence it is easy to see that (cf. [16]) fG`;m;C`;mj` =0 ; 1;:::; jmj `g forms an orthonormal basis of L2(TS 2). In particular, for any vector eld v2 L2(TS 2), we have 8 >> < >> : v = 1X `=0 X jmj` [v`;m g G`;m +v`;m c C`;m]; v`; m g =( 1)m(v`;m g );v `; m c =( 1)m(v`;m c ): (B.4) Moreover, the L2-norm of v is given by jvj2 = 1X `=0 X jmj` [jv`;m g j2 +jv`;m c j2]: Furthermore, since the Laplace{Beltrami operators for vectors and functions com- mute with the gradient and curl operators, it is easy to show that fG`;m;C`;mj` = 0; 1;:::; andjmj `g are a complete set of eigenfunctions of the Laplacian. Namely, ( G`;m =`G`;m; C`;m =`C`;m:(B.5) For anyv2D (( ) ), we also have j( ) vj2 L2 = 1X `=0 X jmj` 2 m [jv`;m g j2 +jv`;m c j2]: Note that the de nition (B.3) is used in [16] and thatfG`;m;C`;mg are in fact the horizontal components of the standard vectorial spherical harmonics. Acknowledgment. The authors would like to thank the Isaac Newton Institute for Mathematical Sciences at Cambridge University for their hospitality. REFERENCES [1] B. K. Alpert and V. Rokhlin , A fast algorithm for the evaluation of Legendre expansions , SIAM J. Sci. Stat. Comput., 12 (1991), pp. 158{179. [2] C. Bernardi, C. Canuto, and Y. Maday, Generalized inf-sup conditions for Chebyshev spec- tral approximation of the Stokes problem, SIAM J. Numer. Anal., 25 (1988), pp. 1237{1271. [3] C. Bernardi and Y. Maday, Properties of some weighted Sobolev spaces and applications to spectral approximations, SIAM J. Numer. Anal., 26 (1989), pp. 769{829. [4] C. Bernardi and Y. Maday, Approximations Spectrales de Problemes aux Limites Elliptiques , Springer-Verlag, Paris, 1992. NUMERICAL SCHEME FOR PRIMITIVE EQUATIONS OF ATMOSPHERE 737 [5] C. Canuto, M. Y. Hussaini, A. Quarteroni, and T. A. Zang , Spectral Methods in Fluid Dynamics, Springer-Verlag, New York, 1987. [6] C. Canuto and A. Quarteroni , Spectral and pseudospectral methods for parabolic problems with nonperiodic boundary conditions, Calcolo, 18 (1981), pp. 197{217. [7] C. Canuto and A. Quarteroni, Approximation results for orthogonal polynomials in Sobolev spaces, Math. Comp., 38 (1982), pp. 67{86. [8] R. Courant and D. Hilbert , Methods of Mathematical Physics , Vol. 1, Wiley Interscience, New York, 1953. [9] R. Daley, The development of ecient time integration schemes using model normal modes , Monthly Weather Rev., 108 (1980), pp. 100{110. [10] R. Daley, C. Girard, J. Henderson, and I. Simmonds , Short-term forecasting with a multi- level spectral primitive equation model. part i| model formulation, Atmosphere, 14 (1976), pp. 98{116. [11] J. R. Driscoll and D. M. Healy , Computing Fourier transforms and convolutions on the 2-sphere, Adv. in Appl. Math., 15 (1994), pp. 202{250. [12] B. J. Hoskins and A. J. Simmons, A multi-layer spectral model and the semi-implicit method , Quart. J. Roy. Met. Soc., 101 (1975), pp. 637{655. [13] M. Jarraud and A. P. M. Baede , The use of spectral techniques in numerical weather prediction, in Large Scale Computations in Fluid Mechanics, B. Enquist, S. Osher, and R. Somerville, eds., Lectures in Appl. Math. 22, AMS, Washington, DC, 1985, pp. 1{41. [14] J. L. Lions, R. Temam, and S. Wang , New formulations of the primitive equations of the atmosphere and applications, Nonlinearity, 5 (1992), pp. 237{288. [15] J. L. Lions, R. Temam, and S. Wang , Models of the coupled atmosphere and ocean (CAO I), Comput. Mech. Adv., 1 (1993), pp. 3{54. [16] J. L. Lions, R. Temam, and S. Wang , Numerical analysis of the coupled atmosphere and ocean models (CAO II), Comput. Mech. Adv., 1 (1993), pp. 55{120. [17] B. Machenhauer and R. Daley, A Baroclinic Primitive Equation Model with a Spectral Rep- resentation in 3-Dimensions, Tech. report 4, Institut for Teoretisk Meteorologi, Koben- havns Universitet, Copenhagen, Denmark, 1972. [18] P. M. Morse and H. Feshback , Methods of Theoretical Physics , McGraw-Hill, New York, 1953. [19] S. A. Orszag , Transform method for calculation of vector coupled sums: Applications to the spectral form of the vorticity equation , J. Atmospheric Sci., 27 (1970), pp. 890{895. [20] A. Robert, A stable numerical integration scheme for the primitive meteorological equations , Atmosphere|Oceans, 19 (1981), pp. 35{46. [21] M. L. Salby, Fundamentals of Atmospheric Physics , Academic Press, New York, 1996. [22] J. Shen, Ecient spectral-Galerkin method I. Direct solvers for second- and fourth-order equa- tions using Legendre polynomials, SIAM J. Sci. Comput., 15 (1994), pp. 1489{1505. [23] J. Shen , Ecient spectral-Galerkin method II. Direct solvers for second- and fourth-order equations using Chebyshev polynomials , SIAM J. Sci. Comput., 16 (1995), pp. 74{87. [24] J. Shen, Ecient Chebyshev-Legendre Galerkin methods for elliptic problems , in Proc. Inter- nat. Conf. Spectral and High Order Methods (ICOSAHOM '95), Houston J. Math., A. V. Ilin and R. Scott, eds., 1996, pp. 233{240. [25] A. J. Simmons, B. J. Hoskins, and D. M. Burridge , Stability of the semi-implicit method of time integration, Monthly Weather Rev., 106 (1978), pp. 405{412. [26] K. E. Trenberth, Climate System Modelling , Cambridge University Press, Cambridge, 1993. [27] S. Wang, On Solvability for the Equations of the Large-Scale Atmospheric Motion ,P h . D . thesis, Lanzhou University, China, 1988. [28] W. M. Washington and C. L. Parkinson , An Introduction to Three-Dimensional Climate Modeling, Oxford University Press, Oxford, 1986.
采集于
查看校方原文 ↗