Skip to content

Commit

Permalink
turn off condensation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Sep 4, 2024
1 parent 47973b3 commit a6995f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/standalone/Soil/energy_hydrology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,10 @@ function soil_turbulent_fluxes_at_a_point(
)
x::FT = 4 * K_sfc * (1 + Ẽ0 / (4 * K_c))
*= x / (Ẽ0 + x)
else
*= 0
end

H_liq::FT = -ρ_air * cp_m * ΔT / r_ae_liq

# Sublimation:
Expand All @@ -960,7 +963,10 @@ function soil_turbulent_fluxes_at_a_point(
β_i::FT = FT(1)
if q_air < q_sat_ice # sublimation, adjust β
β_i *= (θ_i_sfc / ν_sfc)^3
else
β_i *= 0
end

state_sfc = SurfaceFluxes.StateValues(FT(0), SVector{2, FT}(0, 0), ts_sfc)
sc = SurfaceFluxes.ValuesOnly(
state_in,
Expand Down

0 comments on commit a6995f1

Please sign in to comment.