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 14178 – NEMO

Changeset 14178


Ignore:
Timestamp:
2020-12-15T22:27:21+01:00 (4 years ago)
Author:
nicolasmartin
Message:

Complement of the previous commit

Location:
NEMO/trunk/doc/latex/NEMO/subfiles
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/doc/latex/NEMO/subfiles/apdx_DOMAINcfg.tex

    r11693 r14178  
    4646 
    4747\begin{listing} 
    48   \nlst{namdom_domcfg} 
     48%  \nlst{namdom_domcfg} 
     49  \begin{forlines} 
     50!----------------------------------------------------------------------- 
     51&namdom        !   space and time domain (bathymetry, mesh, timestep) 
     52!----------------------------------------------------------------------- 
     53   nn_bathy    =    1      !  compute analyticaly (=0) or read (=1) the bathymetry file 
     54                           !  or compute (2) from external bathymetry 
     55   nn_interp   =    1                          ! type of interpolation (nn_bathy =2)                        
     56   cn_topo     =  'bathymetry_ORCA12_V3.3.nc'  ! external topo file (nn_bathy =2) 
     57   cn_bath     =  'Bathymetry'                 ! topo name in file  (nn_bathy =2) 
     58   cn_lon      =  'nav_lon'                    ! lon  name in file  (nn_bathy =2) 
     59   cn_lat      =  'nav_lat'                    ! lat  name in file  (nn_bathy =2) 
     60   rn_scale    = 1 
     61   rn_bathy    =    0.     !  value of the bathymetry. if (=0) bottom flat at jpkm1 
     62   jphgr_msh   =       0               !  type of horizontal mesh 
     63   ppglam0     =  999999.0             !  longitude of first raw and column T-point (jphgr_msh = 1) 
     64   ppgphi0     =  999999.0             ! latitude  of first raw and column T-point (jphgr_msh = 1) 
     65   ppe1_deg    =  999999.0             !  zonal      grid-spacing (degrees) 
     66   ppe2_deg    =  999999.0             !  meridional grid-spacing (degrees) 
     67   ppe1_m      =  999999.0             !  zonal      grid-spacing (degrees) 
     68   ppe2_m      =  999999.0             !  meridional grid-spacing (degrees) 
     69   ppsur       =   -4762.96143546300   !  ORCA r4, r2 and r05 coefficients 
     70   ppa0        =     255.58049070440   ! (default coefficients) 
     71   ppa1        =     245.58132232490   ! 
     72   ppkth       =      21.43336197938   ! 
     73   ppacr       =       3.0             ! 
     74   ppdzmin     =  999999.              !  Minimum vertical spacing 
     75   pphmax      =  999999.              !  Maximum depth 
     76   ldbletanh   =  .FALSE.              !  Use/do not use double tanf function for vertical coordinates 
     77   ppa2        =  999999.              !  Double tanh function parameters 
     78   ppkth2      =  999999.              ! 
     79   ppacr2      =  999999.              ! 
     80/ 
     81  \end{forlines} 
    4982  \caption{\forcode{&namdom_domcfg}} 
    5083  \label{lst:namdom_domcfg} 
     
    383416\subsubsection[$S$-coordinate (\forcode{ln_sco})]{$S$-coordinate (\protect\np{ln_sco}{ln\_sco})} 
    384417\label{sec:DOMCFG_sco} 
     418 
    385419\begin{listing} 
    386   \nlst{namzgr_sco_domcfg} 
     420%  \nlst{namzgr_sco_domcfg} 
    387421  \caption{\forcode{&namzgr_sco_domcfg}} 
    388422  \label{lst:namzgr_sco_domcfg} 
     423  \begin{forlines} 
     424!----------------------------------------------------------------------- 
     425&namzgr_sco    !   s-coordinate or hybrid z-s-coordinate                (default: OFF) 
     426!----------------------------------------------------------------------- 
     427   ln_s_sh94   = .false.    !  Song & Haidvogel 1994 hybrid S-sigma   (T)| 
     428   ln_s_sf12   = .false.   !  Siddorn & Furner 2012 hybrid S-z-sigma (T)| if both are false the NEMO tanh stretching is applied 
     429   ln_sigcrit  = .false.   !  use sigma coordinates below critical depth (T) or Z coordinates (F) for Siddorn & Furner stretch 
     430                           !  stretching coefficients for all functions 
     431   rn_sbot_min =   10.0    !  minimum depth of s-bottom surface (>0) (m) 
     432   rn_sbot_max = 7000.0    !  maximum depth of s-bottom surface (= ocean depth) (>0) (m) 
     433   rn_hc       =  150.0    !  critical depth for transition to stretched coordinates 
     434                        !!!!!!!  Envelop bathymetry 
     435   rn_rmax     =    0.3    !  maximum cut-off r-value allowed (0<r_max<1) 
     436                        !!!!!!!  SH94 stretching coefficients  (ln_s_sh94 = .true.) 
     437   rn_theta    =    6.0    !  surface control parameter (0<=theta<=20) 
     438   rn_bb       =    0.8    !  stretching with SH94 s-sigma 
     439                        !!!!!!!  SF12 stretching coefficient  (ln_s_sf12 = .true.) 
     440   rn_alpha    =    4.4    !  stretching with SF12 s-sigma 
     441   rn_efold    =    0.0    !  efold length scale for transition to stretched coord 
     442   rn_zs       =    1.0    !  depth of surface grid box 
     443                           !  bottom cell depth (Zb) is a linear function of water depth Zb = H*a + b 
     444   rn_zb_a     =    0.024  !  bathymetry scaling factor for calculating Zb 
     445   rn_zb_b     =   -0.2    !  offset for calculating Zb 
     446                        !!!!!!!! Other stretching (not SH94 or SF12) [also uses rn_theta above] 
     447   rn_thetb    =    1.0    !  bottom control parameter  (0<=thetb<= 1) 
     448/ 
     449  \end{forlines} 
    389450\end{listing} 
    390 Options are defined in \nam{zgr_sco}{zgr\_sco} (\texttt{DOMAINcfg} only). 
     451 
     452Options are defined in \forcode{&zgr_sco} (\texttt{DOMAINcfg} only). 
    391453In $s$-coordinate (\np[=.true.]{ln_sco}{ln\_sco}), the depth and thickness of the model levels are defined from 
    392454the product of a depth field and either a stretching function or its derivative, respectively: 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_LBC.tex

    r14113 r14178  
    372372The number of boundary sets is defined by \np{nb_bdy}{nb\_bdy}. 
    373373Each boundary set can be either defined as a series of straight line segments directly in the namelist 
    374 (\np[=.false.]{ln_coords_file}{ln\_coords\_file}, and a namelist block \nam{bdy_index}{bdy\_index} must be included for each set) or read in from a file (\np[=.true.]{ln_coords_file}{ln\_coords\_file}, and a ``\ifile{coordinates.bdy}'' file must be provided). 
     374(\np[=.false.]{ln_coords_file}{ln\_coords\_file}, and a namelist block \forcode{&nambdy_index} must be included for each set) or read in from a file (\np[=.true.]{ln_coords_file}{ln\_coords\_file}, and a ``\ifile{coordinates.bdy}'' file must be provided). 
    375375The coordinates.bdy file is analagous to the usual \NEMO\ ``\ifile{coordinates}'' file. 
    376376In the example above, there are two boundary sets, the first of which is defined via a file and 
     
    569569\autoref{fig:LBC_bdy_geom} shows an example of an irregular boundary. 
    570570 
    571 The boundary geometry for each set may be defined in a namelist nambdy\_index or 
     571The boundary geometry for each set may be defined in a namelist \forcode{&nambdy_index} or 
    572572by reading in a ``\ifile{coordinates.bdy}'' file. 
    573 The nambdy\_index namelist defines a series of straight-line segments for north, east, south and west boundaries. 
    574 One nambdy\_index namelist block is needed for each boundary condition defined by indexes. 
     573The \texttt{nambdy\_index} namelist defines a series of straight-line segments for north, east, south and west boundaries. 
     574One \texttt{nambdy\_index} namelist block is needed for each boundary condition defined by indexes. 
    575575For the northern boundary, \texttt{nbdysegn} gives the number of segments, 
    576576\jp{jpjnob} gives the $j$ index for each segment and \jp{jpindt} and 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_cfgs.tex

    r14113 r14178  
    243243Through \np[=.false.]{ln_read_cfg}{ln\_read\_cfg} in \nam{cfg}{cfg} namelist defined in 
    244244the reference configuration \path{./cfgs/GYRE_PISCES/EXPREF/namelist_cfg} 
    245 analytical definition of grid in GYRE is done in usrdef\_hrg, usrdef\_zgr routines. 
     245analytical definition of grid in GYRE is done in mdl{usrdef\_hrg}, \mdl{usrdef\_zgr} routines. 
    246246Its horizontal resolution (and thus the size of the domain) is determined by 
    247247setting \np{nn_GYRE}{nn\_GYRE} in \nam{usr_def}{usr\_def}: \\ 
     
    254254see the Configurations pages on the \NEMO\ web site (\NEMO\ Configurations). 
    255255In the vertical, GYRE uses the default 30 ocean levels (\jp{jpk}\forcode{ = 31}) (\autoref{fig:DOM_zgr_e3}). 
     256 
     257\begin{listing} 
     258  \begin{forlines} 
     259!----------------------------------------------------------------------- 
     260&namusr_def    !   GYRE user defined namelist   
     261!----------------------------------------------------------------------- 
     262   nn_GYRE     =     1     !  GYRE resolution [1/degrees] 
     263   ln_bench    = .false.   !  ! =T benchmark with gyre: the gridsize is kept constant 
     264   jpkglo      =    31     !  number of model levels 
     265/ 
     266  \end{forlines} 
     267  \caption{\forcode{&namusr_def}} 
     268  \label{lst:namusr_def} 
     269\end{listing} 
    256270 
    257271The GYRE configuration is also used in benchmark test as it is very simple to increase its resolution and 
  • NEMO/trunk/doc/latex/NEMO/subfiles/chap_model_basics_zstar.tex

    r14113 r14178  
    9595which imposes a very small time step when an explicit time stepping is used. 
    9696Two methods are proposed to allow a longer time step for the three-dimensional equations: 
    97 the filtered free surface, which is a modification of the continuous equations %(see \autoref{eq:MB_flt?}), 
     97the filtered free surface, which is a modification of the continuous equations \iffalse (see \autoref{eq:MB_flt?}) \fi , 
    9898and the split-explicit free surface described below. 
    9999The extra term introduced in the filtered method is calculated implicitly, 
Note: See TracChangeset for help on using the changeset viewer.