From 9c0451d7beb23b7f26f7bd1f2924de0e0138ec7a Mon Sep 17 00:00:00 2001 From: Anna Jaruga Date: Thu, 31 Aug 2023 20:23:48 -0700 Subject: [PATCH] update Thermodynamics, CloudMicrophysics and SurfaceFluxes --- Project.toml | 6 +++--- src/parameterized_tendencies/microphysics/precipitation.jl | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 28db3c3ad36..ea598b1fe5d 100644 --- a/Project.toml +++ b/Project.toml @@ -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" @@ -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" diff --git a/src/parameterized_tendencies/microphysics/precipitation.jl b/src/parameterized_tendencies/microphysics/precipitation.jl index e3f795bb44d..b80d3506d8f 100644 --- a/src/parameterized_tendencies/microphysics/precipitation.jl +++ b/src/parameterized_tendencies/microphysics/precipitation.jl @@ -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 @@ -331,6 +332,7 @@ function precipitation_advection_tendency!( ρq_rai * CM1.terminal_velocity( microphys_params, rain_type, + velo_type, ρ_c, ρq_rai / ρ_c, ), @@ -344,6 +346,7 @@ function precipitation_advection_tendency!( ρq_sno * CM1.terminal_velocity( microphys_params, snow_type, + velo_type, ρ_c, ρq_sno / ρ_c, ),