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 15814 – NEMO

Changeset 15814


Ignore:
Timestamp:
2023-11-23T18:20:35+01:00 (5 months ago)
Author:
clem
Message:

authorized snow-ice formation eventhough SST is above 0deg. Snow was supposed to melt when temperature is above 0deg but it is actually a bug, and we should let snow-ice formation to occur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/releases/r4.0/r4.0-HEAD/src/ICE/icethd_dh.F90

    r14685 r15814  
    487487      END DO 
    488488       
    489       ! Snow load on ice 
    490       ! ----------------- 
    491       ! When snow load exceeds Archimede's limit and sst is positive, 
    492       ! snow-ice formation (next bloc) can lead to negative ice enthalpy. 
    493       ! Therefore we consider here that this excess of snow falls into the ocean 
    494       zdeltah(1:npti) = h_s_1d(1:npti) + h_i_1d(1:npti) * (rhoi-rau0) * r1_rhos 
    495       DO jk = 0, nlay_s 
    496          DO ji = 1, npti 
    497             IF( zdeltah(ji) > 0._wp .AND. sst_1d(ji) > 0._wp ) THEN 
    498                ! snow layer thickness that falls into the ocean 
    499                zdum = MIN( zdeltah(ji) , zh_s(ji,jk) ) 
    500                ! mass & energy loss to the ocean 
    501                hfx_res_1d(ji) = hfx_res_1d(ji) - ze_s(ji,jk) * zdum * a_i_1d(ji) * r1_rdtice  ! heat flux to the ocean [W.m-2], < 0 
    502                wfx_res_1d(ji) = wfx_res_1d(ji) + rhos        * zdum * a_i_1d(ji) * r1_rdtice  ! mass flux 
    503                ! update thickness and energy 
    504                h_s_1d(ji)    = MAX( 0._wp, h_s_1d(ji)  - zdum ) 
    505                zh_s  (ji,jk) = MAX( 0._wp, zh_s(ji,jk) - zdum ) 
    506                ! update snow thickness that still has to fall 
    507                zdeltah(ji)   = MAX( 0._wp, zdeltah(ji) - zdum ) 
    508             ENDIF 
    509          END DO 
    510       END DO 
    511        
    512489      ! Snow-Ice formation 
    513490      ! ------------------ 
Note: See TracChangeset for help on using the changeset viewer.