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.
Ticket Diff – NEMO

Changes between Initial Version and Version 1 of Ticket #1932


Ignore:
Timestamp:
2017-09-04T11:19:29+02:00 (7 years ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1932 – Description

    initial v1  
    77The cause can be traced to north-fold points with zero bathymetry gradients across the fold. Consistent calculation of the diffusive coefficients relies on density gradients and bathymetry gradients taking opposite signs either side of the pivot, I.e. in routine bbl: 
    88 
    9 {{{ 
     9{{{#!f 
    1010          zgdrho = (  za * ( zts(ji,jj+1,jp_tem) - zts(ji,jj,jp_tem))    & 
    1111             &      - zb * ( zts(ji,jj+1,jp_sal) - zts(ji,jj,jp_sal))  ) * vmask(ji,jj,1) 
     
    1717but mgrhv (for example) is set in tra_bbl_init by: 
    1818 
    19 {{{ 
     19{{{#!f 
    2020                                       !* sign of grad(H) at u- and v-points 
    2121      mgrhu(jpi,:) = 0   ;   mgrhu(:,jpj) = 0   ;   mgrhv(jpi,:) = 0   ; mgrhv(:,jpj) = 0 
     
    5151This code replacement in tra_bbl_init (trabbl.F90) achieves this: 
    5252 
    53 {{{ 
     53{{{#!f 
    5454                                       !* sign of grad(H) at u- and v-points; zero if grad(H) = 0 
    5555      mgrhu(:,:) = 0   ;   mgrhv(:,:) = 0