1 |
jmc |
1.48 |
% $Header: /u/gcmpack/manual/s_phys_pkgs/text/top_section.tex,v 1.47 2010/08/27 13:15:37 jmc Exp $ |
2 |
adcroft |
1.2 |
% $Name: $ |
3 |
adcroft |
1.1 |
|
4 |
molod |
1.33 |
\chapter{Physical Parameterizations - Packages I} |
5 |
edhill |
1.37 |
\label{chap:packagesI} |
6 |
|
|
|
7 |
edhill |
1.30 |
\begin{rawhtml} |
8 |
|
|
<!-- CMIREDIR:packages: --> |
9 |
|
|
\end{rawhtml} |
10 |
cnh |
1.4 |
|
11 |
cnh |
1.34 |
In this chapter and in the following chapter, the MITgcm ``packages'' are |
12 |
|
|
described. While you can carry out many experiments with MITgcm by starting |
13 |
jmc |
1.48 |
from case studies in section \ref{sec:modelExamples}, configuring |
14 |
cnh |
1.34 |
a brand new experiment or making major changes to an experimental configuration |
15 |
|
|
requires some knowledge of the {\it packages} |
16 |
|
|
that make up the full MITgcm code. Packages are used in MITgcm to |
17 |
|
|
help organize and layer various code building blocks that are assembled |
18 |
|
|
and selected to perform a specific experiment. Each of the specific experiments |
19 |
jmc |
1.48 |
described in section \ref{sec:modelExamples} uses a particular combination |
20 |
cnh |
1.34 |
of packages. |
21 |
|
|
Figure \ref{fig:package_organigramme} shows the full set of packages that |
22 |
|
|
are available. As shown in the figure packages are classified into different |
23 |
|
|
groupings that layer on top of each other. The top layer packages are |
24 |
|
|
generally specialized to specific simulation types. In this layer there are |
25 |
|
|
packages that deal with biogeochemical processes, ocean interior |
26 |
|
|
and boundary layer processes, atmospheric processes, sea-ice, coupled |
27 |
|
|
simulations and state estimation. |
28 |
|
|
Below this layer are a set of general purpose |
29 |
|
|
numerical and computational packages. The general purpose numerical packages |
30 |
|
|
provide code for kernel numerical alogorithms |
31 |
|
|
that apply to |
32 |
|
|
many different simulation types. Similarly, the general purpose computational |
33 |
|
|
packages implement non-numerical alogorithms that provide parallelism, |
34 |
|
|
I/O and time-keeping functions that are used in many different scenarios. |
35 |
|
|
|
36 |
|
|
|
37 |
|
|
\begin{figure} |
38 |
edhill |
1.38 |
%%\begin{minipage}{12cm} |
39 |
|
|
%%\marginsize{0cm}{0cm}{0cm}{0cm} |
40 |
cnh |
1.34 |
%% \scalefig{0.6} |
41 |
jmc |
1.47 |
%% \epsfbox{s_phys_pkgs/figs/organigramme_mitgcm_pkg.eps} |
42 |
|
|
%%\epsfig{file=s_phys_pkgs/figs/organigramme_mitgcm_pkg.eps, angle=-90, scale=0.85, width=17cm} |
43 |
edhill |
1.38 |
%%\end{minipage} |
44 |
jmc |
1.47 |
\resizebox{5.5in}{!}{\includegraphics{s_phys_pkgs/figs/organigramme_mitgcm_pkg2.eps}} |
45 |
jmc |
1.48 |
\\ |
46 |
cnh |
1.34 |
\caption{ Hierarchy of code layers that are assembled to make up an MITgcm |
47 |
|
|
simulation. Conceptually (and in terms of code organization) MITgcm consists |
48 |
|
|
of several layers. At the base is a layer of core software that provides a |
49 |
|
|
basic numerical and computational foundation for MITgcm simulations. This |
50 |
|
|
layer is shown marked {\bf Foundation Code} at the bottom of the figure |
51 |
|
|
and corresponds to code in the italicised subdirectories on the figure. |
52 |
|
|
This layer is not organized into packages. All code above the foundation layer |
53 |
|
|
is organized as packages. Much of the code in MITgcm is contained in packages |
54 |
|
|
which serve as a useful way of organizing and layering the different levels of |
55 |
|
|
functionality that make up the full MITgcm software distribution. |
56 |
|
|
The figure shows the different packages in MITgcm as boxes containing bold |
57 |
|
|
face upper case names. Directly above the foundation layer are two layers of |
58 |
|
|
general purpose infrastructure software that consist of computational and |
59 |
|
|
numerical packages. These general purpose packages can be applied to both |
60 |
|
|
online and offline simulations and are used in many different physical |
61 |
|
|
simulation types. Above these layers are more specialized packages. } |
62 |
jmc |
1.48 |
\label{fig:package_organigramme} |
63 |
cnh |
1.34 |
\end{figure} |
64 |
|
|
|
65 |
|
|
The following sections describe the packages shown in |
66 |
jmc |
1.48 |
figure \ref{fig:package_organigramme}. Section \ref{sec:pkg:using} |
67 |
cnh |
1.35 |
describes the general procedure for using any package in MITgcm. |
68 |
jmc |
1.48 |
Following that sections \ref{sec:pkg:gad}-\ref{sec:pkg:monitor} |
69 |
cnh |
1.35 |
layout the algorithms implemented in specific packages |
70 |
|
|
and describe how to use the individual packages. A brief synopsis of the |
71 |
|
|
function of each package is given in table \ref{tab:package_summary_tab}. |
72 |
cnh |
1.34 |
Organizationally package code is assigned a |
73 |
|
|
separate subdirectory in the MITgcm code distribution |
74 |
|
|
(within the source code directory \texttt{pkg}). |
75 |
|
|
The name of this subdirectory is used as the package name in |
76 |
|
|
table \ref{tab:package_summary_tab}. |
77 |
edhill |
1.25 |
|
78 |
|
|
%% In this chapter the schemes for parameterizing processes that are not |
79 |
|
|
%% represented explicitly in MITgcm are described. Some of these |
80 |
|
|
%% processes are sub-grid scale (SGS) phenomena, other processes, such as |
81 |
|
|
%% open-boundaries, are external to the simulation. |
82 |
|
|
|
83 |
jmc |
1.48 |
\begin{table} |
84 |
|
|
\caption{~} |
85 |
|
|
\label{tab:package_summary_tab}. |
86 |
|
|
\end{table} |
87 |
|
|
|
88 |
molod |
1.33 |
% Overview |
89 |
edhill |
1.25 |
\newpage |
90 |
jmc |
1.47 |
\input{s_phys_pkgs/text/packages.tex} |
91 |
cnh |
1.4 |
|
92 |
molod |
1.33 |
% Packages Related to Hydrodynamical Kernel |
93 |
edhill |
1.19 |
\newpage |
94 |
molod |
1.33 |
\section{Packages Related to Hydrodynamical Kernel} |
95 |
jmc |
1.47 |
\input{s_phys_pkgs/text/generic_advdiff.tex} |
96 |
edhill |
1.27 |
|
97 |
|
|
\newpage |
98 |
jmc |
1.47 |
\input{s_phys_pkgs/text/shap_filt.tex} |
99 |
jmc |
1.45 |
|
100 |
|
|
\newpage |
101 |
jmc |
1.47 |
\input{s_phys_pkgs/text/zonal_filt.tex} |
102 |
edhill |
1.19 |
|
103 |
|
|
\newpage |
104 |
jmc |
1.47 |
\input{s_phys_pkgs/text/exch2.tex} |
105 |
edhill |
1.19 |
|
106 |
|
|
\newpage |
107 |
jmc |
1.47 |
\input{s_phys_pkgs/text/gridalt.tex} |
108 |
molod |
1.33 |
|
109 |
|
|
% Some Mention of Packages that are part of the main model document |
110 |
jmc |
1.48 |
\newpage |
111 |
stephd |
1.42 |
\section{General purpose numerical infrastructure packages} |
112 |
jmc |
1.47 |
\input{s_phys_pkgs/text/obcs.tex} |
113 |
stephd |
1.42 |
|
114 |
|
|
\newpage |
115 |
jmc |
1.47 |
\input{s_phys_pkgs/text/rbcs.tex} |
116 |
stephd |
1.43 |
|
117 |
|
|
\newpage |
118 |
jmc |
1.47 |
\input{s_phys_pkgs/text/ptracers.tex} |
119 |
stephd |
1.42 |
|
120 |
molod |
1.33 |
% Ocean Packages |
121 |
edhill |
1.19 |
\newpage |
122 |
molod |
1.33 |
\section{Ocean Packages} |
123 |
jmc |
1.47 |
\input{s_phys_pkgs/text/gmredi.tex} |
124 |
edhill |
1.29 |
|
125 |
|
|
\newpage |
126 |
jmc |
1.47 |
\input{s_phys_pkgs/text/kpp.tex} |
127 |
edhill |
1.24 |
|
128 |
|
|
\newpage |
129 |
jmc |
1.47 |
\input{s_phys_pkgs/text/ggl90.tex} |
130 |
jmc |
1.45 |
|
131 |
|
|
\newpage |
132 |
jmc |
1.47 |
\input{s_phys_pkgs/text/opps.tex} |
133 |
jmc |
1.45 |
|
134 |
|
|
\newpage |
135 |
jmc |
1.47 |
\input{s_phys_pkgs/text/bulk_force.tex} |
136 |
heimbach |
1.32 |
|
137 |
|
|
\newpage |
138 |
jmc |
1.47 |
\input{s_phys_pkgs/text/exf.tex} |
139 |
heimbach |
1.32 |
|
140 |
|
|
\newpage |
141 |
jmc |
1.47 |
\input{s_phys_pkgs/text/cal.tex} |
142 |
jmc |
1.20 |
|
143 |
jmc |
1.48 |
\newpage |
144 |
molod |
1.33 |
\section{Atmosphere Packages} |
145 |
jmc |
1.47 |
\input{s_phys_pkgs/text/aim.tex} |
146 |
edhill |
1.19 |
|
147 |
|
|
\newpage |
148 |
jmc |
1.47 |
\input{s_phys_pkgs/text/land.tex} |
149 |
edhill |
1.19 |
|
150 |
molod |
1.39 |
\newpage |
151 |
jmc |
1.47 |
\input{s_phys_pkgs/text/fizhi.tex} |
152 |
edhill |
1.19 |
|
153 |
jmc |
1.48 |
\newpage |
154 |
molod |
1.33 |
\section{Sea Ice Packages} |
155 |
jmc |
1.47 |
\input{s_phys_pkgs/text/thsice.tex} |
156 |
edhill |
1.19 |
|
157 |
|
|
\newpage |
158 |
jmc |
1.47 |
\input{s_phys_pkgs/text/seaice.tex} |
159 |
edhill |
1.19 |
|
160 |
mlosch |
1.44 |
\newpage |
161 |
jmc |
1.47 |
\input{s_phys_pkgs/text/shelfice.tex} |
162 |
mlosch |
1.44 |
|
163 |
jmc |
1.48 |
\newpage |
164 |
molod |
1.33 |
\section{Packages Related to Coupled Model} |
165 |
jmc |
1.47 |
\input{s_phys_pkgs/text/aim_compon_interf.tex} |
166 |
edhill |
1.23 |
|
167 |
|
|
\newpage |
168 |
jmc |
1.47 |
\input{s_phys_pkgs/text/atm_ocn_coupler.tex} |
169 |
edhill |
1.19 |
|
170 |
|
|
\newpage |
171 |
jmc |
1.47 |
\input{s_phys_pkgs/text/component_communications.tex} |
172 |
edhill |
1.19 |
|
173 |
jmc |
1.48 |
\newpage |
174 |
molod |
1.33 |
\section{Biogeochemistry Packages} |
175 |
jmc |
1.47 |
\input{s_phys_pkgs/text/gchem.tex} |
176 |
cnh |
1.15 |
|
177 |
molod |
1.31 |
\newpage |
178 |
jmc |
1.47 |
\input{s_phys_pkgs/text/dic.tex} |