feat(edmfx): add horizontal diffusion of prognostic EDMFX updrafts - #4659
Merged
haakon-e merged 1 commit intoJul 13, 2026
Merged
Conversation
Member
Author
|
This change is part of the following stack: Change managed by git-spice. |
haakon-e
force-pushed
the
he/edmfx-horizontal-momentum-diffusion
branch
from
July 9, 2026 01:21
67c39de to
5865edb
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 9, 2026 01:21
8adab8a to
3c4cd00
Compare
This was referenced Jul 9, 2026
Contributor
|
📖 Docs preview for this PR: https://clima.github.io/ClimaAtmos.jl/previews/PR4659/ |
haakon-e
changed the base branch from
he/edmfx-horizontal-momentum-diffusion
to
he/edmf-3d-diffusion
July 9, 2026 02:42
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 9, 2026 02:42
3c4cd00 to
7aa4dd9
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 9, 2026 08:24
05ec4d9 to
e5787ab
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 9, 2026 08:24
7aa4dd9 to
b61b1f4
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 9, 2026 19:04
e5787ab to
ac60a14
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 9, 2026 19:04
b61b1f4 to
8632e7d
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 10, 2026 01:15
ac60a14 to
f47c6c6
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 10, 2026 01:15
8632e7d to
6d768fa
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 10, 2026 07:36
f47c6c6 to
ee9a351
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 10, 2026 07:36
6d768fa to
2f58f5e
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 10, 2026 19:29
ee9a351 to
ded13f0
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 10, 2026 19:29
2f58f5e to
59f4895
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 10, 2026 20:30
59f4895 to
5af9a08
Compare
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 11, 2026 00:29
ded13f0 to
231327f
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 11, 2026 00:29
5af9a08 to
eb9ff2c
Compare
Diffuse the prognostic updraft variables horizontally, mirroring `edmfx_vertical_diffusion` with the mixing length limited by the horizontal node spacing: moist static energy and total specific humidity at `K_h`, and the updraft SGS tracers at `α_vert_diff_tracer · K_h`, all weighted by the updraft density. The updraft dry-air mass is unchanged by the water flux, so `ρa` receives the counterpart tendency `ρa/(1 - q_tot)` times the `q_tot` tendency, mirroring the hyperdiffusion treatment. Always explicit; enabled by the opt-in `edmfx_horizontal_diffusion` config option (default false). Extend the tests: horizontally uniform updraft fields produce no tendency, perturbed fields produce one with the stated `ρa`/`q_tot` pairing, and the single-column tendency is identically zero.
haakon-e
force-pushed
the
he/edmf-3d-diffusion
branch
from
July 11, 2026 01:33
231327f to
e9244b3
Compare
haakon-e
force-pushed
the
he/edmfx-updraft-horizontal-diffusion
branch
from
July 11, 2026 01:33
eb9ff2c to
7ab7415
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Diffuses the prognostic updraft variables horizontally, mirroring
edmfx_vertical_diffusionwith the mixing length limited by the horizontal node spacing: moist static energy and total specific humidity atK_h, and the updraft SGS tracers atα_vert_diff_tracer · K_h, all weighted by the updraft density. The updraft dry-air mass is unchanged by the water flux, soρareceives the counterpart tendencyρa/(1 − q_tot)times theq_tottendency, mirroring the hyperdiffusion treatment. Always explicit; enabled by the opt-inedmfx_horizontal_diffusionconfig option (defaultfalse), separate from the grid-meanedmfx_sgs_horizontal_diffusive_fluxoption in the same wayedmfx_vertical_diffusionis separate fromedmfx_sgs_diffusive_flux.Extends the tests: horizontally uniform updraft fields produce no tendency, perturbed fields produce one with the stated
ρa/q_totpairing, and the single-column tendency is identically zero.