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 7346 for branches/2015/dev_r5936_INGV1_WAVE/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90 – NEMO

Ignore:
Timestamp:
2016-11-28T11:26:34+01:00 (8 years ago)
Author:
emanuelaclementi
Message:

#1643 removal of surface wn modification due to Stokes Drift in sshsshwzv.F90 and minor modifications in development branch 2015/dev_r5936_INGV1_WAVE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5936_INGV1_WAVE/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90

    r7340 r7346  
    99   !!             -   !  2010-09  (D.Storkey and E.O'Dea) bug fixes for BDY module 
    1010   !!            3.3  !  2011-10  (M. Leclair) split former ssh_wzv routine and remove all vvl related work 
    11    !!            3.6  !  2014-10  (E. Clementi, P. Oddo) add wave contribution to surface vertical velocity  
    1211   !!---------------------------------------------------------------------- 
    1312 
     
    3938   USE wrk_nemo        ! Memory Allocation 
    4039   USE timing          ! Timing 
    41    USE sbcwave         ! Stokes velocities 
    4240 
    4341   IMPLICIT NONE 
     
    162160      REAL(wp), POINTER, DIMENSION(:,:  ) ::  z2d 
    163161      REAL(wp), POINTER, DIMENSION(:,:,:) ::  z3d, zhdiv 
    164       REAL(wp) ::  zdsshu, zdsshv 
    165162      !!---------------------------------------------------------------------- 
    166163      ! 
     
    210207      ENDIF 
    211208 
    212       IF( ln_wave .AND. ln_sdw ) THEN 
    213          ! Compute d(ssh)/dx  and d(ssh)/dy   
    214          ! Compute the surface vertical velocity accounting for the Stokes Drift 
    215          DO jj = 1 , jpjm1 
    216             DO ji = 1 , fs_jpim1 
    217               zdsshu = ( sshn(ji+1,jj) - sshn(ji,jj) ) / e1u(ji,jj) 
    218               zdsshv = ( sshn(ji,jj+1) - sshn(ji,jj) ) / e2v(ji,jj) 
    219               wn(ji,jj,1) = wn(ji,jj,1) + ( usd3dt(ji,jj,1) * zdsshu   & 
    220                  &                        + vsd3dt(ji,jj,1) * zdsshv   & 
    221                  &        - wsd3d (ji,jj,1) ) * tmask(ji,jj,1) 
    222             END DO 
    223          END DO 
    224       ENDIF 
    225       ! 
    226209#if defined key_bdy 
    227210      IF( lk_bdy ) THEN 
Note: See TracChangeset for help on using the changeset viewer.