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 6904 for branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_nam.F90 – NEMO

Ignore:
Timestamp:
2016-09-01T12:17:31+02:00 (8 years ago)
Author:
gm
Message:

#1692 - branch SIMPLIF_2_usrdef: OVERFLOW configuration (zco & sco) + small bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6409_SIMPLIF_2_usrdef/NEMOGCM/CONFIG/OVERFLOW/MY_SRC/usrdef_nam.F90

    r6901 r6904  
    4747      !! ** Method  :   read in namusr_def containing all the user specific namelist parameter 
    4848      !! 
    49       !!                Here OVERFLOW configuration 
     49      !!                Here GYRE configuration 
    5050      !! 
    5151      !! ** input   : - namusr_def namelist found in namelist_cfg 
     
    5555      INTEGER                       , INTENT(out) ::   kperio          ! lateral global domain b.c.  
    5656      ! 
    57       INTEGER ::   ios   ! Local integer 
     57      INTEGER ::   ios, ii   ! Local integer 
    5858      !! 
    5959      NAMELIST/namusr_def/ ln_zco, ln_zps, ln_sco, rn_dx, rn_dz 
    6060      !!---------------------------------------------------------------------- 
     61      ! 
     62      ii = 1 
    6163      ! 
    6264      REWIND( numnam_cfg )          ! Namelist namusr_def (exist in namelist_cfg only) 
     
    6466902   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namusr_def in configuration namelist', .TRUE. ) 
    6567      ! 
    66 !!gm  This does not work...  I don't know how to write namusr_def in "output.namelist.dyn" 
    67       WRITE( ldnam(ii), namusr_def ) 
    68 !!gm 
     68      WRITE( ldnam(:), namusr_def ) 
    6969      ! 
    70       ! Global Domain size:  OVERFLOW domain is 200 km x 3 grid-points x 2000 m 
     70      ! Global Domain size:  OVERFLOW domain is   200 km x 3 grid-points x 2000 m 
    7171      kpi = INT( 200.e3 / rn_dx ) + 2 
    7272      kpj = 3 
     
    7878      WRITE(ldtxt(ii),*) '~~~~~~~~~~~ '                                                                 ;   ii = ii + 1 
    7979      WRITE(ldtxt(ii),*) '   Namelist namusr_def : OVERFLOW test case'                                  ;   ii = ii + 1 
    80       WRITE(ldtxt(ii),*) '      type of vertical coordinate : '                                         ;   ii = ii + 1 
     80      WRITE(ldtxt(ii),*) '      type of vertical coordinate : '                                           ;   ii = ii + 1 
    8181      WRITE(ldtxt(ii),*) '         z-coordinate flag                     ln_zco = ', ln_zco             ;   ii = ii + 1 
    82       WRITE(ldtxt(ii),*) '         z-partial-step coordinate flag        ln_zps = ', ln_sco             ;   ii = ii + 1 
     82      WRITE(ldtxt(ii),*) '         z-partial-step coordinate flag        ln_zps = ', ln_zps             ;   ii = ii + 1 
    8383      WRITE(ldtxt(ii),*) '         s-coordinate flag                     ln_sco = ', ln_sco             ;   ii = ii + 1 
    8484      WRITE(ldtxt(ii),*) '      horizontal resolution                    rn_dx  = ', rn_dx, ' meters'   ;   ii = ii + 1 
    8585      WRITE(ldtxt(ii),*) '      vertical   resolution                    rn_dz  = ', rn_dz, ' meters'   ;   ii = ii + 1 
    86       WRITE(ldtxt(ii),*) '      OVERFLOW domain = 200 km  x  3 grid-points  x  2000 m'                  ;   ii = ii + 1 
     86      WRITE(ldtxt(ii),*) '      OVERFLOW domain = 3 grid-points x 200 km  x 2000 m'                     ;   ii = ii + 1 
    8787      WRITE(ldtxt(ii),*) '         resulting global domain size :        jpiglo = ', kpi                ;   ii = ii + 1 
    8888      WRITE(ldtxt(ii),*) '                                               jpjglo = ', kpj                ;   ii = ii + 1 
     
    9090      ! 
    9191      !                             ! Set the lateral boundary condition of the global domain 
    92       kperio = 0                    ! OVERFLOW configuration : closed domain 
     92      kperio = 0                    ! OVERFLOW configuration : close basin 
    9393      ! 
    9494      WRITE(ldtxt(ii),*) '   '                                                                          ;   ii = ii + 1 
    9595      WRITE(ldtxt(ii),*) '   Lateral boundary condition of the global domain'                           ;   ii = ii + 1 
    96       WRITE(ldtxt(ii),*) '      closed                                   jperio = ', kperio             ;   ii = ii + 1 
     96      WRITE(ldtxt(ii),*) '      east-west cyclic                         jperio = ', kperio             ;   ii = ii + 1 
    9797      ! 
    9898   END SUBROUTINE usr_def_nam 
Note: See TracChangeset for help on using the changeset viewer.