SWiM A Semi-Lagrangian, Semi-Implicit Shallow Water

Size: px
Start display at page:

Download "SWiM A Semi-Lagrangian, Semi-Implicit Shallow Water"

Transcription

1 Chapter 3 SWiM A Semi-Lagrangian, Semi-Implicit Shallow Water Model 3.1 Introduction There are a number of semi-lagrangian, semi-implicit models in use in the weather and climate communities today. The scheme has proven reliable and is in wide use. It is therefore easy in principle to find a model to study the orographic resonance described in detail in Chapter 1. However, all the available models have in common that they tend to be highly complex weather forecast and climate prediction models. Using such a model for simple numerical experiments concerned with an instability of the dynamical core can be very difficult. The results will most likely vary significantly from model to model because the effect of the spuriously resonant solution will likely lead to secondary effects. Modern models are very sophisticated 57

2 58 CHAPTER 3. SWIM A SHALLOW WATER MODEL and that level of sophistication results in strong interaction between their dynamical cores and the modules that handle the various physical effects and parametrisations. It is therefore advisable to study the resonance problem in a simpler framework first. The first step in the simplification is to find the simplest set of equation that can be used to study the spurious resonance phenomenon. As shown in Chapter 1 and Rivest et al. (1994), the shallow water equations, constitute the simplest set of equations describing the atmosphere that are suitable to study the problem of the spurious orographic resonance. As the second step to a simple model, it is useful to keep the solution process as simple as possible. Sophisticated solution processes promise a lot of gain in efficiency and are an essential choice for models that are meant to be used operationally to model processes as they are found in nature. Again, however, the problem arises that the level of sophistication correlates strongly with fragility and is therefore likely to introduce new weaknesses. The semi- Lagrangian algorithm and its orographic resonance is a good example for this rule. While orographic forcing poses no major challenge to an Eulerian solution process limited by the CFL criterion, the semi-lagrangian process suffers from a weakness in this regard as a result of its higher level of complexity. Drawing the conclusion that it is imperative to follow the basic rule of simplicity when studying the orographic resonance, no freely available model was found to be suitable for this study. Therefore, a new model was constructed based primarily on the simplicity rules laid out above. The purpose of building a simple model is to study the resonance in detail without having to question the general validity of most of its results. As this model will be

3 3.1. INTRODUCTION 59 made freely available, it will hopefully also serve others well who need to work in a very simple framework or want to use it as the basis of a model which needs only a relatively low level of sophistication. In an attempt to make the custom developed semi-lagrangian, semi-implicit model, from here on referred to as SWiM, as useful as possible for many different scenarios, it is designed to be highly configurable. It solves the linearised shallow water equations with orographic forcing. This orographic forcing can be introduced in two different ways, forcing either the momentum equations or the height equation as explained in Section Furthermore, it offers the choice of an adaptive time step, where a maximum Courant number is enforced at all times, or a fixed time step. Simulations can be configured with a maximum integration time or the number of time steps can be limited according to the requirements of the project. Overall, SWiM follows the design principle that any additional level of complexity should be optional and disabling it should not require code modification. Therefore, almost all options except for the initial state of winds, heights and orography can be set in the configuration file or via the command line. This chapter describes the main features of SWiM and presents validation tests. The next two chapters then present a systematic study of the numerical resonance and off-centring schemes to remove the resonance carried out with SWiM.

4 60 CHAPTER 3. SWIM A SHALLOW WATER MODEL 3.2 The Shallow Water Equations in SWiM As shown in Section 2.3.3, the shallow water equations can vary slightly in form. The advective form introduces the orographic forcing in the momentum equations and takes the form u t + u u x + v u y + ϕ x fv = ϕ s (3.1) x v t + u v x + v v y + ϕ y + fu = ϕ s (3.2) y ( ϕ u t + u ϕ x + v ϕ y + ϕ x + v ) = 0 (3.3) y Rivest et al. (1994) used this advective form for their study of the resonance. The alternative form introduces the orographic forcing via the height equation (cf. Pedlosky, 1992). The whole set of equations is then ϕ tot ϕ oro t u t + u u x + v u y + ϕ fv = 0 x (3.4) v t + u v x + v v y + ϕ + fu = 0 y (3.5) + u ϕ tot ϕ oro x + v ϕ tot ϕ oro y ( u + ϕ x + v ) y = 0 (3.6) where the subscript tot refers to the total height including the fluid depth and the orography and ϕ oro is just the orographic height. The difference then is the fluid depth.

5 3.3. SOLUTION PROCEDURE 61 SWiM offers both forms of the equations above and defaults to the advective form defined by Eqns. (3.1) to (3.3) and forces the orography in the momentum equations. Section 3.4 discusses the differences and the implications of the use of either alternative in practice in more detail. 3.3 Solution Procedure Key Features SWiM uses a semi-lagrangian, semi-implicit scheme for the numerical solution process as described in detail in Section It solves the shallow water equations on a bi-periodic staggered Cartesian grid. The grid is laid out in Arakawa C-grid configuration (cf. Arakawa and Lamb, 1977), i.e. the velocities are shifted against the heights by half a grid spacing in x and y respectively. This is illustrated in Fig SWiM assumes a constant Coriolis parameter f which is defined as f = 2Ωsin ϕ. As mentioned above, the orographic forcing can be introduced either via the height equation or the momentum equations. The semi-implicit scheme combines the momentum and height equations into a Helmholtz equation as described in detail in Section This Helmholtz equation is solved implicitly as described in Section With the new heights obtained from this first step the momentum equations can then be solved explicitly to complete the iteration according to Eqns and 2.82 for the advective form of the equations or 2.49 and 2.50 for alternative form where the orography terms are part of the height equation. The solution procedure is very similar to many other shallow water models and very closely follows Staniforth and Côté (1991). It allows solving the

6 62 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.1: Staggering of grids in SWiM shallow water equations using time steps equivalent to Courant numbers C > 1. At these high Courant numbers, it is then possible to trigger the numerical resonance which is the subject of this thesis Bi-periodic Domain and f-plane Using a bi-periodic domain and an f-plane is unusual. Most shallow models are based on spherical domains as is the case for the models used by Rivest et al. (1994) or Ritchie and Tanguay (1996) or more recently by Giraldo et al. (2003). Typically, these models also solve an equation for f as a function of the grid point s latitude. The main incentive to choose spherical geometry is that there is a well established standard test suite for such models (Williamson et al., 1992). However, with a Cartesian grid, the derivatives are much simpler and linearity is preserved much more easily. The proof of the spurious resonant

7 3.3. SOLUTION PROCEDURE 63 solution as shown in Section 2.6 also uses Cartesian derivatives, providing evidence that a Cartesian grid does not prevent the spuriously resonant solution. There is then no gain in a more sophisticated grid structure which only introduces additional complexity. For the same reason, an f-plane is a good choice in the interest of simplicity. The non-linear effects that any f depending on the position results in, make the problem unnecessarily complex. Usually, an f-plane implies that the length scale in latitude has to be small to ensure that the change of Coriolis parameter is negligible (cf. Wurtele, 1960). In the experiments needed for this project, even this argument is without importance. The numerical instability will affect any imaginary planet or arbitrary size and rotation speed. Again, the spurious resonance is independent of the value of the Coriolis parameter or its dependence on latitude and there is no gain in solving an additional equation. Thus, choosing a bi-periodic Cartesian grid and assuming an f-plane is reasonable in the interest of keeping the model as simple as possible. This simplicity eliminates the possibility that additional numerical effects are introduced and possibly mask the effects of the deliberately triggered spurious orographic resonance. For wider use of SWiM, the choices made above could have more serious implications. A bi-periodic grid in three dimensions is a torus and cannot represent a sphere. The periodicity over the latitudinal boundary would be problematic, if the domain was considered a latitudinal band on the earth. Even with different boundary conditions, the Cartesian grid results in geometrical errors if the latitudinal band is to wide and the f-plane introduces an additional error. The model could still be used with a band narrow in

