flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
gsv9e Namespace Reference

Functions

 prod (geom, N, mode, mu, rho, D, ncv, env, nfix=N_A)
 run (job)
 main ()

Variables

 HERE = os.path.dirname(os.path.abspath(__file__))
tuple PAIRS = ((1e-2, 1e-3), (1e2, 1e3), (1e-3, 1e-4), (1e3, 1e4))
tuple DS = (0.1, 1.0, 10.0, 100.0, 1e4)
tuple GEOMS = (("plane", 16), ("film", 12))
int PCAP = 20000
 N_A
 DBL
 RX

Detailed Description

G-SV9 (e) (doc/vof_sharp_viscous_stress.md §11, third-pass amendment; WO-6e): the spectral gate.

The Arnoldi spectral radius of the PRODUCTION incremental step map on (u, v, w, p), colour frozen,
mean of p removed, Chebyshev pressure to rtol 1e-13, RB-GS to an update stop of 1e-13 with the
residual stop off (coordinator F1, 2026-11-01: 1e-15 sits below the RB-GS round-off floor at
D_hi 1e4 and hits the sweep cap; the linearity check certifies the stop):
`gsv9_split.py prod --incremental --pdriver cheb --mom-tol 1e-13`, one process per run.
Cases: the (b) plane (n(22.5, 22.5), offset 0.3, walls, exact fractions) at N = 16 and the (d)
film at N = 12, each with the four ratio pairs x D_hi in {0.1, 1, 10, 100, 1e4}, both modes.
PASS: rho <= 1 + 1e-9 for every 'sharp' run; 'averaged' is reported. A run whose linearity check
exceeds 1e-10, or whose solves cap (pressure 20000, momentum 200000 sweeps), is NOT JUDGED.

FIFTH PASS (§6.8 A, WO-A5; USER Q24 pending, default adopted) supersedes the momentum half above:
the momentum runs a FIXED N_A = 2000 RB-GS sweeps per component (`--mom-fixed 2000`, update and
residual stops off), and the momentum cap test is replaced by the doubling certificate printed on the
PROD line (dbl_u, dbl_p <= 1e-12 on x1 and x_s); a failure reruns the case at 2 N_A once, a second
failure is NOT JUDGED. The pressure half stays (max_p_it >= 20000 -> NOT JUDGED). Order: plane, then film.
ARPACK: ncv 40, maxiter 1000; an unconverged run is re-run at ncv 80; a 'sharp' run still
unconverged is decided by its (b)/(d) march verdict and listed (UNCONVERGED).

  nice -n 10 python gsv9e.py [--procs 10] [--build BUILD_DIR] [--pilot]   (one line per run + a verdict)
--pilot runs only the stiffest case (plane, D_hi 1e4, mu 1e-3 / rho 1e-4, sharp); linearity
> 1e-10 there stops the table (coordinator, 2026-11-01).
The momentum cap test is conservative: 'momentum_sweeps' is summed over the three components.

Function Documentation

◆ prod()

gsv9e.prod ( geom,
N,
mode,
mu,
rho,
D,
ncv,
env,
nfix = N_A )

Definition at line 43 of file gsv9e.py.

Referenced by run().

◆ run()

gsv9e.run ( job)

Definition at line 57 of file gsv9e.py.

References prod().

◆ main()

gsv9e.main ( )

Definition at line 82 of file gsv9e.py.

References main().

Referenced by main().

Variable Documentation

◆ HERE

gsv9e.HERE = os.path.dirname(os.path.abspath(__file__))

Definition at line 33 of file gsv9e.py.

◆ PAIRS

tuple gsv9e.PAIRS = ((1e-2, 1e-3), (1e2, 1e3), (1e-3, 1e-4), (1e3, 1e4))

Definition at line 34 of file gsv9e.py.

◆ DS

tuple gsv9e.DS = (0.1, 1.0, 10.0, 100.0, 1e4)

Definition at line 35 of file gsv9e.py.

◆ GEOMS

tuple gsv9e.GEOMS = (("plane", 16), ("film", 12))

Definition at line 36 of file gsv9e.py.

◆ PCAP

int gsv9e.PCAP = 20000

Definition at line 37 of file gsv9e.py.

◆ N_A

gsv9e.N_A

Definition at line 38 of file gsv9e.py.

◆ DBL

gsv9e.DBL

Definition at line 38 of file gsv9e.py.

◆ RX

gsv9e.RX
Initial value:
1= re.compile(r"\| rho=(\S+) \|.*max_pcg_it=(\d+) lin=(\S+) .*conv=(\d) ncv=(\d+) max_momentum_sweeps=(\d+)"
2 r" dbl_u=(\S+) dbl_p=(\S+) mom_fixed=(\d+) cpu_per_mv=(\S+)")

Definition at line 39 of file gsv9e.py.