Skip to content

Commit 7aa534c

Browse files
wip
1 parent 9d32277 commit 7aa534c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/prognostic_equations/remaining_tendency.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ end
3535
function ᶜremaining_tendency_uₕ(ᶜY, ᶠY, p, t)
3636
:uₕ in propertynames(ᶜY) || return ()
3737
∑tendencies = zero(eltype(ᶜY.uₕ))
38+
39+
ᶜuₕ = ᶜY.c.uₕ
40+
ᶠu₃ = Yₜ.f.u₃
41+
ᶜρ = Y.c.ρ
42+
(; forcing_type, moisture_model, rayleigh_sponge, viscous_sponge) = p.atmos
43+
(; ls_adv, edmf_coriolis) = p.atmos
44+
(; params) = p
45+
thermo_params = CAP.thermodynamics_params(params)
46+
(; ᶜp, sfc_conditions, ᶜts) = p.precomputed
47+
48+
∑tendencies += viscous_sponge_tendency_uₕ(ᶜuₕ, viscous_sponge)
49+
3850
return (;uₕ=∑tendencies)
3951
end
4052
function ᶜremaining_tendency_ρe_tot(ᶜY, ᶠY, p, t)

0 commit comments

Comments
 (0)