Skip to content

Run the steady gates in OpenFOAM's sweep order - #113

Merged
tihiera merged 1 commit into
developfrom
test/steady-gates-case-order
Nov 28, 2026
Merged

tihiera merged 1 commit into
developfrom
test/steady-gates-case-order

Conversation

@tihiera

@tihiera tihiera commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

simple_update_points_vs_openfoam and simple_turbulence_ddt_vs_openfoam hold OpenFOAM's own trajectory, so brae has to sweep U and the turbulence fields in OpenFOAM's cell order.

  • Under ctest: every test gets BRAE_SIMPLE_CASE_SOLVER=1 (tests/CMakeLists.txt:80), so this holds.
  • Run directly: the two scripts took simpleFoam's colour rule. They sweep in colour order on the GPU, stop at another iterate, and three arms miss their bounds:
Arm Run directly, colour order Bound
W1 4.2e-08 (nut internal) 1e-9
W2 6.8e-08 (nut internal) 1e-9
S2 4.6e-07 (nut outlet) 1e-8

OpenFOAM's own output was identical, entry for entry, on the two machines that ran them.

Change: both scripts export the variable themselves, as simple_sst_start_vs_openfoam sets it on its own runs.

Checks (develop ca5451a5's binaries, each script run directly with the variable unset):

  • before (develop's scripts): W1 4.171e-08, W2 6.837e-08 and S2 4.593e-07 red, the rest as committed (Arrhenius 5877691, 5877983);
  • after (these scripts): every arm passes at its bound, W1 5.342e-11, W2 1.852e-11, S1 5.056e-10, S2 2.490e-10; every control red and every refusal stops by name, as under ctest (5877983).

No bound changed.

@tihiera
tihiera merged commit 19b1c6f into develop Nov 28, 2026
6 checks passed
@tihiera
tihiera deleted the test/steady-gates-case-order branch November 28, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant