/[MITgcm]/manual/s_examples/deep_convection/convection.tex
ViewVC logotype

Diff of /manual/s_examples/deep_convection/convection.tex

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

revision 1.2 by cnh, Thu Feb 28 19:32:19 2002 UTC revision 1.7 by molod, Tue Jun 27 19:08:22 2006 UTC
# Line 1  Line 1 
1  \section{Surface Driven Convection}  \section{Surface Driven Convection}
2    \label{www:tutorials}
3  \label{sect:eg-bconv}  \label{sect:eg-bconv}
4    \begin{rawhtml}
5    <!-- CMIREDIR:eg-bconv: -->
6    \end{rawhtml}
7    
8  \bodytext{bgcolor="#FFFFFFFF"}  \bodytext{bgcolor="#FFFFFFFF"}
9    
# Line 25  with an initially uniform temperature of Line 29  with an initially uniform temperature of
29  \label{FIG:eg-bconv-simulation_config}  \label{FIG:eg-bconv-simulation_config}
30  \end{figure}  \end{figure}
31    
32  This experiment, figure \ref{FIG:eg-bconv-simulation_config}, showcasing MITgcm's non-hydrostatic capability, was designed to explore  This experiment, figure \ref{FIG:eg-bconv-simulation_config}, showcasing MITgcm's non-hydrostatic
33    capability, was designed to explore
34  the temporal and spatial characteristics of convection plumes as they might exist during a  the temporal and spatial characteristics of convection plumes as they might exist during a
35  period of oceanic deep convection. It is  period of oceanic deep convection. The files for this experiment can be found in the verification
36    directory under tutorial\_deep\_convection. It is
37    
38  \begin{itemize}  \begin{itemize}
39  \item non-hydrostatic  \item non-hydrostatic
# Line 39  period of oceanic deep convection. It is Line 45  period of oceanic deep convection. It is
45  \end{itemize}  \end{itemize}
46    
47  \subsection{Overview}  \subsection{Overview}
48    \label{www:tutorials}
49    
50  The model domain consists of an approximately 3  The model domain consists of an approximately 3
51  km square by 1 km deep box of initially  km square by 1 km deep box of initially
# Line 108  prescribed in {\it code/SIZE.h}. The for Line 115  prescribed in {\it code/SIZE.h}. The for
115  in a binary data file generated using the Matlab script {\it input/gendata.m}.  in a binary data file generated using the Matlab script {\it input/gendata.m}.
116    
117  \subsection{Equations solved}  \subsection{Equations solved}
118    \label{www:tutorials}
119    
120  The model is configured in nonhydrostatic form, that is, all terms in the Navier  The model is configured in nonhydrostatic form, that is, all terms in the Navier
121  Stokes equations are retained and the pressure field is found, subject to appropriate  Stokes equations are retained and the pressure field is found, subject to appropriate
# Line 177  equations and continuity (see section \r Line 185  equations and continuity (see section \r
185  \\  \\
186    
187  \subsection{Discrete numerical configuration}  \subsection{Discrete numerical configuration}
188    \label{www:tutorials}
189    
190  The domain is discretised with a uniform grid spacing in each direction. There are 64  The domain is discretised with a uniform grid spacing in each direction. There are 64
191  grid cells in directions $x$ and $y$ and 20 vertical levels thus the domain  grid cells in directions $x$ and $y$ and 20 vertical levels thus the domain
192  comprises a total of just over 80 000 gridpoints.  comprises a total of just over 80 000 gridpoints.
193    
194  \subsection{Numerical stability criteria and other considerations}  \subsection{Numerical stability criteria and other considerations}
195    \label{www:tutorials}
196    
197  For a heat flux of 800 Wm$^2$ and a rotation rate of $10^{-4}$ s$^{-1}$ the  For a heat flux of 800 Wm$^2$ and a rotation rate of $10^{-4}$ s$^{-1}$ the
198  plume-scale can be expected to be a few hundred meters guiding our choice of grid  plume-scale can be expected to be a few hundred meters guiding our choice of grid
# Line 208  diffusion coefficient $\kappa_h (= Line 218  diffusion coefficient $\kappa_h (=
218  correlated over 50 m.    correlated over 50 m.  
219    
220  \subsection{Experiment configuration}  \subsection{Experiment configuration}
221    \label{www:tutorials}
222    
223  The model configuration for this experiment resides under the directory  The model configuration for this experiment resides under the directory
224  {\it verification/convection/}. The experiment files  {\it verification/convection/}. The experiment files
# Line 224  contain the code customisations and para Line 235  contain the code customisations and para
235  experiment. Below we describe these experiment-specific customisations.  experiment. Below we describe these experiment-specific customisations.
236    
237  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}  \subsubsection{File {\it code/CPP\_EEOPTIONS.h}}
238    \label{www:tutorials}
239    
240  This file uses standard default values and does not contain  This file uses standard default values and does not contain
241  customisations for this experiment.  customisations for this experiment.
242    
243  \subsubsection{File {\it code/CPP\_OPTIONS.h}}  \subsubsection{File {\it code/CPP\_OPTIONS.h}}
244    \label{www:tutorials}
245    
246  This file uses standard default values and does not contain  This file uses standard default values and does not contain
247  customisations for this experiment.  customisations for this experiment.
248    
249  \subsubsection{File {\it code/SIZE.h}}  \subsubsection{File {\it code/SIZE.h}}
250    \label{www:tutorials}
251    
252  Three lines are customized in this file. These prescribe the domain grid dimensions.  Three lines are customized in this file. These prescribe the domain grid dimensions.
253  \begin{itemize}  \begin{itemize}
# Line 261  the vertical domain extent in grid point Line 275  the vertical domain extent in grid point
275  \begin{rawhtml}</PRE>\end{rawhtml}  \begin{rawhtml}</PRE>\end{rawhtml}
276    
277  \subsubsection{File {\it input/data}}  \subsubsection{File {\it input/data}}
278    \label{www:tutorials}
279    
280  This file, reproduced completely below, specifies the main parameters  This file, reproduced completely below, specifies the main parameters
281  for the experiment. The parameters that are significant for this configuration  for the experiment. The parameters that are significant for this configuration
# Line 270  are Line 285  are
285    
286  \item Line 4,  \item Line 4,
287  \begin{verbatim}  \begin{verbatim}
288       4   tRef=20*20.0,       4   tRef=20*20.0,
289  \end{verbatim}  \end{verbatim}
290  this line sets  this line sets
291  the initial and reference values of potential temperature at each model  the initial and reference values of potential temperature at each model
292  level in units of $^{\circ}$C. Here the value is arbitrary since, in this case, the  level in units of $^{\circ}\mathrm{C}$. Here the value is arbitrary since, in this case, the
293  flow evolves independently of the absolute magnitude of the reference temperature.  flow evolves independently of the absolute magnitude of the reference temperature.
294  For each depth level the initial and reference profiles will be uniform in  For each depth level the initial and reference profiles will be uniform in
295  $x$ and $y$. The values specified are read into the  $x$ and $y$. The values specified are read into the
296  variable  variable
297  {\bf  {\bf
298  \begin{rawhtml} <A href=../../../code_reference/vdb/names/OK.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/OK.htm> \end{rawhtml}
299  tRef  tRef
300  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
301  }  }
302  in the model code, by procedure  in the model code, by procedure
303  {\it  {\it
304  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
305  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
306  \begin{rawhtml} </A>\end{rawhtml}.  \begin{rawhtml} </A>\end{rawhtml}.
307  }  }
308  The temperature field is initialised, by procedure  The temperature field is initialised, by procedure
309  {\it  {\it
310  \begin{rawhtml} <A href=../../../code_reference/vdb/code/OK.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/OK.htm> \end{rawhtml}
311  S/R INI\_THETA ({\it ini\_theta.F})  S/R INI\_THETA ({\it ini\_theta.F})
312  \begin{rawhtml} </A>\end{rawhtml}.  \begin{rawhtml} </A>\end{rawhtml}.
313  }  }
# Line 300  S/R INI\_THETA ({\it ini\_theta.F}) Line 315  S/R INI\_THETA ({\it ini\_theta.F})
315    
316  \item Line 5,  \item Line 5,
317  \begin{verbatim}  \begin{verbatim}
318       5   sRef=20*35.0,       5   sRef=20*35.0,
319  \end{verbatim}  \end{verbatim}
320  this line sets the initial and reference values of salinity at each model  this line sets the initial and reference values of salinity at each model
321  level in units of ppt. In this case salinity is set to an (arbitrary) uniform value of  level in units of ppt. In this case salinity is set to an (arbitrary) uniform value of
# Line 310  tracer. For each depth level the initial Line 325  tracer. For each depth level the initial
325  $x$ and $y$. The values specified are read into the  $x$ and $y$. The values specified are read into the
326  variable  variable
327  {\bf  {\bf
328  \begin{rawhtml} <A href=../../../code_reference/vdb/names/OK.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/OK.htm> \end{rawhtml}
329  sRef  sRef
330  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
331  }  }
332  in the model code, by procedure  in the model code, by procedure
333  {\it  {\it
334  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
335  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
336  }  }
337  \begin{rawhtml} </A>\end{rawhtml}.  \begin{rawhtml} </A>\end{rawhtml}.
338  The salinity field is initialised, by procedure  The salinity field is initialised, by procedure
339  {\it  {\it
340  \begin{rawhtml} <A href=../../../code_reference/vdb/code/OK.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/OK.htm> \end{rawhtml}
341  S/R INI\_SALT ({\it ini\_salt.F})  S/R INI\_SALT ({\it ini\_salt.F})
342  \begin{rawhtml} </A>\end{rawhtml}.  \begin{rawhtml} </A>\end{rawhtml}.
343  }  }
# Line 330  S/R INI\_SALT ({\it ini\_salt.F}) Line 345  S/R INI\_SALT ({\it ini\_salt.F})
345    
346  \item Line 6,  \item Line 6,
347  \begin{verbatim}  \begin{verbatim}
348       6   viscAh=0.1,       6   viscAh=0.1,
349  \end{verbatim}  \end{verbatim}
350  this line sets the horizontal laplacian dissipation coefficient to  this line sets the horizontal laplacian dissipation coefficient to
351  0.1 ${\rm m^{2}s^{-1}}$. Boundary conditions  0.1 ${\rm m^{2}s^{-1}}$. Boundary conditions
352  for this operator are specified later.  for this operator are specified later.
353  The variable  The variable
354  {\bf  {\bf
355  \begin{rawhtml} <A href=../../../code_reference/vdb/names/SI.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/SI.htm> \end{rawhtml}
356  viscAh  viscAh
357  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
358  }  }
359  is read in the routine  is read in the routine
360  {\it  {\it
361  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
362  S/R INI\_PARMS ({\it ini\_params.F})  S/R INI\_PARMS ({\it ini\_params.F})
363  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
364  } and applied in routines  } and applied in routines
365  {\it  {\it
366  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
367  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})
368  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
369  } and  } and
370  {\it  {\it
371  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
372  S/R CALC\_GW ({\it calc\_gw.F})  S/R CALC\_GW ({\it calc\_gw.F})
373  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
374  }.  }.
# Line 361  S/R CALC\_GW ({\it calc\_gw.F}) Line 376  S/R CALC\_GW ({\it calc\_gw.F})
376    
377  \item Line 7,  \item Line 7,
378  \begin{verbatim}  \begin{verbatim}
379       7   viscAz=0.1,       7   viscAz=0.1,
380  \end{verbatim}  \end{verbatim}
381  this line sets the vertical laplacian frictional dissipation coefficient to  this line sets the vertical laplacian frictional dissipation coefficient to
382  0.1 ${\rm m^{2}s^{-1}}$. Boundary conditions  0.1 ${\rm m^{2}s^{-1}}$. Boundary conditions
383  for this operator are specified later.  for this operator are specified later.
384  The variable  The variable
385  {\bf  {\bf
386  \begin{rawhtml} <A href=../../../code_reference/vdb/names/ZQ.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/ZQ.htm> \end{rawhtml}
387  viscAz  viscAz
388  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
389  }  }
390  is read in the routine  is read in the routine
391  {\it  {\it
392  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
393  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
394  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
395  }  }
396  and is copied into model general vertical coordinate variable  and is copied into model general vertical coordinate variable
397  {\bf  {\bf
398  \begin{rawhtml} <A href=../../../code_reference/vdb/names/PF.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/PF.htm> \end{rawhtml}
399  viscAr  viscAr
400  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
401  }. At each time step, the viscous term contribution to the momentum equations  }. At each time step, the viscous term contribution to the momentum equations
402  is calculated in routine  is calculated in routine
403  {\it  {\it
404  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
405  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})
406  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
407  }.  }.
# Line 402  e.g. $\frac{\partial u}{\partial y}$=0 a Line 417  e.g. $\frac{\partial u}{\partial y}$=0 a
417  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.  $\frac{\partial v}{\partial x}$=0 along boundaries in $x$.
418  The variable  The variable
419  {\bf  {\bf
420  \begin{rawhtml} <A href=../../../code_reference/vdb/names/UT.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/UT.htm> \end{rawhtml}
421  no\_slip\_sides  no\_slip\_sides
422  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
423  }  }
424  is read in the routine  is read in the routine
425  {\it  {\it
426  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
427  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
428  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
429  } and the boundary condition is evaluated in routine  } and the boundary condition is evaluated in routine
430  {\it  {\it
431  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
432  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})
433  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
434  }.  }.
# Line 428  boundary condition in the vertical lapla Line 443  boundary condition in the vertical lapla
443  e.g. $u=v=0$ at $z=-H$, where $H$ is the local depth of the domain.  e.g. $u=v=0$ at $z=-H$, where $H$ is the local depth of the domain.
444  The variable  The variable
445  {\bf  {\bf
446  \begin{rawhtml} <A href=../../../code_reference/vdb/names/UK.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/UK.htm> \end{rawhtml}
447  no\_slip\_bottom  no\_slip\_bottom
448  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
449  }  }
450  is read in the routine  is read in the routine
451  {\it  {\it
452  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
453  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
454  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
455  } and is applied in the routine  } and is applied in the routine
456  {\it  {\it
457  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
458  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})  S/R CALC\_MOM\_RHS ({\it calc\_mom\_rhs.F})
459  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
460  }.  }.
# Line 454  operator is $\frac{\partial}{\partial x} Line 469  operator is $\frac{\partial}{\partial x}
469  all boundaries.  all boundaries.
470  The variable  The variable
471  {\bf  {\bf
472  \begin{rawhtml} <A href=../../../code_reference/vdb/names/RC.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/RC.htm> \end{rawhtml}
473  diffKhT  diffKhT
474  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
475  }  }
476  is read in the routine  is read in the routine
477  {\it  {\it
478  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
479  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
480  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
481  } and used in routine  } and used in routine
482  {\it  {\it
483  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
484  S/R CALC\_GT ({\it calc\_gt.F})  S/R CALC\_GT ({\it calc\_gt.F})
485  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
486  }.  }.
# Line 479  to 0.1 ${\rm m^{2}s^{-1}}$. The boundary Line 494  to 0.1 ${\rm m^{2}s^{-1}}$. The boundary
494  operator is $\frac{\partial}{\partial z}$ = 0 on all boundaries.  operator is $\frac{\partial}{\partial z}$ = 0 on all boundaries.
495  The variable  The variable
496  {\bf  {\bf
497  \begin{rawhtml} <A href=../../../code_reference/vdb/names/ZT.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/ZT.htm> \end{rawhtml}
498  diffKzT  diffKzT
499  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
500  }  }
501  is read in the routine  is read in the routine
502  {\it  {\it
503  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
504  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
505  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
506  }.  }.
507  It is copied into model general vertical coordinate variable  It is copied into model general vertical coordinate variable
508  {\bf  {\bf
509  \begin{rawhtml} <A href=../../../code_reference/vdb/names/PD.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/PD.htm> \end{rawhtml}
510  diffKrT  diffKrT
511  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
512  } which is used in routine  } which is used in routine
513  {\it  {\it
514  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
515  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})
516  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
517  }.  }.
# Line 512  operator is $\frac{\partial}{\partial x} Line 527  operator is $\frac{\partial}{\partial x}
527  all boundaries.  all boundaries.
528  The variable  The variable
529  {\bf  {\bf
530  \begin{rawhtml} <A href=../../../code_reference/vdb/names/RC.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/RC.htm> \end{rawhtml}
531  diffKsT  diffKsT
532  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
533  }  }
534  is read in the routine  is read in the routine
535  {\it  {\it
536  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
537  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
538  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
539  } and used in routine  } and used in routine
540  {\it  {\it
541  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
542  S/R CALC\_GS ({\it calc\_gs.F})  S/R CALC\_GS ({\it calc\_gs.F})
543  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
544  }.  }.
# Line 538  to 0.1 ${\rm m^{2}s^{-1}}$. The boundary Line 553  to 0.1 ${\rm m^{2}s^{-1}}$. The boundary
553  operator is $\frac{\partial}{\partial z}$ = 0 on all boundaries.  operator is $\frac{\partial}{\partial z}$ = 0 on all boundaries.
554  The variable  The variable
555  {\bf  {\bf
556  \begin{rawhtml} <A href=../../../code_reference/vdb/names/ZT.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/ZT.htm> \end{rawhtml}
557  diffKzS  diffKzS
558  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
559  }  }
560  is read in the routine  is read in the routine
561  {\it  {\it
562  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
563  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
564  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
565  }.  }.
566  It is copied into model general vertical coordinate variable  It is copied into model general vertical coordinate variable
567  {\bf  {\bf
568  \begin{rawhtml} <A href=../../../code_reference/vdb/names/PD.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/PD.htm> \end{rawhtml}
569  diffKrS  diffKrS
570  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
571  } which is used in routine  } which is used in routine
572  {\it  {\it
573  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
574  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})  S/R CALC\_DIFFUSIVITY ({\it calc\_diffusivity.F})
575  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
576  }.  }.
# Line 584  This line sets the thermal expansion coe Line 599  This line sets the thermal expansion coe
599  to $2 \times 10^{-4}$ $^o$ C$^{-1}$.  to $2 \times 10^{-4}$ $^o$ C$^{-1}$.
600  The variable  The variable
601  {\bf  {\bf
602  \begin{rawhtml} <A href=../../../code_reference/vdb/names/ZV.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/ZV.htm> \end{rawhtml}
603  tAlpha  tAlpha
604  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
605  }  }
606  is read in the routine  is read in the routine
607  {\it  {\it
608  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
609  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
610  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
611  }.  }.
612  The routine  The routine
613  {\it  {\it
614  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
615  S/R FIND\_RHO ({\it find\_rho.F})  S/R FIND\_RHO ({\it find\_rho.F})
616  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
617  } makes use of {\bf tAlpha}.  } makes use of {\bf tAlpha}.
# Line 662  This line sets the  maximum number of it Line 677  This line sets the  maximum number of it
677  gradient solver will use to 40, {\bf irrespective of the convergence  gradient solver will use to 40, {\bf irrespective of the convergence
678  criteria being met}. Used in routine  criteria being met}. Used in routine
679  {\it  {\it
680  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
681  S/R CG3D ({\it cg3d.F})  S/R CG3D ({\it cg3d.F})
682  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
683  }.  }.
# Line 680  The solver will iterate until the Line 695  The solver will iterate until the
695  tolerance falls below this value or until the maximum number of  tolerance falls below this value or until the maximum number of
696  solver iterations is reached. Used in routine  solver iterations is reached. Used in routine
697  {\it  {\it
698  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
699  S/R CG3D ({\it cg3d.F})  S/R CG3D ({\it cg3d.F})
700  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
701  }.  }.
# Line 749  to high coordinate for both axes. The ma Line 764  to high coordinate for both axes. The ma
764  surface heat flux file used in the example.  surface heat flux file used in the example.
765  The variable  The variable
766  {\bf  {\bf
767  \begin{rawhtml} <A href=../../../code_reference/vdb/names/179.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/names/179.htm> \end{rawhtml}
768  Qsurf  Qsurf
769  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
770  }  }
771  is read in the routine  is read in the routine
772  {\it  {\it
773  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
774  S/R INI\_PARMS ({\it ini\_parms.F})  S/R INI\_PARMS ({\it ini\_parms.F})
775  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
776  }  }
777  and applied in    and applied in  
778  {\it  {\it
779  \begin{rawhtml} <A href=../../../code_reference/vdb/code/94.htm> \end{rawhtml}  \begin{rawhtml} <A href=../code_reference/vdb/code/94.htm> \end{rawhtml}
780  S/R EXTERNAL\_FORCING\_SURF ({\it external\_forcing\_surf.F})  S/R EXTERNAL\_FORCING\_SURF ({\it external\_forcing\_surf.F})
781  \begin{rawhtml} </A>\end{rawhtml}  \begin{rawhtml} </A>\end{rawhtml}
782  } where the flux is converted to a temperature tendency.  } where the flux is converted to a temperature tendency.
# Line 778  S/R EXTERNAL\_FORCING\_SURF ({\it extern Line 793  S/R EXTERNAL\_FORCING\_SURF ({\it extern
793    
794    
795  \subsubsection{File {\it input/data.pkg}}  \subsubsection{File {\it input/data.pkg}}
796    \label{www:tutorials}
797    
798  This file uses standard default values and does not contain  This file uses standard default values and does not contain
799  customisations for this experiment.  customisations for this experiment.
800    
801  \subsubsection{File {\it input/eedata}}  \subsubsection{File {\it input/eedata}}
802    \label{www:tutorials}
803    
804  This file uses standard default values and does not contain  This file uses standard default values and does not contain
805  customisations for this experiment.  customisations for this experiment.
806    
807    
808  \subsubsection{File {\it input/Qsurf.bin}}  \subsubsection{File {\it input/Qsurf.bin}}
809    \label{www:tutorials}
810    
811  The file {\it input/Qsurf.bin} specifies a two-dimensional ($x,y$)  The file {\it input/Qsurf.bin} specifies a two-dimensional ($x,y$)
812  map of heat flux values where  map of heat flux values where
# Line 811  directed upwards, according to the model Line 829  directed upwards, according to the model
829  \end{figure}  \end{figure}
830    
831  \subsection{Running the example}  \subsection{Running the example}
832    \label{www:tutorials}
833    
834  \subsubsection{Code download}  \subsubsection{Code download}
835    \label{www:tutorials}
836    
837  In order to run the examples you must first download the code distribution.  In order to run the examples you must first download the code distribution.
838  Instructions for downloading the code can be found in \ref{sect:obtainingCode}.  Instructions for downloading the code can be found in \ref{sect:obtainingCode}.
839    
840  \subsubsection{Experiment Location}  \subsubsection{Experiment Location}
841    \label{www:tutorials}
842    
843   This example experiments is located under the release sub-directory   This example experiments is located under the release sub-directory
844    
# Line 825  Instructions for downloading the code ca Line 846  Instructions for downloading the code ca
846  {\it verification/convection/ }  {\it verification/convection/ }
847    
848  \subsubsection{Running the Experiment}  \subsubsection{Running the Experiment}
849    \label{www:tutorials}
850    
851   To run the experiment   To run the experiment
852    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22