# gamil-dycore **Repository Path**: dongli85/gamil-dycore ## Basic Information - **Project Name**: gamil-dycore - **Description**: A dynamical core for global atmospheric modeling - **Primary Language**: FORTRAN - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-14 - **Last Updated**: 2022-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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 - ...