New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2349 for branches/nemo_v3_3_beta/DOC/TexFiles – NEMO

Ignore:
Timestamp:
2010-11-01T15:21:01+01:00 (14 years ago)
Author:
gm
Message:

v3.3beta: #658 phasing of the doc - key check + many minor changes

Location:
branches/nemo_v3_3_beta/DOC/TexFiles
Files:
9 added
1 deleted
19 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/DOC/TexFiles/Biblio/Biblio.bib

    r2298 r2349  
    431431@ARTICLE{Boulanger_al_GRL01, 
    432432  author = {J.-P. Boulanger and E. Durand and J.-P. Duvel and C. Menkes and P. 
    433    Delecluse and M. Imbard and M. Lengaigne and G.Madec and S. Masson}, 
     433   Delecluse and M. Imbard and M. Lengaigne and G. Madec and S. Masson}, 
    434434  title = {Role of non-linear oceanic processes in the response to westerly 
    435435   wind events: new implications for the 1997 El Niño onset}, 
     
    439439  pages = {1603--1606} 
    440440} 
     441 
     442@ARTICLE{Brodeau_al_OM09, 
     443  author = {L. Brodeau and B. Barnier and A.-M. Tr\'{e}guier and T. Penduff and S. Gulev}, 
     444  title = {An ERA40-based atmospheric forcing for global ocean circulation models}, 
     445  journal = OM, 
     446  year = {2009}, 
     447  volume = {31},  number = {3-4}, 
     448  pages = {88--104} 
     449} 
     450 
    441451 
    442452@ARTICLE{de_Boyer_Montegut_al_JGR04, 
     
    692702} 
    693703 
     704@ARTICLE{Drijfhout_JPO94, 
     705  author = {S. S. Drijfhout}, 
     706  title = {Heat transport by Mesoscale Eddies in an Ocean Circulation Model}, 
     707  journal = JPO, 
     708  year = {1994}, 
     709  volume = {24}, 
     710  pages = {353--369} 
     711} 
     712 
    694713@ARTICLE{Dukowicz1994, 
    695714  author = {J. K. Dukowicz and R. D. Smith}, 
     
    773792 
    774793@ARTICLE{D'Ortenzio_al_GRL05, 
    775   author = {F. DOrtenzio and D. Iudicone and C. de Boyer Mont\'{e}gut and P. 
     794  author = {F. D\'Ortenzio and D. Iudicone and C. de Boyer Mont\'{e}gut and P. 
    776795   Testor and D. Antoine and S. Marullo and R. Santoleri and G. Madec}, 
    777796  title = {Seasonal variability of the mixed layer depth in the Mediterranean 
     
    11431162} 
    11441163 
     1164@ARTICLE{Hazeleger_Drijfhout_JPO98, 
     1165  author = {W. Hazeleger and S. S. Drijfhout}, 
     1166  title = {Mode water variability in a model of the subtropical gyre: response to anomalous forcing}, 
     1167  journal = JPO, 
     1168  year = {1998}, 
     1169  volume = {28}, 
     1170  pages = {266--288}, 
     1171} 
     1172 
     1173@ARTICLE{Hazeleger_Drijfhout_JPO99, 
     1174  author = {W. Hazeleger and S. S. Drijfhout}, 
     1175  title = {Stochastically forced mode water variability}, 
     1176  journal = JPO, 
     1177  year = {1999}, 
     1178  volume = {29}, 
     1179  pages = {1772--1786}, 
     1180} 
     1181 
     1182@ARTICLE{Hazeleger_Drijfhout_JGR00, 
     1183  author = {W. Hazeleger and S. S. Drijfhout}, 
     1184  title = {A model study on internally generated variability in subtropical mode water formation}, 
     1185  journal = JGR, 
     1186  year = {2000}, 
     1187  volume = {105}, 
     1188  pages = {13,965--13,979}, 
     1189} 
     1190@ARTICLE{Hazeleger_Drijfhout_JPO00, 
     1191  author = {W. Hazeleger and S. S. Drijfhout}, 
     1192  title = {Eddy subduction in a model of the subtropical gyre}, 
     1193  journal = JPO, 
     1194  year = {2000}, 
     1195  volume = {30}, 
     1196  pages = {677--695}, 
     1197} 
     1198 
    11451199@ARTICLE{Hirt_al_JCP74, 
    11461200  author = {C. W. Hirt and A. A. Amsden and J. L. Cook}, 
     
    14081462} 
    14091463 
    1410 @ARTICLE{Levy_al_JGR10, 
     1464@ARTICLE{Levy_al_OM10, 
    14111465  author = {M. L\'{e}vy and P. Klein and A.-M. Tr\'{e}guier and D. Iovino and 
    14121466   G. Madec and S. Masson and T. Takahashi}, 
    14131467  title = {Impacts of sub-mesoscale physics on idealized gyres}, 
    1414   journal = JGR, 
     1468  journal = OM, 
    14151469  year = {2010}, 
    14161470  volume = {34},  number = {1-2}, 
     
    14411495 
    14421496@ARTICLE{Levy_al_DSR00, 
    1443   author = {M. L\'{e}vy and L. Mémery and G. Madec}, 
     1497  author = {M. L\'{e}vy and L. M\'{e}mery and G. Madec}, 
    14441498  title = {Combined effects of mesoscale processes and atmospheric high-frequency 
    14451499   variability on the spring bloom in the MEDOC area}, 
     
    14541508  publisher = {NCAR Technical Note, NCAR/TN-460+STR, CGD Division of the National Center for Atmospheric Research}, 
    14551509  year = {2004}, 
    1456   author = {W. Large and S. Yeager}} 
     1510  author = {W. G. Large and S. Yeager}} 
    14571511 
    14581512@ARTICLE{Large_al_RG94, 
     
    15261580  doi = {10.1016/j.ocemod.2009.06.006}, 
    15271581  url = {http://dx.doi.org/} 
     1582} 
     1583 
     1584@ARTICLE{Leclair_Madec_OM10s, 
     1585  author = {M. Leclair and G. Madec}, 
     1586  title = {$\tilde{z}$-coordinate, an Arbitrary Lagrangian-Eulerian coordinate separating high and low frequency}, 
     1587  journal = OM, 
     1588  year = {2010}, 
     1589  pages = {submitted}, 
    15281590} 
    15291591 
     
    23462408 
    23472409@ARTICLE{Timmermann_al_OM05, 
    2348   author = {R. Timmermann and H. Goosse and G. Madec and T. Fichefet, and C. \'{E}the and V. Duli\`{e}re}, 
     2410  author = {R. Timmermann and H. Goosse and G. Madec and T. Fichefet and C. \'{E}the and V. Duli\`{e}re}, 
    23492411  title = {On the representation of high latitude processes in the ORCA-LIM global coupled sea ice-ocean model}, 
    23502412  journal = OM, 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Annex_D.tex

    r2282 r2349  
    189189\end{table} 
    190190%-------------------------------------------------------------------------------------------------------------- 
     191 
     192\newpage 
     193% ================================================================ 
     194% The program structure 
     195% ================================================================ 
     196\section{The program structure} 
     197\label{Apdx_D_structure} 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_ASM.tex

    r2298 r2349  
    1616temperature, salinity, sea surface height, velocity and sea ice concentration.  
    1717These are read into the model from a file which may be produced by data assimilation.  
    18 This code is controlled by the namelist \np{nam\_asminc}.  
     18This code is controlled by the namelist \textit{nam\_asminc}.  
    1919There is a brief description of all the namelist options provided.  
    20 To build the ASM code \np{key\_asminc} must be set. 
     20To build the ASM code \key{asminc} must be set. 
    2121 
    2222%=============================================================== 
    2323 
    24 \subsection{Direct initialization} 
     24\section{Direct initialization} 
     25\label{ASM_DI} 
    2526 
    26 Direct initialization refers to the instantaneous correction 
     27Direct initialization (DI) refers to the instantaneous correction 
    2728of the model background state using the analysis increment. 
     29DI is used when \np{ln\_asmdin} is set to true. 
    2830 
    29 \subsection{Incremental Analysis Updates} 
     31\section{Incremental Analysis Updates} 
     32\label{ASM_IAU} 
    3033 
    3134Rather than updating the model state directly with the analysis increment, 
     
    3437is referred to as Incremental Analysis Updates (IAU) \citep{Bloom_al_MWR96}. 
    3538IAU is a common technique used with 3D assimilation methods such as 3D-Var or OI. 
     39IAU is used when \np{ln\_asmiau} is set to true. 
    3640 
    3741With IAU, the model state trajectory in the assimilation window  
     
    4044for temperature, salinity, horizontal velocity and SSH 
    4145as additional tendency terms to the prognostic equations: 
    42 \begin{eqnarray} 
     46\begin{eqnarray}     \label{eq:wa_traj_iau} 
    4347{\bf x}^{a}(t_{i}) = M(t_{i}, t_{0})[{\bf x}^{b}(t_{0})]  
    4448\; + \; F_{i} \delta \tilde{\bf x}^{a}  
    45 \label{eq:wa_traj_iau} 
    4649\end{eqnarray} 
    4750where $F_{i}$ is a weighting function defined such that $\sum_{i=1}^{N} F_{i}=1$.  
     
    5356In addition, two different weighting functions have been implemented. 
    5457The first function employs constant weights,  
    55 \begin{eqnarray} 
     58\begin{eqnarray}    \label{eq:F1_i} 
    5659F^{(1)}_{i} 
    5760=\left\{ \begin{array}{ll} 
    58    0   &  
    59    {\rm if} \; \; \; t_{i} < t_{m} \\ 
    60    1/M &  
    61    {\rm if} \; \; \; t_{m} < t_{i} \leq t_{n} \\ 
    62    0  & 
    63    {\rm if} \; \; \; t_{i} > t_{n} 
     61   0     &    {\rm if} \; \; \; t_{i} < t_{m}                \\ 
     62   1/M &    {\rm if} \; \; \; t_{m} < t_{i} \leq t_{n} \\ 
     63   0     &    {\rm if} \; \; \; t_{i} > t_{n} 
    6464  \end{array} \right.  
    65 \label{eq:F1_i} 
    6665\end{eqnarray} 
    6766where $M = m-n$. 
     
    6968weight in the centre of the sub-window, with the weighting reduced  
    7069linearly to a small value at the window end-points. 
    71 \begin{eqnarray} 
     70\begin{eqnarray}     \label{eq:F2_i} 
    7271F^{(2)}_{i} 
    7372=\left\{ \begin{array}{ll} 
    74    0   &  
    75    {\rm if} \; \; \; t_{i} < t_{m} \\ 
    76    \alpha \, i &  
    77    {\rm if} \; \; \; t_{m} \leq t_{i} \leq t_{M/2} \\ 
    78    \alpha \, (M - i +1) &  
    79    {\rm if} \; \; \; t_{M/2} < t_{i} \leq t_{n} \\ 
    80    0  & 
    81    {\rm if} \; \; \; t_{i} > t_{n} 
     73   0                           &    {\rm if} \; \; \; t_{i}       <     t_{m}                        \\ 
     74   \alpha \, i               &    {\rm if} \; \; \; t_{m}    \leq t_{i}    \leq   t_{M/2}   \\ 
     75   \alpha \, (M - i +1) &    {\rm if} \; \; \; t_{M/2}  <    t_{i}    \leq   t_{n}       \\ 
     76   0                            &   {\rm if} \; \; \; t_{i}        >    t_{n} 
    8277  \end{array} \right. 
    83 \label{eq:F2_i} 
    8478\end{eqnarray} 
    8579where $\alpha^{-1} = \sum_{i=1}^{M/2} 2i$ and $M$ is assumed to be even.  
    86 The weights described by Eq.~(\ref{eq:F2_i}) provide a  
     80The weights described by \eqref{eq:F2_i} provide a  
    8781smoother transition of the analysis trajectory from one assimilation cycle  
    88 to the next than that described by Eq.~(\ref{eq:F1_i}). 
     82to the next than that described by \eqref{eq:F1_i}. 
    8983 
    9084%========================================================================== 
     
    10094%------------------------------------------------------------------------------------------------------------- 
    10195 
    102 \subsection{Assimilation increments file} 
    103  
    104 The header of an assimilation increments file produced using \np{ncdump -h} is shown below 
     96The header of an assimilation increments file produced using \textit{ncdump~-h} is shown below 
    10597 
    10698\begin{alltt} 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_DOM.tex

    r2285 r2349  
    489489option which can be enabled or disabled in the middle of an experiment. Three main  
    490490choices are offered (Fig.~\ref{Fig_z_zps_s_sps}a to c): $z$-coordinate with full step  
    491 bathymetry (\np{ln\_zco}=true), $z$-coordinate with partial step bathymetry  
    492 (\np{ln\_zps}=true), or generalized, $s$-coordinate (\np{ln\_sco}=true).  
     491bathymetry (\np{ln\_zco}~=~true), $z$-coordinate with partial step bathymetry  
     492(\np{ln\_zps}~=~true), or generalized, $s$-coordinate (\np{ln\_sco}~=~true).  
    493493Hybridation of the three main coordinates are available: $s-z$ or $s-zps$ coordinate  
    494494(Fig.~\ref{Fig_z_zps_s_sps}d and \ref{Fig_z_zps_s_sps}e). When using the variable  
     
    734734\namdisplay{namzgr_sco}  
    735735%-------------------------------------------------------------------------------------------------------------- 
    736 In $s$-coordinate (\key{sco} is defined), the depth and thickness of the model  
     736In $s$-coordinate (\np{ln\_sco}~=~true), the depth and thickness of the model  
    737737levels are defined from the product of a depth field and either a stretching  
    738738function or its derivative, respectively: 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_DYN.tex

    r2285 r2349  
    762762equation and the associated barotropic velocity equations with a smaller time  
    763763step than $\rdt$, the time step used for the three dimensional prognostic  
    764 variables (Fig.\ref {Fig_DYN_dynspg_ts}).  
    765 The size of the small time step, $\Delta_e$ (the external mode or barotropic time step) 
     764variables (Fig.~\ref{Fig_DYN_dynspg_ts}).  
     765The size of the small time step, $\rdt_e$ (the external mode or barotropic time step) 
    766766 is provided through the \np{nn\_baro} namelist parameter as:  
    767 $\Delta_e = \Delta / nn\_baro$. 
     767$\rdt_e = \rdt / nn\_baro$. 
    768768  
    769769 
     
    856856the time averaged vertically integrated transport. Notably, there is no Robert-Asselin time filter used in the barotropic portion of the integration.  
    857857 
    858 Upon reaching $t_{n=N} = \tau + 2\Delta \tau$ , the vertically integrated velocity is time averaged to produce the updated vertically integrated velocity at baroclinic time $\tau + \Delta \tau$  
     858Upon reaching $t_{n=N} = \tau + 2\rdt \tau$ , the vertically integrated velocity is time averaged to produce the updated vertically integrated velocity at baroclinic time $\tau + \rdt \tau$  
    859859\begin{equation} \label{DYN_spg_ts_u} 
    860860\textbf{U}(\tau+\rdt) = \overline{\textbf{U}^{(b)}(\tau+\rdt)}  
     
    11521152and Asselin filtering is done in \mdl{dynnxt}. 
    11531153 
    1154  
    1155  
    1156 % ================================================================ 
     1154% ================================================================ 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_LBC.tex

    r2282 r2349  
    377377% Open Boundary Conditions  
    378378% ================================================================ 
    379 \section{Open Boundary Conditions (\key{obc})} 
     379\section{Open Boundary Conditions (\key{obc}) (OBC)} 
    380380\label{LBC_obc} 
    381381%-----------------------------------------nam_obc  ------------------------------------------- 
     
    735735% Unstructured open boundaries BDY  
    736736% ==================================================================== 
    737 \section{Unstructured Open Boundary Conditions (\key{bdy})} 
     737\section{Unstructured Open Boundary Conditions (\key{bdy}) (BDY)} 
    738738\label{LBC_bdy} 
    739739 
    740740%-----------------------------------------nambdy-------------------------------------------- 
    741 %-    filbdy_mask    =  ''                  !  name of mask file (if ln_bdy_mask=.TRUE.) 
    742 %-    filbdy_data_T  = 'bdydata_grid_T.nc'  !  name of data file for FRS condition (T-points) 
    743 %-    filbdy_data_U  = 'bdydata_grid_U.nc'  !  name of data file for FRS condition (U-points) 
    744 %-    filbdy_data_V  = 'bdydata_grid_V.nc'  !  name of data file for FRS condition (V-points) 
    745 %-    filbdy_data_bt_T  = 'bdydata_bt_grid_T.nc'  !  name of data file for Flather condition (T-points) 
    746 %-    filbdy_data_bt_U  = 'bdydata_bt_grid_U.nc'  !  name of data file for Flather condition (U-points) 
    747 %-    filbdy_data_bt_V  = 'bdydata_bt_grid_V.nc'  !  name of data file for Flather condition (V-points) 
    748 %-    ln_bdy_clim    = .false.              !  contain 1 (T) or 12 (F) time dumps and be cyclic 
    749 %-    ln_bdy_vol     = .true.               !  total volume correction (see volbdy parameter) 
    750 %-    ln_bdy_mask    = .false.              !  boundary mask from filbdy_mask (T) or boundaries are on edges of domain (F) 
    751 %-    ln_bdy_tides   = .true.               !  Apply tidal harmonic forcing with Flather condition 
    752 %-    ln_bdy_dyn_fla = .true.               !  Apply Flather condition to velocities 
    753 %-    ln_bdy_tra_frs = .false.              !  Apply FRS condition to temperature and salinity  
    754 %-    ln_bdy_dyn_frs = .false.              !  Apply FRS condition to velocities 
    755 %-    nbdy_dta       =  1                   !  = 0, bdy data are equal to the initial state 
    756 %-                                          !  = 1, bdy data are read in 'bdydata   .nc' files 
    757 %-    nb_rimwidth    = 9                    !  width of the relaxation zone 
    758 %-    volbdy         = 0                    !  = 0, the total water flux across open boundaries is zero 
     741%-    cn_mask    =  ''                        !  name of mask file (if ln_bdy_mask=.TRUE.) 
     742%-    cn_dta_frs_T  = 'bdydata_grid_T.nc'     !  name of data file (T-points) 
     743%-    cn_dta_frs_U  = 'bdydata_grid_U.nc'     !  name of data file (U-points) 
     744%-    cn_dta_frs_V  = 'bdydata_grid_V.nc'     !  name of data file (V-points) 
     745%-    cn_dta_fla_T  = 'bdydata_bt_grid_T.nc'  !  name of data file for Flather condition (T-points) 
     746%-    cn_dta_fla_U  = 'bdydata_bt_grid_U.nc'  !  name of data file for Flather condition (U-points) 
     747%-    cn_dta_fla_V  = 'bdydata_bt_grid_V.nc'  !  name of data file for Flather condition (V-points) 
     748%-    ln_clim    = .false.                    !  contain 1 (T) or 12 (F) time dumps and be cyclic 
     749%-    ln_vol     = .true.                     !  total volume correction (see volbdy parameter) 
     750%-    ln_mask    = .false.                    !  boundary mask from filbdy_mask (T) or boundaries are on edges of domain (F) 
     751%-    ln_tides   = .true.                     !  Apply tidal harmonic forcing with Flather condition 
     752%-    ln_dyn_fla = .true.                     !  Apply Flather condition to velocities 
     753%-    ln_tra_frs = .false.                    !  Apply FRS condition to temperature and salinity 
     754%-    ln_dyn_frs = .false.                    !  Apply FRS condition to velocities 
     755%-    nn_rimwidth    =  9                     !  width of the relaxation zone 
     756%-    nn_dtactl      =  1                     !  = 0, bdy data are equal to the initial state 
     757%-                                            !  = 1, bdy data are read in 'bdydata   .nc' files 
     758%-    nn_volctl      =  0                     !  = 0, the total water flux across open boundaries is zero 
     759%-                                            !  = 1, the total volume of the system is conserved 
    759760\namdisplay{nambdy}  
    760761%----------------------------------------------------------------------------------------------- 
     
    807808\end{equation} 
    808809The width of the FRS zone is specified in the namelist as  
    809 \np{nb\_rimwidth}. This is typically set to a value between 8 and 10.  
     810\np{nn\_rimwidth}. This is typically set to a value between 8 and 10.  
    810811 
    811812%---------------------------------------------- 
     
    837838 
    838839The Flow Relaxation Scheme may be applied separately to the 
    839 temperature and salinity (\np{ln\_bdy\_tra\_frs} = true) and 
    840 the velocity fields (\np{ln\_bdy\_dyn\_frs} = true). Flather 
     840temperature and salinity (\np{ln\_tra\_frs} = true) and 
     841the velocity fields (\np{ln\_dyn\_frs} = true). Flather 
    841842radiation conditions may be applied using externally defined 
    842 barotropic velocities and sea-surface height (\np{ln\_bdy\_dyn\_fla} = true)  
    843 or using tidal harmonics fields (\np{ln\_bdy\_tides} = true)  
     843barotropic velocities and sea-surface height (\np{ln\_dyn\_fla} = true)  
     844or using tidal harmonics fields (\np{ln\_tides} = true)  
    844845or both. FRS and Flather conditions may be applied simultaneously.  
    845846A typical configuration where all possible conditions might be used is a tidal,  
     
    888889 
    889890The input data files for the FRS conditions are defined in the 
    890 namelist as \np{filbdy\_data\_T}, \np{filbdy\_data\_U}, 
    891 \np{filbdy\_data\_V}. The input data files for the Flather conditions 
    892 are defined in the namelist as \np{filbdy\_data\_bt\_T}, 
    893 \np{filbdy\_data\_bt\_U}, \np{filbdy\_data\_bt\_V}. 
    894  
    895 The netcdf header of a typical input data file is shown in Figure 
    896 \ref{Fig_LBC_nc_header}. The file contains the index arrays which 
    897 define the boundary geometry as noted above and the data arrays for 
    898 each field.  The data arrays are dimensioned on: a time 
    899 dimension; $xb$ which is the index of the boundary data point in the 
    900 horizontal; and $yb$ which is a degenerate dimension of 1 to enable 
     891namelist as \np{cn\_dta\_frs\_T}, \np{cn\_dta\_frs\_U},  
     892\np{cn\_dta\_frs\_V}. The input data files for the Flather conditions 
     893are defined in the namelist as \np{cn\_dta\_fla\_T},  
     894\np{cn\_dta\_fla\_U}, \np{cn\_dta\_fla\_V}.  
     895 
     896The netcdf header of a typical input data file is shown in Fig.~\ref{Fig_LBC_nc_header}.  
     897The file contains the index arrays which define the boundary geometry  
     898as noted above and the data arrays for each field.   
     899The data arrays are dimensioned on: a time dimension; $xb$  
     900which is the index of the boundary data point in the horizontal;  
     901and $yb$ which is a degenerate dimension of 1 to enable 
    901902the file to be read by the standard NEMO I/O routines. The 3D fields 
    902903also have a depth dimension. 
    903904 
    904 If \np{ln\_bdy\_clim} is set to $false$, the model expects the 
     905If \np{ln\_clim} is set to \textit{false}, the model expects the 
    905906units of the time axis to have the form shown in 
    906 \ref{Fig_bdy_input_file}, $i.e.$ {\it ``seconds since yyyy-mm-dd 
     907Fig.~\ref{Fig_LBC_nc_header}, $i.e.$ {\it ``seconds since yyyy-mm-dd 
    907908hh:mm:ss''} The fields are then linearly interpolated to the model 
    908909time at each timestep. Note that for this option, the time axis of the 
    909910input files must completely span the time period of the model 
    910 integration. If \np{ln\_bdy\_clim} is set to $.true.$ (climatological 
     911integration. If \np{ln\_clim} is set to \textit{true} (climatological 
    911912boundary forcing), the model will expect either a single set of annual 
    912913mean fields (constant boundary forcing) or 12 sets of monthly mean 
     
    915916As in the OBC module there is an option to use initial conditions as 
    916917boundary conditions. This is chosen by setting 
    917 $\np{nb\_dta}=0$. However, since the model defines the boundary 
     918\np{nn\_dtactl}~=~0. However, since the model defines the boundary 
    918919geometry by reading the boundary index arrays from the input files, 
    919920it is still necessary to provide a set of input files in this 
    920921case. They need only contain the boundary index arrays, $nbidta$, 
    921 $nbjdta$, $nbrdta$. 
     922\textit{nbjdta}, \textit{nbrdta}. 
    922923 
    923924%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    932933\label{BDY_vol_corr} 
    933934 
    934 There is an option to force the total volume in the regional model to be constant, similar to the option in the OBC module. This is controlled  by the \np{volbdy} parameter in the namelist. A value of $\np{volbdy} = 0$ indicates that this option is not used. If  $\np{volbdy} = 1$ then a correction is applied to the normal velocities around the boundary at each timestep to ensure that the integrated volume flow through the boundary is zero. If $\np{volbdy} = 2$ then the calculation of the volume change on the timestep includes the change due to the freshwater flux across the surface and the correction velocity corrects for this as well. 
     935There is an option to force the total volume in the regional model to be constant,  
     936similar to the option in the OBC module. This is controlled  by the \np{nn\_volctl}  
     937parameter in the namelist. A value of\np{nn\_volctl}~=~0 indicates that this option is not used.  
     938If  \np{nn\_volctl}~=~1 then a correction is applied to the normal velocities  
     939around the boundary at each timestep to ensure that the integrated volume flow  
     940through the boundary is zero. If \np{nn\_volctl}~=~2 then the calculation of  
     941the volume change on the timestep includes the change due to the freshwater  
     942flux across the surface and the correction velocity corrects for this as well. 
    935943 
    936944 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_LDF.tex

    r2282 r2349  
    5757The specification of the space variation of the coefficient is made in  
    5858\mdl{ldftra} and \mdl{ldfdyn}, or more precisely in include files  
    59 \textit{ldftra\_cNd.h90} and \textit{ldfdyn\_cNd.h90}, with N=1, 2 or 3.  
     59\textit{traldf\_cNd.h90} and \textit{dynldf\_cNd.h90}, with N=1, 2 or 3.  
    6060The user can modify these include files as he/she wishes. The way the  
    6161mixing coefficient are set in the reference version can be briefly described  
     
    6363 
    6464\subsubsection{Constant Mixing Coefficients (default option)} 
    65 When none of the \textbf{key\_ldfdyn\_...} and \textbf{key\_ldftra\_...} keys are  
     65When none of the \textbf{key\_dynldf\_...} and \textbf{key\_traldf\_...} keys are  
    6666defined, a constant value is used over the whole ocean for momentum and  
    6767tracers, which is specified through the \np{rn\_ahm0} and \np{rn\_aht0} namelist  
    6868parameters. 
    6969 
    70 \subsubsection{Vertically varying Mixing Coefficients (\key{ldftra\_c1d} and \key{ldfdyn\_c1d})}  
     70\subsubsection{Vertically varying Mixing Coefficients (\key{traldf\_c1d} and \key{dynldf\_c1d})}  
    7171The 1D option is only available when using the $z$-coordinate with full step.  
    7272Indeed in all the other types of vertical coordinate, the depth is a 3D function  
     
    7777and the transition takes place around z=300~m with a width of 300~m  
    7878($i.e.$ both the depth and the width of the inflection point are set to 300~m).  
    79 This profile is hard coded in file \hf{ldftra\_c1d}, but can be easily modified by users. 
    80  
    81 \subsubsection{Horizontally Varying Mixing Coefficients (\key{ldftra\_c2d} and \key{ldfdyn\_c2d})} 
     79This profile is hard coded in file \hf{traldf\_c1d}, but can be easily modified by users. 
     80 
     81\subsubsection{Horizontally Varying Mixing Coefficients (\key{traldf\_c2d} and \key{dynldf\_c2d})} 
    8282By default the horizontal variation of the eddy coefficient depends on the local mesh  
    8383size and the type of operator used: 
     
    110110defined, see \hf{ldfdyn\_antarctic} and \hf{ldfdyn\_arctic}). 
    111111 
    112 \subsubsection{Space Varying Mixing Coefficients (\key{ldftra\_c3d} and \key{ldfdyn\_c3d})} 
     112\subsubsection{Space Varying Mixing Coefficients (\key{traldf\_c3d} and \key{dynldf\_c3d})} 
    113113 
    114114The 3D space variation of the mixing coefficient is simply the combination of the  
     
    148148spurious diapycnal diffusion (see {\S\ref{LDF_slp}). 
    149149 
    150 (4) when an eddy induced advection term is used (\key{trahdf\_eiv}), $A^{eiv}$,  
     150(4) when an eddy induced advection term is used (\key{traldf\_eiv}), $A^{eiv}$,  
    151151the eddy induced coefficient has to be defined. Its space variations are controlled  
    152152by the same CPP variable as for the eddy diffusivity coefficient ($i.e.$  
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_MISC.tex

    r2282 r2349  
    2222Mediterranean to replenish its supply of water from the Atlantic to balance the net  
    2323evaporation occurring over the Mediterranean region. This problem occurs even in  
    24 eddy permitting simulations. For example, in ORCA 1/4\r{} several straits of the Indonesian  
     24eddy permitting simulations. For example, in ORCA 1/4\deg several straits of the Indonesian  
    2525archipelago (Ombai, Lombok...) are much narrow than even a single ocean grid-point. 
    2626 
     
    3333Note that such modifications are so specific to a given configuration that no attempt  
    3434has been made to set them in a generic way. However, examples of how  
    35 they can be set up is given in the ORCA 2\r{} and 0.5\r{} configurations (search for  
    36 \key{ORCA\_R2} or \key{ORCA\_R05} in the code). 
     35they can be set up is given in the ORCA 2\deg and 0.5\deg configurations (search for  
     36\key{orca\_r2} or \key{orca\_r05} in the code). 
    3737 
    3838% ------------------------------------------------------------------------------------------------------------- 
     
    6161\includegraphics[width=0.80\textwidth]{./TexFiles/Figures/Fig_Gibraltar.pdf} 
    6262\includegraphics[width=0.80\textwidth]{./TexFiles/Figures/Fig_Gibraltar2.pdf} 
    63 \caption {Example of the Gibraltar strait defined in a 1\r{} x 1\r{} mesh.  
     63\caption {Example of the Gibraltar strait defined in a $1\deg \times 1\deg$ mesh.  
    6464\textit{Top}: using partially open cells. The meridional scale factor at $v$-point  
    6565is reduced on both sides of the strait to account for the real width of the strait  
     
    144144% 1D model functionality 
    145145% ================================================================ 
    146 \section{Water column model: 1D model (\key{cfg\_1d})} 
     146\section{Water column model: 1D model (\key{c1d})} 
    147147\label{MISC_1D} 
    148148 
    149149The 1D model option simulates a stand alone water column within the 3D \NEMO system.  
    150150It can be applied to the ocean alone or to the ocean-ice system and can include passive tracers  
    151 or a biogeochemical model. It is set up by defining the \key{cfg\_1d} CPP key.  
     151or a biogeochemical model. It is set up by defining the \key{c1d} CPP key.  
    152152The 1D model is a very useful tool   
    153153\textit{(a)} to learn about the physics and numerical treatment of vertical mixing processes ;  
     
    226226% \gmcomment{why not make these bullets into subsections?} 
    227227 
    228 Three issues to be described here: 
    229  
    230 $\bullet$ Vector and memory optimisation: 
     228 
     229$\bullet$ Vector optimisation: 
    231230 
    232231\key{vectopt\_loop} enables the internal loops to collapse. This is very  
     
    237236  
    238237% Add also one word on NEC specific optimisation (Novercheck option for example) 
    239  
    240 \key{vectopt\_memory} is an obsolescent option. It has been introduced in order  
    241 to reduce the memory requirement of the model at a time when in-core memory 
    242 were rather limited. This is obviously done at the cost of increasing the CPU  
    243 time requirement, since it suppress intermediate computations which would have  
    244 been saved in in-core memory. Currently it is only used in the old implementation  
    245 of the TKE physics (\key{tke\_old}) where,  when \key{vectopt\_memory}  
    246 is defined, the coefficients used for horizontal smoothing of $A_v^T$ and $A_v^m$  
    247 are no longer computed once and for all. This reduces the memory requirement by three  
    248 3D arrays. This option will disappear in the next \NEMO release. 
    249  
    250238  
    251239$\bullet$ Control print %: describe here 4 things: 
     
    514502% Diagnostics 
    515503% ================================================================ 
    516 \section{Diagnostics (DIA, IOM)} 
     504\section{Diagnostics (DIA, IOM, TRD, FLO)} 
    517505\label{MISC_diag} 
    518506 
     
    520508%       Standard Model Output  
    521509% ------------------------------------------------------------------------------------------------------------- 
    522 \subsection{Standard Model Output (default option or \key{dimg})} 
     510\subsection{Model Output (default or \key{iomput} or \key{dimgout})} 
    523511\label{MISC_iom} 
    524512 
     
    551539flexibility in the choice of the fields to be output as well as how the  
    552540writing work is distributed over the processors in massively parallel 
    553 computing. It is activated when \key{dimgout} is defined. 
     541computing. It is activated when \key{iomput} is defined. 
    554542 
    555543% ------------------------------------------------------------------------------------------------------------- 
    556544%       Tracer/Dynamics Trends 
    557545% ------------------------------------------------------------------------------------------------------------- 
    558 \subsection[Tracer/Dynamics Trends (\key{trdlmd}, \textbf{key\_diatrd...})] 
    559                   {Tracer/Dynamics Trends (\key{trdlmd}, \key{diatrdtra}, \key{diatrddyn})} 
     546\subsection[Tracer/Dynamics Trends (TRD)] 
     547                  {Tracer/Dynamics Trends (\key{trdmld}, \key{trdtra}, \key{trddyn}, \key{trdmld\_trc})} 
    560548\label{MISC_tratrd} 
    561549 
    562 %to be udated this corresponds to OPA8 
    563 When \key{diatrddyn} and/or \key{diatrddyn} cpp variables are defined, each  
     550%------------------------------------------namtrd---------------------------------------------------- 
     551\namdisplay{namtrd}  
     552%------------------------------------------------------------------------------------------------------------- 
     553 
     554When \key{trddyn} and/or \key{trddyn} CPP variables are defined, each  
    564555trend of the dynamics and/or temperature and salinity time evolution equations  
    565556is stored in three-dimensional arrays just after their computation ($i.e.$ at the end  
    566 of each $dyn\cdots .F90$ and/or $tra\cdots .F90$ routine). These trends are then  
    567 used in diagnostic routines $diadyn.F90$ and $diatra.F90$ respectively.  
    568 In the standard model, these routines check the basin averaged properties of  
    569 the momentum and tracer equations every \textit{ntrd } time-steps (\textbf{namelist  
    570 parameter}). These routines are supplied as an example; they must be adapted by  
    571 the user to his/her requirements. 
    572  
    573 These two options imply the creation of several extra arrays in the in-core  
    574 memory, increasing quite seriously the code memory requirements. 
     557of each $dyn\cdots.F90$ and/or $tra\cdots.F90$ routines). These trends are then  
     558used in \mdl{trdmod} (see TRD directory) every \textit{nn\_trd } time-steps. 
     559 
     560What is done depends on the CPP keys defined: 
     561\begin{description} 
     562\item[\key{trddyn}, \key{trdtra}] : a check of the basin averaged properties of the momentum  
     563and/or tracer equations is performed ;  
     564\item[\key{trdvor}] : a vertical summation of the moment tendencies is performed,  
     565then the curl is computed to obtain the barotropic vorticity tendencies which are output ; 
     566\item[\key{trdmld}] : output of the tracer tendencies averaged vertically   
     567either over the mixed layer (\np{nn\_ctls}=0),  
     568or       over a fixed number of model levels (\np{nn\_ctls}$>$1 provides the number of level),  
     569or       over a spatially varying but temporally fixed number of levels (typically the base  
     570of the winter mixed layer) read in \ifile{ctlsurf\_idx} (\np{nn\_ctls}=1).  
     571\end{description} 
     572 
     573The units in the output file can be changed using the \np{nn\_ucf} namelist parameter.  
     574For example, in case of salinity tendency the units are given by PSU/s/\np{nn\_ucf}. 
     575Setting \np{nn\_ucf}=86400 provides the tendencies in PSU/d. 
     576 
     577When \key{trdmld} is defined, two time averaging procedure are proposed. 
     578Setting \np{ln\_trdmld\_instant} to \textit{true}, a simple time averaging is performed,  
     579so that the resulting tendency is the contribution to the change of a quantity between  
     580the two instantaneous values taken at the extremities of the time averaging period. 
     581Setting \np{ln\_trdmld\_instant} to \textit{false}, a double time averaging is performed,  
     582so that the resulting tendency is the contribution to the change of a quantity between  
     583two \textit{time mean} values. The later option requires the use of an extra file, \ifile{restart\_mld}   
     584(\np{ln\_trdmld\_restart}=true), to restart a run. 
     585 
     586 
     587Note that the mixed layer tendency diagnostic can also be used on biogeochemical models  
     588via Êthe \key{trdtrc} and \key{trdmld\_trc} CPP keys. 
    575589 
    576590% ------------------------------------------------------------------------------------------------------------- 
    577591%       On-line Floats trajectories 
    578592% ------------------------------------------------------------------------------------------------------------- 
    579 \subsection{On-line Floats trajectories (FLO)} 
     593\subsection{On-line Floats trajectories (FLO) (\key{floats}} 
    580594\label{FLO} 
    581595%--------------------------------------------namflo------------------------------------------------------- 
     
    583597%-------------------------------------------------------------------------------------------------------------- 
    584598 
    585 The on-line computation of floats adevected either by the three dimensional velocity  
     599The on-line computation of floats advected either by the three dimensional velocity  
    586600field or constraint to remain at a given depth ($w = 0$ in the computation) have been  
    587 introduced in the system during the CLIPPER project. The algorithm used is based on  
    588 the work of \cite{Blanke_Raynaud_JPO97}. (see also the web site describing the off-line  
    589 use of this marvellous diagnostic tool (http://stockage.univ-brest.fr/~grima/Ariane/). 
     601introduced in the system during the CLIPPER project. The algorithm used is based  
     602either on the work of \cite{Blanke_Raynaud_JPO97} (default option), or on a $4^th$ 
     603Runge-Hutta algorithm (\np{ln\_flork4}=true). Note that the \cite{Blanke_Raynaud_JPO97}  
     604algorithm have the advantage of providing trajectories which are consistent with the  
     605numeric of the code, so that the trajectories never intercept the bathymetry.  
     606 
     607See also the web site describing the off-line use of this marvellous diagnostic tool  
     608(http://stockage.univ-brest.fr/~grima/Ariane/). 
    590609 
    591610% ------------------------------------------------------------------------------------------------------------- 
    592611%       Other Diagnostics 
    593612% ------------------------------------------------------------------------------------------------------------- 
    594 \subsection{Other Diagnostics} 
     613\subsection{Other Diagnostics (\key{diahth}, \key{diaar5})} 
    595614\label{MISC_diag_others} 
    596615 
    597 %To be updated  this mainly corresponds to OPA 8 
    598616 
    599617Aside from the standard model variables, other diagnostics can be computed  
    600 on-line or can be added to the model. The available ready-to-add diagnostics  
    601 routines can be found in directory DIA. Among the available diagnostics are:  
    602  
    603 - the mixed layer depth (based on a density criterion) (\mdl{diamxl}) 
    604  
    605 - the turbocline depth (based on a turbulent mixing coefficient criterion) (\mdl{diamxl}) 
    606  
    607 - the depth of the 20\r{}C isotherm (\mdl{diahth}) 
     618on-line. The available ready-to-add diagnostics routines can be found in directory DIA.  
     619Among the available diagnostics the following ones are obtained when defining  
     620the \key{diahth} CPP key:  
     621 
     622- the mixed layer depth (based on a density criterion, \citet{de_Boyer_Montegut_al_JGR04}) (\mdl{diahth}) 
     623 
     624- the turbocline depth (based on a turbulent mixing coefficient criterion) (\mdl{diahth}) 
     625 
     626- the depth of the 20\deg C isotherm (\mdl{diahth}) 
    608627 
    609628- the depth of the thermocline (maximum of the vertical temperature gradient) (\mdl{diahth}) 
    610629 
    611 - the meridional heat and salt transports and their decomposition (\mdl{diamfl}) 
     630The poleward heat and salt transports, their advective and diffusive component, and  
     631the meriodional stream function can be computed on-line in \mdl{diaptr} by setting  
     632\np{ln\_diaptr} to true (see the \textit{namptr} namelist below).   
     633When \np{ln\_subbas}~=~true, transports and stream function are computed  
     634for the Atlantic, Indian, Pacific and Indo-Pacific Oceans (defined north of 30\deg S)  
     635as well as for the World Ocean. The sub-basin decomposition requires an input file  
     636(\ifile{subbasins}) which contains three 2D mask arrays, the Indo-Pacific mask  
     637been deduced from the sum of the Indian and Pacific mask (Fig~\ref{Fig_mask_subasins}).  
     638 
     639%------------------------------------------namptr---------------------------------------------------- 
     640\namdisplay{namptr}  
     641%------------------------------------------------------------------------------------------------------------- 
     642%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     643\begin{figure}[!t] \label{Fig_mask_subasins}  \begin{center} 
     644\includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_mask_subasins.pdf} 
     645\caption {Decomposition of the World Ocean (here ORCA2) into sub-basin used in to compute 
     646the heat and salt transports as well as the meridional stream-function: Atlantic basin (red),  
     647Pacific basin (green), Indian basin (bleue), Indo-Pacific basin (bleue+green).  
     648Note that semi-enclosed seas (Red, Med and Baltic seas) as well as Hudson Bay  
     649are removed from the sub-basin. Note also that the Arctic Ocean has been split  
     650into Atlantic and Pacific basins along the North fold line.  } 
     651\end{center}   \end{figure} 
     652%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    612653 
    613654In addition, a series of diagnostics has been added in the \mdl{diaar5}.  
     
    771812the \key{diaar5} defined to be called. 
    772813 
     814 
     815% ================================================================ 
     816% predefined configurations 
     817% ================================================================ 
     818\section{predefined configurations} 
     819\label{MISC_config} 
     820 
     821There is several predefined ocean configuration which use is controlled by a specific CPP key.  
     822 
     823The key set the domain sizes (\jp{jpiglo}, \jp{jpjglo}, \jp{jpk}), the mesh and the bathymetry,  
     824and, in some cases, add to the model physics some specific treatments. 
     825 
     826% ------------------------------------------------------------------------------------------------------------- 
     827%       ORCA family configurations 
     828% ------------------------------------------------------------------------------------------------------------- 
     829\subsection{ORCA family: global ocean with tripolar grid} 
     830\label{MISC_config_orca} 
     831 
     832The NEMO system is provided with four built-in ORCA configurations which differ in the  
     833horizontal resolution used: 
     834\begin{description} 
     835\item[\key{orca\_r4}]  \jp{cp\_cfg}~=~orca ; \jp{jp\_cfg}~=~4 
     836\item[\key{orca\_r2}]  \jp{cp\_cfg}~=~orca ; \jp{jp\_cfg}~=~2 
     837\item[\key{orca\_r1}]  \jp{cp\_cfg}~=~orca ; \jp{jp\_cfg}~=~1 
     838\item[\key{orca\_r05}]  \jp{cp\_cfg}~=~orca ; \jp{jp\_cfg}~=~05 
     839\item[\key{orca\_r025}]  \jp{cp\_cfg}~=~orca ; \jp{jp\_cfg}~=~025 
     840\end{description} 
     841 
     842\subsubsection{ORCA mesh} 
     843 
     844%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     845\begin{figure}[!t] \label{Fig_MISC_ORCA_msh}  \begin{center} 
     846\includegraphics[width=0.98\textwidth]{./TexFiles/Figures/Fig_ORCA_NH_mesh.pdf} 
     847\caption {ORCA mesh conception. The departure from an isotropic Mercator grid start poleward of 20\deg N. 
     848The two "north pole" are the foci of a series of embedded ellipses (blue curves)  
     849which are determined analytically and form the i-lines of the ORCA mesh (pseudo latitudes).  
     850Then, following \citet{Madec_Imbard_CD96}, the normal to the series of ellipses (red curves) is computed  
     851which provide the j-lines of the mesh (pseudo longitudes). 
     852 } 
     853\end{center}   \end{figure} 
     854%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     855 
     856 
     857%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     858\begin{figure}[!tbp] \label{Fig_MISC_ORCA_e1e2}  \begin{center} 
     859\includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_ORCA_NH_msh05_e1_e2.pdf} 
     860\includegraphics[width=0.80\textwidth]{./TexFiles/Figures/Fig_ORCA_aniso.pdf} 
     861\caption {\textit{Top}: Horizontal scale factors ($e_1$, $e_2$) and  
     862\textit{Bottom}: ratio of anisotropy ($e_1 / e_2$) 
     863for ORCA 0.5\deg ~mesh. South of 20\deg N a Mercator grid is used ($e_1 = e_2$)  
     864so that the anisotropy ratio is 1. Poleward of 20\deg N, the two "north pole"  
     865introduce a weak anisotropy over the ocean areas ($< 1.2$) except in vicinity of Victoria Island  
     866(Canadian Arctic Archipelago). } 
     867\end{center}   \end{figure} 
     868%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     869 
     870%--------------------------------------------------TABLE-------------------------------------------------- 
     871\begin{table}[htbp]  \label{Tab_ORCA} 
     872\begin{center} 
     873\begin{tabular}{ccccc} 
     874key                         & \jp{jp\_cfg} &  \jp{jpiglo} & \jp{jpiglo} &       \\   
     875\hline  \hline 
     876\key{orca\_r4}        &        4         &         92     &      76      &       \\ 
     877\key{orca\_r2}       &        2         &       182     &    149      &        \\ 
     878%\key{orca\_r1}       &        1         &       362     &     511     &        \\ 
     879\key{orca\_r05}     &        05       &       722     &     261     &        \\ 
     880\key{orca\_r025}   &        025     &      1442    &   1021     &        \\ 
     881%\key{orca\_r8}       &        8         &      2882    &   2042     &        \\ 
     882%\key{orca\_r12}     &      12         &      4322    &   3062      &       \\ 
     883\hline 
     884\hline 
     885\end{tabular} 
     886\caption {Set of predefined ORCA parameters. } 
     887\end{center} 
     888\end{table} 
     889%-------------------------------------------------------------------------------------------------------------- 
     890 
     891The tripolar grid used in ORCA configuration .... 
     892 
     893NB: the two north poles position has been chosen to minimise the anisotropy ratio in  
     894the Gulf Stream and kuroshio areas, two highly turbulent regions. 
     895 
     896ORCA~2 : a $2\deg$ zonal resolution, and a meridional resolution varying from $0.5\deg$ at the  
     897equator to $2\deg cos\phi$ south of $20\deg$S (Fig. 1). The grid features two points of convergence in the  
     898Northern Hemisphere, both situated on continents. Minimum resolution in high latitudes is about  
     89965~km in the Arctic and 50~km in the Antarctic. Local mesh refinements are applied to the  
     900Mediterranean, Red, Black and Caspian Seas. None of them appears to be of particular  
     901importance for the study of high latitude climate, but the fine resolution is needed in order to have  
     902their local circulation and their role in the World Ocean's circulation considered correctly.  
     903 
     904 
     905  
     906ORCA2-LIM (global ocean sea-ice configuration \citep{Timmermann_al_OM05}.  
     907The horizontal mesh is based on a $2\deg \times 2\deg$ Mercator grid ($i.e.$ same zonal and  
     908meridional grid spacing) which has been modified poleward   
     909of $20\deg$N in order to include two numerical inland poles \citep{Murray_JCP96}.  
     910This modification is semi-analytical \citep{Madec_Imbard_CD96}  
     911and based on a series of embedded ellipses. It insures that the mesh remains  
     912close to isotropy and that the smallest grid cell is along Antarctica.  
     913In order to refine the meridional resolution up to $0.5\deg$ at the equator,  
     914additional local transformations were applied with in the Tropics.  
     915Local mesh refinements are also applied to the Mediterranean, Red, Black  
     916and Caspian Seas so that the resolution is $1\deg \time 1\deg$ there.  
     917There are 31 levels in the vertical, with the highest resolution (10m)  
     918in the upper 150m. The bottom topography and the coastlines are derived  
     919from the global atlas of Smith and Sandwell (1997). 
     920 
     921\key{orca\_lev10} 10 time more vertical levels 
     922 
     923\key{agrif}  : ORCA2-LIM plus an AGRIF zoom over the Agulhas current area 
     924 
     925\key{arctic}, \key{antarctic}  (not used in ORCA\_R4) 
     926 
     927 
     928We thus only provide a brief introduction in this chapter.  
     929The global coupled ocean-ice configuration is very similar to that used as part of the climate  
     930model developed at GFDL for the 4th IPCC assessment of climate change (Griffies et al., 2005;  
     931Gnanadesikan et al., 2006).  
     932The ORCA2-LIM configuration is also the basis for the \NEMO contribution to the  
     933Coordinate Ocean-ice Reference Experiments (COREs) documented in \citet{Griffies_al_OM09}.  
     934These experiments employ the boundary forcing from \citet{Large_Yeager_Rep04} (see \S\ref{SBC_blk_core}),  
     935which was developed for the purpose of running global coupled ocean-ice simulations without an  
     936interactive atmosphere. This \citet{Large_Yeager_Rep04} dataset is available through the GFDL web  
     937site \footnote{http://nomads.gfdl.noaa.gov/nomads/forms/mom4/CORE.html}.  
     938The "normal year" of \citet{Large_Yeager_Rep04} has been chosen of the \NEMO distribution  
     939since release v3.3.  
     940 
     941% ------------------------------------------------------------------------------------------------------------- 
     942%       GYRE family configuration 
     943% ------------------------------------------------------------------------------------------------------------- 
     944\subsection{GYRE family: double gyre basin (\key{gyre})} 
     945\label{MISC_config_gyre} 
     946 
     947The GYRE configuration \citep{Levy_al_OM10} have been built to simulated  
     948the seasonal cycle of a double-gyre box model. It consist in an idealized domain  
     949similar to that used in the studies of \citet{Drijfhout_JPO94} and \citet{Hazeleger_Drijfhout_JPO98,  
     950Hazeleger_Drijfhout_JPO99, Hazeleger_Drijfhout_JGR00, Hazeleger_Drijfhout_JPO00},  
     951over which an analytical seasonal forcing is applied. This allows to investigate the  
     952spontaneous generation of a large number of interacting, transient mesoscale eddies  
     953and their contribution to the large scale circulation.  
     954 
     955The domain geometry is a closed rectangular basin on the $\beta$-plane centred  
     956at $\sim 30\deg$N and rotated by 45\deg, 3180~km long, 2120~km wide  
     957and 4~km deep (Fig.~\ref{Fig_MISC_strait_hand}).  
     958The domain is bounded by vertical walls and by a ßat bottom. The configuration is  
     959meant to represent an idealized North Atlantic or North Pacific basin.  
     960The circulation is forced by analytical profiles of wind and buoyancy ßuxes.  
     961The applied forcings vary seasonally in a sinusoidal manner between winter  
     962and summer extrema \citep{Levy_al_OM10}.  
     963The wind stress is zonal and its curl changes sign at 22\deg N and 36\deg N.  
     964It forces a subpolar gyre in the north, a subtropical gyre in the wider part of the domain  
     965and a small recirculation gyre in the southern corner.  
     966The net heat ßux takes the form of a restoring toward a zonal apparent air  
     967temperature profile. A portion of the net heat ßux which comes from the solar radiation 
     968is allowed to penetrate within the water column.  
     969The fresh water ßux is also prescribed and varies zonally.  
     970It is determined such as, at each time step, the basin-integrated ßux is zero.  
     971The basin is initialised at rest with vertical profiles of temperature and salinity  
     972uniformly applied to the whole domain. 
     973 
     974The GYRE configuration is set through the \key{gyre} CPP key. Its horizontal resolution  
     975(and thus the size of the domain) is determined by setting \jp{jp\_cfg} in \hf{par\_GYRE} file: \\ 
     976\jp{jpiglo} $= 30 \times$ \jp{jp\_cfg} + 2   \\ 
     977\jp{jpjglo} $= 20 \times$ \jp{jp\_cfg} + 2   \\ 
     978Obviously, the namelist parameters have to be adjusted to the chosen resolution. 
     979In the vertical, GYRE uses the default 30 ocean levels (\jp{jpk}=31) (Fig.~\ref{Fig_zgr}). 
     980 
     981The GYRE configuration is also used in benchmark test as it is very simple to increase  
     982its resolution and as it does not requires any input file. For example, keeping a same model size  
     983on each processor while increasing the number of processor used is very easy, even though the  
     984physical integrity of the solution can be compromised. 
     985 
     986%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     987\begin{figure}[!t] \label{Fig_GYRE}  \begin{center} 
     988\includegraphics[width=1.0\textwidth]{./TexFiles/Figures/Fig_GYRE.pdf} 
     989\caption {Snapshot of relative vorticity at the surface of the model domain  
     990in GYRE R9, R27 and R54. From \citet{Levy_al_OM10}.} 
     991\end{center}   \end{figure} 
     992%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     993 
     994% ------------------------------------------------------------------------------------------------------------- 
     995%       EEL family configuration 
     996% ------------------------------------------------------------------------------------------------------------- 
     997\subsection{EEL family: periodic channel} 
     998\label{MISC_config_EEL} 
     999 
     1000\begin{description} 
     1001\item[\key{eel\_r2}]   
     1002\item[\key{eel\_r5}]   
     1003\item[\key{eel\_r6}]   
     1004\end{description} 
     1005 
     1006% ------------------------------------------------------------------------------------------------------------- 
     1007%       POMME configuration 
     1008% ------------------------------------------------------------------------------------------------------------- 
     1009\subsection{POMME: mid-latitude sub-domain} 
     1010\label{MISC_config_POMME} 
     1011 
     1012 
     1013\key{pomme\_r025}  
     1014 
     1015 
     1016 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_Model_Basics.tex

    r2282 r2349  
    10011001\label{PE_zco_tilde} 
    10021002 
    1003  
     1003The $\tilde{z}$-coordinate has been developed by \citet{Leclair_Madec_OM10s}. 
     1004It is not available in the current version of \NEMO. 
    10041005 
    10051006\newpage  
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_OBS.tex

    r2298 r2349  
    1414 
    1515The OBS branch is a diagnostic branch which reads in observation files (profile temperature and 
    16 salinity, sea surface temperature, sea level anomaly and sea ice concentration) and calculates the 
     16salinity, sea surface temperature, sea level anomaly and sea ice concentration) and calculates  
    1717an interpolated model equivalent value at the observation location and nearest model timestep. 
    1818This is code with was originally developed for use with NEMOVAR.  
     
    2626The resulting data is saved in a ``feedback'' file or files which can be used for model validation 
    2727and verification and also to provide information for data assimilation. This code is controlled by 
    28 the namelist \np{nam\_obs}. To build with the OBS code active \np{key\_diaobs} must be set. 
     28the namelist \textit{nam\_obs}. To build with the OBS code active \key{diaobs} must be set. 
    2929 
    3030There is a brief description of all the namelist options provided.  
     31 
     32Missing information: description of \key{sp}, \key{datetime\_out} 
    3133 
    3234 
     
    4143run and build of NEMO to run the observation operator. 
    4244 
    43 First compile NEMO with \np{key\_diaobs} set. 
     45First compile NEMO with \key{diaobs} set. 
    4446 
    4547Next download some ENSEMBLES EN3 data from the website http://www.hadobs.org. 
     
    4951 
    5052You will need to add the following to the namelist to run the observation 
    51 operator on this data - replace \np{profiles\_01.nc} with the observation file you 
    52 wish to use (or link in): 
     53operator on this data - set the \np{enactfiles} namelist parameter to the observation  
     54file name you wish to use (or link in): 
    5355 
    5456%------------------------------------------namobs_example----------------------------------------------------- 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_SBC.tex

    r2282 r2349  
    1  ================================================================ 
     1% ================================================================ 
    22% Chapter Ñ Surface Boundary Condition (SBC)  
    33% ================================================================ 
     
    1515The ocean needs six fields as surface boundary condition: 
    1616\begin{itemize} 
    17 \item the two components of the surface ocean stress $\left( {\tau _u \;,\;\tau _v} \right)$ 
    18 \item the incoming solar and non solar heat fluxes $\left( {Q_{ns} \;,\;Q_{sr} } \right)$ 
    19 \item the surface freshwater budget $\left( {\textit{emp},\;\textit{emp}_S } \right)$ 
     17   \item the two components of the surface ocean stress $\left( {\tau _u \;,\;\tau _v} \right)$ 
     18   \item the incoming solar and non solar heat fluxes $\left( {Q_{ns} \;,\;Q_{sr} } \right)$ 
     19   \item the surface freshwater budget $\left( {\textit{emp},\;\textit{emp}_S } \right)$ 
    2020\end{itemize} 
    21  
    22 Four different ways to provide those six fields to the ocean are available which  
    23 are controlled by namelist variables: an analytical formulation (\np{ln\_ana}=true),  
    24 a flux formulation (\np{ln\_flx}=true), a bulk formulae formulation (CORE  
    25 (\np{ln\_core}=true) or CLIO (\np{ln\_clio}=true) bulk formulae) and a coupled  
     21plus an optional field: 
     22\begin{itemize} 
     23   \item the atmospheric pressure at the ocean surface $\left( p_a \right)$ 
     24\end{itemize} 
     25 
     26Four different ways to provide the first six fields to the ocean are available which  
     27are controlled by namelist variables: an analytical formulation (\np{ln\_ana}~=~true),  
     28a flux formulation (\np{ln\_flx}~=~true), a bulk formulae formulation (CORE  
     29(\np{ln\_core}~=~true) or CLIO (\np{ln\_clio}~=~true) bulk formulae) and a coupled  
    2630formulation (exchanges with a atmospheric model via the OASIS coupler)  
    27 (\np{ln\_cpl}=true). The frequency at which the six fields have to be updated is 
    28 the  \np{nf\_sbc} namelist parameter.  
     31(\np{ln\_cpl}~=~true). The optional atmospheric pressure can be used either  
     32to force ocean and ice dynamics (\np{ln\_apr\_dyn}~=~true), or in the bulk  
     33formulae computation (\np{ln\_apr\_dyn}~=~true) 
     34\footnote{None of the two current bulk formulea (CLIO and CORE) uses the  
     35atmospheric pressure field.}.  
     36The frequency at which the six or seven fields have to be updated is the \np{nn\_fsbc}  
     37namelist parameter.  
    2938When the fields are supplied from data files (flux and bulk formulations), the input fields  
    3039need not be supplied on the model grid.  Instead a file of coordinates and weights can  
     
    3443These options control  the rotation of vector components supplied relative to an east-north  
    3544coordinate system onto the local grid directions in the model; the addition of a surface  
    36 restoring term to observed SST and/or SSS (\np{ln\_ssr}=true); the modification of fluxes  
     45restoring term to observed SST and/or SSS (\np{ln\_ssr}~=~true); the modification of fluxes  
    3746below ice-covered areas (using observed ice-cover or a sea-ice model)  
    38 (\np{nn\_ice}=0,1, 2 or 3); the addition of river runoffs as surface freshwater  
    39 fluxes (\np{ln\_rnf}=true); the addition of a freshwater flux adjustment in  
    40 order to avoid a mean sea-level drift (\np{nn\_fwb}= 0, 1 or 2); and the  
     47(\np{nn\_ice}~=~0,1, 2 or 3); the addition of river runoffs as surface freshwater  
     48fluxes or lateral inflow (\np{ln\_rnf}~=~true); the addition of a freshwater flux adjustment  
     49in order to avoid a mean sea-level drift (\np{nn\_fwb}~=~0,~1~or~2); and the  
    4150transformation of the solar radiation (if provided as daily mean) into a diurnal  
    42 cycle (\np{ln\_dm2dc}=true). 
     51cycle (\np{ln\_dm2dc}~=~true). 
    4352 
    4453In this chapter, we first discuss where the surface boundary condition appears in the 
     
    127136%created!) 
    128137% 
    129 %Especially the \np{nf\_sbc}, the \mdl{sbc\_oce} module (fluxes + mean sst sss ssu  
     138%Especially the \np{nn\_fsbc}, the \mdl{sbc\_oce} module (fluxes + mean sst sss ssu  
    130139%ssv) i.e. information required by flux computation or sea-ice 
    131140% 
     
    181190%-------------------------------------------------------------------------------------------------------------- 
    182191 
    183  
    184192The analytical formulation of the surface boundary condition is the default scheme. 
    185193In this case, all the six fluxes needed by the ocean are assumed to  
     
    265273the turbulent transfer coefficients (momentum, sensible heat and evaporation)  
    266274from the 10 metre wind speed, air temperature and specific humidity. 
     275This \citet{Large_Yeager_Rep04} dataset is available through the GFDL web  
     276site (http://nomads.gfdl.noaa.gov/nomads/forms/mom4/CORE.html).  
    267277 
    268278Note that substituting ERA40 to NCEP reanalysis fields  
    269279does not require changes in the bulk formulea themself.  
     280This is the so-called DRAKKAR Forcing Set (DFS) \citep{Brodeau_al_OM09}.  
    270281 
    271282The required 8 input fields are: 
     
    345356 
    346357In the coupled formulation of the surface boundary condition, the fluxes are  
    347 provided by the OASIS coupler at each \np{nf\_cpl} time-step, while sea and ice  
    348 surface temperature, ocean and ice albedo, and ocean currents are sent to  
    349 the atmospheric component. 
    350  
    351 The generalised coupled interface is under development. It should be available 
    352 in summer 2008. It will include the ocean interface for most of the European  
    353 atmospheric GCM (ARPEGE, ECHAM, ECMWF, HadAM, LMDz). 
     358provided by the OASIS coupler at a frequency which is defined in the OASIS coupler,  
     359while sea and ice surface temperature, ocean and ice albedo, and ocean currents  
     360are sent to the atmospheric component. 
     361 
     362A generalised coupled interface has been developed. It is currently interfaced with OASIS 3 
     363(\key{oasis3}) and does not support OASIS 4 
     364\footnote{The \key{oasis4} exist. It activates portion of the code that are still under development.}.  
     365It has been successfully used to interface \NEMO to most of the European atmospheric  
     366GCM (ARPEGE, ECHAM, ECMWF, HadAM, LMDz),  
     367as well as to WRF (Weather Research and Forecasting Model) (http://wrf-model.org/). 
     368 
     369Note that in addition to the setting of \np{ln\_cpl} to true, the \key{coupled} have to be defined.  
     370The CPP key is mainly used in sea-ice to ensure that the atmospheric fluxes are  
     371actually recieved by the ice-ocean system (no calculation of ice sublimation in coupled mode). 
     372When PISCES biogeochemical model (\key{top} and \key{pisces}) is also used in the coupled system,  
     373the whole carbon cycle is computed by defining \key{cpl\_carbon\_cycle}. In this case,  
     374CO$_2$ fluxes are exchanged between the atmosphere and the ice-ocean system. 
     375 
     376 
     377% ================================================================ 
     378%        Atmospheric pressure 
     379% ================================================================ 
     380\section   [Atmospheric pressure (\textit{sbcapr})] 
     381         {Atmospheric pressure (\mdl{sbcapr})} 
     382\label{SBC_apr} 
     383%------------------------------------------namsbc_apr---------------------------------------------------- 
     384\namdisplay{namsbc_apr}  
     385%------------------------------------------------------------------------------------------------------------- 
     386 
     387The optional atmospheric pressure can be used either to force ocean and ice dynamics  
     388(\np{ln\_apr\_dyn}~=~true), or in the bulk formulae computation (\np{ln\_apr\_dyn}~=~true). 
     389The input atmospheric forcing is interpolated in time to the model time step, and optionally  
     390in space when interpolation on-the-fly is used. When used to force the dynamics, it is further  
     391transformed into an equivalent inverse barometer sea surface height, $\eta_{ib}$, using: 
     392\begin{equation} \label{SBC_ssh_ib} 
     393   \eta_{ib} = -  \frac{1}{g\,\rho_o}  \left( P_{atm} - P_o \right)  
     394\end{equation} 
     395where $P_{atm}$ is the atmospheric pressure and $P_o$ a reference atmospheric pressure. 
     396A value of $101,000~N/m^2$ is used unless \np{ln\_ref\_apr} is set to true. In this case $P_o$  
     397is set to the value of $P_{atm}$ averaged over the ocean domain, $i.e.$ the mean value of  
     398$\eta_{ib}$ is kept to zero at all time step. 
     399 
     400A gradient of $\eta_{ib}$ is added to the RHS of the ocean momentum equation  
     401(see \mdl{dynspg} for the ocean). For sea-ice, the sea surface height, $\eta_m$,  
     402which is provided to the sea ice model is set to $\eta - \eta_{ib}$ (see \mdl{sbcssr} module). 
     403Furthermore, $\eta_{ib}$ can be set in the output. This simplifies the altirmetry data  
     404and model comparison as inverse barometer sea surface height is usually removed  
     405from thise date prior to their distribution. 
    354406 
    355407% ================================================================ 
    356408%        River runoffs 
    357409% ================================================================ 
    358 \section   [river runoffs (\textit{sbcrnf})] 
    359          {river runoffs (\mdl{sbcrnf})} 
     410\section   [River runoffs (\textit{sbcrnf})] 
     411         {River runoffs (\mdl{sbcrnf})} 
    360412\label{SBC_rnf} 
    361413%------------------------------------------namsbc_rnf---------------------------------------------------- 
     
    392444required to properly represent the diurnal cycle \citep{Bernie_al_JC05}. see also \S\ref{SBC_dcy}.}. 
    393445 
    394 As such from VN3.3 onwards it is possible to add river runoff through a non-zero depth, and for the  
     446As such from V~3.3 onwards it is possible to add river runoff through a non-zero depth, and for the  
    395447temperature and salinity of the river to effect the surrounding ocean. 
    396448The user is able to specify, in a NetCDF input file, the temperature and salinity of the river, along with the    
     
    411463After the user specified depth is read ini, the number of grid boxes this corresponds to is  
    412464calculated and stored in the variable \np{nz\_rnf}. 
    413 The variable \np{h\_dep} is then calculated to be the depth (in metres) of the bottom of the  
     465The variable \textit{h\_dep} is then calculated to be the depth (in metres) of the bottom of the  
    414466lowest box the river water is being added to (i.e. the total depth that river water is being added to in the model). 
    415467 
    416 The mass/volume addition due to the river runoff is, at each relevant depth level, added to the horizontal divergence (\np{hdivn})  
    417 in the subroutine \np{sbc\_rnf\_div} (called from \np{divcur}). 
     468The mass/volume addition due to the river runoff is, at each relevant depth level, added to the horizontal divergence  
     469(\textit{hdivn}) in the subroutine \rou{sbc\_rnf\_div} (called from \mdl{divcur}). 
    418470This increases the diffusion term in the vicinity of the river, thereby simulating a momentum flux. 
    419471The sea surface height is calculated using the sum of the horizontal divergence terms, and so the  
    420472river runoff indirectly forces an increase in sea surface height.  
    421473 
    422 The \np{hdivn} terms are used in the tracer advection modules to force vertical velocities. 
     474The \textit{hdivn} terms are used in the tracer advection modules to force vertical velocities. 
    423475This causes a mass of water, equal to the amount of runoff, to be moved into the box above.  
    424476The heat and salt content of the river runoff is not included in this step, and so the tracer  
     
    430482As such the volume of water does not change, but the water is diluted. 
    431483 
    432 For the non-linear free surface case (vvl), no flux is allowed through the surface. 
     484For the non-linear free surface case (\key{vvl}), no flux is allowed through the surface. 
    433485Instead in the surface box (as well as water moving up from the boxes below) a volume of runoff water  
    434486is added with no corresponding heat and salt addition and so as happens in the lower boxes there is a dilution effect. 
     
    499551the diurnal cycle of SWF is a scaling of the top of the atmosphere diurnal cycle  
    500552of incident SWF. The \cite{Bernie_al_CD07} reconstruction algorithm is available 
    501 in \NEMO by setting \np{ln\_dm2dc}=true (a \textit{namsbc} namelist parameter) when using  
    502 CORE bulk formulea (\np{ln\_blk\_core}=true) or the flux formulation (\np{ln\_flx}=true).  
     553in \NEMO by setting \np{ln\_dm2dc}~=~true (a \textit{namsbc} namelist parameter) when using  
     554CORE bulk formulea (\np{ln\_blk\_core}~=~true) or the flux formulation (\np{ln\_flx}~=~true).  
    503555The reconstruction is performed in the \mdl{sbcdcy} module. The detail of the algoritm used  
    504556can be found in the appendix~A of \cite{Bernie_al_CD07}. The algorithm preserve the daily  
     
    663715%------------------------------------------------------------------------------------------------------------- 
    664716 
    665 In forced mode using a flux formulation (default option or \key{flx} defined), a  
     717In forced mode using a flux formulation (\np{ln\_flx}~=~true), a  
    666718feedback term \emph{must} be added to the surface heat flux $Q_{ns}^o$: 
    667719\begin{equation} \label{Eq_sbc_dmp_q} 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_TRA.tex

    r2286 r2349  
    849849%        Bottom Boundary Condition 
    850850% ------------------------------------------------------------------------------------------------------------- 
    851 \subsection   [Bottom Boundary Condition (\textit{trabbc} - \key{bbc})] 
    852          {Bottom Boundary Condition (\mdl{trabbc} - \key{bbc})} 
     851\subsection   [Bottom Boundary Condition (\textit{trabbc})] 
     852         {Bottom Boundary Condition (\mdl{trabbc})} 
    853853\label{TRA_bbc} 
    854854%--------------------------------------------nambbc-------------------------------------------------------- 
     
    875875Bottom Water) by a few Sverdrups  \citep{Emile-Geay_Madec_OS09}.  
    876876 
    877 The presence of geothermal heating is controlled by the namelist  
    878 parameter  \np{nn\_geoflx}. When this parameter is set to 1, a constant  
    879 geothermal heating is introduced whose value is given by the  
    880 \np{nn\_geoflx\_cst}, which is also a namelist parameter. When it is set to 2,  
    881 a spatially varying geothermal heat flux is introduced which is provided  
    882 in the \ifile{geothermal\_heating} NetCDF file (Fig.\ref{Fig_geothermal}). 
     877The presence of geothermal heating is controlled by setting the namelist  
     878parameter  \np{ln\_trabbc} to true. Then, when \np{nn\_geoflx} is set to 1,  
     879a constant geothermal heating is introduced whose value is given by the  
     880\np{nn\_geoflx\_cst}, which is also a namelist parameter.  
     881When  \np{nn\_geoflx} is set to 2, a spatially varying geothermal heat flux is  
     882introduced which is provided in the \ifile{geothermal\_heating} NetCDF file  
     883(Fig.\ref{Fig_geothermal}) \citep{Emile-Geay_Madec_OS09}. 
    883884 
    884885% ================================================================ 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Chap_ZDF.tex

    r2282 r2349  
    339339\label{ZDF_gls} 
    340340 
    341 %--------------------------------------------namgls--------------------------------------------------------- 
    342 \namdisplay{namgls} 
     341%--------------------------------------------namzdf_gls--------------------------------------------------------- 
     342\namdisplay{namzdf_gls} 
    343343%-------------------------------------------------------------------------------------------------------------- 
    344344 
     
    386386The constants $C_1$, $C_2$, $C_3$, ${\sigma_e}$, ${\sigma_{\psi}}$ and the wall function ($Fw$)  
    387387depends of the choice of the turbulence model. Four different turbulent models are pre-defined  
    388 (Tab.\ref{Tab_GLS}). They are made available through th \np{gls} namelist parameter.  
     388(Tab.\ref{Tab_GLS}). They are made available through the \np{nn\_clo} namelist parameter.  
    389389 
    390390%--------------------------------------------------TABLE-------------------------------------------------- 
     
    408408\hline 
    409409\end{tabular} 
    410 \caption {Set of predefined GLS parameters, or equivalently predefined turbulence models available with \key{gls} and controlled by the \np{nn\_clos} namelist parameter.} 
     410\caption {Set of predefined GLS parameters, or equivalently predefined turbulence models available with \key{zdfgls} and controlled by the \np{nn\_clos} namelist parameter.} 
    411411\end{center} 
    412412\end{table} 
     
    414414 
    415415In the Mellor-Yamada model, the negativity of $n$ allows to use a wall function to force 
    416 the convergence of the mixing length towards $K\,z_b$ ($K$: Kappa and $z_b$: rugosity length)  
     416the convergence of the mixing length towards $K z_b$ ($K$: Kappa and $z_b$: rugosity length)  
    417417value near physical boundaries (logarithmic boundary layer law). $C_{\mu}$ and $C_{\mu'}$  
    418418are calculated from stability function proposed by \citet{Galperin_al_JAS88}, or by \citet{Kantha_Clayson_1994}  
     
    431431stably stratified situations, and that its value has to be chosen in accordance  
    432432with the algebraic model for the turbulent ßuxes. The clipping is only activated  
    433 if \np{ln\_length\_lim}=true, and the $c_{lim}$ is set to the \np{clim\_galp} value. 
     433if \np{ln\_length\_lim}=true, and the $c_{lim}$ is set to the \np{rn\_clim\_galp} value. 
    434434 
    435435% ------------------------------------------------------------------------------------------------------------- 
     
    576576%       Turbulent Closure Scheme  
    577577% ------------------------------------------------------------------------------------------------------------- 
    578 \subsection{Turbulent Closure Scheme (\key{zdftke})} 
     578\subsection{Turbulent Closure Scheme (\key{zdftke} or \key{zdfgls})} 
    579579\label{ZDF_tcs} 
    580580 
    581 The TKE turbulent closure scheme presented in \S\ref{ZDF_tke} and used  
    582 when the \key{zdftke} is defined, in theory solves the problem of statically  
     581The turbulent closure scheme presented in \S\ref{ZDF_tke} and \S\ref{ZDF_gls}  
     582(\key{zdftke} or \key{zdftke} is defined) in theory solves the problem of statically  
    583583unstable density profiles. In such a case, the term corresponding to the  
    584584destruction of turbulent kinetic energy through stratification in \eqref{Eq_zdftke_e}  
    585 becomes a source term, since $N^2$ is negative. It results in large values of  
    586 $A_T^{vT}$ and  $A_T^{vT}$, and also the four neighbouring  
     585or \eqref{Eq_zdfgls_e} becomes a source term, since $N^2$ is negative.  
     586It results in large values of $A_T^{vT}$ and  $A_T^{vT}$, and also the four neighbouring  
    587587$A_u^{vm} {and}\;A_v^{vm}$ (up to $1\;m^2s^{-1})$. These large values  
    588588restore the static stability of the water column in a way similar to that of the  
     
    590590in the vicinity of the sea surface (first ocean layer), the eddy coefficients  
    591591computed by the turbulent closure scheme do not usually exceed $10^{-2}m.s^{-1}$,  
    592 because the mixing length scale is bounded by the distance to the sea surface  
    593 (see \S\ref{ZDF_tke}). It can thus be useful to combine the enhanced vertical  
     592because the mixing length scale is bounded by the distance to the sea surface.  
     593It can thus be useful to combine the enhanced vertical  
    594594diffusion with the turbulent closure scheme, $i.e.$ setting the \np{ln\_zdfnpc}  
    595 namelist parameter to true and defining the \key{zdftke} CPP key all together. 
     595namelist parameter to true and defining the turbulent closure CPP key all together. 
    596596 
    597597The KPP turbulent closure scheme already includes enhanced vertical diffusion  
     
    603603% Double Diffusion Mixing 
    604604% ================================================================ 
    605 \section  [Double Diffusion Mixing (\textit{zdfddm} - \key{zdfddm})] 
    606       {Double Diffusion Mixing (\mdl{zdfddm} module - \key{zdfddm})} 
     605\section  [Double Diffusion Mixing (\key{zdfddm})] 
     606      {Double Diffusion Mixing (\key{zdfddm})} 
    607607\label{ZDF_ddm} 
    608608 
     
    617617parameterisation of such phenomena in a global ocean model and show that  
    618618it leads to relatively minor changes in circulation but exerts significant regional  
    619 influences on temperature and salinity.  
     619influences on temperature and salinity. This parameterisation has been  
     620introduced in \mdl{zdfddm} module and is controlled by the \key{zdfddm} CPP key. 
    620621 
    621622Diapycnal mixing of S and T are described by diapycnal diffusion coefficients  
     
    625626\end{align*} 
    626627where subscript $f$ represents mixing by salt fingering, $d$ by diffusive convection,  
    627 and $o$ by processes other than double diffusion. The rates of double-diffusive mixing depend on the buoyancy ratio $R_\rho = \alpha \partial_z T / \beta \partial_z S$,  
     628and $o$ by processes other than double diffusion. The rates of double-diffusive  
     629mixing depend on the buoyancy ratio $R_\rho = \alpha \partial_z T / \beta \partial_z S$,  
    628630where $\alpha$ and $\beta$ are coefficients of thermal expansion and saline  
    629631contraction (see \S\ref{TRA_eos}). To represent mixing of $S$ and $T$ by salt  
     
    921923% Tidal Mixing 
    922924% ================================================================ 
    923 \section{Tidal Mixing} 
     925\section{Tidal Mixing (\key{zdftmx})} 
    924926\label{ZDF_tmx} 
    925927 
     
    994996%        Indonesian area specific treatment  
    995997% ------------------------------------------------------------------------------------------------------------- 
    996 \subsection{Indonesian area specific treatment} 
     998\subsection{Indonesian area specific treatment (\np{ln\_zdftmx\_itf})} 
    997999\label{ZDF_tmx_itf} 
    9981000 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Chapters/Introduction.tex

    r2282 r2349  
    3737are used throughout. 
    3838 
    39 The following chapters deal with the discrete equations. Chapter~\ref{DOM} presents the  
    40 space and time domain. The model is discretised on a staggered grid (Arakawa C grid)  
    41 with masking of land areas and uses a Leap-frog environment for time-stepping. Vertical  
    42 discretisation used depends on both how the bottom topography is represented and  
     39The following chapters deal with the discrete equations. Chapter~\ref{STP} presents the  
     40time domain. The model time stepping environment is a three level scheme in which  
     41the tendency terms of the equations are evaluated either centered  in time, or forward,  
     42or backward depending of the nature of the term. 
     43Chapter~\ref{DOM} presents the space domain. The model is discretised on a staggered grid  
     44(Arakawa C grid) with masking of land areas and uses a Leap-frog environment for time-stepping.  
     45Vertical discretisation used depends on both how the bottom topography is represented and  
    4346whether the free surface is linear or not. Full step or partial step $z$-coordinate or  
    4447$s$- (terrain-following) coordinate is used with linear free surface (level position are then  
     
    4750function of the sea surface heigh). The following two chapters (\ref{TRA} and \ref{DYN})  
    4851describe the discretisation of the prognostic equations for the active tracers and the  
    49 momentum. Explicit, split-explicit and implicit free surface formulations are implemented  
    50 as well as rigid-lid case. A number of numerical schemes are available for momentum  
    51 advection, for the computation of the pressure gradients, as well as for the advection of  
    52 tracers (second or higher order advection schemes, including positive ones). 
     52momentum. Explicit, split-explicit and filtered free surface formulations are implemented.  
     53A number of numerical schemes are available for momentum advection, for the computation  
     54of the pressure gradients, as well as for the advection of tracers (second or higher  
     55order advection schemes, including positive ones). 
    5356 
    5457Surface boundary conditions (chapter~\ref{SBC}) can be implemented as prescribed 
     
    5861with a sea ice model (LIM) and with biogeochemistry models (PISCES, LOBSTER).  
    5962Interactive coupling to Atmospheric models is possible via the OASIS coupler  
    60 \citep{OASIS2006}.  
     63\citep{OASIS2006}. Two-way nesting is also available through an interface to the 
     64AGRIF package (Adaptative Grid Refinement in \textsc{Fortran}) \citep{Debreu_al_CG2008}. 
    6165 
    6266Other model characteristics are the lateral boundary conditions (chapter~\ref{LBC}).   
     
    7276space and time variable coefficient \citet{Treguier1997}. The model has vertical harmonic  
    7377viscosity and diffusion with a space and time variable coefficient, with options to compute  
    74 the coefficients with \citet{Blanke1993}, \citet{Large_al_RG94}, or \citet{Pacanowski_Philander_JPO81} mixing  
    75 schemes. 
     78the coefficients with \citet{Blanke1993}, \citet{Large_al_RG94}, \citet{Pacanowski_Philander_JPO81},  
     79or \citet{Umlauf_Burchard_JMS03} mixing schemes. 
    7680 
    77 Specific online diagnostics (not documented yet) are available in the model: output of all  
     81Chapter~\ref{OBS} describes a tool which reads in observation files (profile temperature and salinity,  
     82sea surface temperature, sea level anomaly and sea ice concentration) and calculates an interpolated  
     83model equivalent value at the observation location and nearest model timestep. Originally  
     84developed of data assimilation, it is a fantastic tool for model and data comparison. 
     85Other Specific online diagnostics (not documented yet) are available in the model: output of all  
    7886the tendencies of the momentum and tracers equations, output of tracers tendencies  
    79 averaged over the time evolving mixed layer. 
     87averaged over the time evolving mixed layer, output of the tendencies of the barotropic  
     88vorticity equation, on-line floats trajectories... 
    8089 
    8190The model is implemented in \textsc{Fortran 90}, with preprocessing (C-pre-processor).  
     
    8594readability of the code it is necessary to follow coding rules. The coding rules for OPA  
    8695include conventions for naming variables, with different starting letters for different types  
    87 of variables (real, integer, parameter\ldots). Those rules are presented in a document  
    88 available on the \NEMO web site. 
     96of variables (real, integer, parameter\ldots). Those rules are briefly presented in  
     97Appendix~\ref{Apdx_D} and a more complete document is available on the \NEMO web site. 
    8998 
    9099The model is organized with a high internal modularity based on physics. For example,  
    91100each trend ($i.e.$, a term in the RHS of the prognostic equation) for momentum and  
    92101tracers is computed in a dedicated module.  To make it easier for the user to find his way  
    93 around the code, the module names follow a three-letter rule. For example, \mdl{tradmp}  
    94 is a module related to the TRAcers equation, computing the DaMPing. The complete list  
    95 of module names is presented in Appendix~\ref{Apdx_D}. Furthermore, modules are  
    96 organized in a few directories that correspond to their category, as indicated by the first  
    97 three letters of their name.  
     102around the code, the module names follow a three-letter rule. For example, \mdl{traldf}  
     103is a module related to the TRAcers equation, computing the Lateral DiFfussion.  
     104The complete list of module names is presented in Appendix~\ref{Apdx_D}.  
     105Furthermore, modules are organized in a few directories 
     106 that correspond to their category, as indicated by the first three letters of their name.  
    98107 
    99 The manual mirrors the organization of the model. After the presentation of the  
    100 continuous equations (Chapter \ref{PE}), the following chapters refer to specific terms of  
    101 the equations each associated with a group of modules . 
     108The manual mirrors the organization of the model.  
     109After the presentation of the continuous equations (Chapter \ref{PE}), the following chapters  
     110refer to specific terms of the equations each associated with a group of modules . 
    102111 
    103112 
     
    105114%\begin{center} \begin{tabular}{|p{143pt}|l|l|} \hline 
    106115\begin{center} \begin{tabular}{|l|l|l|}   \hline 
     116Chapter \ref{STP} & -                 & model time STePping environment \\    \hline 
    107117Chapter \ref{DOM} & DOM    & model DOMain \\    \hline 
    108118Chapter \ref{TRA} & TRA    & TRAcer equations (potential temperature and salinity) \\   \hline 
    109119Chapter \ref{DYN} & DYN    & DYNamic equations (momentum) \\      \hline 
    110120Chapter \ref{SBC}    & SBC    & Surface Boundary Conditions \\       \hline 
    111 Chapter \ref{LBC} & LBC    & Lateral Boundary Conditions \\      \hline 
     121Chapter \ref{LBC} & LBC    & Lateral Boundary Conditions (also OBC and BDY) \\     \hline 
    112122Chapter \ref{LDF} & LDF    & Lateral DiFfusion (parameterisations) \\   \hline 
    113 Chapter \ref{ZDF} & ZDF    & Vertical DiFfusion  \\      \hline 
    114 Chapter \ref{MISC}   & ...    & Miscellaneous  topics  \\         \hline 
     123Chapter \ref{ZDF} & ZDF    & vertical (Z) DiFfusion  \\     \hline 
     124Chapter \ref{OBS} & OBS    & OBServation and model comparison  \\    \hline 
     125Chapter \ref{ASM} & ASM    & ASsimilation increment  \\     \hline 
     126Chapter \ref{MISC}   & ...    & Miscellaneous  topics (DIA, DTA, IOM, SOL, TRD, FLO...)    \\         \hline 
    115127\end{tabular}  \end{center} 
    116128\end{table} 
    117129 
    118 In the current release (v3.0), the LBC directory does not yet exist.  
    119 When created LBC will contain the OBC directory (Open Boundary Condition),  
    120 and the \mdl{lbclnk}, \mdl{mppini} and \mdl{lib\_mpp} modules.  
    121  
    122130 \vspace{1cm}   Nota Bene : \vspace{0.25cm} 
    123131 
    124 OPA, like all research tools, is in perpetual evolution. The present document describes  
    125 the OPA version include in the release 3.2 of NEMO. This release differs significantly 
    126 from version 8, documented in \citet{Madec1998}. The main modifications are :\\ 
     132\subsubsection{Changes between releases} 
     133NEMO/OPA, like all research tools, is in perpetual evolution. The present document describes  
     134the OPA version include in the release 3.3 of NEMO.  This release differs significantly 
     135from version 8, documented in \citet{Madec1998}. 
     136 
     137$\bullet$ The main modifications from OPA v8 and NEMO/OPA v3.2 are :\\ 
    127138(1) transition to full native \textsc{Fortran} 90, deep code restructuring and drastic  
    128139reduction of CPP keys; \\ 
    129 (2) introduction of partial step representation of bottom topography \citep{Barnier_al_OD06}; \\ 
     140(2) introduction of partial step representation of bottom topography \citep{Barnier_al_OD06, Le_Sommer_al_OM09, Penduff_al_OS07}; \\ 
    130141(3) partial reactivation of a terrain-following vertical coordinate ($s$- and hybrid $s$-$z$)  
    131142with the addition of several options for pressure gradient computation \footnote{Partial  
     
    148159new thermodynamics including bulk ice salinity) \citep{Vancoppenolle_al_OM09a, Vancoppenolle_al_OM09b} 
    149160 
    150 In addition, several minor modifications in the coding have been introduced with the constant concern of improving performance on both scalar and vector computers.  
     161 \vspace{1cm} 
     162$\bullet$ The main modifications from NEMO/OPA v3.2 and  v3.2 are :\\ 
     163(1) introduction of a modified leapfrog-Asselin filter time stepping scheme \citep{Leclair_Madec_OM09}; \\ 
     164(2) additional scheme for  iso-neutral mixing \citep{Griffies_al_JPO98}, although it is still a "work in progress"; \\ 
     165(3) a rewriting of the bottom boundary scheme, following \citet{Campin_Goosse_Tel99}; \\ 
     166(4) addition of the atmospheric pressure as an external forcing on both ocean and sea-ice dynamics; \\ 
     167(5) addition of a diurnal cycle on solar radiation \citep{Bernie_al_CD07}; \\ 
     168(6) addition of an on-line observation and model comparison (thanks to NEMOVAR project); \\ 
     169(7) optional application of an assimilation increment (thanks to NEMOVAR project); \\ 
     170(8) introduction of .....     
    151171 
     172 \vspace{1cm} 
     173In addition, several minor modifications in the coding have been introduced with the constant  
     174concern of improving the model performance.  
     175 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Namelist/namasm

    r2298 r2349  
    11!----------------------------------------------------------------------- 
    2 !       nam_asminc    assimilation increments namelist 
     2&namasm_inc    !   Assimilation increments                               ("key_asminc") 
    33!----------------------------------------------------------------------- 
    4 ! ln_bkgwri   Logical switch for writing out background state  
    5 ! ln_trjwri   Logical switch for writing out state trajectory 
    6 ! ln_trainc   Logical switch for applying tracer increments 
    7 ! ln_dyninc   Logical switch for applying velocity increments 
    8 ! ln_sshinc   Logical switch for applying SSH increments  
    9 ! ln_asmdin   Logical switch for Direct Initialization (DI) 
    10 ! ln_asmiau   Logical switch for Incremental Analysis Updating (IAU) 
    11 ! nitbkg      Timestep of background in [0,nitend-nit000-1] 
    12 ! nitdin      Timestep of background for DI in [0,nitend-nit000-1] 
    13 ! nitiaustr   Timestep of start of IAU interval in [0,nitend-nit000-1] 
    14 ! nitiaufin   Timestep of end of IAU interval in [0,nitend-nit000-1] 
    15 ! niaufn      Type of IAU weighting function 
    16 ! nittrjfrq   Frequency of trajectory output for 4D-VAR 
    17 ! ln_salfix   Logical switch for ensuring that the sa > salfixmin 
    18 ! salfixmin   Minimum salinity after applying the increments 
    19 &nam_asminc 
    20     ln_bkgwri = .true. 
    21     ln_trjwri = .false. 
    22     ln_trainc = .false. 
    23     ln_dyninc = .false. 
    24     ln_sshinc = .false. 
    25     ln_asmdin = .false. 
    26     ln_asmiau = .false. 
    27     nitbkg = 0 
    28     nitdin = 0 
    29     nitiaustr = 1 
    30     nitiaufin = 150 
    31     niaufn = 0 
    32     nittrjfrq = 0 
    33     ln_salfix = .false. 
    34     salfixmin = -9999 
     4   ln_bkgwri   = .false.   ! write out background state (T) or not (F) 
     5   ln_trjwri   = .false.   ! write out state trajectory (T) or not (F) 
     6   ln_trainc   = .false.   ! apply tracer increments (T) or not (F) 
     7   ln_dyninc   = .false.   ! apply velocity increments (T) or not (F) 
     8   ln_sshinc   = .false.   ! applying SSH increments  (T) or not (F) 
     9   ln_asmdin   = .false.   ! DI: Direct Initialization (T) or not (F) 
     10   ln_asmiau   = .false.   ! IAU: Incremental Analysis Updating (T) or not (F) 
     11   nitbkg      =  0        ! timestep of background in [0,nitend-nit000-1] 
     12   nitdin      =  0        ! timestep of background for DI in [0,nitend-nit000-1] 
     13   nitiaustr   =  1        ! timestep of start of IAU interval in [0,nitend-nit000-1] 
     14   nitiaufin   = 15        ! timestep of end of IAU interval in [0,nitend-nit000-1] 
     15   niaufn      =  0        ! type of IAU weighting function 
     16   nittrjfrq   =  0        ! frequency of trajectory output for 4D-VAR 
     17   ln_salfix   = .false.   ! ensure that the sa > salfixmin (T) or not (F) 
     18   salfixmin   = -9999     ! Minimum salinity after applying the increments 
    3519/ 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Namelist/nambdy

    r2282 r2349  
    22&nambdy        !  unstructured open boundaries                          ("key_bdy") 
    33!----------------------------------------------------------------------- 
    4     filbdy_mask    =  ''                  !  name of mask file (if ln_bdy_mask=.TRUE.) 
    5     filbdy_data_T  = 'bdydata_grid_T.nc'  !  name of data file (T-points) 
    6     filbdy_data_U  = 'bdydata_grid_U.nc'  !  name of data file (U-points) 
    7     filbdy_data_V  = 'bdydata_grid_V.nc'  !  name of data file (V-points) 
    8     filbdy_data_bt_T  = 'bdydata_bt_grid_T.nc'  !  name of data file for Flather condition (T-points) 
    9     filbdy_data_bt_U  = 'bdydata_bt_grid_U.nc'  !  name of data file for Flather condition (U-points) 
    10     filbdy_data_bt_V  = 'bdydata_bt_grid_V.nc'  !  name of data file for Flather condition (V-points) 
    11     ln_bdy_clim    = .false.              !  contain 1 (T) or 12 (F) time dumps and be cyclic 
    12     ln_bdy_vol     = .true.               !  total volume correction (see volbdy parameter) 
    13     ln_bdy_mask    = .false.              !  boundary mask from filbdy_mask (T) or boundaries are on edges of domain (F) 
    14     ln_bdy_tides   = .true.               !  Apply tidal harmonic forcing with Flather condition 
    15     ln_bdy_dyn_fla = .true.               !  Apply Flather condition to velocities 
    16     ln_bdy_tra_frs = .false.              !  Apply FRS condition to temperature and salinity  
    17     ln_bdy_dyn_frs = .false.              !  Apply FRS condition to velocities 
    18     nbdy_dta       =  1                   !  = 0, bdy data are equal to the initial state 
    19                                           !  = 1, bdy data are read in 'bdydata   .nc' files 
    20     nb_rimwidth    = 9                    !  width of the relaxation zone 
    21     volbdy         = 0                    !  = 0, the total water flux across open boundaries is zero 
    22                                           !  = 1, the total volume of the system is conserved 
     4   cn_mask       =  ''                    !  name of mask file (if ln_bdy_mask=.TRUE.) 
     5   cn_dta_frs_T  = 'bdydata_grid_T.nc'    !  name of data file (T-points) 
     6   cn_dta_frs_U  = 'bdydata_grid_U.nc'    !  name of data file (U-points) 
     7   cn_dta_frs_V  = 'bdydata_grid_V.nc'    !  name of data file (V-points) 
     8   cn_dta_fla_T  = 'bdydata_bt_grid_T.nc' !  name of data file for Flather condition (T-points) 
     9   cn_dta_fla_U  = 'bdydata_bt_grid_U.nc' !  name of data file for Flather condition (U-points) 
     10   cn_dta_fla_V  = 'bdydata_bt_grid_V.nc' !  name of data file for Flather condition (V-points) 
     11   ln_clim       = .false.                !  contain 1 (T) or 12 (F) time dumps and be cyclic 
     12   ln_vol        = .true.                 !  total volume correction (see volbdy parameter) 
     13   ln_mask       = .false.                !  boundary mask from filbdy_mask (T) or boundaries on edges of domain (F) 
     14   ln_tides      = .true.                 !  Apply tidal harmonic forcing with Flather condition 
     15   ln_dyn_fla    = .true.                 !  Apply Flather condition to velocities 
     16   ln_tra_frs    = .false.                !  Apply FRS condition to temperature and salinity  
     17   ln_dyn_frs    = .false.                !  Apply FRS condition to velocities 
     18   nn_rimwidth   =  9                     !  width of the relaxation zone 
     19   nn_dtactl     =  1                     !  bdy data read in 'bdydata_...nc' (=1) or set to the initial state (=0) 
     20   nn_volctl     =  0                     !  set to zero the net flux across open boundaries (=0) including E-P-R (=1) 
    2321/ 
    2422 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Namelist/namsbc

    r2282 r2349  
    44   nn_fsbc     = 5         !  frequency of surface boundary condition computation  
    55                           !               (= the frequency of sea-ice model call) 
    6    ln_ana      = .false.   !  analytical formulation (T => fill namsbc_ana )  
    7    ln_flx      = .false.   !  flux formulation       (T => fill namsbc_flx ) 
    8    ln_blk_clio = .true.    !  CLIO bulk formulation  (T => fill namsbc_clio)  
    9    ln_blk_core = .false.   !  CORE bulk formulation  (T => fill namsbc_core)  
    10    ln_cpl      = .false.   !  Coupled formulation    (T => fill namsbc_cpl ) 
     6   ln_ana      = .false.   !  analytical formulation                    (T => fill namsbc_ana )  
     7   ln_flx      = .false.   !  flux formulation                          (T => fill namsbc_flx ) 
     8   ln_blk_clio = .true.    !  CLIO bulk formulation                     (T => fill namsbc_clio)  
     9   ln_blk_core = .false.   !  CORE bulk formulation                     (T => fill namsbc_core)  
     10   ln_cpl      = .false.   !  Coupled formulation                       (T => fill namsbc_cpl ) 
     11   ln_apr_blk  = .false.   !  Patm used in bulk formulation             (T => fill namsbc_apr ) 
     12   ln_apr_dyn  = .false.   !  Patm gradient added in ocean & ice Eqs.   (T => fill namsbc_apr ) 
    1113   nn_ice      = 2         !  =0 no ice boundary condition   , 
    1214                           !  =1 use observed ice-cover      , 
    13                            !  =2 ice-model used                             ("key_lim3" or "key_lim2) 
     15                           !  =2 ice-model used                         ("key_lim3" or "key_lim2) 
    1416   nn_ico_cpl  = 0         !  ice-ocean coupling : =0 each nn_fsbc  
    15                            !                       =1 stresses recomputed each ocean time step ("key_lim3" only) 
    16                            !                       =2 combination of 0 and 1 cases             ("key_lim3" only) 
     17                           !                       =1 stress recomputed each ocean time step ("key_lim3" only) 
     18                           !                       =2 combination of 0 and 1 cases           ("key_lim3" only) 
    1719   ln_dm2dc    = .false.   !  daily mean to diurnal cycle short wave (qsr) 
    18    ln_rnf      = .true.    !  runoffs (T => fill namsbc_rnf) 
    19    ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S (T => fill namsbc_ssr) 
     20   ln_rnf      = .true.    !  runoffs                                   (T => fill namsbc_rnf) 
     21   ln_ssr      = .true.    !  Sea Surface Restoring on T and/or S       (T => fill namsbc_ssr) 
    2022   nn_fwb      = 3         !  FreshWater Budget: =0 unchecked  
    21                            !                     =1 global mean of e-p-r set to zero at each time step  
    22                            !                     =2 annual global mean of e-p-r set to zero 
    23                            !                     =3 global emp set to zero and spread out over erp area 
     23                           !                     =1 set to zero at each time step  
     24                           !                     =2 set to zero in annual mean 
     25                           !                     =3 as in case 1 but spread out over erp area 
    2426/ 
  • branches/nemo_v3_3_beta/DOC/TexFiles/Namelist/namzdf_gls

    r2298 r2349  
    22&namzdf_gls                !   GLS vertical diffusion                   ("key_zdfgls") 
    33!----------------------------------------------------------------------- 
    4    rn_emin      1.e-6   !  minimum value of e   [m2/s2] 
    5    rn_epsmin    1.e-12  !  minimum value of eps [m2/s3] 
     4   rn_emin       = 1.e-6   !  minimum value of e   [m2/s2] 
     5   rn_epsmin     = 1.e-12  !  minimum value of eps [m2/s3] 
    66   ln_length_lim = .true.  !  limit on the dissipation rate under stable stratification (Galperin et al., 1988) 
    7    clim_galp   =  0.53    !  galperin limit 
    8    ln_crban = .TRUE.       !  Use Craig & Banner (1994) surface wave mixing parametrisation 
    9    ln_sigpsi = .TRUE.      !  Activate or not Burchard 2001 mods on psi schmidt number in the wb case 
    10    rn_crban = 100.         !  Craig and Banner 1994 constant for wb tke flux 
    11    rn_charn =  70000.      !  Charnock constant for wb induced roughness length 
    12    nn_tkebc_surf  =   1    !  surface tke condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg) 
    13    nn_tkebc_bot   =   1    !  bottom tke condition (0/1=Dir/Neum) 
    14    nn_psibc_surf  =   1    !  surface psi condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg) 
    15    nn_psibc_bot   =   1    !  bottom psi condition (0/1=Dir/Neum) 
    16    nn_stab_func   =   2    !  stability function (0=Galp, 1= KC94, 2=CanutoA, 3=CanutoB) 
    17    nn_clos        =   1    !  predefined closure type (0=MY82, 1=k-eps, 2=k-w, 3=Gen) 
     7   rn_clim_galp  = 0.53    !  galperin limit 
     8   ln_crban      = .true.  !  Use Craig & Banner (1994) surface wave mixing parametrisation 
     9   ln_sigpsi     = .true.  !  Activate or not Burchard 2001 mods on psi schmidt number in the wb case 
     10   rn_crban      = 100.    !  Craig and Banner 1994 constant for wb tke flux 
     11   rn_charn      = 70000.  !  Charnock constant for wb induced roughness length 
     12   nn_tkebc_surf = 1       !  surface tke condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg) 
     13   nn_tkebc_bot  = 1       !  bottom tke condition (0/1=Dir/Neum) 
     14   nn_psibc_surf = 1       !  surface psi condition (0/1/2=Dir/Neum/Dir Mellor-Blumberg) 
     15   nn_psibc_bot  = 1       !  bottom psi condition (0/1=Dir/Neum) 
     16   nn_stab_func  = 2       !  stability function (0=Galp, 1= KC94, 2=CanutoA, 3=CanutoB) 
     17   nn_clos       = 1       !  predefined closure type (0=MY82, 1=k-eps, 2=k-w, 3=Gen) 
    1818/ 
  • branches/nemo_v3_3_beta/DOC/TexFiles/math_abbrev.sty

    r2285 r2349  
    1212\newcommand{\ew}[3]{{e_{3#1}}_{\,#2}^{\,#3} } 
    1313\newcommand{\vect}[1]{ \rm{\textbf{#1}} }    % vector style: non-italic bold 
     14\def\deg{\degres}                            % degrees  (NB: \r{} can also be used) 
Note: See TracChangeset for help on using the changeset viewer.