You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(edmfx): add horizontal diffusion of prognostic EDMFX updrafts
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.
Copy file name to clipboardExpand all lines: NEWS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ ClimaAtmos.jl Release Notes
4
4
main
5
5
----
6
6
7
+
-[#4659](https://github.com/CliMA/ClimaAtmos.jl/pull/4659)![][badge-✨feature/enhancement] Add horizontal diffusion of prognostic EDMFX updrafts (moist static energy, total specific humidity with its area-weighted density counterpart, and SGS tracers), enabled by the opt-in `edmfx_horizontal_diffusion` config option (default `false`).
7
8
-[#4657](https://github.com/CliMA/ClimaAtmos.jl/pull/4657)![][badge-✨feature/enhancement] Add a horizontal component to the EDMFX SGS diffusive flux, enabled by the opt-in `edmfx_sgs_horizontal_diffusive_flux` config option (default `false`), for high-resolution box configurations: scalar and TKE fluxes, the momentum stress `τ = -2 K_u S` with the full strain rate, the corresponding TKE shear production from horizontal gradients, and diagnostics `lmixh`, `edth`, and `evuh`.
8
9
-[#4648](https://github.com/CliMA/ClimaAtmos.jl/pull/4648)![][badge-🔥behavioralΔ] Carry the energy of sedimenting water at each subdomain's own value under `PrognosticEDMFX`. Each sedimenting species transports its specific internal, potential, and kinetic energy `e_int(T) + Φ + Kin(w, u)`; the grid-mean sedimentation energy flux is set equal to the sum of the updraft and environment fluxes, each the subdomain sedimentation mass flux times its specific energy (with `Φ` common to all subdomains and the environment mass flux taken as the grid-mean residual `ρqw - ρaʲqʲwʲ`). The updraft kinetic energy uses the updraft velocities; the environment kinetic energy uses the grid-mean terminal velocity, since the environment terminal velocity is not stored separately.
9
10
-[#4653](https://github.com/CliMA/ClimaAtmos.jl/pull/4653)![][badge-🔥behavioralΔ] Improve the manual implicit Jacobian (the tendencies are unchanged; behavior changes only through the single-Newton-iteration implicit solve).
Copy file name to clipboardExpand all lines: config/default_configs/default_config.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -434,6 +434,9 @@ edmfx_nh_pressure:
434
434
edmfx_vertical_diffusion:
435
435
help: "If set to true, it switches on vertical diffusion of prognostic EDMFX updrafts. [`true`, `false` (default)]"
436
436
value: false
437
+
edmfx_horizontal_diffusion:
438
+
help: "If set to true, it switches on horizontal diffusion of prognostic EDMFX updrafts, with the mixing length limited by the horizontal node spacing. Intended for high-resolution box runs. [`true`, `false` (default)]"
Copy file name to clipboardExpand all lines: docs/src/edmf_horizontal_diffusion.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,16 @@ The corresponding shear production of TKE uses the strain rate built from horizo
42
42
43
43
which is positive definite; the production from vertical gradients and its stencil are unchanged. This mirrors the decoupled Smagorinsky-Lilly split, in which each directional norm is built from that direction's gradients.
44
44
45
+
## Updraft horizontal diffusion
46
+
47
+
The separate option `edmfx_horizontal_diffusion` (default `false`) switches on horizontal diffusion of the prognostic updraft variables, mirroring the vertical updraft diffusion of `edmfx_vertical_diffusion` with the horizontal mixing length: for each updraft,
for the moist static energy, the total specific humidity, and the updraft SGS tracers (the latter scaled by ``\alpha``). The updraft dry-air mass is unchanged by the water flux, so the area-weighted density ``\rho a^j`` receives the counterpart tendency ``\rho a^j/(1 - q_\text{tot}^j)`` times the ``q_\text{tot}^j`` tendency, mirroring the hyperdiffusion treatment.
54
+
45
55
The horizontal flux mirrors the vertical EDMFX diffusive flux: the same variables, the same tracer set, and the same scaling, with horizontal rather than vertical operators.
0 commit comments