A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere

Similar documents
A Nodal High-Order Discontinuous Galerkin Dynamical Core for Climate Simulations

Cubed-Sphere Grids and Galerkin Approaches

The Spectral-Element Method: Introduction

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

Fast Numerical Methods for Stochastic Computations

Overlapping Schwarz preconditioners for Fekete spectral elements

l=0 The expansion coefficients can be determined, for example, by finding the potential on the z-axis and expanding that result in z.

WRT in 2D: Poisson Example

Expansion of 1/r potential in Legendre polynomials

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

A spectral finite volume transport scheme on the cubed-sphere

Well-balanced DG scheme for Euler equations with gravity

1. Fast Solvers and Schwarz Preconditioners for Spectral Nédélec Elements for a Model Problem in H(curl)

Numerical Analysis Comprehensive Exam Questions

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

Well-balanced DG scheme for Euler equations with gravity

Chapter 6. Finite Element Method. Literature: (tiny selection from an enormous number of publications)

Method in 1D. Introduction of the Basic Concepts and Comparison to Optimal FD Operators

Interpolation and function representation with grids in stochastic control

Applied Numerical Analysis Quiz #2

PDE Solvers for Fluid Flow

Spectral transforms. Contents. ARPEGE-Climat Version 5.1. September Introduction 2

Adaptive Finite Element Methods Lecture Notes Winter Term 2017/18. R. Verfürth. Fakultät für Mathematik, Ruhr-Universität Bochum

Development of a Scalable Global Discontinuous Galerkin Atmospheric Model

Lecture 18 Classical Iterative Methods

Laplacian-Centered Poisson Solvers and Multilevel Summation Algorithms

Lab 1: Iterative Methods for Solving Linear Systems

arxiv: v2 [physics.comp-ph] 4 Feb 2014

Practical in Numerical Astronomy, SS 2012 LECTURE 9

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Emerging Numerical Methods for Atmospheric Modeling

Spectral Elements. Introduction recalling the elastic wave equation

Journal of Computational Physics

LEAST-SQUARES FINITE ELEMENT MODELS

Finite Difference Methods (FDMs) 1

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

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

Efficient hp-finite elements

Solutions to Laplace s Equations- II

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model

Energy Preserving Numerical Integration Methods

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Instructions for Matlab Routines

Nonlinear, Transient Conduction Heat Transfer Using A Discontinuous Galerkin Hierarchical Finite Element Method

Multipole-Based Preconditioners for Sparse Linear Systems.

A recovery-assisted DG code for the compressible Navier-Stokes equations

FFTs in Graphics and Vision. The Laplace Operator

Electric fields in matter

Notes: Most of the material presented in this chapter is taken from Jackson, Chap. 2, 3, and 4, and Di Bartolo, Chap. 2. 2π nx i a. ( ) = G n.

A Stable Spectral Difference Method for Triangles

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

A truly meshless Galerkin method based on a moving least squares quadrature

Finite Element Method in Geotechnical Engineering

A Posteriori Error Estimates For Discontinuous Galerkin Methods Using Non-polynomial Basis Functions

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Electrodynamics PHY712. Lecture 4 Electrostatic potentials and fields. Reference: Chap. 1 & 2 in J. D. Jackson s textbook.

seismic wave propagation through spherical sections including anisotropy and visco-elastic dissipation 3D heterogeneities of all Earth model

Fractional Spectral and Spectral Element Methods

Generalised Summation-by-Parts Operators and Variable Coefficients

INFINITE ELEMENT METHODS FOR HELMHOLTZ EQUATION PROBLEMS ON UNBOUNDED DOMAINS

Finite Element Solver for Flux-Source Equations

On Transforming Tight Coupling Into Loose Coupling for a Class of Multi-Scale Models

MATH 590: Meshfree Methods

Electrodynamics Qualifier Examination

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Iterative methods for positive definite linear systems with a complex shift

A Discontinuous Galerkin Global Shallow Water Model

