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.
#793 (Salinity & Temperature transport in diaptr.F90 when using Gent & Mc Williams parameterization) – NEMO

Opened 13 years ago

Closed 13 years ago

#793 closed Bug (fixed)

Salinity & Temperature transport in diaptr.F90 when using Gent & Mc Williams parameterization

Reported by: ctlod Owned by: nemo
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

It seems that the velocity field used to compute meridional salinity & temperature transport when using key_traldf_eiv is wrong at lines between 290 of diaptr.F90:

In the following lines, u_eiv(:,:,:) must be replaced with v_eiv(:,:,:) 

#if defined key_diaeiv
zv = ( vn(ji,jj,jk) + vn(ji,jj-1,jk) + u_eiv(ji,jj,jk) + u_eiv(ji,jj-1,jk) ) * 0.5_wp
#else
zv = ( vn(ji,jj,jk) + vn(ji,jj-1,jk) ) * 0.5_wp
#endif

Commit History (0)

(No commits)

Change History (1)

comment:1 Changed 13 years ago by gm

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

This is a true bug. It was present in the 3.2 and exit in CMIP5_IPS branch !

The correction has been done for v3.3 (trunk, see changeset:2571)

It has to be done at least in CMIP5_IPS branch

Note: See TracTickets for help on using tickets.