Opened 2 years ago

Closed 2 years 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: release-3.6
Severity: minor Keywords: AGRIF
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 (3)

comment:1 Changed 2 years ago by nicolasmartin

  • Description modified (diff)

comment:2 Changed 2 years ago by jchanut

In 9806:

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

comment:3 Changed 2 years ago by jchanut

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.