项目作者: dongli

项目描述 :
A dynamical core for global atmospheric modeling
高级语言: Fortran
项目地址: git://github.com/dongli/gamil-dycore.git
创建时间: 2018-01-24T13:48:56Z
项目社区:https://github.com/dongli/gamil-dycore

开源协议:

下载


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:

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

Build the model:

  1. $ cd build
  2. $ FC=gfortran cmake ..
  3. $ make
  4. $ cd ..

There should be dycore_test.exe file generated.

Run the Rossby-Haurwitz wave test:

  1. $ cd run
  2. $ ../build/dycore_test.exe namelist.rh_test
  3. $ ls rh_test.360x181.dt240.h0.*.nc
  4. $ 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:

  1. $ cd run
  2. $ ../build/dycore_test.exe namelist.mz_test
  3. $ ls mz_test.360x181.dt240.h0.*.nc
  4. $ 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