Hi All,
This is more of a question. In init_vertical_profile, logical tice_high is set to true if a given ice layer k has zTin above Tmlt.
Icepack/columnphysics/icepack_therm_vertical.F90 at 86cae16d1b7c4c4f8a410fccac155374afac777f · CICE-Consortium/Icepack
If mushy layer thermodynamic scheme is used, zTin is corrected and a warning is issued.
Icepack/columnphysics/icepack_therm_vertical.F90 at 86cae16d1b7c4c4f8a410fccac155374afac777f · CICE-Consortium/Icepack
The current logic will also correct all layers below k, regardless of whether those layers have higher zTin than Tmlt, since tice_high stays True within the k-loop. My question is: is this correction of lower layers intended to be that way?
Thank you.
This is more of a question. In init_vertical_profile, logical tice_high is set to true if a given ice layer k has zTin above Tmlt.
Code:
if (zTin(k) > Tmax) then
tice_high = .true.
If mushy layer thermodynamic scheme is used, zTin is corrected and a warning is issued.
Code:
if (ktherm == 2) then
zqin(k) = enthalpy_of_melting(zSin(k)) - c1
zTin(k) = icepack_mushy_temperature_mush(zqin(k),zSin(k))
write(warnstr,*) subname, 'Corrected quantities'
call icepack_warnings_add(warnstr)
write(warnstr,*) subname, 'zqin=',zqin(k)
call icepack_warnings_add(warnstr)
write(warnstr,*) subname, 'zTin=',zTin(k)
call icepack_warnings_add(warnstr)
The current logic will also correct all layers below k, regardless of whether those layers have higher zTin than Tmlt, since tice_high stays True within the k-loop. My question is: is this correction of lower layers intended to be that way?
Thank you.