{"id":6304,"date":"2024-05-31T11:54:53","date_gmt":"2024-05-31T09:54:53","guid":{"rendered":"https:\/\/www.mi.uni-koeln.de\/NumSim\/?p=6304"},"modified":"2024-06-05T12:54:46","modified_gmt":"2024-06-05T10:54:46","slug":"snapshot-discontinuous-galerkin-solver-for-the-spherical-shallow-water-equations","status":"publish","type":"post","link":"https:\/\/www.mi.uni-koeln.de\/NumSim\/2024\/05\/31\/snapshot-discontinuous-galerkin-solver-for-the-spherical-shallow-water-equations\/","title":{"rendered":"Snapshot: Discontinuous Galerkin Solver for the Spherical Shallow Water Equations"},"content":{"rendered":"<p>A preliminary step in the development of a global atmospheric model is the construction of a suitable horizontal discretization for partial differential equations in spherical geometry. The spherical shallow water equations, which consist of a scalar equation governing mass conservation coupled with a vector equation for the momentum balance under gravitational and Coriolis forces, serve as a simplified model for the horizontal dynamics of the Earth&#8217;s atmopheric circulation. Since the spherical shallow water equations exhibit many of the characteristic features and numerical challenges associated with atmospheric fluid flow, they provide a useful testbed for the development and assessment of numerical schemes for weather prediction and climate modelling (see, for example, Williamson et al. [1]). <\/p>\n<p>By extending <a href=\"https:\/\/github.com\/trixi-framework\/Trixi.jl\">Trixi.jl<\/a> to solve hyperbolic partial differential equations on curved manifolds, we are able to simulate shallow-water flows on the surface of the sphere using discontinuous Galerkin methods formulated with respect to the two-dimensional tangent space associated with a cubed-sphere grid [2, 3]. The video below depicts the relative vorticity field for the numerical solution to the spherical shallow water equations in flux form, which we discretize similarly to Bao et al. [4] using a discontinuous Galerkin method employing 5400 curved quadrilateral elements of polynomial degree seven. The initial condition corresponds to a mid-latitude jet with a small perturbation added to initiate a barotropic instability, which was proposed by Galewsky et al. [5] as a test case exhibiting complex nonlinear dynamics characteristic of those present in numerical weather prediction and climate models.<\/p>\n<div style=\"width: 584px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-6304-1\" width=\"584\" height=\"467\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-content\/uploads\/2024\/05\/spherical_shallow_water_barotropic_instability.mp4?_=1\" \/><a href=\"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-content\/uploads\/2024\/05\/spherical_shallow_water_barotropic_instability.mp4\">https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-content\/uploads\/2024\/05\/spherical_shallow_water_barotropic_instability.mp4<\/a><\/video><\/div>\n<p><strong><br \/>\nReferences<\/strong><\/p>\n<p>[1] D. L. Williamson, J. B. Drake, J. J. Hack, R. Jakob, and P. N. Swarztrauber. A standard test set for numerical approximations to the shallow water equations in spherical geometry. Journal of Computational Physics, 102(1):211-224, 1992.<\/p>\n<p>[2] R. Sadourny. Conservative \ufb01nite-di\ufb00erence approximations of the primitive equations on quasi-uniform spherical grids. Monthly Weather Review, 100(2):136-144, 1972.<\/p>\n<p>[3] C. Ronchi, R. Iacono, and P. S. Paolucci. The &#8220;cubed sphere&#8221;: A new method for the solution of partial differential equations in spherical geometry. Journal of Computational Physics, 124(1):93-114, 1996.<\/p>\n<p>[4] L. Bao, R. D. Nair, and H. M. Tufo. A mass and momentum \ufb02ux-form high-order discontinuous Galerkin shallow water model on the cubed-sphere. Journal of Computational Physics, 271:224-243, 2014.<\/p>\n<p>[5] J. Galewsky, R. K. Scott, and L. M. Polvani. An initial-value problem for testing numerical models of the global shallow-water equations. Tellus A, 56(5):429\u2013440, 2004.<\/p>\n<p><em>This snapshot was created by <a href=\"https:\/\/tjbmontoya.com\/\">Tristan Montoya<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A preliminary step in the development of a global atmospheric model is the construction of a suitable horizontal discretization for partial differential equations in spherical geometry. The spherical shallow water equations, which consist of a scalar equation governing mass conservation &hellip; <a href=\"https:\/\/www.mi.uni-koeln.de\/NumSim\/2024\/05\/31\/snapshot-discontinuous-galerkin-solver-for-the-spherical-shallow-water-equations\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/6304"}],"collection":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/comments?post=6304"}],"version-history":[{"count":6,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/6304\/revisions"}],"predecessor-version":[{"id":6312,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/posts\/6304\/revisions\/6312"}],"wp:attachment":[{"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/media?parent=6304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/categories?post=6304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mi.uni-koeln.de\/NumSim\/wp-json\/wp\/v2\/tags?post=6304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}