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 13574 for NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/ICE – NEMO

Ignore:
Timestamp:
2020-10-07T18:02:40+02:00 (4 years ago)
Author:
stefryn
Message:

corrected bug in shear calculation, updated testcase (example output figs for EVP and EAP included)

Location:
NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/ICE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/ICE/icedyn_rdgrft.F90

    r13155 r13574  
    760760      !                              !--------------------------------------------------! 
    761761         strength(:,:) = rn_pstar * SUM( v_i(:,:,:), dim=3 ) * EXP( -rn_crhg * ( 1._wp - SUM( a_i(:,:,:), dim=3 ) ) ) 
    762          ismooth = 1 
     762!         ismooth = 1    ! original code 
     763         ismooth = 0    ! try for EAP stability 
    763764         !                           !--------------------------------------------------! 
    764765      ELSE                           ! Zero strength                                    ! 
  • NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/ICE/icedyn_rhg_eap.F90

    r13155 r13574  
    391391               zdsT = ( zds(ji,jj  ) * e1e2f(ji,jj  ) + zds(ji-1,jj  ) * e1e2f(ji-1,jj  )  & 
    392392                  &   + zds(ji,jj-1) * e1e2f(ji,jj-1) + zds(ji-1,jj-1) * e1e2f(ji-1,jj-1)  & 
    393                   &   ) * 0.25_wp * r1_e1e2t(ji,jj) 
     393!                  &   ) * 0.25_wp * r1_e1e2t(ji,jj)       .25 was an error 
     394                  &   ) * r1_e1e2t(ji,jj) 
    394395               !WRITE(numout,*) 'shear output', ji, jj, zdsT 
    395396                
     
    972973      ! Factor to maintain the same stress as in EVP (see Section 3) 
    973974      ! Can be set to 1 otherwise 
    974       zinvstressconviso = 1._wp/(1._wp+kfriction*kfriction) 
     975!      zinvstressconviso = 1._wp/(1._wp+kfriction*kfriction) 
     976      zinvstressconviso = 1._wp 
    975977  
    976978      zinvsin = 1._wp/sin(2._wp*pphi) * zinvstressconviso  
Note: See TracChangeset for help on using the changeset viewer.