Approximation of Geometric Data

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A

Connection to Laplacian in spherical coordinates (Chapter 13)

Implementation of the dg method

You may not start to read the questions printed on the subsequent pages until instructed to do so by the Invigilator.

Earth System Modeling Domain decomposition

Motivation: Sparse matrices and numerical PDE's

F11AE1 1. C = ρν r r. r u z r

Mixed Mimetic Spectral Elements for Geophysical Fluid Dynamics

Electromagnetism HW 1 math review

The Shallow Water Equations

ASM-BDDC Preconditioners with variable polynomial degree for CG- and DG-SEM

Chapter 7 Iterative Techniques in Matrix Algebra

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

MA2501 Numerical Methods Spring 2015

Chapter 2. General concepts. 2.1 The Navier-Stokes equations

Multi-Point Constraints

Matrix square root and interpolation spaces

Numerical Linear Algebra Primer. Ryan Tibshirani Convex Optimization

SPECTRAL METHODS: ORTHOGONAL POLYNOMIALS

Fast tensor-product solvers. Part I: Partially deformed three-dimensional domains

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

The Conjugate Gradient Method

Stochastic Collocation Methods for Polynomial Chaos: Analysis and Applications

Scientific Computing: An Introductory Survey

Partial Differential Equations

Scientific Computing WS 2018/2019. Lecture 15. Jürgen Fuhrmann Lecture 15 Slide 1

Minimal Element Interpolation in Functions of High-Dimension

SOLUTIONS TO SELECTED PROBLEMS FROM ASSIGNMENTS 3, 4

Domain Decomposition Preconditioners for Spectral Nédélec Elements in Two and Three Dimensions

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations

MTH4101 CALCULUS II REVISION NOTES. 1. COMPLEX NUMBERS (Thomas Appendix 7 + lecture notes) ax 2 + bx + c = 0. x = b ± b 2 4ac 2a. i = 1.

Simple Examples on Rectangular Domains

Transcription:

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere Michael Levy University of Colorado at Boulder Department of Applied Mathematics August 10, 2007

Outline 1 Background Spectral Element Method / Cubed Sphere 2 Poisson Solver 3 Results

Basic Premise Goal: solve 2 u = f on the surface of a sphere. Why? Eventually will solve global Shallow Water equations in vorticity-divergence form. Vorticity and divergence related to stream functions / velocity potentials via Laplace operator. How? Spectral Element Method on the cubed sphere.

Spectral Element Method 1 Partition spatial domain into elements Ω e. 2 Solve in weak form: multiply by a test function and integrate over each element. ( 2 u ) φdω = f φdω Ω e Ω e 2D Basics Looking for an approximate solution u h (x,y) u(x,y) in a finite-dimensional function space. Let V h = {v(x,y) : v(x,y) = p n (x)q n (y)}, where p n and q n are polynomials of degree n. Functions in V h must be continuous over element boundaries. Both u h and φ are in V h. Also need a quadrature rule for evaluating integrals: the Gauss-Lobatto-Legendre rule is used in both x and y = GLL nodes affinely mapped to elements define grid

