Skip to content

09. Run full met forcing and full boundaries

micdom edited this page Dec 22, 2022 · 1 revision

Run the model with full ERA5 forcing (sea level pressure, 10m winds, fluxes, etc.) and full boundaries

  • We assume here the BDY boundaries and met-forcing have been generated
  • Go in the RUN_DIRECTORIES/EXP_Tide_ERA5_BDY and modify start date & duration of the run in the namelist_cfg
  • These are the flags activated for the bdy boundaries:
!-----------------------------------------------------------------------
&nambdy        !  unstructured open boundaries                          (default: OFF)
!-----------------------------------------------------------------------
    ln_bdy         = .true.   !  Use unstructured open boundaries
    nb_bdy         =  1       !  number of open boundary sets
    !
    ln_coords_file = .true.                                 !  =T : read bdy coordinates from file
    cn_coords_file = 'coordinates.bdy.nc' !  bdy coordinates files
    ln_mask_file   = .false.                !  =T : read mask from file
    cn_mask_file   = ''                      !  name of mask file (if ln_mask_file=.TRUE.)
    cn_dyn2d       =  'flather'    !
    nn_dyn2d_dta   =  3                      !  = 0, bdy data are equal to the initial state
                                             !  = 1, bdy data are read in 'bdydata   .nc' files
                                             !  = 2, use tidal harmonic forcing data from files
                                             !  = 3, use external data AND tidal harmonic forcing
    cn_dyn3d      =  'specified'              ! 'zerograd','none'   !
    nn_dyn3d_dta  =   1                      !  = 0, bdy data are equal to the initial state
                                             !  = 1, bdy data are read in 'bdydata   .nc' files
    cn_tra        =  'frs'
    nn_tra_dta    =  1                       !  = 0, bdy data are equal to the initial state
                                             !  = 1, bdy data are read in 'bdydata   .nc' files

    ln_tra_dmp    =.false.           !  open boudaries conditions for tracers
    ln_dyn3d_dmp  =.false.           !  open boundary condition for baroclinic velocities
    rn_time_dmp   =  8.                  ! Damping time scale in days
    rn_time_dmp_out =  64.              ! Outflow damping time scale
    nn_rimwidth   = 9                   !  width of the relaxation zone
    ln_vol        = .false.                  !  total volume correction (see nn_volctl parameter)
    nn_volctl     = 1                        !  = 0, the total water flux across open boundaries is zero
/
!-----------------------------------------------------------------------
!&nambdy_ssh
!-----------------------------------------------------------------------
  ln_ssh_bdy   = .false.
  rn_ssh_shift =   0.
!/
!-----------------------------------------------------------------------
&nambdy_dta    !  open boundaries - external data
!-----------------------------------------------------------------------
   ln_zinterp  = .false.       !  T if a vertical interpolation is required. Variables gdep[tuv] and e3[tuv] must exist in the file
   !                          !  automatically defined to T if the number of vertical levels in bdy dta /= jpk
   ln_full_vel = .true.       !  T if [uv]3d are "full" velocities and not only its baroclinic components
   !
   cn_dir  =    './OBC/'
   !___________!_________________________!___________________!___________!_____________!________!___________!__________________!__________!_______________!
   !           !  file name              ! frequency (hours) ! variable  ! time interp.!  clim  ! 'yearly'/ ! weights filename ! rotation ! land/sea mask !
   !           !                         !  (if <0  months)  !   name    !   (logical) !  (T/F) ! 'monthly' !                  ! pairing  !    filename   !
   bn_ssh      =    'SEVERN_bdyT'       ,         24        , 'sossheig' ,    .true.     , .false. ,  'monthly'  ,    ''    ,   ''  , ' '
   bn_u2d      =    'SEVERN_bdyU'       ,         24        , 'vobtcrtx',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
   bn_v2d      =    'SEVERN_bdyV'       ,         24        , 'vobtcrty',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
   bn_u3d      =    'SEVERN_bdyU'          ,         24        , 'vozocrtx',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
   bn_v3d      =    'SEVERN_bdyV'          ,         24        , 'vomecrty',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
   bn_tem      =    'SEVERN_bdyT'          ,         24        , 'votemper',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
   bn_sal      =    'SEVERN_bdyT'          ,         24        , 'vosaline',    .true.   , .false. ,  'monthly'  ,    ''    ,   ''   ,   ''
/
  • To run go in SCRIPTS
. ./run_Tide_ERA5_BDY.sh

If running with wetting & drying:

  • Go in the RUN_DIRECTORIES/EXP_Tide_ERA5_River_IC_BDY_WAD and modify the namelist_cfg as above
  • To run go in SCRIPTS
. ./run_Tide_ERA5_River_IC_BDY_WAD.sh

Clone this wiki locally