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 12636 for NEMO/branches/UKMO/NEMO_4.0.1_meltpond_improvements/src/OCE/BDY/bdyice.F90 – NEMO

Ignore:
Timestamp:
2020-04-01T09:44:12+02:00 (4 years ago)
Author:
dancopsey
Message:

Add:

  • Melt pond lids
  • Melt pond maximum area and thickness
  • Melt pond vertical flushing
  • Area contributing to melt ponds depends on total ice fraction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_meltpond_improvements/src/OCE/BDY/bdyice.F90

    r11715 r12636  
    9898                 &                      , v_i , 'T', 1., v_s , 'T', 1., sv_i, 'T', 1.                & 
    9999                 &                      , kfillmode=jpfillnothing ,lsend=llsend1, lrecv=llrecv1      ) 
     100            CALL lbc_lnk_multi( 'bdyice', lh_ip,'T', 1., kfillmode=jpfillnothing ,lsend=llsend1, lrecv=llrecv1      ) 
    100101            ! exchange 4d arrays :   third dimension = 1   and then   third dimension = jpk 
    101102            CALL lbc_lnk_multi( 'bdyice', t_s , 'T', 1., e_s , 'T', 1., kfillmode=jpfillnothing ,lsend=llsend1, lrecv=llrecv1 ) 
     
    163164            a_ip(ji,jj,  jl) = ( a_ip(ji,jj,  jl) * zwgt1 + dta%aip(i_bdy,jl) * zwgt ) * tmask(ji,jj,1)  ! Ice  pond concentration 
    164165            h_ip(ji,jj,  jl) = ( h_ip(ji,jj,  jl) * zwgt1 + dta%hip(i_bdy,jl) * zwgt ) * tmask(ji,jj,1)  ! Ice  pond depth 
     166            lh_ip(ji,jj, jl) = ( lh_ip(ji,jj, jl) * zwgt1 + dta%hip(i_bdy,jl) * zwgt ) * tmask(ji,jj,1)  ! Ice  pond lid thickness 
    165167            ! 
    166168            sz_i(ji,jj,:,jl) = s_i(ji,jj,jl) 
     
    170172               a_ip(ji,jj,jl) = 0._wp 
    171173               h_ip(ji,jj,jl) = 0._wp 
     174               lh_ip(ji,jj,jl) = 0._wp 
    172175            ENDIF 
    173176            ! 
     
    231234               a_ip(ji,jj,  jl) = a_ip(ib,jb,  jl) 
    232235               h_ip(ji,jj,  jl) = h_ip(ib,jb,  jl) 
     236               lh_ip(ji,jj, jl) = lh_ip(ib,jb, jl) 
    233237               ! 
    234238               sz_i(ji,jj,:,jl) = sz_i(ib,jb,:,jl) 
     
    280284               a_ip(ji,jj,  jl) = 0._wp 
    281285               v_ip(ji,jj,  jl) = 0._wp 
     286               lh_ip(ji,jj, jl) = 0._wp 
    282287               t_su(ji,jj,  jl) = rt0 
    283288               t_s (ji,jj,:,jl) = rt0 
Note: See TracChangeset for help on using the changeset viewer.