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 8172 for branches/2016/v3_6_CMIP6_ice_diagnostics/NEMOGCM/NEMO/LIM_SRC_3/limrhg.F90 – NEMO

Ignore:
Timestamp:
2017-06-14T15:44:31+02:00 (7 years ago)
Author:
vancop
Message:

SIMIP branch, generic 2D transport fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/v3_6_CMIP6_ice_diagnostics/NEMOGCM/NEMO/LIM_SRC_3/limrhg.F90

    r8156 r8172  
    129129      REAL(wp) ::   zresm                                                    ! Maximal error on ice velocity 
    130130      REAL(wp) ::   zintb, zintn                                             ! dummy argument 
    131       REAL(wp) ::   zswi 
     131      REAL(wp) ::   zswi, zfac_x, zfac_y 
    132132       
    133133      REAL(wp), POINTER, DIMENSION(:,:) ::   zpresh                          ! temporary array for ice strength 
     
    672672             diag_vtau_oi(ji,jj) = ztauy_oi(ji,jj) * zswi 
    673673 
     674             ! 2D ice mass, snow mass, area transport arrays (X, Y) 
     675             zfac_x = 0.5 * u_ice(ji,jj) * e2u(ji,jj) * zswi 
     676             zfac_y = 0.5 * v_ice(ji,jj) * e1v(ji,jj) * zswi 
     677 
     678             diag_xmtrp_ice(ji,jj) = rhoic * zfac_x * ( vt_i(ji+1,jj) + vt_i(ji,jj) ) ! ice mass transport, X-component 
     679             diag_ymtrp_ice(ji,jj) = rhoic * zfac_y * ( vt_i(ji,jj+1) + vt_i(ji,jj) ) !        ''           Y-   '' 
     680 
     681             diag_xmtrp_snw(ji,jj) = rhosn * zfac_x * ( vt_s(ji+1,jj) + vt_s(ji,jj) ) ! snow mass transport, X-component 
     682             diag_ymtrp_snw(ji,jj) = rhosn * zfac_y * ( vt_s(ji,jj+1) + vt_s(ji,jj) ) !          ''          Y-   '' 
     683 
     684             diag_xatrp(ji,jj)     = zfac_x * ( at_i(ji+1,jj) + at_i(ji,jj) )         ! area transport,      X-component 
     685             diag_yatrp(ji,jj)     = zfac_y * ( at_i(ji,jj+1) + at_i(ji,jj) )         !        ''            Y-   '' 
     686 
    674687         END DO 
    675688      END DO 
Note: See TracChangeset for help on using the changeset viewer.