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 710 for trunk/NEMO/OPA_SRC – NEMO

Changeset 710 for trunk/NEMO/OPA_SRC


Ignore:
Timestamp:
2007-10-10T17:36:03+02:00 (17 years ago)
Author:
smasson
Message:

tau(x|y) -> (u|v)tau, see ticket:7

Location:
trunk/NEMO/OPA_SRC
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DIA/diawri.F90

    r708 r710  
    331331#endif 
    332332         !                                                                                      !!! nid_U : 2D 
    333          CALL histdef( nid_U, "sozotaux", "Wind Stress along i-axis"           , "N/m2"   ,   &  ! taux 
     333         CALL histdef( nid_U, "sozotaux", "Wind Stress along i-axis"           , "N/m2"   ,   &  ! utau 
    334334            &          jpi, jpj, nh_U, 1  , 1, 1  , - 99, 32, clop, zsto, zout ) 
    335335#if defined key_dynspg_rl 
     
    348348#endif 
    349349         !                                                                                      !!! nid_V : 2D 
    350          CALL histdef( nid_V, "sometauy", "Wind Stress along j-axis"           , "N/m2"   ,   &  ! tauy 
     350         CALL histdef( nid_V, "sometauy", "Wind Stress along j-axis"           , "N/m2"   ,   &  ! vtau 
    351351            &          jpi, jpj, nh_V, 1  , 1, 1  , - 99, 32, clop, zsto, zout ) 
    352352#if defined key_dynspg_rl 
     
    472472      CALL histwrite( nid_U, "vozoeivu", it, u_eiv         , ndim_U , ndex_U )    ! i-eiv current 
    473473#endif 
    474       CALL histwrite( nid_U, "sozotaux", it, taux          , ndim_hU, ndex_hU )   ! i-wind stress 
     474      CALL histwrite( nid_U, "sozotaux", it, utau          , ndim_hU, ndex_hU )   ! i-wind stress 
    475475#if defined key_dynspg_rl 
    476476      CALL lbc_lnk( spgu, 'U', -1. ) 
     
    483483      CALL histwrite( nid_V, "vomeeivv", it, v_eiv         , ndim_V , ndex_V  )   ! j-eiv current 
    484484#endif 
    485       CALL histwrite( nid_V, "sometauy", it, tauy          , ndim_hV, ndex_hV )   ! j-wind stress 
     485      CALL histwrite( nid_V, "sometauy", it, vtau          , ndim_hV, ndex_hV )   ! j-wind stress 
    486486#if defined key_dynspg_rl 
    487487      CALL lbc_lnk( spgv, 'V', -1. ) 
     
    651651      CALL histwrite( id_i, "soshfldo", 1, qsr   , jpi*jpj    , idex )    ! total heat flux 
    652652      CALL histwrite( id_i, "soicecov", 1, freeze, jpi*jpj    , idex )    ! ice cover 
    653       CALL histwrite( id_i, "sozotaux", 1, taux  , jpi*jpj    , idex )    ! i-wind stress 
    654       CALL histwrite( id_i, "sometauy", 1, tauy  , jpi*jpj    , idex )    ! j-wind stress 
     653      CALL histwrite( id_i, "sozotaux", 1, utau  , jpi*jpj    , idex )    ! i-wind stress 
     654      CALL histwrite( id_i, "sometauy", 1, vtau  , jpi*jpj    , idex )    ! j-wind stress 
    655655 
    656656      ! 3. Close the file 
  • trunk/NEMO/OPA_SRC/DIA/diawri_dimg.h90

    r699 r710  
    4141    !!    To be tested with a lot of procs !!!! 
    4242    !! 
    43     !!  level 1:  taux(:,:) * umask(:,:,1) zonal stress in N.m-2 
    44     !!  level 2:  tauy(:,:) * vmask(:,:,1) meridional stress in N. m-2 
     43    !!  level 1:  utau(:,:) * umask(:,:,1) zonal stress in N.m-2 
     44    !!  level 2:  vtau(:,:) * vmask(:,:,1) meridional stress in N. m-2 
    4545    !!  level 3:   qt  (:,:)               total heat flux (W/m2) 
    4646    !!  level 4:   emp (:,:)               E-P flux (mm/day) 
     
    167167       sm(:,:,:)=sm(:,:,:) + sn (:,:,:) 
    168168       ! 
    169        fsel(:,:,1 ) = fsel(:,:,1 ) + taux(:,:) * umask(:,:,1) 
    170        fsel(:,:,2 ) = fsel(:,:,2 ) + tauy(:,:) * vmask(:,:,1) 
     169       fsel(:,:,1 ) = fsel(:,:,1 ) + utau(:,:) * umask(:,:,1) 
     170       fsel(:,:,2 ) = fsel(:,:,2 ) + vtau(:,:) * vmask(:,:,1) 
    171171       fsel(:,:,3 ) = fsel(:,:,3 ) + qt  (:,:)  
    172172       fsel(:,:,4 ) = fsel(:,:,4 ) + emp (:,:) 
     
    231231          fsel(:,:,20)= spgv(:,:) 
    232232#endif 
    233           ! mask mean field with tmask except taux tauy (1,2) 
     233          ! mask mean field with tmask except utau vtau (1,2) 
    234234          DO jk=3,inbsel 
    235235            fsel(:,:,jk)=fsel(:,:,jk)*tmask(:,:,1) 
     
    256256          fsel(:,:,:) = 0._wp 
    257257          ! 
    258           fsel(:,:,1 ) = taux(:,:) * umask(:,:,1) 
    259           fsel(:,:,2 ) = tauy(:,:) * vmask(:,:,1) 
     258          fsel(:,:,1 ) = utau(:,:) * umask(:,:,1) 
     259          fsel(:,:,2 ) = vtau(:,:) * vmask(:,:,1) 
    260260          fsel(:,:,3 ) = qt  (:,:) * tmask(:,:,1) 
    261261          fsel(:,:,4 ) = emp (:,:) * tmask(:,:,1) 
  • trunk/NEMO/OPA_SRC/DYN/dynzdf_exp.F90

    r708 r710  
    8181         ! Surface boundary condition 
    8282         DO ji = 2, jpim1 
    83             zwy(ji,1) = taux(ji,jj) * zrau0r 
    84             zww(ji,1) = tauy(ji,jj) * zrau0r 
     83            zwy(ji,1) = utau(ji,jj) * zrau0r 
     84            zww(ji,1) = vtau(ji,jj) * zrau0r 
    8585         END DO   
    8686 
  • trunk/NEMO/OPA_SRC/DYN/dynzdf_imp.F90

    r708 r710  
    141141!!! change les resultats (derniers digit, pas significativement + rapide 1* de moins) 
    142142!!!         ua(ji,jj,1) = ub(ji,jj,1)  & 
    143 !!!                      + p2dt * ( ua(ji,jj,1) + taux(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) ) 
     143!!!                      + p2dt * ( ua(ji,jj,1) + utau(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) ) 
    144144            z2dtf = p2dt / ( fse3u(ji,jj,1)*rau0 ) 
    145145            ua(ji,jj,1) = ub(ji,jj,1)  & 
    146                          + p2dt *  ua(ji,jj,1) + z2dtf * taux(ji,jj) 
     146                         + p2dt *  ua(ji,jj,1) + z2dtf * utau(ji,jj) 
    147147         END DO 
    148148      END DO 
     
    236236!!! change les resultats (derniers digit, pas significativement + rapide 1* de moins) 
    237237!!!         va(ji,jj,1) = vb(ji,jj,1)  & 
    238 !!!                      + p2dt * ( va(ji,jj,1) + tauy(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) ) 
     238!!!                      + p2dt * ( va(ji,jj,1) + vtau(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) ) 
    239239            z2dtf = p2dt / ( fse3v(ji,jj,1)*rau0 ) 
    240240            va(ji,jj,1) = vb(ji,jj,1)  & 
    241                          + p2dt * va(ji,jj,1) + z2dtf * tauy(ji,jj) 
     241                         + p2dt * va(ji,jj,1) + z2dtf * vtau(ji,jj) 
    242242         END DO 
    243243      END DO 
  • trunk/NEMO/OPA_SRC/DYN/dynzdf_imp_jki.F90

    r708 r710  
    105105            zwi(ji,1) = 0. 
    106106            zwd(ji,1) = 1. - zws(ji,1) 
    107             zwy(ji,1) = zwy(ji,1) + z2dtf * taux(ji,jj) 
     107            zwy(ji,1) = zwy(ji,1) + z2dtf * utau(ji,jj) 
    108108         END DO 
    109109 
     
    192192            zwi(ji,1) = 0.e0 
    193193            zwd(ji,1) = 1. - zws(ji,1) 
    194             zwy(ji,1) = zwy(ji,1) + z2dtf * tauy(ji,jj) 
     194            zwy(ji,1) = zwy(ji,1) + z2dtf * vtau(ji,jj) 
    195195         END DO 
    196196 
  • trunk/NEMO/OPA_SRC/SBC/sbcblk_clio.F90

    r702 r710  
    9494      !! 
    9595      !! ** Method  :   READ each fluxes in NetCDF files 
    96       !!      The i-component of the stress                taux   (N/m2) 
    97       !!      The j-component of the stress                tauy   (N/m2) 
     96      !!      The i-component of the stress                utau   (N/m2) 
     97      !!      The j-component of the stress                vtau   (N/m2) 
    9898      !!      the net downward heat flux                   qtot   (watt/m2) 
    9999      !!      the net downward radiative flux              qsr    (watt/m2) 
  • trunk/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r702 r710  
    7676      !! 
    7777      !! ** Method  :   READ each fluxes in NetCDF files 
    78       !!      The i-component of the stress                taux   (N/m2) 
    79       !!      The j-component of the stress                tauy   (N/m2) 
     78      !!      The i-component of the stress                utau   (N/m2) 
     79      !!      The j-component of the stress                vtau   (N/m2) 
    8080      !!      the net downward heat flux                   qtot   (watt/m2) 
    8181      !!      the net downward radiative flux              qsr    (watt/m2) 
  • trunk/NEMO/OPA_SRC/TRD/trdmod.F90

    r708 r710  
    124124                  DO ji = fs_2, fs_jpim1   ! vector opt. 
    125125                     ! save the surface forcing momentum fluxes 
    126                      ztswu(ji,jj) = taux(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
    127                      ztswv(ji,jj) = tauy(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
     126                     ztswu(ji,jj) = utau(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
     127                     ztswv(ji,jj) = vtau(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
    128128                     ! save bottom friction momentum fluxes 
    129129                     ikbu   = MIN( mbathy(ji+1,jj  ), mbathy(ji,jj) ) 
     
    175175               DO ji = fs_2, fs_jpim1   ! vector opt. 
    176176                  ! save the surface forcing momentum fluxes 
    177                   ztswu(ji,jj) = taux(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
    178                   ztswv(ji,jj) = tauy(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
     177                  ztswu(ji,jj) = utau(ji,jj) / ( fse3u(ji,jj,1)*rau0 ) 
     178                  ztswv(ji,jj) = vtau(ji,jj) / ( fse3v(ji,jj,1)*rau0 ) 
    179179                  ! save bottom friction momentum fluxes 
    180180                  ikbu   = MIN( mbathy(ji+1,jj  ), mbathy(ji,jj) ) 
  • trunk/NEMO/OPA_SRC/ZDF/zdfkpp.F90

    r708 r710  
    475475            zrhos         = rhop(ji,jj,1) + zflageos * rau0 * ( 1. - tmask(ji,jj,1) )   
    476476            ! Friction velocity (zustar), at T-point : LMD94 eq. 2 
    477             ztx           = 0.5 * ( taux(ji,jj) + taux(ji - 1, jj    ) ) 
    478             zty           = 0.5 * ( tauy(ji,jj) + tauy(ji    , jj - 1) ) 
     477            ztx           = 0.5 * ( utau(ji,jj) + utau(ji - 1, jj    ) ) 
     478            zty           = 0.5 * ( vtau(ji,jj) + vtau(ji    , jj - 1) ) 
    479479            ztau          = SQRT( ztx * ztx + zty * zty ) 
    480480            zustar(ji,jj) = SQRT( ztau / ( zrhos +  epsln ) ) 
  • trunk/NEMO/OPA_SRC/ZDF/zdftke.F90

    r708 r710  
    101101      !!                  - ediss / emxl en**(2/3)        ! dissipation 
    102102      !!      with the boundary conditions: 
    103       !!         surface: en = max( emin0,ebb sqrt(taux^2 + tauy^2) ) 
     103      !!         surface: en = max( emin0,ebb sqrt(utau^2 + vtau^2) ) 
    104104      !!         bottom : en = emin 
    105105      !!      -1- The dissipation and mixing turbulent lengh scales are computed 
     
    301301      ! 2. Surface boundary condition on tke and its eddy viscosity (zmxlm) 
    302302      ! ------------------------------------------------- 
    303       ! en(1)   = ebb sqrt(taux^2+tauy^2) / rau0  (min value emin0) 
     303      ! en(1)   = ebb sqrt(utau^2+vtau^2) / rau0  (min value emin0) 
    304304      ! zmxlm(1) = avmb(1) and zmxlm(jpk) = 0. 
    305305!CDIR NOVERRCHK 
     
    307307!CDIR NOVERRCHK 
    308308         DO ji = fs_2, fs_jpim1   ! vector opt. 
    309             ztx2 = taux(ji-1,jj  ) + taux(ji,jj) 
    310             zty2 = tauy(ji  ,jj-1) + tauy(ji,jj) 
     309            ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
     310            zty2 = vtau(ji  ,jj-1) + vtau(ji,jj) 
    311311            zesurf = zbbrau * SQRT( ztx2 * ztx2 + zty2 * zty2 ) 
    312312            en (ji,jj,1) = MAX( zesurf, emin0 ) * tmask(ji,jj,1) 
  • trunk/NEMO/OPA_SRC/ZDF/zdftke_jki.F90

    r708 r710  
    5757      !!                  - ediss / emxl en**(2/3)        ! dissipation 
    5858      !!      with the boundary conditions: 
    59       !!         surface: en = max( emin0,ebb sqrt(taux^2 + tauy^2) ) 
     59      !!         surface: en = max( emin0,ebb sqrt(utau^2 + vtau^2) ) 
    6060      !!         bottom : en = emin 
    6161      !!      -1- The dissipation and mixing turbulent lengh scales are computed 
     
    253253         ! 2. Surface boundary condition on tke and its eddy viscosity (zmxlm) 
    254254         ! ------------------------------------------------- 
    255          ! en(1)   = ebb sqrt(taux^2+tauy^2) / rau0  (min value emin0) 
     255         ! en(1)   = ebb sqrt(utau^2+vtau^2) / rau0  (min value emin0) 
    256256         ! zmxlm(1) = avmb(1) and zmxlm(jpk) = 0. 
    257257!CDIR NOVERRCHK 
    258258         DO ji = 2, jpim1 
    259             ztx2 = taux(ji-1,jj  ) + taux(ji,jj) 
    260             zty2 = tauy(ji  ,jj-1) + tauy(ji,jj) 
     259            ztx2 = utau(ji-1,jj  ) + utau(ji,jj) 
     260            zty2 = vtau(ji  ,jj-1) + vtau(ji,jj) 
    261261            zesurf = zbbrau * SQRT( ztx2 * ztx2 + zty2 * zty2 ) 
    262262            en (ji,jj,1) = MAX( zesurf, emin0 ) * tmask(ji,jj,1) 
Note: See TracChangeset for help on using the changeset viewer.