Opened 4 years ago

Closed 4 years ago

#1749 closed Bug (fixed)

Reproducibility problem with flux form momentum advection

Reported by: jchanut Owned by: jchanut
Priority: normal Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

Context

Either with 2nd order or UBS flux form momentum advection, results are not reproducible. This bug is not applicable to NEMO_v3_6_stable.

Analysis

It comes from the vertical part of advection. Vertical fluxes are not defined at the outer edges of the domain while they are used latter on:

DO jk = 2, jpkm1                          ! interior fluxes
   DO jj = 2, jpjm1
      DO ji = fs_2, fs_jpim1
         zfw(ji,jj,jk) = 0.25_wp * e1e2t(ji,jj) * wn(ji,jj,jk)
      END DO
   END DO

   ...

END DO

Fix

DO jk = 2, jpkm1                          ! interior fluxes
   DO jj = 2, jpj
      DO ji = 2, jpi
         zfw(ji,jj,jk) = 0.25_wp * e1e2t(ji,jj) * wn(ji,jj,jk)
      END DO
   END DO

   ...

END DO

Commit History (1)

ChangesetAuthorTimeChangeLog
6750jchanut2016-06-29T10:04:05+02:00

Reproducibility issue with flux form advection, ticket #1749

Change History (1)

comment:1 Changed 4 years ago by jchanut

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

https://forge.ipsl.jussieu.fr/nemo/changeset/6750

Note: See TracTickets for help on using tickets.