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.
#1749 (Reproducibility problem with flux form momentum advection) – NEMO

Opened 8 years ago

Closed 8 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 8 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.