| 1 | 
 \section[Customizing MITgcm]{Doing it yourself: customizing the model configuration} | 
 \section[Customizing MITgcm]{Doing it yourself: customizing the model configuration} | 
| 2 | 
 \label{sect:customize} | 
 \label{sec:customize} | 
| 3 | 
 \begin{rawhtml} | 
 \begin{rawhtml} | 
| 4 | 
 <!-- CMIREDIR:customizing_mitgcm: --> | 
 <!-- CMIREDIR:customizing_mitgcm: --> | 
| 5 | 
 \end{rawhtml} | 
 \end{rawhtml} | 
| 29 | 
 for the packages are located in the package descriptions), their meaning,  | 
 for the packages are located in the package descriptions), their meaning,  | 
| 30 | 
 and their default values: | 
 and their default values: | 
| 31 | 
  | 
  | 
| 32 | 
 {\footnotesize \begin{verbatim} | 
 \input{s_getstarted/text/main-parms.tex} | 
 | 
  | 
  | 
 | 
 \end{verbatim} } | 
  | 
| 33 | 
  | 
  | 
| 34 | 
 In what follows the parameters are grouped into categories related to | 
 In what follows the parameters are grouped into categories related to | 
| 35 | 
 the computational domain, the equations solved in the model, and the | 
 the computational domain, the equations solved in the model, and the | 
| 54 | 
   through the logical variables \textbf{usingCartesianGrid}, | 
   through the logical variables \textbf{usingCartesianGrid}, | 
| 55 | 
   \textbf{usingSphericalPolarGrid}, and \textbf{usingCurvilinearGrid}. | 
   \textbf{usingSphericalPolarGrid}, and \textbf{usingCurvilinearGrid}. | 
| 56 | 
   In the case of spherical and curvilinear grids, the southern | 
   In the case of spherical and curvilinear grids, the southern | 
| 57 | 
   boundary is defined through the variable \textbf{phiMin} which | 
   boundary is defined through the variable \textbf{ygOrigin} which | 
| 58 | 
   corresponds to the latitude of the southern most cell face (in | 
   corresponds to the latitude of the southern most cell face (in | 
| 59 | 
   degrees). The resolution along the x and y directions is controlled | 
   degrees). The resolution along the x and y directions is controlled | 
| 60 | 
   by the 1D arrays \textbf{delx} and \textbf{dely} (in meters in the | 
   by the 1D arrays \textbf{delx} and \textbf{dely} (in meters in the | 
| 202 | 
 \begin{description} | 
 \begin{description} | 
| 203 | 
 \item[initialization] \  | 
 \item[initialization] \  | 
| 204 | 
    | 
    | 
| 205 | 
   The velocity components are initialized to 0 unless the simulation | 
   The initial horizontal velocity components can be specified from  | 
| 206 | 
   is starting from a pickup file (see section on simulation control | 
   binary files \textbf{uVelInitFile} and \textbf{vVelInitFile}. | 
| 207 | 
   parameters). | 
   These files should contain 3D data ordered in an (x,y,r) fashion with  | 
| 208 | 
  | 
   k=1 as the first vertical level (surface level).  | 
| 209 | 
  | 
   If no file names are provided, the velocity is initialised to zero. | 
| 210 | 
  | 
   The initial vertical velocity is always derived from the horizontal velocity | 
| 211 | 
  | 
   using the continuity equation, even in the case of non-hydrostatic simulation  | 
| 212 | 
  | 
   (see, e.g.: {\it tutorial\_deep\_convection/input/data}). | 
| 213 | 
  | 
  | 
| 214 | 
  | 
   In the case of a restart (from the end of a previous simulation),  | 
| 215 | 
  | 
   the velocity field is read from a pickup file | 
| 216 | 
  | 
   (see section on simulation control parameters)  | 
| 217 | 
  | 
   and the initial velocity files are ignored. | 
| 218 | 
  | 
  | 
| 219 | 
 \item[forcing] \  | 
 \item[forcing] \  | 
| 220 | 
    | 
    |