Turbulence model
RANS equations describe the mean flow. The effect of turbulent eddies on the mean flow appears as extra mixing, which is modelled by a turbulent viscosity \(\nu_t\). A turbulence model computes \(\nu_t\) from the flow.
STEER uses the one-equation k–L model of Axell and Liungman (2001), referred to below as AL01. The model needs two quantities:
the turbulent kinetic energy \(k\), how energetic the eddies are, from its own transport equation ((1));
the length scale \(L\), how large the eddies are, from an algebraic formula. Near the ground the eddies are small; stable stratification makes them smaller still.
The model’s point relations are ERF’s (extern_erf/ERF_RANSClosure.H). The inputs are in the turb namespace
(Input reference).
Eddy viscosity and TKE sources
\(S^2 = 2S_{ij}S_{ij}\): the squared strain rate.
\(N^2 = (g/\theta_0)\,\partial\theta/\partial z\): the squared Brunt–Väisälä frequency.
\(c_\mu\), \(c_\mu'\): stability functions (below). The turbulent Prandtl number is \(c_\mu/c_\mu'\), equal to 1 in neutral flow.
\(C_{\mu 0} = 0.5562\) (
turb.Cmu0) and \(\kappa = 0.41\) (turb.kappa).\(k\) is bounded below by
turb.tke_floor(at least machine epsilon).
Length scale
The length scale starts from the geometric length
capped harmonically at turb.max_geom_lscale (100 m by default; 30 m, ERF’s default, before November 2026). Here \(\kappa\) is the von Kármán constant, \(d\) the wall
distance and \(z_0\) the roughness length. Stratification modifies it:
with the turbulent Richardson number and the constant \(C_b\) (turb.Cb, 0.35)
As in ERF, the unstable length is evaluated once, from \(l_g\).
Stability functions
From AL01, Eqs. 31–32:
The poles of \(c_\mu\) and \(c_\mu'\) lie at \(R_t = -3.5987\) and \(-3.6101\). Below
turb.Rt_crit, \(R_t\) is smoothly mapped towards turb.Rt_min (the map of Burchard and Petersen) so that
it never reaches them; turb.Rt_min must therefore lie above \(-3.598\). Near the pole \(c_\mu\) grows
without bound (1.5 at the default \(-3\), 7.3 at \(-3.5\), 78 at \(-3.59\)).
Neutral wall layer
Because \(\varepsilon\) contains \(C_{\mu 0}^3\), the model reproduces the neutral log law exactly when
\(l_g = \kappa(z + z_0)\), that is, where the cap turb.max_geom_lscale has no effect (set it very large to
remove it, as tutorial 1 does). In the wall layer
at every height, with \(u_*\) the friction velocity.
Wall distance
turb.wall_distance selects the wall distance \(d\) to the ground. With buildings and buildings.wall_tke = on
the closure takes the nearer of the ground and the nearest building wall, each with its own roughness
(Buildings).
terrain_height(default): the height of the cell centre above the ground of its column.tucker: the differential wall distance of Tucker (2003),\[\nabla^2\phi = -1,\quad \phi = 0 \text{ on the ground}, \qquad d = -|\nabla\phi| + \sqrt{|\nabla\phi|^2 + 2\phi} .\]On flat ground \(d\) is the height. Over terrain it approximates the true distance; the error is largest at convex crests (Results).
Laminar flow
turb.closure = none turns the closure off, for laminar flow and verification cases:
\(\nu_\mathrm{mol}\) (
turb.nu_molecular, required > 0) and \(\alpha_\mathrm{mol}\) (turb.alpha_molecular): the molecular viscosity and heat diffusivity.
\(k\) is then a passive scalar: it is transported and diffused but has no sources, and nothing reads it. The
fields are constant, ghost cells included, so a laminar run costs no closure evaluation. The inputs of the k–L
closure, and the options built on it (a canopy, the surface layer, the column first guess, the Newton correction of
the SIMPLEC stage, the buildings’ wall laws and wall k), are refused with none (Input reference, turb); so is
turb.face_mean, since every face mean of a constant gives the same value. The upwind blend
(convection.hybrid_sigma_max) needs turb.realizability, a k–L input, so a laminar run has none. The
laminar cylinder (Tests/Canonical_RANS/Cylinder_Laminar, Buildings, Validation) uses it.
Model options
turb.face_mean: how the cell diffusivities are averaged to the faces (Spatial discretization).turb.nut_relax: under-relaxation of \(\nu_t\) between iterations;turb.nut_relax_endends it below a relative residual (Ending the relaxation of \nu_t).turb.frozen_switch: holds at the floor, during the Newton stage, the cells whose \(k\) was at the floor when Newton started (Solution algorithm). The stable/unstable branch and the \(R_t\) smoothing are not frozen: the length and \(R_t\) are continuously differentiable across them (below).turb.ri_gate: the stratification gate (below).turb.shear_stencil: the vertical shear in \(S^2\) near the ground (Log-consistent shear near the ground).
Log-consistent shear near the ground
The shear production is \(\nu_t S^2\), and \(S^2\) takes the vertical gradients of \(u\) and \(v\) by a central difference over two layers. Near the ground the wind follows the log law, and the central difference of a logarithm is larger than its gradient. For \(u = (u_*/\kappa)\ln((d + z_0)/z_0)\), with \(d_k\) the height of the centre of cell \(k\) above the ground,
On uniform layers with \(z_0\) small against the layer the factor is 1.21 in the second cell, 1.06 in the third and 1.03 in the fourth, so \(S^2\) is 46 %, 12 % and 6 % high there. The wall cell is not affected: its \(k\) is the wall value.
With turb.shear_stencil = log_law the vertical gradients of \(u\) and \(v\) in \(S^2\) are
in every cell between the wall cell and the top cell (Source/LogShear.cpp). It is exact for a log profile. Away
from the ground it tends to the central difference: on uniform layers of thickness \(\Delta\) the two differ by
the factor \(1 + \Delta^2/(3 d^2)\). \(z_0\) is the column’s roughness length (bc.surface_z0 or the map
of bc.surface_z0_file). The other gradients in \(S^2\), the momentum equations and the wall cell are as
before. The cut cell of an immersed ground takes the wall law’s gradient with either stencil, with the same
\(z_0\) (a value or the map)
(Immersed terrain, Turbulence). The default is central, so body-fitted results do not change; immersed
results change through the cut cell’s gradient.
Measured. A neutral column driven by a geostrophic wind of 10 m/s (\(f_c\) = 1e-4 1/s, layers of
15.625 m, \(z_0\) = 0.1 m, turb.max_geom_lscale = 30, turb.face_mean = logarithmic, a slip top near
2 km), against the same column on
grids 16 and 32 times finer, extrapolated. Differences from that reference in the four cells above the wall cell
(body-fitted) or above the cut cell (immersed ground with solid fraction \(f\), Immersed terrain):
Ground |
\(k\), |
\(k\), |
Speed, |
Speed, |
|---|---|---|---|---|
Body-fitted |
+4.1 to +17.3 % |
−1.1 to −0.5 % |
−0.8 to −0.5 % |
−0.4 to −0.1 % |
Immersed, \(f\) = 0.3 |
+4.7 to +20.4 % |
−0.8 to −0.4 % |
−1.0 to −0.6 % |
−0.6 to −0.1 % |
Immersed, \(f\) = 0.7 |
+5.6 to +25.5 % |
−1.0 to +1.0 % |
−1.2 to −0.5 % |
−0.8 to −0.1 % |
Immersed, \(f\) = 0.9 |
+6.2 to +28.0 % |
−1.3 to +1.9 % |
−1.3 to −0.2 % |
−0.8 to 0.0 % |
Body-fitted, |
+4.7 to +13.7 % |
−3.2 to +0.1 % |
−1.4 to −1.3 % |
−1.1 to −0.5 % |
With the arithmetic face mean the cell above the wall cell keeps −3.2 % in \(k\) (−1.2 % in the next): the
arithmetic mean of a diffusivity that grows linearly from the ground is not the one that carries a log profile’s
stress. Every run reaches the steady verdict (4711 to 4785 iterations with log_law). These columns are not
CTests, and their decks and scripts are not in the repository: the reference is a separate fine-grid solution. The pressure-driven columns of
Tests/Canonical_RANS/Immersed_Column are (rt_log_shear_column_*, Immersed terrain).
Limits.
The cut cell’s speed above an immersed ground, with a capped length. The cap adds a term to the constant-stress profile, \(u = u_*[\ln((d + z_0)/z_0)/\kappa + d/l_\mathrm{max}]\), so the cell above the cut cell (the wall law’s reference cell) is faster than the log law by a share \(e_a\) that falls as \(1/l_\mathrm{max}\). The wall law reads both speeds as logarithmic, and its two parts must add to \(u_*^2\): \((1 - f)\,r_c^2 + f\,r_a^2 = 1\), with \(r_c\) and \(r_a = 1 + e_a\) the speeds of the cut cell and of the cell above over the log law. The cut cell is then slower by about \(e_a\,f/(1 - f)\). In the geostrophic column, with \(u_*\) from the cut cell’s \(k\):
turb.max_geom_lscaleStencil
\(f\) = 0.3
\(f\) = 0.7
\(f\) = 0.9
30 m
central−0.8 % (\(e_a\) +1.9 %)
−1.5 % (+0.7 %)
−1.7 % (+0.2 %)
30 m
log_law−1.3 % (+2.9 %)
−3.6 % (+1.5 %)
−8.2 % (+0.9 %)
100 m
central0.0 % (0.0 %)
+0.8 % (−0.3 %)
+3.4 % (−0.4 %)
100 m
log_law−0.3 % (+0.8 %)
−1.1 % (+0.5 %)
−2.6 % (+0.3 %)
100 m is the default of
turb.max_geom_lscale(30 m before November 2026). Withlog_law\(e_a\) is 3.1 to 3.5 times smaller at 100 m than at 30 m, as the cap’s term, and so is the cut cell’s deficit. Withcentralthe extra \(k\) lowers the speed of the cell above by about 1 %; at 30 m this offsets most of the cap’s term, and at 100 m it exceeds it, so the cut cell is fast at \(f\) = 0.9. At 100 m withlog_lawthe four cells above are within 0.8 % in \(k\) and 0.3 % in speed (central: \(k\) +5 to +26 %). Without the cap (turb.max_geom_lscale = 1e12) the cut cell is within 0.2 % withlog_law(Immersed terrain, Verification).It needs the height above the ground and its roughness length:
bc.zlo = surface_layerandturb.wall_distance = terrain_height. With buildings (buildings.type = immersed_forcing) the run stops: the closure’s distance there is the distance to the nearest wall.The column first guess (
init.first_guess = column) and an inflow table made from it keep the central difference: that column forms its own shear. The first guess and the inflow k next to the ground are then those ofcentral, and the 3-D solve adjusts them.Profiles that are not logarithmic. The formula scales the central difference by a factor below 1 on uniform layers: 0.83 to 0.94 in the second cell (\(z_0/\Delta\) from 0 to 1), at least 0.94 in the third. A linear profile’s gradient is then 17 % low in the second cell, and a stable log-linear profile’s (Obukhov length 100 m) 9 % low where the central difference is 9 % high. The buoyancy frequency keeps its central difference, so the gradient Richardson number of the second cell (also read by
turb.ri_gate) rises withlog_law. In the first full cell above a cut cell the factor falls with \(f\) (0.57 at \(f\) = 0.995), and on layers stretched by 1.3 it passes 1 a few cells up (1.006 in the sixth).Measured on flat, neutral columns only. It is not part of the recommended setting below. No terrain, stratified or canopy case has been run with it; the run is accepted there, and the profile near the ground is then not logarithmic.
Smoothness at neutral
With \(y = l_g^2 N^2/(C_b^2 k)\), the stable length is \(l_g(1 + y)^{-1/2}\) and the unstable one
\(l_g(1 - y)^{1/2}\) (before the \(R_t\) smoothing). Both are \(l_g(1 - y/2) + O(y^2)\), so \(L\),
\(R_t\) and \(\nu_t\) have the same value and the same first derivative in \(N^2\) on both sides of
\(N^2 = 0\); only the second derivative jumps. The smoothing map of \(R_t\) has slope 1 on both sides of
turb.Rt_crit. The kink of the closure is the floor \(k_f = \max(k, k_\mathrm{floor})\). (The neutral band
\(|N^2| \le\) machine epsilon, where \(L = l_g\), is a jump in \(L\) of relative size \(y/2\) at
its edge: 8e-10 at \(k\) = 1e-3, but close to 1 at \(k\) = machine epsilon, where \(\nu_t\) is
negligible.) Near the floor the closure is smooth but steep: at \(k\) = 1e-6 the \(N^2\) scale of
\(L\), \(C_b^2 k / l_g^2\), is about 4e-10 s⁻², close to the change of \(N^2\) a finite-difference
Jacobian makes, which then misses \(\partial L/\partial N^2\) by about 30 %.
Stratification gate
In a nearly neutral layer, under an inversion for example, \(N^2\) can be round-off or
numerical noise of either sign. With turb.ri_gate \(= Ri_0 > 0\) the length \(L\) and \(R_t\)
(and through \(R_t\) the stability functions and the heat diffusivity) use
with \(S^2 = 2 S_{ij}S_{ij}\) (\((\partial u/\partial z)^2\) in simple shear, so \(Ri\) is the gradient Richardson number). Where the shear dominates (\(|Ri| \ll Ri_0\)) the stratification is suppressed by \((Ri/Ri_0)^2\); in an inversion (\(|Ri| \gg Ri_0\)) it is kept to within \((Ri_0/Ri)^2\). The gate keeps the sign of \(N^2\), is monotone in \(N^2\) (its slope is at most 1.125, at \(|Ri| = \sqrt{3}\, Ri_0\)), is infinitely differentiable wherever \(S^2 > 0\) (at \(N^2 = S^2 = 0\) it is continuous but not differentiable), and is exact at \(N^2 = 0\), so a neutral run is unchanged bit for bit. The buoyancy production \(P_b = -\nu_t' N^2\) keeps the ungated \(N^2\), so the buoyancy sink of \(k\) stays that of the heat flux \(\nu_t'\,\partial\theta/\partial z\); the buoyancy of the momentum equation is not gated either.
It is a smooth, local form of the neutral switch of Kynema-SGF’s KLAxell (lengthscale_switch: below
meso_sponge_start, when the deck’s surface heat flux is below 1e-5, the neutral length and \(R_t = 0\)).
That switch is a jump in value and depends on a global input: with KLAxell’s defaults (Cb_stable 0.25,
\(\lambda\) = 30 m) at \(N^2\) = 1e-4 s⁻², \(k\) = 0.1 m²/s² and \(z\) = 100 m it changes \(L\)
from 7.2 m to 17.3 m. The gate changes stratified answers: in the stable
surface layer \(Ri\) is about 0.05–0.2, so \(Ri_0\) = 0.01 lowers \(N^2\) there by 3.8 % (at
\(Ri\) = 0.05) to 0.25 % (at 0.2).
It is off by default (Results).
Eddy-viscosity cap for separated flow
A one-equation closure with an algebraic length keeps \(\nu_t\) large in the shear layer
that leaves a crest, so the flow reattaches too soon behind steep terrain (no separation behind the Bolund
escarpment or the Ishihara–Zhou ridge with the default closure). With turb.realizability \(= C_r > 0\) the
new eddy viscosity is capped before the relaxation of turb.nut_relax:
with \(w\) = turb.nut_relax and \(\nu_t^\mathrm{old}\) the stored value of the last iteration. The form
is that of the SST limiter (Bradshaw’s \(-\overline{uw}/k = a_1 = 0.31\)). Durbin’s (1996) time-scale bound is
\(\nu_t \le \alpha k/(\sqrt{6}\,|S|)\) with \(|S|^2 = S_{ij}S_{ij}\); in the \(S\) above it is
\(C_r = \alpha/\sqrt{3} \approx 0.346\) for \(\alpha = 0.6\) (0.245 = \(\alpha/\sqrt{6}\) would be the same
formula with Durbin’s \(|S|\) taken as this \(S\)). Unlike SST it acts everywhere, not only inside the
boundary layer. With the closure’s relations, \(\nu_t S/k = C_{\mu 0}^2 \sqrt{P/\varepsilon}\) in neutral flow, so the
cap acts where \(P/\varepsilon > (C_r/C_{\mu 0}^2)^2\). \(C_r = 0.309\) is 0.1 % below \(C_{\mu 0}^2 = 0.30936\)
for the default \(C_{\mu 0}\): the cap is active in an equilibrium surface layer too, where it lowers
\(\nu_t\) by 0–3 % (most near the wall, where \(P/\varepsilon\) is 1.04–1.05 in the first cells), and it limits
\(\nu_t\) strongly where the strain far exceeds equilibrium, as in the shear layer leaving a crest. Applying the
cap before the relaxation lets \(w < 1\) damp the cap’s changes between iterations: an imposed two-iteration
oscillation of the cap passes with the factor \(w/(2 - w)\) (1/3 at \(w = 0.5\)) instead of 1. Without the
option the cap is the largest real number and the closure is unchanged bit for bit. The derivative the Newton stage
reads follows the cap (\(\mathrm{d}\,\mathrm{cap}/\mathrm{d}k = \mathrm{cap}/k\)); the column first guess
(init.first_guess = column) does not apply it. Around buildings, whose edges fix their separation, the cap fades
out within buildings.limiter_zone building heights (Buildings).
Ending the relaxation of \(\nu_t\)
The steady states are the same for every turb.nut_relax: at a fixed point
\(\nu_t^\mathrm{old} = \nu_t^\mathrm{new}\). Whether the iteration reaches one is not. On the Columbia Gorge outer
domain (Tests/Real_Terrain/Columbia_Gorge, 200 m cells) the run with turb.nut_relax = 0.5 stops falling at a
relative residual of \(3.9 \times 10^{-3}\); with turb.nut_relax = 1 it reaches the steady verdict after 164
iterations. The stall is a period-2 cycle, not a fixed point: \(k\), \(\nu_t\) and the k residual change sign
every iteration and repeat every second one, so the log, which prints every tenth iteration, shows norms frozen to
seven digits. The cycle sits in a few cells of the first layers on the steep south face of the Columbia Hills (half of
the k residual’s squared norm in one cell, 99 % in 12), where the cap holds; there \(k\) alternates between 2.07
and 2.15 m²/s² and \(\nu_t\) between 2.63 and 2.71 m²/s; no \(k\) is clipped. The cap
\(C_r k/S\) that sets the new \(\nu_t\) is built from the \(k\) at the start of the iteration, and that
\(k\) is low when \(S\) is high: the two swing in anti-phase (\(k\) by ±1.9 %, \(S\) by ±2.8 %), so
the cap swings by ±4.7 %. A cap that alternates by \(\pm\delta\) gives a relaxed \(\nu_t\) that alternates by
\(\pm\delta\,w/(2 - w)\), ±1.6 % with \(w = 0.5\), as observed. The cycle therefore runs through the momentum
equations (the strain) as well as through \(k\).
What a one-cell model shows. With \(S\) held fixed, the k update alone has the gain \(A\); through \(\nu_t\) it gains the production feedback \(B\); \(h\) is the stored \(\nu_t\), scaled by \(k/(m\,\nu_t)\):
\(A = 1 - a/D\): the k update with \(\nu_t\) held, \(a\) the derivative of the k residual in \(k\) and \(D\) the diagonal of the update (pseudo-time, diffusion and Patankar terms, a rate);
\(B = P\,m/(k\,D) \ge 0\): the change of production through \(\nu_t\), with \(P\) the shear production and \(m = \partial\nu_t^\mathrm{new}/\partial k\cdot k/\nu_t^\mathrm{new}\) (\(m = 1\) where the cap holds);
\(w\) =
turb.nut_relax.
The iteration converges for \(A^* < A < 1 - B\), with
(\(-1 - B\) at \(w = 1\), \(-1 - B/3\) at \(w = 0.5\); the range is empty for \(B \ge (2 - w)/(1 - w)\)). At \(A = A^*\) an eigenvalue passes through \(-1\): a two-iteration cycle. The upper bound does not depend on \(w\). So \(w < 1\) can only narrow the range against a cycle. For the Patankar update of \(k\) in neutral flow, however, \(A \ge -1/2\), so this model alone does not cycle; with \(S\) added as a third variable, random parameter samples gave no case that is stable at \(w = 1\) and cycles through an eigenvalue below \(-1\) at \(w = 0.5\). What it means: the cycle needs the coupling of \(k\), \(\nu_t\) and the strain between neighbouring cells; why it persists with \(w = 0.5\) and not with \(w = 1\) is not explained here. The fixed points are the same for every \(w\).
The option. With turb.nut_relax_end \(= r_e > 0\) the relaxation ends, on each grid-sequencing level, the
first time the driver’s relative residual \(r\) (Solution algorithm) after a SIMPLEC iteration falls
below \(r_e\) (Newton iterations of steady.stage = simplec_newton do not end it); from the next
iteration on \(w = 1\) and \(\nu_t\) is the new value bit for bit. It does not start again if \(r\) rises.
The run prints one line when it ends. A restart replays the recorded \(r\) values with the restart’s
turb.nut_relax_end, so with the same value it continues with the same decision. A nest’s relaxation ended in its
one-way run stays ended in the joint run. steady.stage = unsteady refuses the option (the end would fall within a
physical step). Once the relaxation has ended the Newton stage (steady.stage = simplec_newton) no longer hands back for
it (Solution algorithm). On the Columbia Gorge outer domain \(r_e = 0.01\) ends the relaxation at the first
level-0 iteration below 0.01 (between iterations 50 and 60, where the convection blend also freezes) and the run reaches the steady
verdict after 164 iterations. The coarse levels stop at \(r\) just below 0.01, so the relaxation ends on their
last iteration and they are unchanged.
Limits. After the end, \(\nu_t\) is not damped between iterations: a cap that still alternates at the end passes to \(\nu_t\) in full instead of by \(w/(2 - w)\) (three times more with \(w = 0.5\)). On the Columbia Gorge the run converges after the end, but nothing guarantees this in general. The rough Ishihara–Zhou ridge with the recommended setting is a counter-example: it reaches the steady verdict after 406 iterations without the option; with \(r_e = 0.01\) the relaxation ends at iteration 175, \(r\) falls to \(5 \times 10^{-4}\) while the \(k\) residual grows from iteration 220 on, and from about iteration 690 \(r\) oscillates between 0.03 and 0.13 with no steady verdict after 20000 iterations. The option is therefore not part of the recommended setting; use it on a run that stalls in a two-iteration cycle. A run that stalls above \(r_e\) is not helped; the option does not detect a cycle. The default 0 keeps the relaxation to the end of the run, so existing decks are unchanged bit for bit.
Near-ground blend towards upwind
With the cap, the second-order limited convection can leave a steady run at a fixed,
unconverged state (the rough Ishihara–Zhou ridge stalls at a relative residual of 0.17 with
van_leer and van_albada; first-order upwind converges). With convection.hybrid_sigma_max
\(= \sigma_\mathrm{max} > 0\) the momentum and θ convection of the residual become
\(C_\mathrm{hi}\): the limited scheme of
convection.limiter; \(C_\mathrm{up}\): first-order upwind (the scheme of the implicit side);\(s(t) = t^2(3 - 2t)\) on \([0, 1]\) (0 below, 1 above): a smooth step;
\(a\): the ratio of the closure’s eddy viscosity to the cap (\(a \ge 1\) where the cap acts);
\(d\): the height above the ground (the closure’s wall distance without buildings; with them the ground’s distance alone, Buildings); \(H_h\) =
convection.hybrid_height.
\(\sigma\) is a cell field, interpolated to the faces of \(u, v, w\), updated once per iteration as
\(\sigma \leftarrow \sigma + \lambda(\sigma_t - \sigma)\) with \(\lambda\) = convection.hybrid_relax, and
frozen once the relative residual falls below convection.hybrid_freeze (after at least \(2/\lambda\) updates
on each grid level), so a converged state satisfies one fixed scheme. The blend is of the convection operators,
not of the face fluxes: it is not conservative where \(\sigma\) varies (in a 1-D test with \(\sigma\) rising
from 0 to 0.1 over a few cells, a net source of 0.2–0.4 % of the flux jump; mass is not affected). \(\sigma\) is
not checkpointed, so io.restart with the blend aborts. The blend also aborts with
steady.stage = simplec_newton and unsteady.
Where it acts. Because \(C_r\) is at the equilibrium value, \(a\) is 1.00–1.03 in an equilibrium surface layer, so \(\sigma\) reaches \(\sigma_\mathrm{max}\) over most of the near-ground layer below \(H_h\), on the windward side as well as in the lee; inside a recirculation, where \(k\) is carried in (\(P < \varepsilon\)), \(a\) can fall below 0.8 and the blend switches off. With \(\sigma_\mathrm{max} = 0.1\) the added horizontal numerical diffusion near the ground is of the order of the turbulent viscosity there (about 5 m²/s at 10 m on Askervein) and changes the approach-flow speed-up by about 0.2 %. A gate that acts only above equilibrium (for example \(a > 1.05\)) is not in this version.
Recommended setting
For terrain with separated lees: turb.realizability = 0.309, turb.nut_relax = 0.5,
convection.hybrid_sigma_max = 0.1, convection.hybrid_height = 2.5 terrain heights and
turb.max_geom_lscale = 100 (the default since November 2026; on Big Southern Butte the length is uncapped with a moving lid, so that the inflow
does not drift over its 18.7 km fetch). turb.nut_relax_end (Ending the relaxation of \nu_t) is not part of it. \(C_r = 0.309\) is \(C_{\mu 0}^2\) for the default turb.Cmu0
only. On the benchmarks (Tests/Real_Terrain/WindNinja2019, IshiharaZhou,
RUSHIL) every case reaches the steady verdict with it:
Case |
Default closure |
Recommended setting |
|---|---|---|
Ishihara–Zhou ridge, smooth (tunnel reattachment 150–200 m) |
no reversed flow; U rms 0.80 m/s |
reversed 42–170 m; 0.30 m/s |
Ishihara–Zhou ridge, rough (250–300 m) |
reversed 59–122 m; 0.70 m/s |
reversed 47–173 m; 0.58 m/s |
RUSHIL Hill 3 (tunnel 0.27a–2.17a at 0.1 H) |
0.64a–1.27a; 0.50 m/s |
0.58a–1.45a; 0.48 m/s |
RUSHIL Hill 5 / Hill 8 |
attached, 0.23 m/s / attached, 0.23 m/s |
attached, 0.21 m/s / attached, 0.20 m/s |
Askervein, all masts (RMSE) |
1.24 m/s |
0.97 m/s |
Bolund cases 1 / 3 / 4, all masts (RMSE) |
1.46 / 0.66 / 0.89 m/s |
1.25 / 0.64 / 1.23 m/s |
Bolund case 4 (flow from the east, the lee over the escarpment) is slower than measured in the lee with the
cap. On Big Southern Butte the lee separates only on the unsmoothed terrain with a 4 m first layer
(Tests/Real_Terrain/WindNinja2019/inputs_bsb_srtm: lee RMSE 2.58 m/s against 3.53 m/s on the paper-like mesh,
with 68 m first cells and smoothed terrain).
Tests/Paper/JWEIA2026 runs all the variants of the paper on this setting (without and with the sensor, the
limit without the blending, first-order upwinding, the sensitivity to \(C_r\), \(\sigma_\mathrm{max}\)
and \(H_h\), and the grids) and draws its figures.
The comparison uses data made openly available by N. Wagenbrenner (windninja-tools, the Big Southern Butte database and Wagenbrenner et al. 2019), T. Ishihara and T. Zhou (the ridge wind-tunnel data) and ERCOFTAC (the RUSHIL data of Khurshudyan, Snyder and Nekrasov); we thank them. The case READMEs list the sources and licences.