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.
#2102 (Wrong averaging in AGRIF sponge definition at F-points) – NEMO

Opened 4 years ago

Closed 4 years ago

Last modified 10 months ago

#2102 closed Bug (fixed)

Wrong averaging in AGRIF sponge definition at F-points

Reported by: jchanut Owned by: jchanut
Priority: low Milestone:
Component: AGRIF Version: v3.6
Severity: minor Keywords: AGRIF v3.6
Cc:

Description (last modified by nicolasmartin)

Context

Agrif sponge values are not computed properly at F-points from T-point array

Analysis

The code actually holds this

 fsahm_spf(ji,jj) = 0.25_wp * visc_dyn * ( ztabramp(ji,jj) + ztabramp(ji  ,jj+1) &
                                       &  +ztabramp(ji,jj) + ztabramp(ji+1,jj  ) )

Fix

It should be that:

 fsahm_spf(ji,jj) = 0.25_wp * visc_dyn * ( ztabramp(ji  ,jj  ) + ztabramp(ji  ,jj+1) &
                                       &  +ztabramp(ji+1,jj+1) + ztabramp(ji+1,jj  ) )

Commit History (1)

ChangesetAuthorTimeChangeLog
9806jchanut2018-06-15T17:57:53+02:00

Differentiates x and y refinement in tracer bc ; correct sponge #2102 ; Passes x and y symmetry tests

Change History (4)

comment:1 Changed 4 years ago by nicolasmartin

  • Description modified (diff)

comment:2 Changed 4 years ago by jchanut

In 9806:

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

comment:3 Changed 4 years ago by jchanut

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

comment:4 Changed 10 months ago by nemo

  • Keywords v3.6 added
Note: See TracTickets for help on using tickets.