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 8938 for branches/2017/dev_CNRS_2017/DOC/TexFiles – NEMO

Ignore:
Timestamp:
2017-12-07T17:07:09+01:00 (7 years ago)
Author:
flavoni
Message:

update DOC: Configurations & Domain

Location:
branches/2017/dev_CNRS_2017/DOC/TexFiles
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_CNRS_2017/DOC/TexFiles/Chapters/Chap_CFG.tex

    r8882 r8938  
    2424research purposes. The reference configurations also provide a sense for some of the options available  
    2525in the code, though by no means are all options exercised in the reference configurations. 
    26  
    27 Configuration is defined mainly through the \ngn{namcfg}  namelist variables: 
    28 \sfcomment {Here change namcfg part of namelist. Configuration is defined throughout domain\_cfg.nc file now}   
    2926 
    3027%------------------------------------------namcfg---------------------------------------------------- 
     
    8986the LIM sea-ice model (ORCA-LIM) and possibly with PISCES biogeochemical model  
    9087(ORCA-LIM-PISCES), using various resolutions. 
    91 The appropriate namelist is available in \textit{CONFIG/ORCA2\_LIM3\_PISCES/EXP00/namelist\_cfg}  
    92 for ORCA2 and in \textit{CONFIG/SHARED/README\_configs\_namcfg\_namdom}  \sfcomment {not really true, they are obsolete namelists, where find these informations?}   
    93 for other resolutions 
    94  
     88An appropriate namelist is available in \textit{CONFIG/ORCA2\_LIM3\_PISCES/EXP00/namelist\_cfg}  
     89for ORCA2. 
     90The domain of ORCA2 configuration is defined in ORCA\_R2\_zps\_domcfg.nc file, this file is available in tar file in the wiki of NEMO : \\ 
     91https://forge.ipsl.jussieu.fr/nemo/wiki/Users/ReferenceConfigurations/ORCA2\_LIM3\_PISCES \\ 
     92In this namelist\_cfg the name of domain input file is set in \ngn{namcfg} block of namelist.  
    9593 
    9694%>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     
    157155The NEMO system is provided with five built-in ORCA configurations which differ in the  
    158156horizontal resolution. The value of the resolution is given by the resolution at the Equator  
    159 expressed in degrees. Each of configuration is set through the \textit{domain\_cfg} file,  
    160 which sets the grid size and configuration name parameters \sfcomment {I would like to change tab_ORCA but I can not find it, wrong jp_cfg}   
    161  (Tab. \ref{Tab_ORCA}). 
     157expressed in degrees. Each of configuration is set through the \textit{domain\_cfg} domain configuration file,  
     158which sets the grid size and configuration name parameters. The NEMO System Team provides only ORCA2 domain input file "ORCA\_R2\_zps\_domcfg.nc" file  (Tab. \ref{Tab_ORCA}). 
    162159 
    163160 
     
    179176\end{tabular} 
    180177\caption{ \label{Tab_ORCA}    
    181 Set of predefined parameters for ORCA family configurations. 
    182 In all cases, the flag for configurations of ORCA family is set to 1 in \textit{domain\_cfg} } 
     178Domain size of ORCA family configurations. 
     179The flag for configurations of ORCA family need to be set in \textit{domain\_cfg} file. } 
    183180\end{center} 
    184181\end{table} 
  • branches/2017/dev_CNRS_2017/DOC/TexFiles/Chapters/Chap_DOM.tex

    r8882 r8938  
    268268 
    269269The total size of the computational domain is set by the parameters \np{jpiglo},  
    270 \np{jpjglo} and \np{jpkglo} in the $i$, $j$ and $k$ directions respectively. They are  
    271 given as namelist variables in the \ngn{namcfg} namelist.  
     270\np{jpjglo} and \np{jpkglo} in the $i$, $j$ and $k$ directions respectively.  
    272271%%% 
    273272%%% 
     
    278277 
    279278$\ $\newline    % force a new line 
    280  
    281 %%% 
    282 \sfcomment {Hereafter I want to create new subsection 4.2: "fields needed by opa engine or something like this" 
    283 and add list of fields : 
    284 case 1: read in domain.nc 
    285 case 2: defined in userdef\_hrg\/zgr.F90 
    286 longitude, latitude, domaine size  
    287 number of points 
    288 factor scales (e1, e2, e3) 
    289 coriolis 
    290 k\_top, k\_bottom (first and last ocean level) 
    291 periodicity 
    292 } 
    293 %%% 
    294279 
    295280% ================================================================ 
     
    303288The grid-points are located at integer or integer and a half values of as indicated  
    304289in Table~\ref{Tab_cell}. The associated scale factors are defined using the   
    305 analytical first derivative of the transformation \eqref{Eq_scale_factors}. These  
    306 definitions are done in two modules given by example, \mdl{userdef\_hgr} and \mdl{userdef\_zgr}, which  
    307 provide the horizontal and vertical meshes, respectively. Otherwise all needed fields can be read in file \np{cn\_domcfg} specified in \ngn{namcfg}. 
     290analytical first derivative of the transformation \eqref{Eq_scale_factors}.  
     291Necessary fields for configuration definition are: \\ 
     292Geographic position : 
     293 
     294longitude : glamt , glamu , glamv and glamf  (at T, U, V and F point) 
     295 
     296latitude : gphit , gphiu , gphiv and gphif (at T, U, V and F point)\\ 
     297Coriolis parameter (if domain not on the sphere):  
     298 
     299 ff\_f  and  ff\_t (at T and F point)\\ 
     300Scale factors :  
    308301  
    309 The needed fields for domain are:  
    310  
    311 geographic position : 
    312  
    313 longitude : glamt , glamu , glamv and glamf  (at T, U, V and F point) 
    314  
    315 latitude : gphit , gphiu , gphiv and gphif (at T, U, V and F point) 
    316  
    317 Coriolis parameter (if domain not on the sphere):  ff\_f  and  ff\_t (at T and F point) 
    318  
    319 Scale factors : e1t, e1u, e1v and e1f (on i direction), 
    320  
    321    e2t, e2u, e2v and e2f (on j direction) 
    322  
    323    and ie1e2u\_v, e1e2u , e1e2v    
    324  
    325 %%% 
    326 \sfcomment { 
    327 say something about ie1e2u\_v, e1e2u , e1e2v 
    328  
    329 and add list of fields : 
    330 case 1: read in domain.nc 
    331 case 2: defined in userdef\_hrg\/zgr.F90 
    332 longitude, latitude, domaine size 
    333 number of points 
    334 factor scales (e1, e2, e3) 
    335 coriolis 
    336 k\_top, k\_bottom (first and last ocean level) 
    337 periodicity 
    338 ---- 
    339         int ORCA ; 
    340    int ORCA\_index ; 
    341    int jpiglo ; j, k 
    342    int jperio ; 
    343    int ln_zco ; zps, sco 
    344    int ln_isfcav ; 
    345    double glamt(t, y, x) ; u,v,f 
    346    double gphit(t, y, x) ; u,v,f 
    347    double e1t(t, y, x) ; u,v,w, 
    348    double e2t(t, y, x) ; u,v,w 
    349    double ff\_f(t, y, x) ;  double ff\_t(t, y, x) ; 
    350    double e3t\_1d(t, z) ; 
    351    double e3w\_1d(t, z) ; 
    352    double e3t\_0(t, z, y, x) ; u0, v0 , w0 
    353 ---- 
    354 } 
    355  
     302 e1t, e1u, e1v and e1f (on i direction), 
     303 
     304 e2t, e2u, e2v and e2f (on j direction) 
     305 
     306 and ie1e2u\_v, e1e2u , e1e2v    
     307  
     308e1e2u , e1e2v are u and v surfaces (if gridsize reduction in some straits)\\ 
     309ie1e2u\_v is a flag to flag set u and  v surfaces are neither read nor computed.\\ 
     310  
     311These fields can be read in an domain input file which name is setted in \np{cn\_domcfg} parameter specified in \ngn{namcfg}. 
     312\namdisplay{namcfg} 
     313or they can be defined in an analytical way in MY\_SRC directory of the configuration. 
     314For Reference Configurations of NEMO input domain files are supplied by NEMO System Team. For analytical definition of input fields two routines are supplied: \mdl{userdef\_hgr} and \mdl{userdef\_zgr}. They are an example of GYRE configuration parameters, and they are available in NEMO/OPA\_SRC/USR directory, they provide the horizontal and vertical mesh.  
    356315% ------------------------------------------------------------------------------------------------------------- 
    357316%        Needed fields  
     
    445404\subsection{Choice of horizontal grid} 
    446405\label{DOM_hgr_msh_choice} 
     406 
     407 
     408CAUTION! This part need to be rewritten! no jphgr\_mesh anymore  
    447409 
    448410The user has three options available in defining a horizontal grid, which involve  
  • branches/2017/dev_CNRS_2017/DOC/TexFiles/Top_Matter.tex

    r7646 r8938  
    1717%\date{\today} 
    1818\date{ 
    19 January 2017  \\ 
     19Decembre 2017  \\ 
    2020{\small  -- version 4.0 alpha --} \\ 
    2121~  \\ 
Note: See TracChangeset for help on using the changeset viewer.