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 4726 for branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90 – NEMO

Ignore:
Timestamp:
2014-07-23T18:27:21+02:00 (10 years ago)
Author:
mathiot
Message:

ISF branch: change name of 2 variables (icedep => risfdep and lmask => ssmask), cosmetic changes and add ldfslp key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO2_ice_shelves/NEMOGCM/NEMO/OPA_SRC/TRA/trasbc.F90

    r4724 r4726  
    230230               DO jk = ikt, ikb - 1 
    231231               ! compute tfreez for the temperature correction (we add water at freezing temperature) 
    232                   zpress = grav*rau0*fsdept(ji,jj,jk)*1.e-04 
     232!                  zpress = grav*rau0*fsdept(ji,jj,jk)*1.e-04 
    233233                  zt_frz = -1.9 !tfreez1D( tsn(ji,jj,jk,jp_sal), zpress ) 
    234234               ! compute trend 
     
    242242    
    243243               ! level partially include in ice shelf boundary layer  
    244                zhk   = SUM( fse3t(ji, jj, ikt:ikb - 1)) * r1_hisf_tbl(ji,jj)  ! proportion of tbl cover by cell from ikt to ikb - 1 
    245                zalpha = rhisf_tbl(ji,jj) * ( 1._wp - zhk ) / fse3t(ji,jj,ikb)     ! proportion of bottom cell influenced by boundary layer 
    246244               ! compute tfreez for the temperature correction (we add water at freezing temperature) 
    247                zpress = grav*rau0*fsdept(ji,jj,ikb)*1.e-04 
     245!               zpress = grav*rau0*fsdept(ji,jj,ikb)*1.e-04 
    248246               zt_frz = -1.9 !tfreez1D( tsn(ji,jj,ikb,jp_sal), zpress ) 
    249247               ! compute trend 
     
    251249                  &              + zfact * (risf_tsc_b(ji,jj,jp_tem) + risf_tsc(ji,jj,jp_tem)          & 
    252250                  &                  - rdivisf * (fwfisf(ji,jj) + fwfisf_b(ji,jj)) * zt_frz * r1_rau0) &  
    253                   &              * r1_hisf_tbl(ji,jj) * zalpha 
     251                  &              * r1_hisf_tbl(ji,jj) * ralpha(ji,jj) 
    254252               tsa(ji,jj,ikb,jp_sal) = tsa(ji,jj,ikb,jp_sal)                                           & 
    255                   &              + zfact * (risf_tsc_b(ji,jj,jp_sal) + risf_tsc(ji,jj,jp_sal)) * r1_hisf_tbl(ji,jj) * zalpha  
     253                  &              + zfact * (risf_tsc_b(ji,jj,jp_sal) + risf_tsc(ji,jj,jp_sal)) * r1_hisf_tbl(ji,jj) * ralpha(ji,jj)  
    256254            END DO 
    257255         END DO 
Note: See TracChangeset for help on using the changeset viewer.