Skip to content

0D driver

Jorn Bruggeman edited this page Nov 17, 2023 · 13 revisions

FABM's 0D driver

The 0d driver allows you to run FABM models in a "fully-mixed box", under arbitrary (time-varying) environmental forcing.

It builds on functionality of the General Ocean Turbulence Model (GOTM), specifically, modules for input-output, time integration, calculation of density and solar radiation. Therefore, the the source code of the latest stable release of GOTM is needed when you build the 0D driver.

CMake setting value
Source directory <FABMDIR>/src/drivers/0d
Additional required arguments GOTM_BASE=<GOTMDIR>
Optional arguments FABM_USE_NetCDF=OFF to disable NetCDF support (ON by default)

For instance, on Linux:

mkdir build
cmake -S <FABMDIR>/src/drivers/0d -B build -DGOTM_BASE=<GOTMDIR>
cmake --build . --target install