fix units of evaporation for imp_scheme==2 in slucm#2227
fix units of evaporation for imp_scheme==2 in slucm#2227weiwangncar merged 1 commit intowrf-model:release-v4.7.1from
Conversation
|
The regression test results: |
|
@cenlinhe Can you review this PR? Thanks! |
|
@einaraz Do we also need to correct the unit for FLXHUMB, FLXHUMG, and FLXHUMR? Looks like these three quantities also have the units of kg/kg * m/s instead of m/s. |
|
@tslin2 Could you please also take a look? |
@cenlinhe We don't need to. I'm converting only evaporation from the previous time step (all end in 'P') directly in the water budget, where all terms are in m/s. FLXHUMB, FLXHUMG, and FLXHUMR are still kinematic fluxes, and at the end of the code all aggregated and converted to W/m2. |
OK, I see. The fix looks good to me. |
The base branch was changed.
changes look good to me, thanks. |
Fix the conversion of kinematic water vapor flux to evaporation in m/s for water budget in slucm
TYPE: bug fix
KEYWORDS: slucm, urban evaporation, urban physics
SOURCE: Einara Zahn, Princeton University
DESCRIPTION OF CHANGES:
Problem:
Evaporation rate over impervious surfaces was incorrectly computed in SLUCM for option IMP_SCHEME==2. The kinematic vapor flux (kg/kg x m/s) was not converted to evaporation in m/s before entering the water budget equation, leading to wrong update of water storage.
Solution:
Multiplied the kinematic water vapor flux by air density and divided by water density in module_sf_urban.f90, only inside the code block for IMP_SCHEME == 2. The conversion does not affect the default version IMP_SCHEME==1.
ISSUE: For use when this PR closes an issue.
Fixes #2186
LIST OF MODIFIED FILES: phys/module_sf_urban.F
TESTS CONDUCTED:
RELEASE NOTE: Corrected evaporation rate calculation for water budget over impervious surfaces in SLUCM when IMP_SCHEME == 2. Affects available water in impervious surfaces and latent heat flux output in urban simulations with impervious scheme enabled.