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.
#2289 (Edge bathymetry values are wrong in the OVERFLOW test case (at U-points)) – NEMO

Opened 3 years ago

Closed 3 years ago

Last modified 6 months ago

#2289 closed Bug (fixed)

Edge bathymetry values are wrong in the OVERFLOW test case (at U-points)

Reported by: jchanut Owned by: systeam
Priority: low Milestone:
Component: DOM Version: v4.0
Severity: minor Keywords: test_cases v4.0
Cc:

Description

Context

Trivial bug in OVERFLOW test case: bathymetry computation at U-points in usrdef_zgr.F90

Analysis

Bathymetry at U-points needs to be assigned non-zero values at eastern and western walls (so that later computation of scale factors does not give null thicknesses). This is done by the following lines:

      DO ji = mi0(1), mi1(1)              ! first row of global domain only
         zhu(ji,2) = zht(1,2)
      END DO
       DO ji = mi0(jpi), mi1(jpi)         ! last  row of global domain only
         zhu(ji,2) = zht(jpi,2)
      END DO

It should rather be:

      DO ji = mi0(1), mi1(1)              ! first row of global domain only
         zhu(ji,2) = zht(ji,2)
      END DO
       DO ji = mi0(jpiglo), mi1(jpiglo)   ! last  row of global domain only
         zhu(ji,2) = zht(ji,2)
      END DO

...

Commit History (2)

ChangesetAuthorTimeChangeLog
11077jchanut2019-06-05T16:13:02+02:00

Correct bathymetry at U-points, #2289

11076jchanut2019-06-05T16:11:54+02:00

Correct bathymetry at U-points, #2289

Change History (4)

comment:1 Changed 3 years ago by jchanut

In 11076:

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

comment:2 Changed 3 years ago by jchanut

In 11077:

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

comment:3 Changed 3 years ago by jchanut

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

comment:4 Changed 6 months ago by nemo

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