Code Monkey home page Code Monkey logo

ocean_gyre_tank's Introduction

Ocean Gyre in a Tank (Numerical Experiment)

This is the MITgcm simulation for the Ocean General Circulation in a rotating tank.

Based on "Insights of the non-linear solution of Munk’s ocean circulation theory from a rotating tank experiment" - Ocean and Coastal Research, 2020. (10.1590/2675-2824069.20-011psp)

A: Linear solution. B: Nonlinear solution.

How to set up the experiment

  1. Follow the Getting Started section on MITgcm documentation to set up the model.
  2. Clone this experiment to the MITgcm folder (you can also download the repository and extract it to MITgcm folder.)
  3. Create the build and run folders inside ocean_gyre_tank.
  4. Go to build and compile the model with mpi (see the MITgcm documentation).
  5. Copy the executable mitgcmuv to the run folder.
  6. Create a symbolic link to the files in input for run folder.

How to generate the initial conditions and forcing

In notebooks there is a file called Init.ipynb that creates the bathymetry and wind forcing. The data will be saved to input folder. You may have to change the grid spacing in input/data or number of points in code/SIZE.h if you change the code on the notebooks.

How to configure the experiment

The file data in input folder has all the parameters needed for the experiment. You can change to the linear case setting .FALSE. for momAdvection.

How to run the experiment

The current configuration on code/SIZE.h works in parallel using 4 cores (see Documentation to learn how to set up for a different number of cores). If the experiment is already configured you just have to run mpirun -np 4 ./mitgcmuv in run folder.

How to read the data from the output

The notebook notebooks/Analysis.ipynb its a tutorial that explains how to read and plot the output from this experiment.

ocean_gyre_tank's People

Contributors

iuryt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chanjeunlam laspg

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.