A Finite-Difference Approximation of These Equations Is Proposed

A Finite-Difference Approximation of These Equations Is Proposed

June 1969 439 UDC 551.w8.313:651.611.32 A FINITE-DIFFERENCEAPPROXIMATION OF THEPRIMITIVE EQUATIONS . FOR A HEXAGONAL GRID ON A PLANE ROBERT SADOURNY and PIERRE MOREL Laboratoire de Mhthorologie Dynamique du C.N.R.S., 92-Bellevue-France ABSTRACT The hexagonal grid based on a partition of the icosahedron has distinct geometrical qualities for the mapping of a sphere and also presents some indexing difficulties. The applicability of this grid to the primitive equations of fluid dynamics is demonstrated, and a finite-difference approximation of these equations is proposed. The basic variables are the mass fluxes from one hexagonal cell to the next through their common boundary. This scheme conserves the total mass, the total momentum, and the total kinetic energy of the fluid as well as the total -squared vorticity of a nondivergent flow. A computational test was performed using a hexagonal grid to describe space periodic waves on a nonrotating plane. The systematic variation of total kinetic and potential energy is less than 10-5 after 1,000 time steps. 1. INTRODUCTION energy from the cyclone scale toward very long or short wavelengths. The choice of a particular array of points or grid for The high degree of isotropy of the hexagonal grid makes representing the flow of a fluid on a sphere is not a simple the formulation of an energy- and vorticity-conserving geometrical problem because a sphericalgrid should sat.isfy scheme simpler, infact, than for rectangulargrids, as many conflicting requirement,s. Basically, the grid should shown by Sadourny, Arakawa, and Mintz (1968) for non- be as uniform as possible and should preserve as well as divergent barotropic flow. possible the isotropy of the sphere around any point. In the present work, the space-differencing (advection) A satisfactory grid canbe obtained by mapping the scheme is first derived in the case of nondivergent flow sphere onto a regular icosahedron. The basic grid cell is (section 2);the exact conservation of totalmomentum hexagonal so that all grid points are surrounded by six kinetic energy and squared vorticity is proved. A consis- almost equidistant neighbors, except for 12 vertices of the tent definition of the divergence operator is then introduced icosahedron which have only five neighbors. The resulting (section 3), and a complete finite-diff erence formulation of hexagonal grid (fig. 1) is remarkably uniform and has no the primitivedynamic equations is presented for two- very singular point like the Poles of a Mercator grid. But the hexagonal grid does not allow readily the representa- tion of the flow in terms of zonal and meridional velocity. Indeed, the very conceptof zonal or meridional flow is lost here: a “zonal” component of a vector field traced con- NORTH POLE tinuously from cell to cell around one vertex is found to A turn gradually toward the “meridional” direction (fig. 2). This property is not just a feature of the hexagonal grid but a basic property of any mappingof a curved (spherical) surface onto a plane. To get around thisdifficulty, we will basically represent the spherical flow by mass $uxes be- tween adjacent grid cells. The use of mass fluxes rather than velocity components as the fundamental variables is actually implicit in most space-differencing schemes for numericalintegration of theprimitive fluid dynamics equations. Bryan (1966) showed under very general geo- metrical conditions that flux-form difference schemes con- serveexactly total momentum and total kinetic energy integrated over the whole sphere, a necessary condition to preventnonlinear instability of theiteration process (Lilly, 1965). Suchconservative schemes are now cur- rently used innumerical weather prediction (Kurihara, 1965; Kurihara and Holloway, 1967). Furthermore,Arakawa (1966) showed that onepar- t ticular space-differencing scheme, based on a square grid, SOUTH POLE conserves total momentum, total kinetic energy, and also the integral of the square of the vorticity for nondivergent flow and thereby does not produce spurious flow of kinetic FIGURE1.-Representation of a 362-point hexagonal grid. 348-966 0-69-4 Unauthenticated | Downloaded 09/27/21 01:09 PM UTC 440 MONTHLYWEATHER REVIEW Vol. 97, No. 6 FIGURE3.-Indexing convention for the hexagonal grid. FIQURE2.-Loca.l orientation of maas fluxes around a pentagon on the spherical grid. between point (a) and point (a+ai); u is then the compo- dimensional divergent flow on a plane. A simple applica- nent of the flow velocity perpendicular to the arcof great tion to a barotropic flow with a free surface isworked out circle (a, a+a‘). The velocity field is thus defined on a in section 4, andresults of atest computation are staggered array by three components ul,.uz, and u3 along discussed. the axis Ox,, 0x2, Ox3 perpendicular to the sides of the The modification of the algorithm for pentagonal ver- triangular cells (fig. 4). tices and, in general, the problem of sphericity corrections For simplicity, we discuss in the presentarticle only the in the expression of space derivatives is notdiscussed here cas6 of a regular hexagonal grid made of equal, equilateral and will be the subject of a later communication. triangles. The three axes lie then along the directions 0, 2~13,and 4~13,and the following identities obtain 2. PRIMITIVE DYNAMIC EQUATION FOR NONDIVERGENT FLOW The geometry of the hexagonal grid on a sphere and the indexing convention used for sample computations have been described by Sadourny, Arakawa, and Mintz (1968). Thisleads to a reasonable definition forthe kinetic For convenience, we shall now introduce a new indexing energy K: convention more suitable for mathematical developments. 3 If the index 0 is given to one particular grid point chosen a i=l as origin, the indices (l), (a),(a2) , . , (a6)designate the six neighbors; a is the complex number exp(i~/3). We where s is the area of the hexagonal cell. Note that the shall use the following relations: sum of all overlapping hexagons is 3 times the area covered by the grid (hence the factor g). Similarly, the momentum alL(YO=l, inthe direction 02, perpendicular to the grid side (a, a3= - 1, a+af) af=af+l+af-l. (1) is then Figure 3 shows how this convention can be applied to any nonsingularsample of the hexagonal grid. It canbe readily extended to the surrounding cells in a consistent The mean value of the flow vorticity { in a cell can be manner, i.e., the points around grid point (a) are desig- expressed by the circulation of the flow velocity around it natedby indices ,(a+l), (a+a), (a+az), . 1 b+a5). divided by the cell area. For consistency, we choose here Any grid-point index (a)is then a linear combination, with a smaller hexagonal cell depicted in figure 5, andthe real integer coefficients, of the indices 1, a, . , a5. following finite-difference approximation obtains The flow velocity is to lie defined by mass fluxes be- tween all pairs of neighboring grid points, (a) and for example. The middle of arc (a, a+ai) will be desig- nated by the half-integer index (a+$) so that the flux Consider now thefundamental equation of fluid dy- crossing this arc is namics or more precisely the contribution of horizontal advection to the Eulerian time derivative: F(a, a+&) =dh (a+%) u (a+%) where h is the density (or the height of the fluid in the case of a divergent barotropic flow> and d is the distance where u is the velocity component along a given direction, Unauthenticated | Downloaded 09/27/21 01:09 PM UTC June 1969 Robert Sadourny and Pierre Morel 441 w i /'\ - FIGURE4.-Locations for wind components. FIGUREB.-Reprasentation of vorticity at a grid point. andthe vertical advection, Coriolis acceleration, and The first bracket is symmetrical with respect to the inter- source terms are neglected for the time being. For non- change of indices (b) and @+a$). The second bracket is divergent $ow, h is constantand one mayintroduce a antisymmetrical since the same flux across arc (b+al", stream function $ such that b+d+') appears in the expression of J* (b+uj) but in the reverse direction (fig. 7). Thus, the sum on the right-hand kXh V=V$ side of equation (12) cancels exactly with periodic bound- and ary conditions or on a closed surface: F(a,a+at) =$(a+af) --$(a). (8) ap/at=o. Expressing (7) in terms of the stream function, +, it fol- A similar argument shows for each of the three directions lows that Oxi that the contribution of ut components to the total d(hu)/at=J(u,$). (9) kineticenergy is also conserved exactly. Weget from equations (4), (lo), and (llb): J(u,$)is the Jacobian operatorapplied to the scalar fields u and $. This lastrelation is formally identical to the baro- tropic vorticity equation treated by Sadourny, Arakawa, and Mintz (1968). We shall, therefore, use the same finite- 2s difference approximation for the Jacobian operator,i.e., =- 7,[~(b) .~(b+~3][~(b+~~~')-+(b+~"l>]. (13) J* 9b j a(hu)/at=J* (u,+) ( 10) Again, the first bracket is symmetrical with respect to and (b) and @+CY'),andthe sum on theright-hand side cancels exactly in a closed domain. Thetotal kinetic 1 J*b,$)=SF [u(b)+u(b+~31[$(b+al+')-+(b+aJ-31, energy is thus exactly conserved by the advection scheme (11): (114 aK/at=o. or the equivalent form These properties are common to all space-differencing schemes expressed inmomentum flux divergence form J*(U,'$)=2g~U(b+a3[$.b+a'+')-+(b+aJ-l)1.1 (Bryan, 1966). We shall show that the total squared vor- ticity of the flow is also conserved in the case of nondi- (1lb) vergent barotropic flow.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us