8 64 CHAPTER 3. SWIM A SHALLOW WATER MODEL latitude, if the latitudinal boundary condition was adjusted in a reasonable manner Time Step As the Courant number is of central importance to studying the numerical resonance, the time step is defined according to a maximum Courant number. The time step is calculated from the grid spacing and the maximum velocity in the domain and defined as t = C max( x/u max, y/v max ) (3.7) Over the course of the simulation, this time step can then be maintained constant or adapted according to this condition in every time step. For this study, an adaptive time step is the better choice because it facilitates determining the correlation between the resonance and the Courant number Departure Points As a result of the staggered grid, departure points are determined separately for all physical values. The algorithm follows McGregor (2005, p. 15) where the departure points are determined in a three step process. All interpolations needed for the process outlined below are performed as bi-linear interpolations. The first iteration for the departure point r 0 is

9 3.3. SOLUTION PROCEDURE 65 r 0 1 = r + u(r + ) t (3.8) where r + is the arrival point (i.e. the grid point) and u = uê x + vê y (3.9) where u is the velocity at the last time step with components u in x and v in y. The vectors ê x and ê y are the unit vectors in the x and y dimension, respectively. The second and third iteration are r 0 n = r + (u(r + ) + u(r 0 n 1)) t/2 (3.10) where n = {2,3} and r 0 3 is then used as the final departure point. Alternatively, SWiM offers an algorithm as described by Staniforth and Côté (1991) which was found to perform well. It is defined iteratively as α n ( 3 = t 2 u(α n 1/2, t) 1 ) 2 u(α n 1, t t) (3.11) r 0 n = r + α n (3.12) (3.13)

10 66 CHAPTER 3. SWIM A SHALLOW WATER MODEL where α n is the back trajectory for iteration n and α 0 = 0 in the first time step of the simulation. In any later time step, α n is the value determined for t t. The Staniforth and Côté algorithm was found not to converge fully and it is advisable to limit it to less than ten iterations. SWiM offers an implementation of this algorithm based on four iterations. It can be activated as an alternative to the default method described above SOR Solver The semi-lagrangian, semi-implicit scheme used in SWiM determines the new heights implicitly from a Helmholtz equation as demonstrated in Section This process uses an accelerated Gauß-Seidel method known as successive over-relaxation (SOR). The Helmholtz equation (2.58) can be discretised and expressed in the form α i,j h i+1,j + β i,j h i 1,j + γ i,j h i+1,j + δ i,j h i,j 1 + ζ i,j h i,j = η i,j (3.14) where h is the variable we want to determine and the coefficients are functions of i and j the grid coordinates in x and y. All the grid spacings and time steps from the discretisation in time and space have been incorporated into the coefficients. For the iterative solution process, we define the residual ρ i,j = α i,j f i+1,j + β i,j f i 1,j + γ i,j+1 f i+1,j + δ i,j f i,j 1 + ζ i,j f i,j η i,j (3.15)

11 3.3. SOLUTION PROCEDURE 67 and then calculate a new f i,j as f n+1 i,j = f n i,j ω ρ i,j ζ i,j (3.16) where ω is called the relaxation parameter. The relaxation parameter is ω = 1 for the Gauß-Seidel method and ω > 1 for successive over-relaxation. The optimal relaxation parameter depends on the problem and can typically not be calculated beforehand. The iteration is repeated until a certain convergence criterion is reached. Typically, this convergence criterion is defined using the norm of the residual. A slow rate of change in the residual is then considered a sign of the algorithm having converged to the final solution. In SWiM, the convergence criterion for the SOR solver is based on the maximum change of the residual across the computational domain falling below a prescribed threshold. Once this condition is fulfilled, the solution is considered accurate and the solver passes on the results. The SOR solver also aborts the solution process after a certain number of iterations. This is a precaution for the case that the solution does not converge fast enough. SWiM s model output alerts the user to possibly corrupt results whenever this fallback is used. The SOR solver in SWiM uses a red-black scheme which determines the new values for odd and even numbered grid points separately for every iteration. This is possible because the mixed derivatives in Eqn. (2.58) vanish and odd and even grid points decouple into two independent grids for the SOR process.

12 68 CHAPTER 3. SWIM A SHALLOW WATER MODEL 3.4 Orographic Forcing Section 3.2 already presented the two alternative ways of introducing orographic forcing into the shallow water equations. It also mentioned that SWiM defaults to the advective form while still allowing the alternative form which introduces the forcing term into the height equations. This section discusses the differences and the conclusions that can be drawn from them. Both ways of orographic forcing have been used for modelling purposes before. In the context of the numerical resonance Rivest et al. (1994) base their model on the advective form while Ritchie and Tanguay (1996) and Lindberg and Alexeev (2000) make use of the alternative form and introduce the forcing into the height equation. Hence, the resonance clearly affects either form of the equations. From plausibility considerations, the advective form might be more relevant when concerned with the three-dimensional validity of the results because it is the result of simplifying the orographically forced primitive equations. On the other hand, the alternative based on forcing in the height equation is more intuitive in two dimensions and might be more in line with the simplicity paradigm formulated in Section Both forms of the equations were implemented and compared at a low Courant number. For the testing framework, the velocity was initialised as u = 50 m/s and v = 0, the height anomaly was φ = 0 everywhere. The orography was set to a single peak of the shape as ϕ oro = ϕ 2 exp( ( 3/4 x dom ) (1/2 y dom ) 2) (3.17)

13 3.4. OROGRAPHIC FORCING 69 The grid configuration was a grid with a resolution of x = y = 50 km and a mean height ϕ = m 2 /s 2 with a Coriolis parameter f = 10 4 s 1. The results from the comparison of these test simulations are shown in Fig As expected, the results are very similar overall and do not show any differences in their dynamical features. The generated waves have the same wave lengths and propagation speeds and directions. The most obvious difference is the amplitude of the wave which is much larger for the advective form (right). Even directly over the mountain, the fluid depth in the alternative scheme (left) reacts much more mildly to the obstacle. While the test confirms that the dynamical features of the solutions obtained from either way of introducing orographic forcing are similar, the results suggest that the advective form might be more useful. The more distinct features which result from the larger amplitudes make it easier to track the features of the wave in time. For the study of the numerical resonance, an additional argument for the advective form is the fact that Rivest et al. (1994) chose it. As in the following chapters, the results of Rivest et al. (1994) are the best comparison because they are the most comprehensive, it is reasonable to follow their scheme as closely as possible. As a result of the considerations above, SWiM defaults to the advective form of orographic forcing and all experiments presented here are solely based on this form.

14 70 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.2: Height ϕ for C = 1/2 using a) orographic forcing in height equation (cf. Pedlosky (1992)) b) orographic forcing in momentum equations (cf. Rivest et al. (1994))

