/[MITgcm]/manual/s_examples/baroclinic_gyre/fourlayer.tex
ViewVC logotype

Diff of /manual/s_examples/baroclinic_gyre/fourlayer.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.14 by edhill, Wed Jul 30 13:42:53 2003 UTC revision 1.15 by edhill, Thu Aug 7 18:27:52 2003 UTC
# Line 360  directory {\it verification/exp2/}.  The Line 360  directory {\it verification/exp2/}.  The
360  \item {\it code/CPP\_OPTIONS.h},  \item {\it code/CPP\_OPTIONS.h},
361  \item {\it code/SIZE.h}.  \item {\it code/SIZE.h}.
362  \end{itemize}  \end{itemize}
363  contain the code customisations and parameter settings for this  contain the code customisations and parameter settings for this
364  experiments. Below we describe the customisations  experiment. Below we describe the customisations to these files
365  to these files associated with this experiment.  associated with this experiment.
366    
367  \subsubsection{File {\it input/data}}  \subsubsection{File {\it input/data}}
368  \label{www:tutorials}  \label{www:tutorials}
# Line 382  The entries are ordered from surface to Line 382  The entries are ordered from surface to
382  depth level the initial and reference profiles will be uniform in  depth level the initial and reference profiles will be uniform in
383  $x$ and $y$. The values specified here are read into the  $x$ and $y$. The values specified here are read into the
384  variable  variable
385  {\bf  \varlink{tRef}{tRef}
386  \begin{rawhtml} <A href=../code_reference/vdb/names/OK.htm> \end{rawhtml}  %{\bf
387  tRef  %\begin{rawhtml} <A href=../code_reference/vdb/names/OK.htm> \end{rawhtml}
388  \begin{rawhtml} </A>\end{rawhtml}  %tRef
389  }  %\begin{rawhtml} </A>\end{rawhtml}
390    %}
391  in the model code, by procedure  in the model code, by procedure
392  {\it  \filelink{INI\_PARMS}{model-src-ini_parms.F}
393  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}  %{\it
394  INI\_PARMS  %\begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
395  \begin{rawhtml} </A>\end{rawhtml}  %INI\_PARMS
396  }.  %\begin{rawhtml} </A>\end{rawhtml}
397    %}.
398    
399  %% \codelink{var:tref} tRef \endlink  %% \codelink{var:tref} tRef \endlink
400  %% \codelink{file:ini_parms} {\it INI\_PARMS } \endlink  %% \codelink{file:ini_parms} {\it INI\_PARMS } \endlink
# Line 416  tRef Line 418  tRef
418  ({\it ini\_theta.F})  ({\it ini\_theta.F})
419  \end{minipage}  \end{minipage}
420  }  }
421  {\bf  \filelink{ini\_theta.F}{model-src-ini_theta.F}
422  \begin{rawhtml} <A href=../code_reference/vdb/code/98.htm> \end{rawhtml}  %{\bf
423  goto code  %\begin{rawhtml} <A href=../code_reference/vdb/code/98.htm> \end{rawhtml}
424  \begin{rawhtml} </A>\end{rawhtml}  %goto code
425  }  %\begin{rawhtml} </A>\end{rawhtml}
426    %}
427    
428    
429  \item Line 6,  \item Line 6,
# Line 429  this line sets the vertical Laplacian di Line 432  this line sets the vertical Laplacian di
432  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions
433  for this operator are specified later.  for this operator are specified later.
434  The variable  The variable
435  {\bf  \varlink{viscAz}{viscAz}
436  \begin{rawhtml} <A href=../code_reference/vdb/names/ZQ.htm> \end{rawhtml}  %{\bf
437  viscAz  %\begin{rawhtml} <A href=../code_reference/vdb/names/ZQ.htm> \end{rawhtml}
438  \begin{rawhtml} </A>\end{rawhtml}  %viscAz
439  }  %\begin{rawhtml} </A>\end{rawhtml}
440    %}
441  is read in the routine  is read in the routine
442  {\it  \filelink{ini\_parms.F}{model-src-ini_parms.F}
443  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}  %{\it
444  INI\_PARMS  %\begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
445  \begin{rawhtml} </A>\end{rawhtml}  %INI\_PARMS
446  }  %\begin{rawhtml} </A>\end{rawhtml}
447    %}
448  and is copied into model general vertical coordinate variable  and is copied into model general vertical coordinate variable
449  {\bf  \varlink{viscAr}{viscAr}
450  \begin{rawhtml} <A href=../code_reference/vdb/names/PF.htm> \end{rawhtml}  %{\bf
451  viscAr  %\begin{rawhtml} <A href=../code_reference/vdb/names/PF.htm> \end{rawhtml}
452  \begin{rawhtml} </A>\end{rawhtml}  %viscAr
453  }. At each time step, the viscous term contribution to the momentum equations  %\begin{rawhtml} </A>\end{rawhtml}
454    %}.
455    At each time step, the viscous term contribution to the momentum equations
456  is calculated in routine  is calculated in routine
457  {\it S/R CALC\_DIFFUSIVITY}.  %{\it S/R CALC\_DIFFUSIVITY}.
458    \varlink{CALC\_DIFFUSIVITY}{CALC_DIFFUSIVITY}
459    
460  \fbox{  \fbox{
461  \begin{minipage}{5.0in}  \begin{minipage}{5.0in}
462  {\it S/R CALC\_DIFFUSIVITY}({\it calc\_diffusivity.F})  {\it S/R CALC\_DIFFUSIVITY}({\it calc\_diffusivity.F})
463  \end{minipage}  \end{minipage}
464  }  }
465  {\bf  %{\bf
466  \begin{rawhtml} <A href=../code_reference/vdb/code/53.htm> \end{rawhtml}  %\begin{rawhtml} <A href=../code_reference/vdb/code/53.htm> \end{rawhtml}
467  goto code  %goto code
468  \begin{rawhtml} </A>\end{rawhtml}  %\begin{rawhtml} </A>\end{rawhtml}
469  }  %}
470    
471  \item Line 7,  \item Line 7,
472  \begin{verbatim}  \begin{verbatim}
# Line 468  this line sets the horizontal laplacian Line 476  this line sets the horizontal laplacian
476  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions  $1 \times 10^{-2} {\rm m^{2}s^{-1}}$. Boundary conditions
477  for this operator are specified later.  for this operator are specified later.
478  The variable  The variable
479  {\bf  \varlink{viscAh}{viscAh}
480  \begin{rawhtml} <A href=../code_reference/vdb/names/SI.htm> \end{rawhtml}  %{\bf
481  viscAh  %\begin{rawhtml} <A href=../code_reference/vdb/names/SI.htm> \end{rawhtml}
482  \begin{rawhtml} </A>\end{rawhtml}  %viscAh
483  }  %\begin{rawhtml} </A>\end{rawhtml}
484    %}
485  is read in the routine  is read in the routine
486  {\it  \varlink{INI\_PARMS}{INI_PARMS}
487  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}  %{\it
488  INI\_PARMS  %\begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
489  \begin{rawhtml} </A>\end{rawhtml}  %INI\_PARMS
490  } and applied in routines {\it CALC\_MOM\_RHS} and {\it CALC\_GW}.  %\begin{rawhtml} </A>\end{rawhtml}
491    %}
492    and applied in routines
493    %{\it CALC\_MOM\_RHS} and {\it CALC\_GW}.
494    \varlink{CALC\_MOM\_RHS}{CALC_MOM_RHS}
495    and
496    \varlink{CALC\_GW}{CALC_GW}.
497    
498    
499  \fbox{  \fbox{
500  \begin{minipage}{5.0in}  \begin{minipage}{5.0in}
501  {\it S/R CALC\_MOM\_RHS}({\it calc\_mom\_rhs.F})  {\it S/R CALC\_MOM\_RHS}({\it calc\_mom\_rhs.F})
502  \end{minipage}  \end{minipage}
503  }  }
504  {\bf  %{\bf
505  \begin{rawhtml} <A href=../code_reference/vdb/code/60.htm> \end{rawhtml}  %\begin{rawhtml} <A href=../code_reference/vdb/code/60.htm> \end{rawhtml}
506  goto code  %goto code
507  \begin{rawhtml} </A>\end{rawhtml}  %\begin{rawhtml} </A>\end{rawhtml}
508  }  %}
509    
510  \fbox{  \fbox{
511  \begin{minipage}{5.0in}  \begin{minipage}{5.0in}
512  {\it S/R CALC\_GW}({\it calc\_gw.F})  {\it S/R CALC\_GW}({\it calc\_gw.F})
513  \end{minipage}  \end{minipage}
514  }  }
515  {\bf  %{\bf
516  \begin{rawhtml} <A href=../code_reference/vdb/code/58.htm> \end{rawhtml}  %\begin{rawhtml} <A href=../code_reference/vdb/code/58.htm> \end{rawhtml}
517  goto code  %goto code
518  \begin{rawhtml} </A>\end{rawhtml}  %\begin{rawhtml} </A>\end{rawhtml}
519  }  %}
520    
521  \item Lines 8,  \item Lines 8,
522  \begin{verbatim}  \begin{verbatim}
# Line 511  the horizontal laplacian friction operat Line 527  the horizontal laplacian friction operat
527  e.g. $\frac{\partial u}{\partial y}$=0 along boundaries in $y$ and  e.g. $\frac{\partial u}{\partial y}$=0 along boundaries in $y$ and
528  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.
529  The variable  The variable
530  {\bf  \varlink{no\_slip\_sides}{no_slip_sides}
531  \begin{rawhtml} <A href=../code_reference/vdb/names/UT.htm> \end{rawhtml}  %{\bf
532  no\_slip\_sides  %\begin{rawhtml} <A href=../code_reference/vdb/names/UT.htm> \end{rawhtml}
533  \begin{rawhtml} </A>\end{rawhtml}  %no\_slip\_sides
534  }  %\begin{rawhtml} </A>\end{rawhtml}
535    %}
536  is read in the routine  is read in the routine
537  {\it  \varlink{INI\_PARMS}{INI_PARMS}
538  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}  %{\it
539  INI\_PARMS  %\begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
540  \begin{rawhtml} </A>\end{rawhtml}  %INI\_PARMS
541  } and the boundary condition is evaluated in routine  %\begin{rawhtml} </A>\end{rawhtml}
542  {\it S/R CALC\_MOM\_RHS}.  %}
543    and the boundary condition is evaluated in routine
544    %{\it S/R CALC\_MOM\_RHS}.
545    
546    
547  \fbox{  \fbox{

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.22