Differences between revisions 2 and 23 (spanning 21 versions)
Revision 2 as of 2014-09-13 10:28:57
Size: 2799
Editor: CarstenEden
Comment:
Revision 23 as of 2014-09-13 12:54:30
Size: 1846
Editor: CarstenEden
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
'''Python Ocean Model 2.0 (pyOM2)''' #acl CarstenEden:admin,read,write,delete,revert All:read
#format wiki
#language en

=== Python Ocean Model 2.0 (pyOM2) ===
Line 5: Line 9:
== Introduction == === Introduction ===
Line 7: Line 11:
pyOM2 is a simple and easy to use numerical circulation ocean model
to configure and to integrate idealized and realistic configurations.
Line 8: Line 14:
pyOM2.0 (Python Ocean Model) is a numerical circulation ocean model which was written for educational
purpose. It is meant to be a simple and easy to use numerical
tool to configure and to integrate idealized and realistic numerical simulations of the ocean
in Boussinesq approximation.
Non-hydrostatic situations as well as large-scale oceanic flows can be considered,
Cartesian or pseudo-spherical coordinate systems can be used.
Several idealized experiments and examples are preconfigured and can be easily
chosen and modified using two alternative configuration methods based on Fortran90 or Python.
Prerequisites for the installation is a Fortran 90 compiler and the Lapack library,
and for the Fortran front the NetCDF-library (since IO is realized mainly using the NetCDF format).
For the Python front end, the numerical module \verb+numpy+ is required and several
other modules can be used in addition, e.g. to provide
 a graphical user interface. Both version are based on identical Fortran90
 code which is fully parallelized based on the MPI-library to enhance performance.
Features are:
Line 23: Line 16:
* Cartesian or pseudo-spherical coordinate systems

* Non-hydrostatic configurations

* several energetically consistent parameterisations

* Fortran and Python front end

* Graphical User Interface

Fortran and Python version are based on the identical Fortran90
code which is fully parallelized based on the MPI-library to enhance performance.
Line 25: Line 30:
 * Model Manual [[attachment:pyOM2.pdf|Here]]
Line 27: Line 31:
 * Ocean Model Source Code [[attachment:pyOM_2.1.tar.gz|Here]]  * [[attachment:pyOM2.pdf|Documentation]]
Line 29: Line 33:
== Prerequisites and Installation ==
=== Prerequisites ===
 * Source code as [[attachment:pyOM2.1.0.tar.gz|tar ball]]
Line 32: Line 35:
...  * pyOM2 installed on lightweight Debian system as Virtual box client
Line 34: Line 37:
=== Installation  === === Prerequisites and Installation ===
Line 36: Line 39:
... Prerequisites for the Fortran front are
Fortran 90 compiler, Lapack and NetCDF library
Line 38: Line 42:
Prerequisites for the Python front end is Python and
the module Numpy, several other modules can be used to provide
a graphical user interface, Netcdf IO, etc
Line 39: Line 46:
== Sample Configurations ==
=== Kelvin-Helmholtz Instability ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Kelvin-Helmholtz%20Instability|Content Here]]
For installation details refer to the [[attachment:pyOM2.pdf|Documentation]]
Line 43: Line 48:
{{{
kelvin_helm1.py
}}}
=== Rayleigh–Bénard Convection ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Rayleigh–Bénard%20Convection|Content Here]]
=== Sample Configurations ===
Line 49: Line 50:
{{{
rayleigh.py
}}}
=== Eady's Baroclinic Instability ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Rayleigh–Bénard%20Convection|Content Here]]
Several idealized experiments and examples are preconfigured and can be easily
chosen and modified using two alternative configuration methods based on Fortran90 or Python.
Line 55: Line 53:
{{{
eady1.py / eady2.py
}}}
=== Eddy-driven zonal jets ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Eddy-driven%20Zonal%20Jets|Content Here]]
Here is an example of a vertical shear instability in a 2D non-hydrostatic [[attachment:kelv_helm1.py|configuration]]
using the Graphical User Interface
Line 61: Line 56:
{{{
jets1.py
}}}
=== Thermohaline Circulation ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Thermohaline%20Circulation|Content Here]]
{{attachment:kelv2.png}}
Line 67: Line 58:
{{{
THC1.py
}}}
=== Southern Ocean Circulation ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Southern%20Ocean%20Circulation|Content Here]]
=== Realistic Configurations ===
Line 73: Line 60:
{{{
acc1.py
}}}
=== ENSO Response ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/ENSO%20Response|Content Here]]
a 4x4 deg global ocean [[4x4 global model|model]]
Line 79: Line 62:
{{{
enso1.py
}}}
=== Equatorial Waves ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Equatorial%20Waves|Content Here]]

{{{
eq_waves1.py
}}}
=== Isopycnal Diffusion ===
[[https://wiki.zmaw.de/ifm/TO/pyOM/Isopycnal%20Diffusion|Content Here]]

{{{
isopyc_test1.py
}}}
An example of the python GUI for Eady's baroclinic instability case is shown below.

{{attachment:pyOM.png}}
4/3x4/3 deg North Atlantic regional [[4/3x4/3 North Atlantic model|model]]

Python Ocean Model 2.0 (pyOM2)

Introduction

pyOM2 is a simple and easy to use numerical circulation ocean model to configure and to integrate idealized and realistic configurations.

Features are:

* Cartesian or pseudo-spherical coordinate systems

* Non-hydrostatic configurations

* several energetically consistent parameterisations

* Fortran and Python front end

* Graphical User Interface

Fortran and Python version are based on the identical Fortran90 code which is fully parallelized based on the MPI-library to enhance performance.

Resources

  • Documentation

  • Source code as tar ball

  • pyOM2 installed on lightweight Debian system as Virtual box client

Prerequisites and Installation

Prerequisites for the Fortran front are Fortran 90 compiler, Lapack and NetCDF library

Prerequisites for the Python front end is Python and the module Numpy, several other modules can be used to provide a graphical user interface, Netcdf IO, etc

For installation details refer to the Documentation

Sample Configurations

Several idealized experiments and examples are preconfigured and can be easily chosen and modified using two alternative configuration methods based on Fortran90 or Python.

Here is an example of a vertical shear instability in a 2D non-hydrostatic configuration using the Graphical User Interface

Realistic Configurations

a 4x4 deg global ocean model

4/3x4/3 deg North Atlantic regional model

IfmWiki: TO/pyOM2 (last edited 2024-09-15 09:34:39 by CarstenEden)