15 3.5. OFF-CENTRING Off-Centring As the numerical resonance is at the centre of this study, the off-centring scheme in SWiM is designed to be very flexible. It offers a first order offcentring scheme which can optionally be disabled completely and very flexibly configured when enabled. A simulation without off-centring will solve the centred equations as shown in Eqns. (2.56) to (2.58). When running SWiM with off-centring, the off-centring parameters α n need to be defined with n {1,2,3}. By default, SWiM then solves Eqns. (3.1) to (3.3) which in their time discretised form in two dimensions become u + = t ( α 1 (ϕ + x + ϕ + s,x) β 1 (ϕ 0 x + ϕ 0 s,x) + ( α 2 (fv) + + β 2 (fv) 0)) +u 0 (3.18) v + = t ( α 1 (ϕ + y + ϕ + s,y) β 1 (ϕ 0 y + ϕ 0 s,y) ( α 2 (fu) + + β 2 (fu) 0)) +v 0 (3.19) ϕ + = t ( ϕ [ α 3 (u x + v y ) + + β 3 (u x + v y ) 0]) + ϕ 0 (3.20) If the alternative form of orographic forcing in the height equation is used, the used Eqns. (3.4) to (3.6) become u + = t ( α 1 ϕ + x β 1 ϕ 0 x + ( α 2 (fv) + + β 2 (fv) 0)) + u 0 (3.21) v + = t ( α 1 ϕ + y β 1 ϕ 0 y ( α 2 (fu) + + β 2 (fu) 0)) + v 0 (3.22) ϕ + = t ( ϕ [ α 3 (u x + v y ) + + β 3 (u x + v y ) 0]) + ϕ 0 ϕ + oro + ϕ 0 oro (3.23) The superscripts denote departure point (0) and arrival point (+). Derivatives are denoted using a subscript (x or y). All derivatives are evaluated

16 72 CHAPTER 3. SWIM A SHALLOW WATER MODEL at the point denoted by the superscript. The notation of all variables is as before. The coefficients β n are defined as α n + β n = 1 (3.24) where the off-centring parameter α n 1/2. In the height equation (3.20) the unknown values of u + and v + are substituted using the corresponding momentum equations (3.18) and (3.19). The same can be done for Eqn. (3.23) with the momentum equations (3.21) and (3.22). This leads to the elliptic equations a(ϕ + x ) x + b(ϕ + x ) y b(ϕ + y ) x + a(ϕ + ϕ + y ) y α 1 α 3 ( t) 2 ϕ = a ( ( β1 (ϕ 0 α x ) x + (ϕ 0 x,s) x + (ϕ 0 y) y + (ϕ 0 ) y,s) y + f(u 0 y vx) 0 ) 1 b ( ( β1 (ϕ 0 α y ) x + (ϕ 0 y,s) x (ϕ 0 x) y (ϕ 0 ) x,s) y + β2 f(u 0 x + vy) 0 ) ( ( )) (u 0 x + v 0 β3 α 1 t y) + a α 3 1 α 1 α 3 ( t) 2 ϕ ϕ0 + a ( (ϕ + x,s) x (ϕ + ) y,s) y (3.25) for the set of equations (3.18) to (3.20) and

17 3.6. VARIABLE OFF-CENTRING PARAMETERS 73 a(ϕ + x ) x + b(ϕ + x ) y b(ϕ + y ) x + a(ϕ + ϕ + y ) y α 1 α 3 ( t) 2 ϕ = a ( ( β1 (ϕ 0 α x ) x + (ϕ 0 ) y) y + (α2 + β 2 )f(u 0 y vx) 0 ) 1 b ( ( β1 (ϕ 0 α y ) x (ϕ 0 ) x) y + β2 f(u 0 x + vy) 0 ) ( ( )) (u 0 x + v 0 β3 α 1 t y) + a α 3 1 α 1 α 3 ( t) 2 ϕ (ϕ0 + ϕ + oro ϕ 0 oro) (3.26) for the set of equations (3.21) to (3.23) where a = [1 + (α 2 f t) 2 ] 1 and b = (α 2 f t)a and f x = f y = f t = 0. By setting the values of α 1, α 2 and α 3 independently a large range of different off-centring schemes can be tested. Off-centring can be applied only to the momentum equations, only the height equation or both. 3.6 Variable Off-Centring Parameters As discussed above SWiM can apply in off-centring in a variety of ways. In most models, off-centring parameters are chosen and applied over the entire computational domain and are held constant in space and time. SWiM can reproduce this behaviour and additionally it can vary the off-centring over the computational domain. The local α n for every grid point is then determined offline and maintained at constant value for the duration of the simulation. To determine the local α n, SWiM searches the vicinity of every grid point for the largest gradient in orography. The radius of this search is determined by the model configuration. Then, the local ε n = α n 1/2 is determined as

18 74 CHAPTER 3. SWIM A SHALLOW WATER MODEL ( ) ( ϕ s ) (ε n ) loc = (α n 1/2) max vic ( ϕ s ) max (3.27) where ( ϕ s ) vic is any orography gradient within the search radius and ( ϕ s ) max the maximum orography gradient in the computational domain. 3.7 Standard Tests applied to SWiM New atmospheric models have been developed for several decades now and with every new numerical scheme, and often also with a new generation of scientists, comes a new generation of climate models. These models need to be tested and validated before they can be used with confidence. As even across different numerical schemes, climate models generally share a lot of features, Williamson et al. (1992) designed a test suite suitable for testing the main dynamical features of global climate models. The tests by Williamson et al. cannot be used for SWiM because of the rather different design. SWiM is not a global model and, as a result, does not share some of the main features of global models. While a global model would also show bi-periodicity in the sense that a feature can travel across the whole domain continuously, the f-plane is a major obstacle to using most of the standard test cases. To still be able to test SWiM adequately, a suitable suite of test cases was developed, which is partly inspired by the Williamson et al. test suite. It is comprised of simple advection tests and a test for the SOR solver which solves the Helmholtz equation. In all cases, an exact solution is known and the numerical solution can be compared with this exact solution.