More SEM Set-up (Spatial Discretization) Gaussian Quadrature: 1 1 ω(x)p(x)dx = n i=0 w ip(x i ) GLL: ω(x) 1, x 0 = 1, x n = 1 Interpolation: two options for basis functions 4th Degree Lagrange Basis Functions Legendre Polynomials (Degree <=4) 1 1 0.5 0.5 h(x) 0 L(x) 0 0.5 0.5 1 1 0.5 0 0.5 1 x Nodal expansion (Lagrange basis) { 1 i = j h i (x j ) = 0 i j f (x) f (x i )h i (x) 1 1 0.5 0 0.5 1 x Modal expansion (Legendre basis) f (x) i f i = 1 1 f (x)l i(x)dx f i L i (x)

Cubed Sphere Basics How can this methodology be extended to a spherical domain? To use rectangular elements, turn to cubed sphere. Cube Sphere Set-up 1 A cube is inscribed in a sphere 2 Points on the surface of the cube are projected onto the sphere Gnomic / central projection (ray from center to surface of sphere) 3 Each face is tiled with elements as in the 2D case In the figure above, each face of the cube has a 4 4 element grid with a 6 6 GLL grid.

Mapping Vectors Between the Sphere and the Cube For a sphere of radius a: On each face, the metric tensor g ij is given by g ij = a 2 [ ρ 4 cos 2 x 1 cos 2 x 2 1 + tan 2 x 1 tanx 1 tanx 2 tanx 1 tanx 2 1 + tan 2 x 2 ], where ρ = (1 + tan 2 x 1 + tan 2 x 2 ) 1/2. Defining the matrix A by [ cos θ λ/ x 1 cos θ λ/ x A = a 2 θ/ x 1 θ/ x 2 ], where (x 1, x 2 ) are the cartesian coordinates on the face of the cube, it follows that A T A = g ij.

Laplacian Operator on the Cubed Sphere In spherical coordinates, the Laplacian is given on the surface of a sphere by [ 2 1 u = u = a 2 cos θ u ] 1 2 u + cos θ θ θ a 2 cos 2 θ λ 2 On the surface of the cubed sphere, with g = ( / x 1, / x 2 ) T, 2 u = 1 [ ] ga g 1 A T g u, g where g = det(g ij ) = g = a 2 /(ρ 3 cos 2 x 1 cos 2 x 2 ).

Weak Form (1) So the problem to solve is 1 [ ] ga g 1 A T g u g = f. (2) Or, slightly re-arranging terms, [ ] ga g 1 A T g u = f g. (3) The first step is to cast in weak form: [ ga g 1 A T g u] φdω = f φ gdω. Ω e Ω e (4) Integrating by parts simplifies the calculations: (A T g u) (A T g φ) gdω = f φ gdω. Ω e Ω e

Quadrature Letting φ(x 1,x 2 ) = h p (x 1 )h q (x 2 ) for p,q {1,...,N}, and applying the GLL quadrature to the weak form, results in the linear system K e u e = M e f e, where u e and f e are vectors containing the nodal coefficients of u and f on Ω e, respectively. The solution must be continuous across element boundaries, and this is enforced by using global assembly to construct a global system: K = e Ke, M = e Me and the system Ku = Mf is solved using the conjugate gradient method.

Test Problem If u = sin(λ)cos(θ) + C then 2 u = 2sin(λ)cos(θ)/a 2. Working backwards, the test problem solved is 2 u = 2sin(λ)cos(θ) a 2 The numerical solution u h is compared to the true solution u = sin(λ)cos(θ) + C. The GLL quadrature rule is used to calculate the relative L2 error: ɛ = ( Ω (u u h) 2 gdω Ω u2 gdω ) 1/2

Contour Plots Numerical Solution True Solution Contour plot of u h. Contour plot of u. For both plots, each face of the cube sphere had a 6 6 grid of elements and each element had a 4 4 GLL grid.

Error Plots Relative Error (log scale) 10 0 h error 10 3 10 6 10 9 10 12 N = 3 N = 4 N = 5 6 24 96 384 1536 Number of Elements (log scale) The h-error is measured by leaving the number of nodes per element constant but increasing the number of elements. Relative Error (log scale) 10 0 p error 10 3 10 6 10 9 10 12 24 elements 96 elements 384 elements 3 4 5 6 N The p-error is measured by leaving the number of elements constant but increasing the number of nodes per element.

Future Work 1 Parallelization: this method is expensive, but fairly local so it should scale well. 2 Preconditioning: The conjugate gradient method is converging slowly for bigger grids / more elements; a diagonal preconditioner has been implemented but a better option may be needed. 3 Shallow Water Model: the work presented here, combined with an advection solver, will provide a high-order method for solving the shallow water equations (more at PDEs on a Sphere 07).