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

Changeset 15372


Ignore:
Timestamp:
2021-10-14T17:47:24+02:00 (10 months ago)
Author:
davestorkey
Message:

trunk: fix for wind forcing of icebergs #2728

Location:
NEMO/trunk/src/OCE
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/OCE/ICB/icbini.F90

    r15088 r15372  
    7373      ! 
    7474      IF( .NOT. ln_icebergs )   RETURN 
     75      ! 
     76      ALLOCATE( utau_icb(jpi,jpj), vtau_icb(jpi,jpj) ) 
    7577      ! 
    7678      !                          ! allocate gridded fields 
  • NEMO/trunk/src/OCE/ICB/icbutl.F90

    r15088 r15372  
    9393      sss_e(1:jpi,1:jpj) = sss_m(:,:) 
    9494      fr_e (1:jpi,1:jpj) = fr_i (:,:) 
    95       ua_e (1:jpi,1:jpj) = utau (:,:) * umask(:,:,1) ! maybe mask useless because mask applied in sbcblk 
    96       va_e (1:jpi,1:jpj) = vtau (:,:) * vmask(:,:,1) ! maybe mask useless because mask applied in sbcblk 
     95      ua_e (1:jpi,1:jpj) = utau_icb (:,:) * umask(:,:,1) ! maybe mask useless because mask applied in sbcblk 
     96      va_e (1:jpi,1:jpj) = vtau_icb (:,:) * vmask(:,:,1) ! maybe mask useless because mask applied in sbcblk 
    9797      ff_e(1:jpi,1:jpj) = ff_f (:,:)  
    9898      ! 
  • NEMO/trunk/src/OCE/SBC/sbc_oce.F90

    r14227 r15372  
    106106   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   utau   , utau_b   !: sea surface i-stress (ocean referential)     [N/m2] 
    107107   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   vtau   , vtau_b   !: sea surface j-stress (ocean referential)     [N/m2] 
     108   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   utau_icb, vtau_icb !: sea surface (i,j)-stress used by icebergs   [N/m2] 
    108109   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   taum              !: module of sea surface stress (at T-point)    [N/m2] 
    109110   !! wndm is used compute surface gases exchanges in ice-free ocean or leads 
  • NEMO/trunk/src/OCE/SBC/sbcmod.F90

    r15149 r15372  
    466466      CALL lbc_lnk( 'sbcmod', taum(:,:), 'T', 1. ) 
    467467      ! 
     468      IF( ln_icebergs ) THEN  ! save pure stresses (with no ice-ocean stress) for use by icebergs 
     469         utau_icb(:,:) = utau(:,:) ; vtau_icb(:,:) = vtau(:,:)  
     470      ENDIF 
     471      ! 
    468472      !                                            !==  Misc. Options  ==! 
    469473      ! 
Note: See TracChangeset for help on using the changeset viewer.