SAMSIM
|
The most important module of SAMSIM. More...
Functions/Subroutines | |
subroutine | grotz (testcase, description) |
Main subroutine of SAMSIM, a 1D thermodynamic seaice model. A semi-adaptive grid is used which is managed by mo_layer_dynamics. More... | |
The most important module of SAMSIM.
The module mo_grotz contains the most important subroutine grotz (Named after GRiewank nOTZ). Mo_grotz is called by SAMSIM.f90. SAMSIM.f90's only purpose is to set the testcase number and description string. Subroutine grotz contains the time loop, as well as the initialization, and calls all other branches of the model. This model was developed from scratch by Philipp Griewank during and after his PhD at Max Planck Institute of Meteorology from 2010-2014. The code is intended to be understandable and most subroutines, modules, functions, parameters, and global variables have doxygen compatible descriptions. In addition to the doxygen generated description, some python plotscripts are available to plot model output.
COPYRIGHT
This file is part of SAMSIM.
SAMSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SAMSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with SAMSIM. If not, see http://www.gnu.org/licenses/.
subroutine mo_grotz::grotz | ( | integer, intent(in) | testcase, |
character*12000, intent(in) | description | ||
) |
Main subroutine of SAMSIM, a 1D thermodynamic seaice model. A semi-adaptive grid is used which is managed by mo_layer_dynamics.
The basic rundown of the time loop is:
Here is the full rundown of what happens in mo_grotz:
IMPORTANT: To get the correct freshwater amount make sure the freshwater is calculated using a salinity value to compare against.
Common errors leading to termination are: too small timestep, bad programming
[in] | description | String to describes simulation which is output into dat_settings |