Changeset 15814
- Timestamp:
- 2023-11-23T18:20:35+01:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/releases/r4.0/r4.0-HEAD/src/ICE/icethd_dh.F90
r14685 r15814 487 487 END DO 488 488 489 ! Snow load on ice490 ! -----------------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 ocean494 zdeltah(1:npti) = h_s_1d(1:npti) + h_i_1d(1:npti) * (rhoi-rau0) * r1_rhos495 DO jk = 0, nlay_s496 DO ji = 1, npti497 IF( zdeltah(ji) > 0._wp .AND. sst_1d(ji) > 0._wp ) THEN498 ! snow layer thickness that falls into the ocean499 zdum = MIN( zdeltah(ji) , zh_s(ji,jk) )500 ! mass & energy loss to the ocean501 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], < 0502 wfx_res_1d(ji) = wfx_res_1d(ji) + rhos * zdum * a_i_1d(ji) * r1_rdtice ! mass flux503 ! update thickness and energy504 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 fall507 zdeltah(ji) = MAX( 0._wp, zdeltah(ji) - zdum )508 ENDIF509 END DO510 END DO511 512 489 ! Snow-Ice formation 513 490 ! ------------------
Note: See TracChangeset
for help on using the changeset viewer.