#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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
12053 | jchanut | 2019-12-04T16:59:49+01:00 | #2335, add missing lbc call with wad |
12052 | jchanut | 2019-12-04T16:59:19+01:00 | #2335, add missing lbc call with wad |
Change History (4)
comment:1 Changed 4 years ago by jchanut
comment:2 Changed 4 years ago by jchanut
In 12053:
comment:3 Changed 4 years ago by jchanut
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 16 months ago by nemo
- Keywords v4.0 added
Note: See
TracTickets for help on using
tickets.
In 12052: