GithubHelp home page GithubHelp logo

cesar-rocha / qg_vertical_modes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 15.7 MB

Supplementary material for Rocha, Young, and Grooms: On Galerkin Approximations of the surface-active quasigeostrophic equations, in press, Journal of Physical Oceanography

License: Other

qg_vertical_modes's Introduction

QG vertical modes

The following JuPyter notebooks contain details about the calculations and provide the codes used in Rocha, Young, and Grooms (in press, JPO). Here is a preprint. An index notebook is available here.

Even if you do not have python installed on your computer, you can still reproduce our results. The simplest way is to open a free Wakari account, and run our notebooks in the cloud.

If you have trouble installing numba, just comment out the lines with @numba.jjit. This is a simple decorator to speed up the code.

If you have any questions please contact Cesar B. Rocha ([email protected]). You are also encouraged to contact Rocha if you find a mistake (or even better you could submit a pull request)

Abstract

We study the representation of approximate solutions of the three-dimensional quasigeostrophic (QG) equations using Galerkin series with standard vertical modes. In particular, we show that standard modes are compatible with nonzero buoyancy at the surfaces and can be used to solve the Eady problem. We extend two existing Galerkin approaches (A and B) and develop a new Galerkin approximation (C). Approximation A, due to Flierl (1978), represents the streamfunction as a truncated Galerkin series and defines the potential vor- ticity (PV) that satisfies the inversion problem exactly. Approximation B, due to Tulloch and Smith (2009b), represents the PV as a truncated Galerkin series and calculates the streamfunction that satisfies the inversion problem exactly. Approximation C, the true Galerkin approximation for the QG equations, represents both streamfunction and PV as truncated Galerkin series, but does not satisfy the inversion equation exactly. The three approximations are fundamentally different unless the boundaries are isopycnal surfaces. We discuss the advantages and limitations of approximations A, B, and C in terms of mathematical rigor and conservation laws, and illustrate their relative efficiency by solving linear stability problems with nonzero surface buoyancy. We emphasize that standard vertical modes form a complete basis for representing solutions of the QG equations, regardless of nonzero surface buoyancy boundary conditions. We recommend approximation C for constructing solutions to the QG equations using Galerkin series with standard vertical modes.

qg_vertical_modes's People

Contributors

rochanotes avatar

Watchers

Cesar B Rocha avatar

Forkers

cxzhangqi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.