source: branches/2017/dev_r8183_ICEMODEL/NEMOGCM/CONFIG @ 8516

Name Size Rev Age Author Last Change
../
AMM12 7646   4 years timgraham Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2. …
C1D_PAPA 7646   4 years timgraham Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2. …
GYRE_BFM 7715   4 years flavoni #1850 commit new list of REFERENCE CONFIGURATIONS, and SETTE tests
GYRE_PISCES 8018   4 years flavoni add missing key iomput for GYRE_PISCES, and add needed values for ISOMIP …
ORCA2_LIM3_PISCES 8516   3 years clem changes in style - part5 - I think I can see the end of the tunnel
ORCA2_OFF_PISCES 7646   4 years timgraham Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2. …
ORCA2_OFF_TRC 7646   4 years timgraham Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2. …
ORCA2_SAS_LIM3 8321   3 years clem STEP3 (1): clean separation between sea-ice and ocean
SHARED 8516   3 years clem changes in style - part5 - I think I can see the end of the tunnel
TEST_CASES 8321   3 years clem STEP3 (1): clean separation between sea-ice and ocean
cfg.txt 264 bytes 7715   4 years flavoni #1850 commit new list of REFERENCE CONFIGURATIONS, and SETTE tests
makenemo 11.6 KB 7756   4 years timgraham Modification to makenemo and sette.sh so that ORCA2_LIM3_OBS and AGRIF …
README-setup-configs 3.3 KB 7715   4 years flavoni #1850 commit new list of REFERENCE CONFIGURATIONS, and SETTE tests
uspcfg.txt 386 bytes 6210   5 years acc Add IRISHSEA unsupported configuration details to uspcfg.txt to enable …

README-setup-configs

==============================================================
== HOW TO set up user’s configuration in NEMO version 4.0 : ==
==============================================================
This document describes how a configuration is set up in NEMO.

In NEMO 4.0 two types of configurations can be build: global/regional and idealized.

- create NEMOGCM/CONFIG/your_config
- case 1: regional or global 
    => ln_read_cfg = .true. in NEMOGCM/CONFIG/your_config/EXP00/namelist_cfg (i.e. read domain_cfg.nc)
- case 2: idealized 
    =>in NEMOGCM/CONFIG/your_config/EXP00/namelist_cfg :
      ln_read_cfg = .false. (need to define usrdef_hgr.F90 and usrdef_zgr.F90) 
      ln_usr = .true.       (need to define usrdef_sbc.F90)    
    => copy NEMOGCM/NEMO/OPA_SRC/USR in NEMOGC/CONFIG/your_config/MY_SRC routines nedeed to set up domain, forcing fields and initial state
    
  Routines in NEMOGCM/NEMO/OPA_SRC/USR define analytically the domain, the initial state and the surface boundary conditions for the reference configuration GYRE.
     •   usrdef_hgr.F90 and usrdef_zgr.F90 : define horizontal and vertical grid
     •   usrdef_sbc.F90    : provides at each time-step the surface boundary condition, i.e. the momentum, heat and freshwater fluxes
     •   usrdef_istate.F90 : defines initialization of the dynamics and tracers
     •   usrdef_fmask.F90  : used just in ORCA CONFIGURATIONS for alteration of f-point land/ocean mask in some straits 
     •   usrdef_closea.F90 : used just in ORCA CONFIGURATIONS for specific treatments associated with closed seas
     •   usrdef_nam.F90    : set the domain characteristics of a user configuration

  Other analytical examples are given in NEMOGCM/CONFIG/TEST_CASES.

===========================================
== The domain_cfg.nc file must contain : ==
===========================================
   int ORCA  , ORCA_index            : configuration name, configuration resolution
   int jpiglo, jpjglo , jpkglo       : global domain sizes 
   int jperio                        : lateral global domain b.c. 
   int ln_zco, ln_zps, ln_sco        : flags for z-coordinate, z-coordinate with partial steps and s-coordinate 
   int ln_isfcav                     : flag  for ice shelf cavities 
   double glamt, glamu, glamv, glamf : geographic position 
   double gphit, gphiu, gphiv, gphif : geographic position
   double iff, ff_f, ff_t            : Coriolis parameter (if not on the sphere)
   double e1t, e1u, e1v, e1f         : horizontal scale factors
   double e2t, e2u, e2v, e2f         : horizontal scale factors
   double ie1e2u_v, e1e2u, e1e2v     : U and V surfaces (if grid size reduction in some straits)
   double e3t_1d, e3w_1d             : reference vertical scale factors at T and W points
   double e3t_0, e3u_0, e3v_0, e3f_0, e3w_0 : vertical scale factors 3D coordinate at T,U,V,F and W points
   double e3uw_0,e3vw_0              : vertical scale factors 3D coordinate at UW and VW points
   int bottom_level, top_level       : last wet T-points, 1st wet T-points (for ice shelf cavities)

=======================================
= HOW TO CREATE domain_cfg.nc file : ==
=======================================
Two options are possible :

 - users can create with his own tool the domain_cfg.nc with all mandatory fields.  

 - tool is available in NEMOGCM/TOOLS/DOMAINcfg based on NEMO 3.6 version. See NEMOGCM/TOOLS/DOMAINcfg/README.
Note: See TracBrowser for help on using the repository browser.