Test cases
STEER is verified on a sequence of cases of increasing complexity. Each case adds one new feature to the case
before it, so a failure points to the feature just added. A new solver or option is tested on the cases in this
order. Most cases are ERF’s Canonical_RANS cases, so ERF provides a reference solution (ERF reference solutions). The input
files are in Tests/Canonical_RANS/ and Tests/Real_Terrain/.
Steady cases
No. |
Case |
What it tests |
Test |
|---|---|---|---|
1 |
1-D neutral column |
Wall model, turbulence model and vertical diffusion. The log law and the equilibrium \(k\) are known exactly. |
|
1b |
1-D neutral column, immersed ground |
The same column on a flat mesh with the ground inside a layer (Immersed terrain): the wall stress balances the force for solid fractions 0, 0.3, 0.7 and 0.9, and at 0 the column repeats the body-fitted one. |
|
1c |
Ridge and round hill, immersed ground |
A sloping ground immersed in a flat mesh against the terrain-following mesh (Immersed terrain): the wind along a ridge (the wall law on slopes up to 18°), across a ridge and over a round hill (crest speed and lee minimum). |
|
2 |
Flat 3-D periodic (ERF |
Horizontal directions, pressure, Coriolis forcing. |
|
3 |
2-D hill (ERF |
Terrain-following mesh, metric terms, wall distance. |
|
4 |
3-D hill (ERF |
Flow around as well as over a hill. |
|
5 |
Askervein hill |
Real terrain and field measurements (masts on lines A and AA). |
|
5b |
Askervein, conventionally neutral |
Case 5 with stratification aloft, Coriolis forcing and a Rayleigh layer (below). |
|
5c |
Askervein, ERF’s setup |
Case 5 with ERF’s own inflow (power law from 210° through two faces) and Rayleigh layer on ERF’s full mesh, compared with ERF’s URANS on lines A and AA. |
|
6 |
Bolund, Big Southern Butte |
A steep escarpment (Bolund) and an isolated butte, with Askervein, against field measurements and the WindNinja results of Wagenbrenner et al. (2019). Flow separation in the lee may prevent a steady solution. |
Comparison runs in |
7 |
Perdigão |
A double ridge at 128 m cells with a target wind of 10 m/s at 100 m from the south-west, through two faces
( |
|
Tests/Real_Terrain/Sites_128m also holds Altamont Pass (power-law inflow, rt_sites128_altamont_power_law)
and the Flatirons (an inflow table from STEER’s column, rt_sites128_flatirons_inflow_file,
rt_sites128_flatirons_column, rt_sites128_flatirons_table); the four nightly tests check that each case
reaches a steady state. The four sites also have hybrid-mesh decks (Immersed terrain), one level with
LU-SGS: rt_sites128_butte_log_law_hybrid, rt_sites128_altamont_power_law_hybrid,
rt_sites128_perdigao_target_wind_hybrid and rt_sites128_flatirons_inflow_file_hybrid (nightly) check the
steady verdict. The column tests rt_sites128_perdigao_column_z0 and rt_sites128_column_z0_needed
run init.column_z0 under a roughness map.
Case 5b. Case 5 keeps the potential temperature, gravity, Coriolis forcing at 57.2° N and the flat case’s
sounding: an inversion from 700 m, 0.03 K/m above, the top raised to 1599 m and Rayleigh damping above 1200 m. The
inflow is the steady mean of a precursor column (inputs_precursor_askervein_cnbl), whose geostrophic wind turns
the 10 m wind onto +x with \(u_* = 0.6\) m/s, the inflow of case 5. The wind veers with height, so the flow enters
through the west and north faces and leaves through the east and south faces. There is no ERF reference yet.
Unsteady cases
The unsteady solver (steady.stage = unsteady, Time driver) is tested on these cases.
Case |
What it tests |
Test |
|---|---|---|
2-D hill ( |
Ten steps of 60 s on 1, 2 and 4 ranks give the same steps and the same answer; a restart at a step boundary continues bit for bit; averages and probes. |
|
Laminar cylinder ( |
At Re = 40 the unsteady run settles to the steady answer; at Re = 100 it sheds vortices (Buildings, Validation). |
Comparison runs. |
RUSHIL Hill 5 and Askervein with ERF’s setup ( |
The time mean of the unsteady run against the steady run of the same deck (Results). |
Comparison runs; |
Canopies, buildings, nests and immersed terrain
Each capability has its own cases, described on its page. Each case folder’s README.md and Testing
give the CTest names.
Capability |
Cases |
|---|---|
Forest canopy (Forest canopy) |
|
Buildings (Buildings) |
|
Nests (Nests in one run, Two-way nests (nest.feedback = defect)) |
|
Immersed terrain (Immersed terrain) |
|
Transient cases
ERF’s Canonical_RANS set also has two stratified flat cases. They have no steady solution, so STEER does not use them as steady references:
Case |
Why it is not steady |
|---|---|
|
GABLS1 cools the surface throughout, and its low-level jet is an inertial oscillation. |
|
The mixed layer deepens and warms throughout. |
They can be compared through quasi-steady quantities (\(u_*\), jet height, boundary-layer depth).
Notes
A case with Coriolis forcing started from a uniform geostrophic wind oscillates with the inertial period \(2\pi/f\) (17.5 h at \(f = 10^{-4}\) s-1) before it settles. Its ERF reference therefore runs 48 h (ERF reference solutions).
A case that may not be steady (case 6) is still run. If it does not meet the convergence criteria (Convergence criteria), it is reported as not steady. A steady run that stops at its iteration limit is not by itself a sign of an unsteady flow (Results). The unsteady solver can follow such a flow in time, from a deck without grid sequencing and the upwind blend (How-to guides).
Results for these cases are in Results.