Getting Started

Downloading

The model is available pre-compiled for windows and linux operating systems with several test-cases available from the Downloads tab. Source code and compilation instructions are available, accesible via our GitHub repository.

Installation

No specific installation steps are needed if you are using the precompiled binaries. Simply ensure the glm.exe program file is in an accessible folder and the provided support dll’s are co-located in this folder.

Model Operation

The GLM simulation requires several “namelist” (nml) text files that described the model as outlined in the below figure. The model requires csv files for boundary conditions of meteorology and inflow/outflows

Model Operation

The model comes with a built-in plotting library that works on both windows and linux versions in addition to detailed outputs provided in NetCDF format, and the option to create custom csv output files. When the model is invoked with the plotting library called then a window will open and plot the model outputs in real-time as the model is running. For more info on plotting, see below.

An example glm.nml file configured to run a simple GLM model setup (v1.4) is available below:

GLM control file -> (English version, please rename to glm.nml for use).

GLM control file -> (Español version, please rename to glm.nml for use).



Running the model on windows:

To run the model on windows you can make use of a file called “glm32.bat" or "glm64.bat” in the simulation directory to automate the running command. Within the bat file, make sure is setup correctly and points to the appropriate “bin” folder where the exe and dlls are located on your system. For example:

..\bin\glm32\glm.exe

or if the in built plotting library is to be used then invoke the xdisp command line argument:

..\bin\glm32\glm.exe --xdisp



Running the model on linux:

To run the model on linux simply call the executable form your working simulation directoty. For example:

../bin/glm

or if the in built plotting library is to be used then invoke the xdisp command line argument:

../bin/glm --xdisp


A simple tutorial on running GLM with the example simulations is available:

Remember to watch out the date format when you create or re-save a meteorological or inflow boundary condition csv file from Excel. Excel changes the date format to be its preferred style instead of the style that GLM requires YYYY-MM-DD so you must be sure to set that manually in the cell format properties of Excel before saving csv files.

Style Switcher

Predefined Colors

Layout Style

Background Image

Background Color

Reset