Changes between Version 1 and Version 2 of WorkingGroups/TOP/NEMO36_TOP_BDY
- Timestamp:
- 2018-10-29T18:49:58+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingGroups/TOP/NEMO36_TOP_BDY
v1 v2 6 6 Last edition: '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 7 7 8 '''BEFORE USE''' : this 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. 9 Official support for tracers BDY will be given only for versions after NEMO v4.0. 10 10 11 11 == Description == 12 12 13 13 This 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.14 Note that in this patch, routines that provide to initialization/reading of all Boundary conditions (trcbc.f90) were also updated. 15 15 16 16 ''BDY schemes'' included in this version are the following (see trcbdy.F90): … … 53 53 == Usage walktrough == 54 54 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. 55 Code 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. 56 These 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. 56 59 57 60 Note 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). 58 61 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 62 All boundary conditions are controlled within the namelist '''namtrc''' in namelist_top_(cfg/ref). 63 A 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 : 61 64 62 65 {{{ … … 72 75 / 73 76 }}} 77 where 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 79 In '''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 101 Input files are provided using the standard NEMO fldread structure and follow the convention sn_trcsbc = surface, sn_trccbc = coastal, sn_trcobc = open lateral, 102 with the correspondig scaling factors rn_trsfac = surface, rn_trcfac = coastal, rn_trofac = open lateral. 103 74 104 75 105