gfdl-fms

GFDL dynamical core mods

This repository contains changes to the “dry” dynamical core spectral model from the GFDL Flexible Modeling System. The original model code can be found here.

Additions

Various features were added to the model, described in detail below and in the namelist file input.nml. Note that the hs_forcing_mod module and hs_forcing.f90 file are renamed to forcing_mod and forcing.f90, and the gaussian_topog_mod module and gaussian_topog.f90 file are renamed to idealized_topog_mod and idealized_topog.f90. This renaming reflects the availability of new model features. Also, the forcing subroutine now accepts longitudes as well as latitudes.

Documentation

The full, original model documentation is published on github-pages. Use the links at the top of each page to navigate between sections! Below are some important notes regarding the documentation.

Input

The model can be given two types of input files in the INPUT directory.

Truncation

The following is a table of valid truncation numbers with the corresponding recommended number of latitudes and cores for parallelization. Remember that to avoid aliasing of the harmonics, N >= (3M + 1)/2, where N is the number of latitudes and M is the truncation number.

Truncation Number of latitudes Recommended cores (latitudes per file)
42 64 16 (4)
63 96 24 (4)
85 128 32 (4)
106 160 40 (4), 80 (2)
159 240 60 (4)
170 256 64 (4)
266 400 100 (4)