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.
Changeset 15293 for NEMO/trunk/src/OCE/ZDF – NEMO

Ignore:
Timestamp:
2021-09-27T17:43:00+02:00 (3 years ago)
Author:
clem
Message:

try to pass debug mode with outputs activated. One issue was that the shear was not calculated at the top and bottom levels. Another issue is that the shear is not defined in the haloes but solving this one probably requires to wait for the new xios to be released

Location:
NEMO/trunk/src/OCE/ZDF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ZDF/zdfphy.F90

    r15249 r15293  
    381381      IF( iom_use('avt_k') .OR. iom_use('avm_k') .OR. iom_use('eshear_k') .OR. iom_use('estrat_k') ) THEN 
    382382         IF( l_zdfsh2 ) THEN 
    383             DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) 
    384                zsh2(ji,jj,1  ) = 0._wp 
    385                zsh2(ji,jj,jpk) = 0._wp 
    386             END_2D 
    387383            CALL iom_put( 'avt_k'   ,   avt_k       * wmask ) 
    388384            CALL iom_put( 'avm_k'   ,   avm_k       * wmask ) 
  • NEMO/trunk/src/OCE/ZDF/zdfsh2.F90

    r14834 r15293  
    9696         END_2D 
    9797      END DO 
     98      DO_2D( nn_hls-1, nn_hls-1, nn_hls-1, nn_hls-1 ) ! set p_sh2 to 0 at the surface and bottom for output purpose 
     99         p_sh2(ji,jj,1)   = 0._wp 
     100         p_sh2(ji,jj,jpk) = 0._wp 
     101      END_2D 
    98102      ! 
    99103   END SUBROUTINE zdf_sh2 
Note: See TracChangeset for help on using the changeset viewer.