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 13752 for NEMO/branches/2020 – NEMO

Changeset 13752 for NEMO/branches/2020


Ignore:
Timestamp:
2020-11-09T17:03:22+01:00 (3 years ago)
Author:
techene
Message:

#2485 change test case name AM98 => SWG

Location:
NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG
Files:
1 deleted
5 edited
5 copied

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/EXPREF/namelist_cfg

    r13706 r13752  
    22!! NEMO/OCE  Configuration namelist : overwrite reference namelist 
    33!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    4 !!                      AM98 configuration                            !! 
     4!!                       SWG configuration                            !! 
    55!!====================================================================== 
    66!!              ***  Domain & Run management namelists  ***           !! 
     
    2020&namrun        !   parameters of the run 
    2121!----------------------------------------------------------------------- 
    22    cn_exp      =  "AM98"   !  experience name 
     22   cn_exp      =  "SWG"    !  experience name 
    2323   nn_it000    =       1   !  first time step 
    24    nn_itend    =   172800  !  10 ans  - 30 min - AM98 1/4deg 
     24   nn_itend    =   172800  !  10 ans  - 30 min - SWG 1/4deg 
    2525!   nn_itend    =    86400  !  10 ans  - 1h 
    2626   nn_leapy    =      30   !  Leap year calendar (1) or not (0) 
     
    3434/ 
    3535!----------------------------------------------------------------------- 
    36 &namusr_def    !   AM98 user defined namelist   
    37 !----------------------------------------------------------------------- 
    38    nn_AM98     =     4     !  AM98 resolution [1/nn_AM98] 
     36&namusr_def    !   SWG user defined namelist   
     37!----------------------------------------------------------------------- 
     38   nn_SWG      =     4     !  SWG resolution [1/nn_SWG] 
    3939   jpkglo      =     2     !  number of model levels 
    4040   rn_theta    =     0.    !  rotation angle fo the grid [deg] 
     
    6666   ln_linssh   = .false.    !  =T  linear free surface  ==>>  model level are fixed in time 
    6767   ! 
    68 !   rn_Dt      = 3600.     !  1h    - AM98 1 deg 
    69    rn_Dt       = 1800.     !  30min - AM98 1/4deg 
     68!   rn_Dt      = 3600.     !  1h    - SWG 1 deg 
     69   rn_Dt       = 1800.     !  30min - SWG 1/4deg 
    7070   ln_meshmask = .false.   !  =T create a mesh file 
    7171/ 
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/MY_SRC/usrdef_hgr.F90

    r13599 r13752  
    33   !!                     ***  MODULE usrdef_hgr   *** 
    44   !! 
    5    !!                     ===  AM98 configuration  === 
     5   !!                     ===  SWG configuration  === 
    66   !! 
    77   !! User defined :   mesh and Coriolis parameter of a user configuration 
     
    4747      !! ** Method  :   set all intent(out) argument to a proper value 
    4848      !! 
    49       !!                Here AM98 configuration : 
     49      !!                Here SWG configuration : 
    5050      !!          Rectangular mid-latitude domain  
    5151      !!          - with axes rotated by 45 degrees 
     
    7474      !!------------------------------------------------------------------------------- 
    7575      ! 
    76       !     !==  beta-plane with regular grid-spacing and rotated domain ==!  (AM98 configuration) 
     76      !     !==  beta-plane with regular grid-spacing and rotated domain ==!  (SWG configuration) 
    7777      ! 
    7878      IF(lwp) WRITE(numout,*) 
    79       IF(lwp) WRITE(numout,*) 'usr_def_hgr : AM98 configuration (beta-plane with rotated regular grid-spacing)' 
     79      IF(lwp) WRITE(numout,*) 'usr_def_hgr : SWG configuration (beta-plane with rotated regular grid-spacing)' 
    8080      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    8181      ! 
     
    8383      !                       !==  grid point position  ==! 
    8484      ! 
    85       ze1 =  rn_dx / REAL(nn_AM98, wp)                   ! [m] gridspacing used 
     85      ze1 =  rn_dx / REAL(nn_SWG, wp)                    ! [m] gridspacing used 
    8686      zgl =  rn_domsiz + 2._wp * REAL(nn_gc, wp) * ze1   ! [m] length of the square with ghostcells 
    8787      ! fit the best square around the square + ghost cells  
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/MY_SRC/usrdef_istate.F90

    r13615 r13752  
    33   !!                   ***  MODULE  usrdef_istate   *** 
    44   !! 
    5    !!                     ===  AM98 configuration  === 
     5   !!                     ===  SWG configuration  === 
    66   !! 
    77   !! User defined : set the initial state of a user configuration 
     
    3737      !!  
    3838      !! ** Purpose :   Initialization of the dynamics and tracers 
    39       !!                Here AM98 configuration example : (double gyre with rotated domain) 
     39      !!                Here SWG configuration example : (double gyre with rotated domain) 
    4040      !! 
    4141      !! ** Method  : - set temprature field 
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/MY_SRC/usrdef_nam.F90

    r13599 r13752  
    33   !!                     ***  MODULE usrdef_nam   *** 
    44   !! 
    5    !!                     ===  AM98 configuration  === 
     5   !!                     ===  SWG configuration  === 
    66   !! 
    77   !! User defined : set the domain characteristics of a user configuration 
     
    2727   PUBLIC   usr_def_nam   ! called in nemogcm.F90 module 
    2828   !                              !!* namusr_def namelist *!! 
    29    INTEGER , PUBLIC ::   nn_AM98            ! 1/nn_AM98 = the resolution chosen in degrees and thus defining the horizontal domain size 
     29   INTEGER , PUBLIC ::   nn_SWG             ! 1/nn_SWG = the resolution chosen in degrees and thus defining the horizontal domain size 
    3030   REAL(wp), PUBLIC ::   rn_theta           ! rotation angle (in degree) of the grid  
    3131   INTEGER , PUBLIC ::   nn_gc              ! number of ghostcells 
     
    6565      !! ** Method  :   read in namusr_def containing all the user specific namelist parameter 
    6666      !! 
    67       !!                Here AM98 configuration 
     67      !!                Here SWG configuration 
    6868      !! 
    6969      !! ** input   : - namusr_def namelist found in namelist_cfg 
     
    7777      REAL(wp) ::   ze1, zgl, zbl   ! gridspacing, length of the biggest square 
    7878      !! 
    79       NAMELIST/namusr_def/ nn_AM98, rn_theta, jpkglo,           &   !  
     79      NAMELIST/namusr_def/ nn_SWG, rn_theta, jpkglo,            &   !  
    8080         &                 nn_gc ,rn_domsiz, rn_dx,             &   ! domain parameters 
    8181         &                 rn_f0 ,rn_beta,                      &   ! coriolis parameter 
     
    9090      IF(lwm)   WRITE( numond, namusr_def ) 
    9191      ! 
    92       cd_cfg = 'AM98'               ! name & resolution (not used) 
     92      cd_cfg = 'SWG'               ! name & resolution (not used) 
    9393       
    9494#if defined key_agrif 
    95       IF (.NOT.Agrif_root()) nn_AM98 = Agrif_parent(nn_AM98) * Agrif_irhox() 
     95      IF (.NOT.Agrif_root()) nn_SWG = Agrif_parent(nn_SWG) * Agrif_irhox() 
    9696#endif 
    9797 
    98       kk_cfg = nn_AM98 
     98      kk_cfg = nn_SWG 
    9999       ! 
    100       ze1 =  rn_dx / REAL(nn_AM98, wp)                   ! [m] gridspacing used 
     100      ze1 =  rn_dx / REAL(nn_SWG, wp)                    ! [m] gridspacing used 
    101101      zgl =  rn_domsiz + 2._wp * REAL(nn_gc, wp) * ze1   ! [m] length of the square with ghostcells 
    102102      ! rotation 
     
    110110      kpk = jpkglo 
    111111      !                             ! Set the lateral boundary condition of the global domain 
    112       kperio = 0                    ! AM98 configuration : closed domain 
     112      kperio = 0                    ! SWG configuration : closed domain 
    113113      ! 
    114114# if defined key_bvp 
     
    120120         WRITE(numout,*) 'usr_def_nam  : read the user defined namelist (namusr_def) in namelist_cfg' 
    121121         WRITE(numout,*) '~~~~~~~~~~~ ' 
    122          WRITE(numout,*) '   Namelist namusr_def : AM98 case' 
     122         WRITE(numout,*) '   Namelist namusr_def : SWG case' 
    123123         WRITE(numout,*) '                                   domain size       rn_domsiz   = ', rn_domsiz, 'm' 
    124124         WRITE(numout,*) '                                   gridspacing           rn_dx   = ', rn_dx, 'm' 
    125          WRITE(numout,*) '      inverse resolution & implied domain size         nn_AM98   = ', nn_AM98 
     125         WRITE(numout,*) '      inverse resolution & implied domain size          nn_SWG   = ', nn_SWG 
    126126         WRITE(numout,*) '                           implied gridspacing           rn_dx   = ', rn_dx, 'm' 
    127127         WRITE(numout,*) '                          number of ghostcells           nn_gc   = ', nn_gc 
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/MY_SRC/usrdef_sbc.F90

    r13599 r13752  
    33   !!                     ***  MODULE  usrdef_sbc  *** 
    44   !! 
    5    !!                     ===  AM98 configuration  === 
     5   !!                     ===  SWG configuration  === 
    66   !! 
    77   !! User defined :   surface forcing of a user configuration 
  • NEMO/branches/2020/dev_r13327_KERNEL-06_2_techene_e3/tests/SWG/MY_SRC/usrdef_zgr.F90

    r13599 r13752  
    33   !!                       ***  MODULE  usrdef_zgr  *** 
    44   !! 
    5    !!                       ===  AM98 configuration  === 
     5   !!                       ===  SWG configuration  === 
    66   !! 
    77   !! User defined : vertical coordinate system of a user configuration 
     
    6565      ! 
    6666      IF(lwp) WRITE(numout,*) 
    67       IF(lwp) WRITE(numout,*) 'usr_def_zgr : AM98 configuration (z-coordinate closed flat box ocean without cavities)' 
     67      IF(lwp) WRITE(numout,*) 'usr_def_zgr : SWG configuration (z-coordinate closed flat box ocean without cavities)' 
    6868      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~' 
    6969      ! 
     
    7171      ! type of vertical coordinate 
    7272      ! --------------------------- 
    73       ld_zco    = .FALSE.         ! AM98 case:  z-coordinate without ocean cavities 
     73      ld_zco    = .FALSE.         ! SWG case:  z-coordinate without ocean cavities 
    7474      ld_zps    = .FALSE. 
    7575      ld_sco    = .TRUE. 
     
    168168      !! ** Purpose :   set the masked top and bottom ocean t-levels 
    169169      !! 
    170       !! ** Method  :   AM98 case = closed flat box ocean without ocean cavities 
     170      !! ** Method  :   SWG case = closed flat box ocean without ocean cavities 
    171171      !!                   k_top = 1     except along north, south, east and west boundaries 
    172172      !!                   k_bot = jpk-1 except along north, south, east and west boundaries 
     
    186186      IF(lwp) WRITE(numout,*) '    zgr_top_bot : defines the top and bottom wet ocean levels.' 
    187187      IF(lwp) WRITE(numout,*) '    ~~~~~~~~~~~' 
    188       IF(lwp) WRITE(numout,*) '       AM98 case : closed flat box ocean without ocean cavities' 
     188      IF(lwp) WRITE(numout,*) '       SWG case : closed flat box ocean without ocean cavities' 
    189189      ! 
    190190      z2d(:,:) = REAL( jpkm1 , wp )          ! flat bottom 
Note: See TracChangeset for help on using the changeset viewer.