- [#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 configurations: scalar and TKE fluxes, the momentum stress `τ = -2 K_{u,h} S` with the full strain rate, the corresponding TKE shear production from horizontal gradients, and diagnostics `lmixh`, `edth`, and `evuh`. The water and enthalpy fluxes follow the vertical convention of [#4753](https://github.com/CliMA/ClimaAtmos.jl/pull/4753): `q_tot_eff = q_tot - q_rai - q_sno` diffuses as a single substance with the enthalpy flux `ρ K_{h,h} (∇ₕs_d + (h_eff + Φ) ∇ₕq_tot_eff)`, suspended cloud mass and number species take a proportional share of it, and rain and snow receive no horizontal transport. With prognostic updrafts and the separate opt-in `edmfx_horizontal_diffusion` config option (default `false`, requires `edmfx_sgs_horizontal_diffusive_flux`), the grid-mean horizontal specific tendencies are also applied to the updraft scalars (moist static energy, total specific humidity, cloud species, and SGS tracers), so each subdomain inherits the grid-mean horizontal diffusion.
0 commit comments