Code Monkey home page Code Monkey logo

gamil-dycore's Introduction

Introduction

This is a redesign and reimplementation of GAMIL dynamical core (shortly as dycore) developed in IAP/LASG. New dycore should be devised with the following considerations ordered by priority from high to low:

  • Switch between hydrostatic and nonhydrostatic (e.g. hydrostatic-pressure coordinate)
  • Better vertical coordinate (e.g. SLEVE)
  • Nonhydrostatic (e.g. filter vertical acoustic wave or implicit solver)
  • Deep atmosphere
  • Good extendability

Currently, only a barotropic dycore is implemented, and we are working on a moving reduced tendency scheme to improve numerical stability around Poles.

Prerequistes

You should install the following software with proper version yourself:

  • CMake
  • NetCDF
  • NCL

Usages

Obtain the codes by using git command:

$ git clone https://github.com/dongli/gamil-dycore --recursive

Build the model:

$ cd build
$ FC=gfortran cmake ..
$ make
$ cd ..

There should be dycore_test.exe file generated.

Run the Rossby-Haurwitz wave test:

$ cd run
$ ../build/dycore_test.exe namelist.rh_test
$ ls rh_test.360x181.dt240.h0.*.nc
$ ncl -Q ../src/test_cases/barotropic/plot_rossby_haurwitz_wave_test.ncl file_prefix=\"rh_test.360x181.dt240\"

You can modify the namelist file namelist.rh_test, such change the time step size. There should be rh_test.360x181.dt240.pdf file depending on your modification of the namelist file.

Run the mountain zonal flow test:

$ cd run
$ ../build/dycore_test.exe namelist.mz_test
$ ls mz_test.360x181.dt240.h0.*.nc
$ ncl -Q ../src/test_cases/barotropic/plot_mountain_zonal_flow_test.ncl file_prefix=\"mz_test.360x181.dt240\"

There should be mz_test.360x181.dt240.pdf.

Other test cases:

  • jet_zonal_flow
  • steady_geostrophic_flow

Authors

  • Bin Wang
  • Li Dong
  • ...

gamil-dycore's People

Contributors

dongli avatar

Watchers

 avatar

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.