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.
#2335 (Missing lbc calls in WAD scheme) – NEMO

Opened 5 years ago

Closed 5 years ago

Last modified 2 years ago

#2335 closed Bug (fixed)

Missing lbc calls in WAD scheme

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: DYN Version: v4.0
Severity: minor Keywords: WAD v4.0
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 (4)

comment:1 Changed 5 years ago by jchanut

In 12052:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 5 years ago by jchanut

In 12053:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 5 years ago by jchanut

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 2 years ago by nemo

  • Keywords v4.0 added
Note: See TracTickets for help on using tickets.