Opened 7 months ago

Closed 6 months ago

#2335 closed Bug (fixed)

Missing lbc calls in WAD scheme

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: DYN Version: release-4.0
Severity: minor Keywords: WAD
Cc:

Description

Context

Wetting and drying scheme (flux blocking case, e.g. directional limiter or ln_wd_dl = T and ln_wd_dl_bc = T).
WAD test case not affected since ln_wd_dl_bc = F in namelist.

Analysis

Missing lateral boundary conditions on time averaged masks at velocity points (in dynspg_ts module). This affects the update of baroclinic velocities after the time splitting loop is complete (hence only if ln_wd_dl_bc=T)

Fix

In dynspg_ts, add lbc call on zuwdav2(:,:) and zvwdav2(:,:) prior:

      IF ( ln_wd_dl .and. ln_wd_dl_bc) THEN
         DO jk = 1, jpkm1
            un(:,:,jk) = ( un_adv(:,:)*r1_hu_n(:,:) &
                       & + zuwdav2(:,:)*(un(:,:,jk) - un_adv(:,:)*r1_hu_n(:,:)) ) * umask(:,:,jk)
            vn(:,:,jk) = ( vn_adv(:,:)*r1_hv_n(:,:) &
                       & + zvwdav2(:,:)*(vn(:,:,jk) - vn_adv(:,:)*r1_hv_n(:,:)) ) * vmask(:,:,jk)
         END DO
      END IF


Commit History (2)

ChangesetAuthorTimeChangeLog
12053jchanut2019-12-04T16:59:49+01:00

#2335, add missing lbc call with wad

12052jchanut2019-12-04T16:59:19+01:00

#2335, add missing lbc call with wad

Change History (3)

comment:1 Changed 6 months ago by jchanut

In 12052:

#2335, add missing lbc call with wad

comment:2 Changed 6 months ago by jchanut

In 12053:

#2335, add missing lbc call with wad

comment:3 Changed 6 months ago by jchanut

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.