Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QGModel

This is Python code that solves the nonlinear QG equations for PV anomalies on a doubly-periodic domain. It consists of two parts:

  1. a fully-dealiased pseudo-spectral code that steps forward the PV conservation equations and
  2. implementations of specific model types that provide an inversion relation.

At the moment, six model types have been implemented:

  1. two-dimensional dynamics (TwoDim),
  2. multi-layer dynamics (Layered),
  3. Eady dynamics (Eady),
  4. floating Eady dynamics (FloatingEady),
  5. two-Eady dynamics (TwoEady),
  6. two-Eady dynamics with buoyancy jump (TwoEadyJump).

See run.py for an example of how a model is initialized and run.

This model makes use of PyFFTW, a Python wrapper of FFTW. Follow the installation instructions for PyFFTW if you do not have it installed already.

About

Python code that solves nonlinear QG equations

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages