Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Implicit steady iteration with RANS and constituents (stages P5c and P5d): results

Date: 1 November 2026. Plan and predeclared gates: accuracy and steady-solver plan, stages P5c and P5d. Method: flow model card (“Steady pseudo-time algorithms” and “Neutral turbulence package”) and transport model card. Campaign script: validation/steady_algorithms.py --case canyon --output DIR (the candidate defaults to implicit_projection for the canyon).

All measurements: one solver thread on a 2-vCPU Intel Xeon VM (2.1 GHz) that also ran other work, so timings are approximate. The P5c/P5d code is commit 2ffedec; the recipe rows at the end use the performance iterations (validation/PERFORMANCE_ITERATIONS_RESULTS.md).

Summary

StageGateResult
P5csame fixed point as the explicit mode on the development canyon, with the tightening test (mode differences of U, k and ε shrink ≥ 5× per decade)failed for U on the second decade (2.9×); k and ε pass; the round-off pair agrees to 1.5e-10
P5cempty-ABL check with unchanged gates (2% U, 5% k and ε in H..5H)pass, in steady mode: drifts 0.26% / 0.81% / 3.44%, equal to the explicit steady run’s
P5czero floor eventspass in every run
P5ccanyon 27k and 93k acceptedpass
P5cmodel card updateddone
P5dmass budget, negative mass, positivitypass: relative budget defects ≤ 3.1e-13, no negative mass
P5dunit normalization and superpositionpass: doubling the emission doubles every concentration to 1e-12 (Rust test, both implicit algorithms)
P5dsteady mass balance, receptorspass: receptors equal the explicit mode’s to 2.2e-7 (development canyon) and 5e-7 (27k)
P5drefinementthe discrete steady state is the explicit mode’s at every grid; the canyon itself is not grid-converged (below)

Fixed point (P5c)

The development canyon (cases/canyon/wh1-wind270.json, 18×16×12, open sides, ground_open_top) without its tracer, explicit and implicit_projection, at the case tolerances (steady residual 1e-5, monitor 1e-3) and with both tightened 10× and 100×. Differences are maxima over the field, relative to the explicit field’s maximum. “To reference” is each run’s distance to the round-off explicit solution (reported, not gated).

TighteningSteps explicit / implicitSolver sU differencek differenceε differenceTo reference, U: explicit / implicit
11000 / 50011.8 / 4.01.69e-53.40e-53.47e-51.7e-5 / 1.4e-6
101200 / 50014.1 / 4.02.10e-64.74e-63.24e-63.4e-6 / 1.4e-6
1001400 / 70015.2 / 5.27.28e-77.17e-75.22e-79.0e-7 / 1.7e-7

Shrink per decade: U 8.1 and 2.9, k 7.2 and 6.6, ε 10.7 and 6.2. The U gate fails on the second decade and is recorded as failed. The last column shows why: at 100× the mode difference is the explicit run’s own distance to the converged solution (9.0e-7), while the implicit run is five times closer.

Round-off pair: the turbulence-residual probe of assess has a floor near 1.8e-10 on this case in both modes (it differences k over one 1e-6-scaled explicit step), so the cavity’s 1e-11 tolerance is unreachable; the campaign uses 1e-9 for the residual and the monitor. Explicit 2,600 steps (31.1 s), implicit 1,000 (7.5 s); differences U 1.5e-10, k 1.0e-10, ε 6.1e-11. A separate pair run to the iteration limit (residual tolerance 1e-11, 140,642 explicit and 200,000 implicit steps, momentum residuals 3.2e-15 and 8.6e-16, both stopped by the same 1.805e-10 turbulence floor) differs by 1.2e-14 (U), 7.3e-15 (k) and 9.8e-15 (ε): the two modes have the same fixed point.

Empty ABL (P5c)

The empty-ABL check is transient in run_suite.py; the implicit algorithms run in steady mode only, so the check ran in steady mode for both (new option run_suite.py --abl-steady, gates unchanged; the implicit rows add --abl-numerics '{"steady_algorithm": "implicit_projection"}', and the recipe row also "pressure_relative_tolerance": 0.1, "max_time_step_s": 100):

ModeStepsSolver sDrift U / k / ε (H..5H)Floors
explicit270027.20.262% / 0.810% / 3.427%0
implicit_projection4005.00.263% / 0.806% / 3.437%0
implicit_projection, recipe, final code (run_suite.py --abl-steady)3001.40.263% / 0.806% / 3.437%0

Tracer and grids (P5c, P5d)

Development canyon with its line-source tracer, case settings:

ModeStepsSolver sRelative budget defectMax receptor difference
explicit380042.07.5e-16—
implicit_projection130010.96.1e-142.2e-7

Performance canyons (cases/performance/canyon-27k.json, 36×32×24, and canyon-93k.json, 54×48×36), with the tracer:

GridMode, numericsStepsSolver sAcceptedFloorsBudget defect
27kexplicit, case settings14,4002974yes (needs more than the case’s 7,000 steps)02.3e-15
27kimplicit, case settings1,400180*yes01.9e-13
27kimplicit recipe1,00070.7yes01.1e-13
93kimplicit, case settings2,5001772*yes09.0e-14
93kimplicit recipe2,500684yes03.1e-13
27kimplicit recipe, final code (d7a9a31)1,00057.6yes01.1e-13
93kimplicit recipe, final code2,500615yes03.1e-13

* two runs shared the two cores. Implicit recipe: implicit_projection, pressure_relative_tolerance 0.1 and max_time_step_s 100, with the CFL cap of performance iteration 7 (commit 5d08fc5). At 27k the implicit receptors equal the explicit ones to 5e-7 (case settings) and 1.2e-6 (recipe), within the steady tolerances. Within the case’s own budgets (7,000 steps, 240 s) the explicit mode does not finish the 27k canyon; the implicit mode does.

Refinement: the sensor1 receptor is 2.31e-7 kg/m³ on the development grid, 5.29e-7 at 27k and 6.75e-7 at 93k in both modes. The sub-stepping changes the path, not the discrete steady state, so the refinement behavior is the explicit mode’s; the canyon is not grid-converged on these grids, which remains the open fine-grid gate of the model card.

Choices made on the development cases

  • Scalar sub-step cap 16 (solver::SCALAR_SUBSTEPS_MAX): with the final recipe, caps 4, 8, 16 and 32 reach the development canyon’s gates in 1000, 600, 400 and 400 outer iterations (4.5, 2.8, 2.4 and 3.6 s).
  • The turbulence inner solves use the momentum correction’s predeclared BiCGStab tolerance and cap (0.1, 50); one iteration per solve sufficed in most outer iterations.