19 3.7. STANDARD TESTS APPLIED TO SWIM Advection Tests Simple Linear Advection To test the semi-lagrangian advection a few simple advection tests were performed. For this case, the velocities are maintained at a constant value and a simple advection equation is solved for the height. Any height profile should then be advected by the winds and thus just be translated to a new position. The advection test was executed in three different configurations. In test case 1, advection only took place in the x-direction with the winds being set to u = 50 m/s and v = 0. In test case 2, the advection was limited to the y-direction with the winds set to u = 0 and v = 50 m/s. Test case 3 then combined the former two test cases for diagonal advection at u = 50 m/s and v = 50 m/s. All test cases were run on a grid with a resolution of x = y = 50 km and a mean height ϕ = m 2 /s 2 with a Coriolis parameter f = 10 4 s 1. The advected height profile was a stretched Gaussian hill of the shape ϕ 0 = 0.1 ϕ exp( (x x ctr ) (y y ctr ) 2 (3.28) where x ctr and y ctr are the coordinates of the centre of the computational domain. The values for ϕ then are bounded as 0 < ϕ 5500 m 2 /s 2. The exact solution for the advection test cases is

20 76 CHAPTER 3. SWIM A SHALLOW WATER MODEL ϕ exact = 0.1 ϕ exp( (x x ctr + ut) (y y ctr + vt) 2 ) (3.29) where t is the total time since the start of the simulation. The error of the numerical result is defined as the difference between numerical and analytic solution. All figures show the absolute error of the numerical solution for ϕ, i.e. e ϕ = ϕ numerical ϕ exact. For advection in x (Fig. 3.3) the time step is defined by a prescribed Courant number of C = 4.5, i.e. t = 4500 s. For advection in y (Fig. 3.4), the Courant number is C = 4.3 with a resulting t = 4300 s. For simultaneous advection in x and y (Fig. 3.5), the Courant number is C = 3.7 which results in a time step t = 3700 s. The different Courant numbers ensure that the interpolation errors are not artificially kept constant across different test simulations. In all test cases the moving feature crosses the entire domain at least 2-3 times. The absolute error in Figs. 3.3 to 3.5 is never larger than 6 m 2 /s 2 with the advection in y even yielding a maximum error of 0.4 m 2 /s 2. The largest error is associated with the maximum of the Gaussian hill which results in a relative error of less than 0.2%. The errors in dimension x are different from those in dimension y. While the total error is significantly larger in x, there is an additional spurious feature for advection in y. As the handling of the periodicity is the same in both dimensions, this must be due to the different shape of the Gaussian hill in x and y.

21 3.7. STANDARD TESTS APPLIED TO SWIM 77 Figure 3.3: Absolute error for a stretched Gaussian hill in ϕ advected in x at Courant number C = 4.5 and u = 50m/s. Shown are iterations {0,40,80,120, 160,200}

22 78 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.4: Absolute error for a stretched Gaussian hill in ϕ advected in y at Courant number C = 4.3 and v = 50m/s. Shown are iterations {0,40,80,120,160,200}

23 3.7. STANDARD TESTS APPLIED TO SWIM 79 Figure 3.5: Absolute error for a stretched Gaussian hill in ϕ advected in x and y at Courant number C = 3.7 and u = v = 50m/s. Shown are iterations {0,40, 80,120, 160,200}

24 80 CHAPTER 3. SWIM A SHALLOW WATER MODEL The difference between x and y concerning the absolute value of the error is to be expected because of the asymmetry in shape. The narrower shape in x results in larger gradients and therefore interpolated values of lower accuracy. Because of the even number of grid points in the domain, the Gaussian hill is not perfectly centred. This leads to a slight discontinuity at the boundaries which is larger in y than in x due to the asymmetry in the shape of the hill and probably causes the additional feature in the advection in y. The error s growth rate and the maximum observed relative error of 0.2% are acceptable and numerical results have proven sufficiently reliable. Advection under Rotation With the test cases for linear advection having yielded acceptable accuracy, the next step was testing advection under rotating winds. This served the purpose of further testing the interpolations that are carried out as part of the departure point identification and to determine the values of u, v and ϕ at the departure points. Test case 4 used the same height profile as test cases 1 to 3 and a velocity profile which results in a rigid rotation in the center of the domain and a differential rotation further away from the centre which vanishes on the edges of the computational domain. The velocity profile is defined as ω = 1 (r < 0.75) 1 r (0.75 < r < 1) 0 (r > 1) (3.30)

25 3.7. STANDARD TESTS APPLIED TO SWIM 81 where ω is the angular velocity and r the distance from the centre of the computational domain. A transformation to Cartesian coordinates yields u and v for every grid point. The exact solution is then the original configuration (i.e. the Gaussian hill) rotated by the angle ω(r)t. Fig. 3.6 shows that under rotation the error now does not contain a preference for a certain dimension. However, the error in the centre, where the Gaussian hill follows a rigid rotation, does not scale with the height values or the height gradients. This could be a result of the fixed-length time step. The trailing edges in the outer, differentially rotating, part of the domain (0.75 < r < 1) are mainly caused by the damping effect of the interpolations used to determine heights at the departure points. The relative error in test case 4 is higher than in test cases 1 to 3 and reaches about 0.7%. This does not come unexpected because the velocity pattern is more complex now. This is likely to lead to larger errors in the interpolations. Test case 5 (shown in figure 3.7) replaces the Gaussian hill used in test cases 1 to 4 with a step of ϕ = 100 at x ε < x < x + ε and ϕ = 0 elsewhere. The error is largest around the edges of the rotating feature. As the errors are already non-zero in small regions at time t = 0, there is clearly a contribution from errors in the exact solution. While the exact solution only solves a geometrical equation, this equation is still solved numerically. Using the compiler s arcsin function to determine the rotated feature for the current time step introduces a truncation error into what is considered exact here. This error in the geometrical equation s solution is negligible in comparison with the error in the numerical solution of the

26 82 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.6: Absolute error for a stretched Gaussian hill in ϕ (partly differentially) rotating at maximum Courant number C = 3

27 3.7. STANDARD TESTS APPLIED TO SWIM 83 advection equation. Nevertheless, this error does still contribute to the total error found for the advection equation s numerical solution. With an integration time of the order of one to two weeks, the test simulations were on about the same time scales as the experiments conducted. This implies that the error for the experiment can also be expected to be below 1%. This is small enough to consider the numerical solution for simulations of about one week accurate Tests for the SOR Solver Having shown that the advection properties of SWiM are accurate, the second component which requires testing is the SOR solver. For that purpose, the velocities were set to a known exact solution in each time step and only the height equation was solved numerically. The quality of the solution which the SOR solver yields can then be assessed from the ability and rate of convergence to the exact solution for the heights. For technical reasons, this test is performed across several time steps. In every time step, the SOR solver ran for 500 iterations. This allowed the easy plotting of snapshots without too much code modification. As the solution is stationary, the different time steps did not affect the exact solution. This test case design was based on the linearised geostrophic motion which has the exact solution

28 84 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.7: Absolute error for initial step function in ϕ (partly differentially) rotating at maximum Courant number C = 5

29 3.7. STANDARD TESTS APPLIED TO SWIM 85 where the wave vector k = wave number in y. ϕ(x, y,t) = ϕ 0 cos(kx + ly) (3.31) u(x, y,t) = 1 ϕ f y = ϕ l 0 sin(kx + ly) (3.32) f v(x, y,t) = 1 ϕ f x = ϕ k 0 sin(kx + ly) (3.33) f k l (3.34) with k the wave number in x and l the In the test, the amplitude of the height disturbance was set to be ϕ 0 = ϕ and ϕ = m 2 /s 2. The variable for which the equation was solved numerically (height or one of the velocity components) was always initialised to zero everywhere. Fig. 3.8 shows snapshots after iterations n {0, 2000, 4000, 6000, 8000, 10000}. This is equivalent to time steps n {0,40,80, 120,160,200} due to the technical reasons explained above. The numerical solution has converged very well to the exact solution after 6000 to 8000 iterations. The remaining error after iterations for the heights is no more than 0.1% (with ϕ = [ 55,55]). In early iterations seen in Fig. 3.8 the largest error is found close to the periodic boundaries. This is, again, most likely introduced by slight discontinuity at the boundaries resulting from round-off errors when initialising the domain with the exact solution for the velocities. At a later point, when the solver only converges very slowly, the largest error is clearly associated with the extrema of the stationary solution where the gradients are the smallest.

30 86 CHAPTER 3. SWIM A SHALLOW WATER MODEL Figure 3.8: Error of numerical solution of ϕ converging to exact solution. u and v according to exact solution and C = 1. Shown are iterations {0, 2000, 4000, 6000, 8000, 10000}

31 3.7. STANDARD TESTS APPLIED TO SWIM Summary of Test Results Several simple tests were carried out with SWiM to test its key components, namely the advection behaviour and the SOR solver. All test results showed satisfactory accuracy. The advection on the time scale as used in the experiments in the following chapters is very accurate with an acceptable relative error. While the SOR solver converged rather slowly to the stationary exact solution, the resulting errors are small. The relative errors are also small enough to consider results from simulations of the order of several weeks valid. That the SOR solver converges slowly implies that the relaxation parameter used (ω = 1.4) was not optimal for the problem. This could be different for the experiments but is solely an efficiency issue and of no importance to accuracy.

32 88 CHAPTER 3. SWIM A SHALLOW WATER MODEL

Semi-implicit methods, nonlinear balance, and regularized equations

Semi-implicit methods, nonlinear balance, and regularized equations ATMOSPHERIC SCIENCE LETTERS Atmos. Sci. Let. 8: 1 6 (7 Published online 9 January 7 in Wiley InterScience (www.interscience.wiley.com.1 Semi-implicit methods, nonlinear balance, and regularized equations

More information

Formulation and performance of the Variable-Cubic Atmospheric Model

Formulation and performance of the Variable-Cubic Atmospheric Model Formulation and performance of the Variable-Cubic Atmospheric Model John McGregor CSIRO Marine and Atmospheric Research Aspendale, Melbourne Southern Hemisphere PDEs on the Sphere NCAR 11 April 2014 CSIRO

More information

Computational challenges in Numerical Weather Prediction

Computational challenges in Numerical Weather Prediction Computational challenges in Numerical Weather Prediction Mike Cullen Oxford 15 September 2008 Contents This presentation covers the following areas Historical background Current challenges Why does it

More information

The Shallow Water Equations

The Shallow Water Equations If you have not already done so, you are strongly encouraged to read the companion file on the non-divergent barotropic vorticity equation, before proceeding to this shallow water case. We do not repeat

More information

Linear model for investigation of nonlinear NWP model accuracy. Marko Zirk, University of Tartu

Linear model for investigation of nonlinear NWP model accuracy. Marko Zirk, University of Tartu Linear model for investigation of nonlinear NWP model accuracy Marko Zirk, University of Tartu Introduction A method for finding numerical solution of non-hydrostatic linear equations of atmospheric dynamics

More information

MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction

MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction Grid point and spectral models are based on the same set of primitive equations. However, each type formulates and solves the equations

More information

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews.

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews. New variables in spherical geometry David G Dritschel Mathematical Institute University of St Andrews http://www-vortexmcsst-andacuk Collaborators: Ali Mohebalhojeh (Tehran St Andrews) Jemma Shipton &

More information

A primal-dual mixed finite element method. for accurate and efficient atmospheric. modelling on massively parallel computers

A primal-dual mixed finite element method. for accurate and efficient atmospheric. modelling on massively parallel computers A primal-dual mixed finite element method for accurate and efficient atmospheric modelling on massively parallel computers John Thuburn (University of Exeter, UK) Colin Cotter (Imperial College, UK) AMMW03,

More information

Partial differential equations

Partial differential equations Partial differential equations Many problems in science involve the evolution of quantities not only in time but also in space (this is the most common situation)! We will call partial differential equation

More information

Francis X. Giraldo,

Francis X. Giraldo, 1 Time-Integrators Francis X. Giraldo, giraldo@nrlmry.navy.mil, www.nrlmry.navy.mil/~giraldo/projects/nseam.html 1.1 Introduction Roughly speaking, there are 2 classes of TIs: 1. EulerianMethods(fixed-frame-e.g.,arockatthebottomofaflowing

More information

6 Two-layer shallow water theory.

6 Two-layer shallow water theory. 6 Two-layer shallow water theory. Wewillnowgoontolookatashallowwatersystemthathastwolayersofdifferent density. This is the next level of complexity and a simple starting point for understanding the behaviour

More information

A stable treatment of conservative thermodynamic variables for semi-implicit semi-lagrangian dynamical cores

A stable treatment of conservative thermodynamic variables for semi-implicit semi-lagrangian dynamical cores A stable treatment of conservative thermodynamic variables for semi-implicit semi-lagrangian dynamical cores Kevin Viner Naval Research Laboratory, Monterey, CA September 26, 2012 Kevin Viner (NRL) PDE

More information

2.5 Shallow water equations, quasigeostrophic filtering, and filtering of inertia-gravity waves

2.5 Shallow water equations, quasigeostrophic filtering, and filtering of inertia-gravity waves Chapter. The continuous equations φ=gh Φ=gH φ s =gh s Fig..5: Schematic of the shallow water model, a hydrostatic, incompressible fluid with a rigid bottom h s (x,y), a free surface h(x,y,t), and horizontal

More information

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model Overview of the Numerics of the Atmospheric Forecast Model M. Hortal Seminar 6 Sept 2004 Slide 1 Characteristics of the model Hydrostatic shallow-atmosphere approimation Pressure-based hybrid vertical

More information

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids Fluid dynamics Math background Physics Simulation Related phenomena Frontiers in graphics Rigid fluids Fields Domain Ω R2 Scalar field f :Ω R Vector field f : Ω R2 Types of derivatives Derivatives measure

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

Chapter 5. Shallow Water Equations. 5.1 Derivation of shallow water equations

Chapter 5. Shallow Water Equations. 5.1 Derivation of shallow water equations Chapter 5 Shallow Water Equations So far we have concentrated on the dynamics of small-scale disturbances in the atmosphere and ocean with relatively simple background flows. In these analyses we have

More information

+ ω = 0, (1) (b) In geometric height coordinates in the rotating frame of the Earth, momentum balance for an inviscid fluid is given by

+ ω = 0, (1) (b) In geometric height coordinates in the rotating frame of the Earth, momentum balance for an inviscid fluid is given by Problem Sheet 1: Due Thurs 3rd Feb 1. Primitive equations in different coordinate systems (a) Using Lagrangian considerations and starting from an infinitesimal mass element in cartesian coordinates (x,y,z)

More information

2. Outline of the MRI-EPS

2. Outline of the MRI-EPS 2. Outline of the MRI-EPS The MRI-EPS includes BGM cycle system running on the MRI supercomputer system, which is developed by using the operational one-month forecasting system by the Climate Prediction

More information

Fluid Animation. Christopher Batty November 17, 2011

Fluid Animation. Christopher Batty November 17, 2011 Fluid Animation Christopher Batty November 17, 2011 What distinguishes fluids? What distinguishes fluids? No preferred shape Always flows when force is applied Deforms to fit its container Internal forces

More information

A semi-implicit non-hydrostatic covariant dynamical kernel using spectral representation in the horizontal and a height based vertical coordinate

A semi-implicit non-hydrostatic covariant dynamical kernel using spectral representation in the horizontal and a height based vertical coordinate A semi-implicit non-hydrostatic covariant dynamical kernel using spectral representation in the horizontal and a height based vertical coordinate Juan Simarro and Mariano Hortal AEMET Agencia Estatal de

More information

Time-Parallel Algorithms for Weather Prediction and Climate Simulation

Time-Parallel Algorithms for Weather Prediction and Climate Simulation Time-Parallel Algorithms for Weather Prediction and Climate Simulation Jean Côté Adjunct Prof. ESCER Centre (Étude et la Simulation du Climat à l Échelle Régionale) Sciences de la Terre & de l Atmosphère

More information

Evaluation of three spatial discretization schemes with the Galewsky et al. test

Evaluation of three spatial discretization schemes with the Galewsky et al. test Evaluation of three spatial discretization schemes with the Galewsky et al. test Seoleun Shin Matthias Sommer Sebastian Reich Peter Névir February 22, 2 Abstract We evaluate the Hamiltonian Particle Methods

More information

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS 1 / 43 AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS Treatment of Boundary Conditions These slides are partially based on the recommended textbook: Culbert

More information

A Two-Level Time-Stepping Method for Layered Ocean Circulation Models: Further Development and Testing

A Two-Level Time-Stepping Method for Layered Ocean Circulation Models: Further Development and Testing A Two-Level Time-Stepping Method for Layered Ocean Circulation Models: Further Development and Testing Robert L. Higdon Department of Mathematics Oregon State University Corvallis, Oregon 97331-4605 This

More information

Sink particle accretion test

Sink particle accretion test Sink particle accretion test David A. Hubber & Stefanie Walch 1 Objectives Simulate spherically-symmetric Bondi accretion onto a sink particle for an isothermal gas. Calculate the accretion rate onto a

More information

Chapter 1. Introduction

Chapter 1. Introduction Chapter 1 Introduction Many astrophysical scenarios are modeled using the field equations of fluid dynamics. Fluids are generally challenging systems to describe analytically, as they form a nonlinear

More information

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan

Modeling, Simulating and Rendering Fluids. Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan Applications Mostly Hollywood Shrek Antz Terminator 3 Many others Games Engineering Animating Fluids is

More information

An Overview of Fluid Animation. Christopher Batty March 11, 2014

An Overview of Fluid Animation. Christopher Batty March 11, 2014 An Overview of Fluid Animation Christopher Batty March 11, 2014 What distinguishes fluids? What distinguishes fluids? No preferred shape. Always flows when force is applied. Deforms to fit its container.

More information

Vortex motion. Wasilij Barsukow, July 1, 2016

Vortex motion. Wasilij Barsukow, July 1, 2016 The concept of vorticity We call Vortex motion Wasilij Barsukow, mail@sturzhang.de July, 206 ω = v vorticity. It is a measure of the swirlyness of the flow, but is also present in shear flows where the

More information

Dynamics Rotating Tank

Dynamics Rotating Tank Institute for Atmospheric and Climate Science - IACETH Atmospheric Physics Lab Work Dynamics Rotating Tank Large scale flows on different latitudes of the rotating Earth Abstract The large scale atmospheric

More information

PAPER 333 FLUID DYNAMICS OF CLIMATE

PAPER 333 FLUID DYNAMICS OF CLIMATE MATHEMATICAL TRIPOS Part III Wednesday, 1 June, 2016 1:30 pm to 4:30 pm Draft 21 June, 2016 PAPER 333 FLUID DYNAMICS OF CLIMATE Attempt no more than THREE questions. There are FOUR questions in total.

More information

Model equations for planetary and synoptic scale atmospheric motions associated with different background stratification

Model equations for planetary and synoptic scale atmospheric motions associated with different background stratification Model equations for planetary and synoptic scale atmospheric motions associated with different background stratification Stamen Dolaptchiev & Rupert Klein Potsdam Institute for Climate Impact Research

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) Lecture 19: Computing the SVD; Sparse Linear Systems Xiangmin Jiao Stony Brook University Xiangmin Jiao Numerical

More information

Weather Forecasting Models in Met Éireann. Eoin Whelan UCD Seminar 3 rd April 2012

Weather Forecasting Models in Met Éireann. Eoin Whelan UCD Seminar 3 rd April 2012 Weather Forecasting Models in Met Éireann Eoin Whelan UCD Seminar 3 rd April 2012 Overview Background HIRLAM Models Local Implementation Verification Development work Background Met Éireann Dept of the

More information

2. FLUID-FLOW EQUATIONS SPRING 2019

2. FLUID-FLOW EQUATIONS SPRING 2019 2. FLUID-FLOW EQUATIONS SPRING 2019 2.1 Introduction 2.2 Conservative differential equations 2.3 Non-conservative differential equations 2.4 Non-dimensionalisation Summary Examples 2.1 Introduction Fluid

More information

Prototype Instabilities

Prototype Instabilities Prototype Instabilities David Randall Introduction Broadly speaking, a growing atmospheric disturbance can draw its kinetic energy from two possible sources: the kinetic and available potential energies

More information

Adaptive Mesh Methods for Numerical Weather Prediction

Adaptive Mesh Methods for Numerical Weather Prediction Adaptive Mesh Methods for Numerical Weather Prediction submitted by Stephen P. Cook for the degree of Doctor of Philosophy of the University of Bath Department of Mathematical Sciences April 2016 COPYRIGHT

More information

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost

Game Physics. Game and Media Technology Master Program - Utrecht University. Dr. Nicolas Pronost Game and Media Technology Master Program - Utrecht University Dr. Nicolas Pronost Soft body physics Soft bodies In reality, objects are not purely rigid for some it is a good approximation but if you hit

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Partial differential equations arise in a number of physical problems, such as fluid flow, heat transfer, solid mechanics and biological processes. These

More information

Time-Parallel Algorithms for Weather Prediction and Climate Simulation

Time-Parallel Algorithms for Weather Prediction and Climate Simulation Time-Parallel Algorithms for Weather Prediction and Climate Simulation Jean Côté Adjunct Prof. ESCER Centre (Étude et la Simulation du Climat à l Échelle Régionale) Sciences de la Terre & de l Atmosphère

More information

Part 1. The diffusion equation

Part 1. The diffusion equation Differential Equations FMNN10 Graded Project #3 c G Söderlind 2016 2017 Published 2017-11-27. Instruction in computer lab 2017-11-30/2017-12-06/07. Project due date: Monday 2017-12-11 at 12:00:00. Goals.

More information

Treatment of Earth as an Inertial Frame in Geophysical Fluid Dynamics. Dana Duke

Treatment of Earth as an Inertial Frame in Geophysical Fluid Dynamics. Dana Duke Treatment of Earth as an Inertial Frame in Geophysical Fluid Dynamics Dana Duke PHGN 505 Term Paper December 2011 Dana Duke 1 Abstract The purpose of this paper is to introduce how phenomena in geophysical

More information

Heat Transfer Modeling using ANSYS FLUENT

Heat Transfer Modeling using ANSYS FLUENT Lecture 2 - Conduction Heat Transfer 14.5 Release Heat Transfer Modeling using ANSYS FLUENT 2013 ANSYS, Inc. March 28, 2013 1 Release 14.5 Agenda Introduction Energy equation in solids Equation solved

More information

2 Transport of heat, momentum and potential vorticity

2 Transport of heat, momentum and potential vorticity Transport of heat, momentum and potential vorticity. Conventional mean momentum equation We ll write the inviscid equation of onal motion (we ll here be using log-pressure coordinates with = H ln p=p,

More information

Chapter 2. The continuous equations

Chapter 2. The continuous equations Chapter. The continuous equations Fig. 1.: Schematic of a forecast with slowly varying weather-related variations and superimposed high frequency Lamb waves. Note that even though the forecast of the slow

More information

Numerical methods Revised March 2001

Numerical methods Revised March 2001 Revised March 00 By R. W. Riddaway (revised by M. Hortal) Table of contents. Some introductory ideas. Introduction. Classification of PDE's.3 Existence and uniqueness.4 Discretization.5 Convergence, consistency

More information

Domain decomposition on different levels of the Jacobi-Davidson method

Domain decomposition on different levels of the Jacobi-Davidson method hapter 5 Domain decomposition on different levels of the Jacobi-Davidson method Abstract Most computational work of Jacobi-Davidson [46], an iterative method suitable for computing solutions of large dimensional

More information

ICON-IAP: A non-hydrostatic global. Almut Gassmann IAP Kühlungsborn, Germany. model designed for energetic consistency

ICON-IAP: A non-hydrostatic global. Almut Gassmann IAP Kühlungsborn, Germany. model designed for energetic consistency ICON-IAP: A non-hydrostatic global Almut Gassmann IAP Kühlungsborn, Germany model designed for energetic consistency ICON-IAP is a model on a Voronoi mesh: The divergence lives on Voronoi cells (mostly

More information

Lecture 18 Classical Iterative Methods

Lecture 18 Classical Iterative Methods Lecture 18 Classical Iterative Methods MIT 18.335J / 6.337J Introduction to Numerical Methods Per-Olof Persson November 14, 2006 1 Iterative Methods for Linear Systems Direct methods for solving Ax = b,

More information

Eliassen-Palm Theory

Eliassen-Palm Theory Eliassen-Palm Theory David Painemal MPO611 April 2007 I. Introduction The separation of the flow into its zonal average and the deviations therefrom has been a dominant paradigm for analyses of the general

More information

The development and testing of a new two-time-level semi-lagrangian scheme (SETTLS) in the ECMWF forecast model

The development and testing of a new two-time-level semi-lagrangian scheme (SETTLS) in the ECMWF forecast model Q. J. R. Meteorol. Soc. (2), 128, pp. 1671 1687 The development and testing of a new two-time-level semi-lagrangian scheme (SETTLS) in the ECMWF forecast model By MARIANO HORTAL European Centre for Medium-Range

More information

MIT (Spring 2014)

MIT (Spring 2014) 18.311 MIT (Spring 014) Rodolfo R. Rosales May 6, 014. Problem Set # 08. Due: Last day of lectures. IMPORTANT: Turn in the regular and the special problems stapled in two SEPARATE packages. Print your

More information

Cover Page. The handle holds various files of this Leiden University dissertation

Cover Page. The handle  holds various files of this Leiden University dissertation Cover Page The handle http://hdl.handle.net/1887/39637 holds various files of this Leiden University dissertation Author: Smit, Laurens Title: Steady-state analysis of large scale systems : the successive

More information

Finite Volume Method for Scalar Advection in 2D

Finite Volume Method for Scalar Advection in 2D Chapter 9 Finite Volume Method for Scalar Advection in D 9. Introduction The purpose of this exercise is to code a program to integrate the scalar advection equation in two-dimensional flows. 9. The D

More information

NWP Equations (Adapted from UCAR/COMET Online Modules)

NWP Equations (Adapted from UCAR/COMET Online Modules) NWP Equations (Adapted from UCAR/COMET Online Modules) Certain physical laws of motion and conservation of energy (for example, Newton's Second Law of Motion and the First Law of Thermodynamics) govern

More information

Lecture 2. Lecture 1. Forces on a rotating planet. We will describe the atmosphere and ocean in terms of their:

Lecture 2. Lecture 1. Forces on a rotating planet. We will describe the atmosphere and ocean in terms of their: Lecture 2 Lecture 1 Forces on a rotating planet We will describe the atmosphere and ocean in terms of their: velocity u = (u,v,w) pressure P density ρ temperature T salinity S up For convenience, we will

More information

6. Iterative Methods for Linear Systems. The stepwise approach to the solution...

6. Iterative Methods for Linear Systems. The stepwise approach to the solution... 6 Iterative Methods for Linear Systems The stepwise approach to the solution Miriam Mehl: 6 Iterative Methods for Linear Systems The stepwise approach to the solution, January 18, 2013 1 61 Large Sparse

More information

Challenges and Opportunities in Modeling of the Global Atmosphere

Challenges and Opportunities in Modeling of the Global Atmosphere Challenges and Opportunities in Modeling of the Global Atmosphere Zavisa Janjic, Vladimir Djurdjevic, Ratko Vasic, and Tom Black NOAA/NCEP/EMC, College Park, MD 20740, U.S.A. (Email: zavisa.janjic@noaa.gov)

More information

Numerical accuracy in the solution of the shallow-water equations

Numerical accuracy in the solution of the shallow-water equations Numerical accuracy in the solution of the shallow-water equations P. Broomans & C. Vuik Delft University of Technology, Delft, Netherlands A.E. Mynett & J. Mooiman WL Delft Hydraulics, Delft, Netherlands

More information

Application of Chimera Grids in Rotational Flow

Application of Chimera Grids in Rotational Flow CES Seminar Write-up Application of Chimera Grids in Rotational Flow Marc Schwalbach 292414 marc.schwalbach@rwth-aachen.de Supervisors: Dr. Anil Nemili & Emre Özkaya, M.Sc. MATHCCES RWTH Aachen University

More information

A Hamiltonian Numerical Scheme for Large Scale Geophysical Fluid Systems

A Hamiltonian Numerical Scheme for Large Scale Geophysical Fluid Systems A Hamiltonian Numerical Scheme for Large Scale Geophysical Fluid Systems Bob Peeters Joint work with Onno Bokhove & Jason Frank TW, University of Twente, Enschede CWI, Amsterdam PhD-TW colloquium, 9th

More information

Level Set and Phase Field Methods: Application to Moving Interfaces and Two-Phase Fluid Flows

Level Set and Phase Field Methods: Application to Moving Interfaces and Two-Phase Fluid Flows Level Set and Phase Field Methods: Application to Moving Interfaces and Two-Phase Fluid Flows Abstract Maged Ismail Claremont Graduate University Level Set and Phase Field methods are well-known interface-capturing

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

Flood Routing by the Non-Linear Muskingum Model: Conservation of Mass and Momentum

Flood Routing by the Non-Linear Muskingum Model: Conservation of Mass and Momentum Archives of Hydro-Engineering and Environmental Mechanics Vol. 56 (29), No. 3 4, pp. 121 137 IBW PAN, ISSN 1231 3726 Flood Routing by the Non-Linear Muskingum Model: Conservation of Mass and Momentum Dariusz

More information

Nonlinear Balance on an Equatorial Beta Plane

Nonlinear Balance on an Equatorial Beta Plane Nonlinear Balance on an Equatorial Beta Plane David J. Raymond Physics Department and Geophysical Research Center New Mexico Tech Socorro, NM 87801 April 26, 2009 Summary Extension of the nonlinear balance

More information

Dust devils, water spouts, tornados

Dust devils, water spouts, tornados Balanced flow Things we know Primitive equations are very comprehensive, but there may be a number of vast simplifications that may be relevant (e.g., geostrophic balance). Seems that there are things

More information

Chapter 2. Altitude Measurement

Chapter 2. Altitude Measurement Chapter Altitude Measurement Although altitudes and zenith distances are equally suitable for navigational calculations, most formulas are traditionally based upon altitudes which are easily accessible

More information

The dynamics of a simple troposphere-stratosphere model

The dynamics of a simple troposphere-stratosphere model The dynamics of a simple troposphere-stratosphere model by Jessica Duin under supervision of Prof. Dr. A. Doelman, UvA Dr. W.T.M. Verkley, KNMI August 31, 25 Universiteit van Amsterdam Korteweg-de vries

More information

11.3 MATLAB for Partial Differential Equations

11.3 MATLAB for Partial Differential Equations 276 3. Generate the shape functions N (i) j = a (i) j where i =1, 2, 3,..., m and j =1, 2, 3,..., m. + b (i) j x + c(i) j y (11.2.17) 4. Compute the integrals for matrix elements α ij and vector elements

More information

Lecture #2 Planetary Wave Models. Charles McLandress (Banff Summer School 7-13 May 2005)

Lecture #2 Planetary Wave Models. Charles McLandress (Banff Summer School 7-13 May 2005) Lecture #2 Planetary Wave Models Charles McLandress (Banff Summer School 7-13 May 2005) 1 Outline of Lecture 1. Observational motivation 2. Forced planetary waves in the stratosphere 3. Traveling planetary

More information

M.Sc. in Meteorology. Numerical Weather Prediction Prof Peter Lynch

M.Sc. in Meteorology. Numerical Weather Prediction Prof Peter Lynch M.Sc. in Meteorology UCD Numerical Weather Prediction Prof Peter Lynch Meteorology & Climate Centre School of Mathematical Sciences University College Dublin Second Semester, 2005 2006. In this section

More information

Multi-D MHD and B = 0

Multi-D MHD and B = 0 CapSel DivB - 01 Multi-D MHD and B = 0 keppens@rijnh.nl multi-d MHD and MHD wave anisotropies dimensionality > 1 non-trivial B = 0 constraint even if satisfied exactly t = 0: can numerically generate B

More information

Earth System Modeling Domain decomposition

Earth System Modeling Domain decomposition Earth System Modeling Domain decomposition Graziano Giuliani International Centre for Theorethical Physics Earth System Physics Section Advanced School on Regional Climate Modeling over South America February

More information

Numerical simulations of the edge tone

Numerical simulations of the edge tone Numerical simulations of the edge tone I. Vaik, G. Paál Department of Hydrodynamic Systems, Budapest University of Technology and Economics, P.O. Box 91., 1521 Budapest, Hungary, {vaik, paal}@vizgep.bme.hu

More information

Damped harmonic motion

Damped harmonic motion Damped harmonic motion March 3, 016 Harmonic motion is studied in the presence of a damping force proportional to the velocity. The complex method is introduced, and the different cases of under-damping,

More information

EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS

EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS ML Combrinck, LN Dala Flamengro, a div of Armscor SOC Ltd & University of Pretoria, Council of Scientific and Industrial Research & University

More information

Pressure corrected SPH for fluid animation

Pressure corrected SPH for fluid animation Pressure corrected SPH for fluid animation Kai Bao, Hui Zhang, Lili Zheng and Enhua Wu Analyzed by Po-Ram Kim 2 March 2010 Abstract We present pressure scheme for the SPH for fluid animation In conventional

More information

3.4. Monotonicity of Advection Schemes

3.4. Monotonicity of Advection Schemes 3.4. Monotonicity of Advection Schemes 3.4.1. Concept of Monotonicity When numerical schemes are used to advect a monotonic function, e.g., a monotonically decreasing function of x, the numerical solutions

More information

Fundamentals of Fluid Dynamics: Waves in Fluids

Fundamentals of Fluid Dynamics: Waves in Fluids Fundamentals of Fluid Dynamics: Waves in Fluids Introductory Course on Multiphysics Modelling TOMASZ G. ZIELIŃSKI (after: D.J. ACHESON s Elementary Fluid Dynamics ) bluebox.ippt.pan.pl/ tzielins/ Institute

More information

Understanding inertial instability on the f-plane with complete Coriolis force

Understanding inertial instability on the f-plane with complete Coriolis force Understanding inertial instability on the f-plane with complete Coriolis force Abstract Vladimir Zeitlin Laboratory of Dynamical Meteorology, University P. and M. Curie and Ecole Normale Supérieure, Paris,

More information

August Progress Report

August Progress Report PATH PREDICTION FOR AN EARTH-BASED DEMONSTRATION BALLOON FLIGHT DANIEL BEYLKIN Mentor: Jerrold Marsden Co-Mentors: Claire Newman and Philip Du Toit August Progress Report. Progress.. Discrete Mechanics

More information

An inherently mass-conserving semi-implicit semi-lagrangian discretization of the deep-atmosphere global non-hydrostatic equations

An inherently mass-conserving semi-implicit semi-lagrangian discretization of the deep-atmosphere global non-hydrostatic equations Quarterly Journalof the RoyalMeteorologicalSociety Q. J. R. Meteorol. Soc. : July DOI:./qj. n inherently mass-conserving semi-implicit semi-lagrangian discretization of the deep-atmosphere global non-hydrostatic

More information

Earth s flattening : which impact for meteorology and climatology?

Earth s flattening : which impact for meteorology and climatology? Earth s flattening : which impact for meteorology and climatology? Pierre Bénard Météo-France CNRM/GMAP CNRS 16 21 Aug. 2014, Montreal P. Bénard (Météo-France) Earth s flattening : which impact? 16/21

More information

Laboratory #8: Solution of the Quasi-geostrophic Equations using an Implicit Scheme

Laboratory #8: Solution of the Quasi-geostrophic Equations using an Implicit Scheme Laboratory #8: Solution of the Quasi-geostrophic Equations using an Implicit Scheme Lin Yang & John M. Stockie Date printed: November 11, 2009 Contents List of Problems 1 1 Objectives 1 2 Readings 2 3

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Daniel J. Jacob, Models of Atmospheric Transport and Chemistry, 2007.

Daniel J. Jacob, Models of Atmospheric Transport and Chemistry, 2007. 1 0. CHEMICAL TRACER MODELS: AN INTRODUCTION Concentrations of chemicals in the atmosphere are affected by four general types of processes: transport, chemistry, emissions, and deposition. 3-D numerical

More information

10 Shallow Water Models

10 Shallow Water Models 10 Shallow Water Models So far, we have studied the effects due to rotation and stratification in isolation. We then looked at the effects of rotation in a barotropic model, but what about if we add stratification

More information

arxiv:astro-ph/ v1 22 Sep 2003

arxiv:astro-ph/ v1 22 Sep 2003 Astronomy & Astrophysics manuscript no. AAL7 February 2, 2008 (DOI: will be inserted by hand later) A method for relaxing the CFL-condition in time explicit schemes A. Hujeirat Max-Planck-Institut für

More information

Vortex stretching in incompressible and compressible fluids

Vortex stretching in incompressible and compressible fluids Vortex stretching in incompressible and compressible fluids Esteban G. Tabak, Fluid Dynamics II, Spring 00 1 Introduction The primitive form of the incompressible Euler equations is given by ( ) du P =

More information

Torben Königk Rossby Centre/ SMHI

Torben Königk Rossby Centre/ SMHI Fundamentals of Climate Modelling Torben Königk Rossby Centre/ SMHI Outline Introduction Why do we need models? Basic processes Radiation Atmospheric/Oceanic circulation Model basics Resolution Parameterizations

More information

2 The wave equation in the finite element formalism

2 The wave equation in the finite element formalism 1 Introduction In flat space-time, the constant speed wave equation ( 2 2 t )φ = ρ (1) is simple enough, but when we let space-time curve, the equation becomes very complex. This is especially the case

More information

On simplifying incremental remap -based transport schemes

On simplifying incremental remap -based transport schemes On simplifying incremental remap -based transport schemes Peter H. Lauritzen a,, Christoph Erath b, Rashmi Mittal c a Climate and Global Dynamics Division, National Center for Atmospheric Research, P.O.

More information

1/18/2011. Conservation of Momentum Conservation of Mass Conservation of Energy Scaling Analysis ESS227 Prof. Jin-Yi Yu

1/18/2011. Conservation of Momentum Conservation of Mass Conservation of Energy Scaling Analysis ESS227 Prof. Jin-Yi Yu Lecture 2: Basic Conservation Laws Conservation Law of Momentum Newton s 2 nd Law of Momentum = absolute velocity viewed in an inertial system = rate of change of Ua following the motion in an inertial

More information

Partitioned Methods for Multifield Problems

Partitioned Methods for Multifield Problems C Partitioned Methods for Multifield Problems Joachim Rang, 6.7.2016 6.7.2016 Joachim Rang Partitioned Methods for Multifield Problems Seite 1 C One-dimensional piston problem fixed wall Fluid flexible

More information

Machine Learning Applied to 3-D Reservoir Simulation

Machine Learning Applied to 3-D Reservoir Simulation Machine Learning Applied to 3-D Reservoir Simulation Marco A. Cardoso 1 Introduction The optimization of subsurface flow processes is important for many applications including oil field operations and

More information

Chapter 9. Geostrophy, Quasi-Geostrophy and the Potential Vorticity Equation

Chapter 9. Geostrophy, Quasi-Geostrophy and the Potential Vorticity Equation Chapter 9 Geostrophy, Quasi-Geostrophy and the Potential Vorticity Equation 9.1 Geostrophy and scaling. We examined in the last chapter some consequences of the dynamical balances for low frequency, nearly

More information

1/27/2010. With this method, all filed variables are separated into. from the basic state: Assumptions 1: : the basic state variables must

1/27/2010. With this method, all filed variables are separated into. from the basic state: Assumptions 1: : the basic state variables must Lecture 5: Waves in Atmosphere Perturbation Method With this method, all filed variables are separated into two parts: (a) a basic state part and (b) a deviation from the basic state: Perturbation Method

More information

An Optimal Control Problem Formulation for. the Atmospheric Large-Scale Wave Dynamics

An Optimal Control Problem Formulation for. the Atmospheric Large-Scale Wave Dynamics pplied Mathematical Sciences, Vol. 9, 5, no. 8, 875-884 HIKRI Ltd, www.m-hikari.com http://dx.doi.org/.988/ams.5.448 n Optimal Control Problem Formulation for the tmospheric Large-Scale Wave Dynamics Sergei

More information

1/3/2011. This course discusses the physical laws that govern atmosphere/ocean motions.

1/3/2011. This course discusses the physical laws that govern atmosphere/ocean motions. Lecture 1: Introduction and Review Dynamics and Kinematics Kinematics: The term kinematics means motion. Kinematics is the study of motion without regard for the cause. Dynamics: On the other hand, dynamics

More information