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 6592 for branches/UKMO/dev_r5518_Surge_Modelling/NEMOGCM/NEMO – NEMO

Ignore:
Timestamp:
2016-05-20T16:06:01+02:00 (8 years ago)
Author:
rfurner
Message:

changes for outputting and namelist changes

Location:
branches/UKMO/dev_r5518_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/SBC/sbc_oce.F90

    r6389 r6592  
    102102   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   utau   , utau_b   !: sea surface i-stress (ocean referential)     [N/m2] 
    103103   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   vtau   , vtau_b   !: sea surface j-stress (ocean referential)     [N/m2] 
     104   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   uwnd              !: wind speed i-component                       [m2] 
     105   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   vwnd              !: wind speed j-component                       [m2] 
    104106   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::   taum              !: module of sea surface stress (at T-point)    [N/m2]  
    105107   !! wndm is used onmpute surface gases exchanges in ice-free ocean or leads 
  • branches/UKMO/dev_r5518_Surge_Modelling/NEMOGCM/NEMO/OPA_SRC/SBC/sbcsurge.F90

    r6517 r6592  
    172172      DO jj = 2, jpjm1 
    173173         DO ji = fs_2, fs_jpim1   ! vect. opt. 
    174             zwnd_i(ji,jj) = (  sf(jp_wndi)%fnow(ji,jj,1) - rn_vfac * 0.5 * ( pu(ji-1,jj  ) + pu(ji,jj) )  ) 
    175             zwnd_j(ji,jj) = (  sf(jp_wndj)%fnow(ji,jj,1) - rn_vfac * 0.5 * ( pv(ji  ,jj-1) + pv(ji,jj) )  ) 
     174            uwnd(ji,jj) = (  sf(jp_wndi)%fnow(ji,jj,1) - rn_vfac * 0.5 * ( pu(ji-1,jj  ) + pu(ji,jj) )  ) 
     175            vwnd(ji,jj) = (  sf(jp_wndj)%fnow(ji,jj,1) - rn_vfac * 0.5 * ( pv(ji  ,jj-1) + pv(ji,jj) )  ) 
    176176         END DO 
    177177      END DO 
     178      zwnd_i(:,:) = uwnd(:,:) 
     179      zwnd_j(:,:) = vwnd(:,:) 
    178180      CALL lbc_lnk( zwnd_i(:,:) , 'T', -1. ) 
    179181      CALL lbc_lnk( zwnd_j(:,:) , 'T', -1. ) 
     
    217219 
    218220      CALL iom_put( "taum_oce", taum )   ! output wind stress module 
     221      CALL iom_put( "uwnd", uwnd )   ! output wind stress module 
     222      CALL iom_put( "vwnd", vwnd )   ! output wind stress module 
    219223 
    220224      ! ... utau, vtau at U- and V_points, resp. 
Note: See TracChangeset for help on using the changeset viewer.