Skip to content

Commit 71e220e

Browse files
committed
change FRZR to be treated as liquid based on consensus; also fixes AOIL call to include ICE and FRZR
1 parent 4aea580 commit 71e220e

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_CICE4ColumnPhysGridComp.F90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3491,7 +3491,7 @@ subroutine CICECORE(NT_ORIGINAL,RC)
34913491
if(associated(USTARI)) USTARI = sqrt(sqrt(TAUXBOT**2+TAUYBOT**2)/MAPL_RHO_SEAWATER)
34923492

34933493
if(associated(PR_C5)) then
3494-
PR_C5 = FRCICE * (PLS + PCU)
3494+
PR_C5 = FRCICE * (PLS + PCU + FRZR)
34953495
where(FRCICE == 0.0)
34963496
PR_C5 = 0.0
34973497
endwhere
@@ -4546,7 +4546,7 @@ subroutine CICE_THERMO1 (N,NSUB,NT,ICE,LATS,LONS,LATSO,LONSO,DT,TF,FR,TS,
45464546

45474547
TRACERSDB = TRACERS(:,NSUB)
45484548
LWDNSRFDB = LWDNSRF(K)
4549-
SNODB = SNO(K) + ICEF(K) + FRZR(K)
4549+
SNODB = SNO(K) + ICEF(K)
45504550
TBOTDB = TBOT(K)
45514551
FBOTDB = FBOT(K)
45524552
FSWABSDB = FSWABS(K)
@@ -4660,7 +4660,7 @@ subroutine CICE_THERMO1 (N,NSUB,NT,ICE,LATS,LONS,LATSO,LONSO,DT,TF,FR,TS,
46604660
VOLSNODB = VOLSNO(K,NSUB)
46614661
APONDNDB = APONDN(K,NSUB)
46624662
HPONDNDB = HPONDN(K,NSUB)
4663-
FRAINDB = PCU(K) + PLS(K)
4663+
FRAINDB = PCU(K) + PLS(K) + FRZR(K)
46644664
call compute_ponds(1, 1, &
46654665
1, 1, 1, 1, &
46664666
MELTTDB, MELTSDB, FRAINDB, &

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_OpenWaterGridComp.F90

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,7 +2574,7 @@ subroutine OPENWATERCORE(NT,RC)
25742574

25752575
call AOIL_v0 (NT, DO_SKIN_LAYER, DO_DATASEA, n_iter_cool, fr_ice_thresh, trim(DO_GRAD_DECAY_warmLayer), &
25762576
DT, MUSKIN, epsilon_d, MaxWaterDepth, MinWaterDepth, MaxSalinity, MinSalinity, &
2577-
STOKES_SPEED, CM(:,WATER), CFT, CFQ, SH, EVAP, DSH, DEV, THATM, QHATM, PS, SNO, PCU+PLS, &
2577+
STOKES_SPEED, CM(:,WATER), CFT, CFQ, SH, EVAP, DSH, DEV, THATM, QHATM, PS, SNO+ICE, PCU+PLS+FRZR, &
25782578
UUA, VVA, UW, VW, FRWATER, SWN, SWN_surf, PEN, PEN_ocean, LWDNSRF, ALW, BLW, &
25792579
HH(:,WATER), TS(:,WATER), SS(:,WATER), QS(:,WATER), TS_FOUNDi, &
25802580
DWARM_, TBAR_, USTARW_, DCOOL_, TDROP_, SWCOOL_, QCOOL_, BCOOL_, LCOOL_, &
@@ -2631,18 +2631,17 @@ subroutine OPENWATERCORE(NT,RC)
26312631
if(associated(AOSHFLX)) AOSHFLX = SHF *FRWATER
26322632
if(associated(AOQFLUX)) AOQFLUX = EVP *FRWATER
26332633
if(associated(AOLWFLX)) AOLWFLX = (LWDNSRF-ALW-BLW*TS(:,WATER))*FRWATER
2634-
if(associated(AORAIN )) AORAIN = PCU + PLS
2635-
if(associated(AOSNOW )) AOSNOW = (SNO+ICE+FRZR) *FRWATER
2634+
if(associated(AORAIN )) AORAIN = PCU + PLS + FRZR
2635+
if(associated(AOSNOW )) AOSNOW = (SNO+ICE) *FRWATER
26362636
if(associated(AODRNIR)) AODRNIR = (1.-ALBNRO)*DRNIR*FRWATER
26372637
if(associated(AODFNIR)) AODFNIR = (1.-ALBNFO)*DFNIR*FRWATER
26382638
if(associated(FSURF )) FSURF = SWN+LWDNSRF-(ALW+BLW*TS(:,WATER))-SHF-LHF
26392639
if(associated(PENOCNe)) PENOCNe = PEN_ocean * FRWATER
26402640

26412641
if(associated(SNOWOCN)) SNOWOCN = SNO*FR(:,WATER)
26422642
if(associated(ICEFOCN)) ICEFOCN = ICE*FR(:,WATER)
2643-
! NOTE: FRZR may be moved to be part of RAINOCN
2644-
if(associated(SPTOTOCN))SPTOTOCN = (SNO+ICE+FRZR)*FR(:,WATER)
2645-
if(associated(RAINOCN)) RAINOCN = PCU + PLS
2643+
if(associated(SPTOTOCN))SPTOTOCN = (SNO+ICE)*FR(:,WATER)
2644+
if(associated(RAINOCN)) RAINOCN = PCU + PLS + FRZR
26462645
if(associated(HLWUP )) HLWUP = ALW*FR(:,WATER)
26472646
if(associated(LWNDSRF)) LWNDSRF = (LWDNSRF - ALW)*FR(:,WATER)
26482647

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SeaiceInterfaceGridComp.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,9 +2513,9 @@ subroutine CICECORE(NT,RC)
25132513
! Aggregate imports if required
25142514
!-----------------------------------
25152515

2516-
RAIN = PLS + PCU
2516+
RAIN = PLS + PCU + FRZR
25172517

2518-
SNOW = SNO + ICEF + FRZR
2518+
SNOW = SNO + ICEF
25192519

25202520
! Initialize PAR and UVR beam fluxes
25212521
!-----------------------------------

GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOSsaltwater_GridComp/GEOS_SimpleSeaiceGridComp.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ subroutine SEAICECORE(NT,RC)
21722172
QS(:,N) = QS(:,N) + DQS
21732173

21742174
if (.not. seaIceT_extData) then
2175-
HH(:,N) = HH(:,N) + DT*(SNO + ICEF + FRZR - EVP)
2175+
HH(:,N) = HH(:,N) + DT*(SNO + ICEF - EVP)
21762176
HH(:,N) = max(min(HH(:,N), MAXICEDEPTH), MINICEDEPTH)
21772177
endif
21782178

0 commit comments

Comments
 (0)