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

Functions

 lines (path)
 cname (mode, pair, D, frac)
 one (job)
 cmd_arnoldi (a)
 parse_march (d)
 norm_pair (muR, rhoR)
 parse_arn (d)
 cmd_table (a)
 main ()

Variables

 HERE = os.path.dirname(os.path.abspath(__file__))
tuple DS = (0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0)
tuple PAIRS = ((1e-2, 1e-3), (1e2, 1e3), (1e-3, 1e-4), (1e3, 1e4))
tuple FRACS = (0.5, 0.75)
tuple MODES = ("sharp", "averaged")
list ARN

Detailed Description

G-SV9(f), the onset (doc/vof_sharp_viscous_stress.md §6.5, WO-6f; reported, not gated).

The (b') periodic twin (m = (2,1,1), two plane families per period, N = 16) at
D_hi in {0.1, 0.3, 1, 3, 10, 30, 100}, both modes, the four G-SV9 ratio pairs, layer fraction 0.5 and
0.75, measured two ways:
  march   : gsv9.py --geom pplane (the production default solve, 2000 steps), judged on E' (the
            energy with the three translations removed, WO-6a') over windows with E_n >= 1e-20 E_0
            (USER Q15); a run is unstable iff that verdict is MISS (blow-up included).
  arnoldi : gsv9_split.py prod --geom pplane with the WO-6a' translation deflation, the E1/E5 setting
            of §6.5 (production u-only map, non-incremental, RB-GS update stop 1e-12 with the
            residual stop off, Chebyshev 1e-13, k 6, ncv 40, maxiter 1000); unstable iff
            rho > 1 + 1e-9 (the G-SV9(e) threshold). Linearity and ARPACK convergence are printed;
            lin > 1e-10 or conv = 0 is flagged.
Table: the smallest unstable D_hi per mode x pair x frac, for each measure. STOP rule (§6.5):
'sharp' unstable at D_hi <= 3 on any case where 'averaged' is stable -> architect.

  nice -n 10 python gsv9f.py arnoldi --out DIR [--procs 3]        (resumable: one file per case)
  python gsv9f.py table --march DIR --arnoldi DIR                 (march files: DIR/march_<mode>_f<frac>.out)

Function Documentation

◆ lines()

gsv9f.lines ( path)

Definition at line 37 of file gsv9f.py.

Referenced by cmd_arnoldi(), one(), parse_arn(), and parse_march().

◆ cname()

gsv9f.cname ( mode,
pair,
D,
frac )

Definition at line 42 of file gsv9f.py.

Referenced by one(), and parse_arn().

◆ one()

gsv9f.one ( job)

Definition at line 46 of file gsv9f.py.

References cname(), and lines().

◆ cmd_arnoldi()

gsv9f.cmd_arnoldi ( a)

Definition at line 58 of file gsv9f.py.

References lines().

Referenced by main().

◆ parse_march()

gsv9f.parse_march ( d)

Definition at line 70 of file gsv9f.py.

References lines().

Referenced by cmd_table().

◆ norm_pair()

gsv9f.norm_pair ( muR,
rhoR )
gsv9.py prints mu_A/mu_B of its own normalisation; map to the PAIRS entry.

Definition at line 84 of file gsv9f.py.

Referenced by cmd_table().

◆ parse_arn()

gsv9f.parse_arn ( d)

Definition at line 92 of file gsv9f.py.

References cname(), and lines().

Referenced by cmd_table().

◆ cmd_table()

gsv9f.cmd_table ( a)

Definition at line 110 of file gsv9f.py.

References norm_pair(), parse_arn(), and parse_march().

Referenced by main().

◆ main()

gsv9f.main ( )

Definition at line 144 of file gsv9f.py.

References cmd_arnoldi(), cmd_table(), and main().

Referenced by main().

Variable Documentation

◆ HERE

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

Definition at line 28 of file gsv9f.py.

◆ DS

tuple gsv9f.DS = (0.1, 0.3, 1.0, 3.0, 10.0, 30.0, 100.0)

Definition at line 29 of file gsv9f.py.

◆ PAIRS

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

Definition at line 30 of file gsv9f.py.

◆ FRACS

tuple gsv9f.FRACS = (0.5, 0.75)

Definition at line 31 of file gsv9f.py.

◆ MODES

tuple gsv9f.MODES = ("sharp", "averaged")

Definition at line 32 of file gsv9f.py.

◆ ARN

list gsv9f.ARN
Initial value:
1= ["prod", "--geom", "pplane", "--N", "16", "--pdriver", "cheb", "--mom-tol", "1e-12", "--k", "6",
2 "--ncv", "40", "--maxiter", "1000"]

Definition at line 33 of file gsv9f.py.