|
flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
|
Functions | |
| check (ok, what) | |
| solver (guess, driver="pcg") | |
| state (s) | |
| same (a, b) | |
| child (driver) | |
| e3 (driver) | |
| e2 (driver) | |
| raises () | |
Variables | |
| N | |
| RTOL | |
| STEPS | |
| int | fails = 0 |
Gate: the projected initial guess of the projection solve (E, doc/vof_projection_cost_design.md
ยง5.3; `diagnostics.set_pressure_initial_guess`), opt-in, on the single-rank PCG and FCG drivers.
Configuration: the IBM cylinder (16^3, cylinder along y of radius N/4, cut-cell pressure, Stokes,
body force 1e-3, rtol 1e-8), 'projected' with history 2 against 'zero' on the same build.
G-E3 step 1 of 'projected' (empty history: the cold solve) is bitwise step 1 of 'zero'; after a
state write (set_velocity: the history restarts) the next step is bitwise the same step
of a twin switched to 'zero' -- and the twin continued under 'projected' is NOT, so the
guess was live;
G-E2 every guessed solve ends at max|P(b - A x)| <= 1.5 rtol max|P b| (recomputed; the trace of
a child run under PECLET_FLOW_MG_DEBUG=2 and _SOLVES, debug output only), x0 = 0 on
every non-fluid cell, and 'projected' saves iterations over the run;
raise 'projected' under the Chebyshev driver raises at the step, naming the condition; 'auto'
there runs the cold solve, bitwise 'zero'.
Run: OMP_NUM_THREADS=4 OMP_PROC_BIND=false PYTHONPATH=<build> python tests/python/test_projected_guess.py
Exit 0 pass, 1 fail, 77 skipped (no module).
| test_projected_guess.check | ( | ok, | |
| what ) |
Definition at line 37 of file test_projected_guess.py.
| test_projected_guess.solver | ( | guess, | |
| driver = "pcg" ) |
Definition at line 44 of file test_projected_guess.py.
| test_projected_guess.state | ( | s | ) |
Definition at line 65 of file test_projected_guess.py.
| test_projected_guess.same | ( | a, | |
| b ) |
Definition at line 70 of file test_projected_guess.py.
| test_projected_guess.child | ( | driver | ) |
G-E2 run: 'projected' for STEPS steps (traced by the parent's env).
Definition at line 74 of file test_projected_guess.py.
Referenced by raises().
| test_projected_guess.e3 | ( | driver | ) |
| test_projected_guess.e2 | ( | driver | ) |
| test_projected_guess.raises | ( | ) |
| test_projected_guess.N |
Definition at line 33 of file test_projected_guess.py.
| test_projected_guess.RTOL |
Definition at line 33 of file test_projected_guess.py.
| test_projected_guess.STEPS |
Definition at line 33 of file test_projected_guess.py.
| int test_projected_guess.fails = 0 |
Definition at line 34 of file test_projected_guess.py.