Skip to content

Commit

Permalink
update Thermodynamics, CloudMicrophysics and SurfaceFluxes
Browse files Browse the repository at this point in the history
  • Loading branch information
trontrytel committed Sep 1, 2023
1 parent 3e833df commit 9c0451d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CUDA = "4"
ClimaComms = "0.5"
ClimaCore = "0.10"
ClimaTimeSteppers = "0.7"
CloudMicrophysics = "0.10"
CloudMicrophysics = "0.13"
Colors = "0.12"
Dierckx = "0.5"
DiffEqBase = "6"
Expand All @@ -78,9 +78,9 @@ RRTMGP = "0.9"
RootSolvers = "0.2, 0.3"
StaticArrays = "1"
StatsBase = "0.33"
SurfaceFluxes = "0.6"
SurfaceFluxes = "0.7"
TerminalLoggers = "0.1"
Thermodynamics = "0.10"
Thermodynamics = "0.11"
YAML = "0.4"
julia = "1.7"

Expand Down
3 changes: 3 additions & 0 deletions src/parameterized_tendencies/microphysics/precipitation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ function precipitation_advection_tendency!(
microphys_params = CAP.microphysics_params(params)
rain_type = CM.CommonTypes.RainType()
snow_type = CM.CommonTypes.SnowType()
velo_type = CM.CommonTypes.Blk1MVelType()

# TODO - some positivity limiters are needed

Expand All @@ -331,6 +332,7 @@ function precipitation_advection_tendency!(
ρq_rai * CM1.terminal_velocity(
microphys_params,
rain_type,
velo_type,
ρ_c,
ρq_rai / ρ_c,
),
Expand All @@ -344,6 +346,7 @@ function precipitation_advection_tendency!(
ρq_sno * CM1.terminal_velocity(
microphys_params,
snow_type,
velo_type,
ρ_c,
ρq_sno / ρ_c,
),
Expand Down

0 comments on commit 9c0451d

Please sign in to comment.