CLASSIC
Canadian Land Surface Scheme including Biogeochemical Cycles
|
Checks for freezing or thawing of liquid or frozen water on the vegetation canopy, and adjust canopy temperature and intercepted water stores accordingly. More...
Functions/Subroutines | |
subroutine | canopyphasechange (TCAN, RAICAN, SNOCAN, FRAINC, FSNOWC, CHCAP, HMFC, HTCC, FI, CMASS, ILG, IL1, IL2, JL) |
Checks for freezing or thawing of liquid or frozen water on the vegetation canopy, and adjust canopy temperature and intercepted water stores accordingly.
subroutine canopyphasechange | ( | real, dimension (ilg), intent(inout) | TCAN, |
real, dimension(ilg), intent(inout) | RAICAN, | ||
real, dimension(ilg), intent(inout) | SNOCAN, | ||
real, dimension(ilg), intent(inout) | FRAINC, | ||
real, dimension(ilg), intent(inout) | FSNOWC, | ||
real, dimension (ilg), intent(inout) | CHCAP, | ||
real, dimension (ilg), intent(inout) | HMFC, | ||
real, dimension (ilg), intent(inout) | HTCC, | ||
real, dimension (ilg), intent(in) | FI, | ||
real, dimension(ilg), intent(in) | CMASS, | ||
integer, intent(in) | ILG, | ||
integer, intent(in) | IL1, | ||
integer, intent(in) | IL2, | ||
integer, intent(in) | JL | ||
) |
[in,out] | tcan | Temperature of vegetation canopy \([K] (T_c)\) |
[in,out] | raican | Intercepted liquid water stored on the canopy \([kg m^{-2}]\) |
[in,out] | snocan | Intercepted frozen water stored on the canopy \([kg m^{-2}]\) |
[in,out] | frainc | Fractional coverage of canopy by liquid water [ ] |
[in,out] | fsnowc | Fractional coverage of canopy by frozen water [ ] |
[in,out] | chcap | Heat capacity of vegetation canopy \([J m^{-2} K^{-1}] (C_c)\) |
[in,out] | hmfc | Energy associated with freezing or thawing of water in canopy interception stores \([W m^{-2}]\) |
[in,out] | htcc | Internal energy change of canopy due to changes in temperature and/or mass \([W m^{-2}] (I_c)\) |
[in] | fi | Fractional coverage of subarea in question on modelled area \([ ] (X_i)\) |
[in] | cmass | Mass of vegetation canopy \([kg m^{-2}]\) |
The change of internal energy \(I_c\) of the vegetation canopy as a result of the phase change processes treated here is calculated as the difference in \(I_c\) between the beginning and end of the subroutine:
\(\Delta I_c = X_i \Delta [C_c T_c ] / \Delta t\)
where \(C_c\) represents the volumetric heat capacity of the canopy, \(T_c\) its temperature, \(\Delta t\) the length of the time step, and \(X_i\) the fractional coverage of the subarea under consideration relative to the modelled area.
If there is liquid water stored on the canopy and the canopy temperature is less than 0 C, the available energy sink HFREZ is calculated from CHCAP and the difference between TCAN and 0 C, and compared with HCONV, calculated as the energy sink required to freeze all of the liquid water on the canopy. If HFREZ \(\leq\) HCONV, the amount of water that can be frozen is calculated using the latent heat of melting. The fractional coverages of frozen and liquid water FSNOWC and FRAINC and their masses SNOCAN and RAICAN are adjusted accordingly, TCAN is set to 0 C, and the amount of energy involved is subtracted from the internal energy HTCC and added to HMFC. Otherwise all of the intercepted liquid water is converted to frozen water, and the energy available for cooling the canopy is calculated as HCOOL = HFREZ – HCONV. This available energy is applied to decreasing the temperature of the canopy, using the specific heat of the canopy elements, and the amount of energy that was involved in the phase change is subtracted from HTCC and added to HMFC.
If there is frozen water stored on the canopy and the canopy temperature is greater than 0 C, the available energy for melting, HMELT, is calculated from CHCAP and the difference between TCAN and 0 C, and compared with HCONV, calculated as the energy required to melt all of the frozen water on the canopy. If HMELT \(\leq\) HCONV, the amount of frozen water that can be melted is calculated using the latent heat of melting. The fractional coverages of frozen and liquid water FSNOWC and FRAINC and their masses SNOCAN and RAICAN are adjusted accordingly, TCAN is set to 0 C, and the amount of energy involved is subtracted from HTCC and added to HMFC. Otherwise, all of the intercepted frozen water is converted to liquid water, and the energy available for warming the canopy is calculated as HWARM = HMELT – HCONV. This available energy is applied to increasing the temperature of the canopy, using the specific heats of the canopy elements, and the amount of energy that was involved in the phase change is subtracted from HTCC and added to HMFC.
In the final cleanup, the canopy heat capacity is recomputed and the remaining internal energy calculations are completed.