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.
WorkingGroups/TOP/NEMO36_TOP_BDY (diff) – NEMO

Changes between Version 1 and Version 2 of WorkingGroups/TOP/NEMO36_TOP_BDY


Ignore:
Timestamp:
2018-10-29T18:49:58+01:00 (5 years ago)
Author:
lovato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingGroups/TOP/NEMO36_TOP_BDY

    v1 v2  
    66Last edition: '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 
    77 
    8 '''BEFORE USE''' : this  patch is meant to provide only the core functionality for TOP BDY.  
    9 Official support for tracers BDY will be given only for versions after NEMO v4.0 . 
     8'''BEFORE USE''' : this patch is meant to provide only the core functionality for TOP BDY.  
     9Official support for tracers BDY will be given only for versions after NEMO v4.0. 
    1010 
    1111== Description  == 
    1212 
    1313This patch to enable the core support of BDY for TOP passive tracers with NEMO v3.6 (tested with r10254). 
    14 Note that in this patch, routines that provide to initialization/reading of Boundary conditions (trcbc.f90) were also updated. 
     14Note that in this patch, routines that provide to initialization/reading of all Boundary conditions (trcbc.f90) were also updated. 
    1515 
    1616''BDY schemes'' included in this version are the following (see trcbdy.F90):  
     
    5353== Usage walktrough  == 
    5454 
    55 Code is contained in the attached tarball and it contains a set of modified files in the classic "MY_SRC" folder to be added in NEMO configuration. 
     55Code is contained in the attached tarball and it consists of modified files wrapped in the classic "MY_SRC" folder to be added in NEMO configuration. 
     56These files have to be unpacked in the MY_SRC folder of your configuration in order to be used. 
     57 
     58''REMINDER'': MY_SRC contains user modified versions of NEMO routines or new pieces of code that are used at compilation time to supersede at original ones. 
    5659 
    5760Note that '''namelist_top_ref''' has to be modified by the user in <NEMODIR>/NEMOGCM/CONFIG/SHARED according to the description above (or the sample file provided in the tarball). 
    5861 
    59 A modified fortran data structure of namtrc was here developed to set the different boundary conditions of passive tracers, as in the following example : 
    60  
     62All boundary conditions are controlled within the namelist '''namtrc''' in namelist_top_(cfg/ref). 
     63A modified fortran data structure of namtrc was here developed to set the different boundary conditions of passive tracers, as in the following example of namelist_top_cfg : 
    6164 
    6265{{{ 
     
    7275/ 
    7376}}} 
     77where the new options relates to the provision of SURFACE (sbc), COASTAL (cbc), or  OPEN lateral Boundaries (obc) data for  sn_tracer(1)  named TRACER1. 
     78 
     79In '''namtrc_bc''' are provided the different boundary conditions for passive tracers, see the example below of namelist_top_cfg 
     80 
     81 
     82{{{ 
     83!---------------------------------------------------------------------- 
     84&namtrc_bc        !   data for boundary conditions 
     85!----------------------------------------------------------------------- 
     86!                !  file name               ! frequency (hours) ! variable  ! time interp. !  clim  ! 'yearly'/ ! weights  ! rotation ! land/sea mask ! 
     87!                !                          !  (if <0  months)  !   name    !   (logical)  !  (T/F) ! 'monthly' ! filename ! pairing  ! filename      ! 
     88   sn_trcsbc(1)  = 'TRACER_SBC'        ,        -12        ,  'TRACER_SUR'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     89   rn_trsfac(1)  = 1.0 
     90   sn_trccbc(1)  = 'TRACER_CBC'        ,        -12        ,  'TRACER_RIV'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     91   rn_trcfac(1)  = 1.0 
     92   sn_trcobc(1)  = 'TRACER_BDY'        ,        -12        ,  'TRACER_BDY'     ,    .false.   , .true. , 'yearly'  , ''       , ''   , '' 
     93   rn_trofac(1)  = 1.0 
     94   ! 
     95   cn_dir_sbc        =  './'      !  root directory for the location of SURFACE data files 
     96   cn_dir_cbc        =  './'      !  root directory for the location of COASTAL data files 
     97   cn_dir_obc        =  './'      !  root directory for the location of OPEN data files 
     98/ 
     99}}} 
     100 
     101Input files are provided using the standard NEMO fldread structure and follow the convention sn_trcsbc = surface, sn_trccbc = coastal, sn_trcobc = open lateral, 
     102with the correspondig scaling factors rn_trsfac = surface, rn_trcfac = coastal, rn_trofac = open lateral. 
     103 
    74104 
    75105