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 15732 – NEMO

Changeset 15732


Ignore:
Timestamp:
2022-03-02T13:25:25+01:00 (2 years ago)
Author:
edblockley
Message:

Further bug fixes to EVP rheology diagnostics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_GO8_package/src/ICE/icedyn_rhg_evp.F90

    r15700 r15732  
    137137      ! 
    138138      REAL(wp), DIMENSION(jpi,jpj) ::   zdelta, zp_delt                 ! delta and P/delta at T points 
    139       REAL(wp), DIMENSION(jpi,jpj) ::   zten_i                          ! tension 
     139      REAL(wp), DIMENSION(jpi,jpj) ::   zten_i, zshear                  ! tension, shear 
    140140      REAL(wp), DIMENSION(jpi,jpj) ::   zbeta                           ! beta coef from Kimmritz 2017 
    141141      ! 
     
    773773               &   ) * 0.25_wp * r1_e1e2t(ji,jj) 
    774774             
    775             ! shear at T points 
     775            ! maximum shear rate at T points (includes tension, output only) 
    776776            pshear_i(ji,jj) = SQRT( zdt2 + zds2 ) 
     777 
     778            ! shear at T-points 
     779            zshear(ji,jj)   = SQRT( zds2 ) 
    777780 
    778781            ! divergence at T points 
     
    835838               zsig1            =   zfac * ( pdivu_i(ji,jj) - pdelta_i(ji,jj) ) 
    836839               zsig2            =   zfac * z1_ecc2 * zten_i(ji,jj) 
    837                zsig12           =   zfac * z1_ecc2 * pshear_i(ji,jj) 
    838                 
     840               zsig12           =   zfac * z1_ecc2 * zshear(ji,jj) * 0.5_wp      
     841           
    839842               ! Stress invariants (sigma_I, sigma_II, Coon 1974, Feltham 2008) 
    840843               zsig_I (ji,jj)   =   zsig1 * 0.5_wp                                           ! 1st stress invariant, aka average normal stress, aka negative pressure 
     
    866869!!$               !                        and **deformations** at current iterates 
    867870!!$               !                        following Lemieux & Dupont (2020) 
    868 !!$               zfac             =   zp_delt(ji,jj) 
    869 !!$               zsig1            =   zfac * ( pdivu_i(ji,jj) - ( zdelta(ji,jj) + rn_creepl ) ) 
     871!!$               zfac             =   strength(ji,jj) / ( pdelta_i(ji,jj) + rn_creepl ) 
     872!!$               zsig1            =   zfac * ( pdivu_i(ji,jj) - zdelta(ji,jj) ) 
    870873!!$               zsig2            =   zfac * z1_ecc2 * zten_i(ji,jj) 
    871 !!$               zsig12           =   zfac * z1_ecc2 * pshear_i(ji,jj) 
     874!!$               zsig12           =   zfac * z1_ecc2 * zshear(ji,jj) * 0.5_wp 
    872875!!$                
    873876!!$               ! Stress invariants (sigma_I, sigma_II, Coon 1974, Feltham 2008), T-point 
Note: See TracChangeset for help on using the changeset viewer.