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

Functions

 harness_case (N, ang, off, muA, rA, Ds, scheme)
 _harness_job (a)
 cmd_harness (a)
 cube_frac (m, al)
 colour (a, N, Nz)
 cmd_prod (a)
 main ()

Variables

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

Detailed Description

Architect round 3, Q1 (doc/vof_sharp_viscous_stress.md §6.1): is the 3-D G-SV9(b) blow-up a
departure of the production step from the 2-D harness, or a genuine 3-D mode?

harness : 2-D dense rho(G), G = P (M+K)^-1 (M+K-A), for two implicit splits of the cell normal
          stress 2 mu(C) m_cc:
            'K2' -- all of it implicit (what stab.py / gsv9a.py / §6 measured);
            'K1' -- mu(C) m_cc implicit, mu(C) m_cc explicit on u^n (what the production kernels do:
                    the Laplacian band ibmBuildDiffusionVar + the normal element N_c of
                    full_stress.hpp, §5.4(b)).
          A = sharp (§5.7 interfacial-mean tau) or averaged (today's arithmetic operator).
prod    : the PRODUCTION step map on a 3-D case, linear with the colour frozen, by Arnoldi
          (scipy eigs) on u -> step(u). Non-incremental projection and converged solves by default
          (RB-GS to an update of 1e-15 of the first, residual stop off; the Chebyshev pressure
          driver to 1e-13 -- the CG drivers return wrong
          fields at density ratio 1e4), so that it is the harness's G. --incremental runs the
          production incremental-rotational step on the full state (u, v, w, p), p through
          get_field/set_field("p") with its mean removed (G-SV9(e)); --prodsolve keeps gsv9.py's
          PCG(800). Geometries: 'ext' = the 2-D harness plane extruded in z (exact harness
          fractions, z periodic, walls on x and y; --kz0 restricts to z-independent fields with
          u_z = 0, the harness subspace); 'plane' = the G-SV9(b) plane n(22.5,22.5), offset 0.3,
          walls on all faces, exact fractions (--sub8 = gsv9.py's 8^3 sub-sampled colour);
          'film' = the G-SV9(d) slab. 'pplane' = the (b') periodic twin; there the three translations
          are deflated M-orthogonally from every Arnoldi vector (WO-6a', §6.5).

  nice -n 10 python gsv9_split.py harness [--N 16]
  nice -n 10 python gsv9_split.py prod --geom ext --N 16 --Nz 4 --mode sharp --pair 1e-3,1e-4 --D 1e4 [--kz0]
  nice -n 10 python gsv9_split.py prod --geom plane --N 16 --mode sharp --pair 1e-3,1e-4 --D 1e4 --incremental

Function Documentation

◆ harness_case()

gsv9_split.harness_case ( N,
ang,
off,
muA,
rA,
Ds,
scheme )

Definition at line 41 of file gsv9_split.py.

Referenced by _harness_job().

◆ _harness_job()

gsv9_split._harness_job ( a)
protected

Definition at line 91 of file gsv9_split.py.

References harness_case().

◆ cmd_harness()

gsv9_split.cmd_harness ( a)

Definition at line 96 of file gsv9_split.py.

Referenced by main().

◆ cube_frac()

gsv9_split.cube_frac ( m,
al )

Definition at line 113 of file gsv9_split.py.

Referenced by colour().

◆ colour()

gsv9_split.colour ( a,
N,
Nz )

Definition at line 130 of file gsv9_split.py.

References cube_frac(), and gsv9.plane_fractions().

Referenced by cmd_prod().

◆ cmd_prod()

gsv9_split.cmd_prod ( a)

Definition at line 172 of file gsv9_split.py.

References colour(), mean(), and slice().

Referenced by main().

◆ main()

gsv9_split.main ( )

Definition at line 346 of file gsv9_split.py.

References cmd_harness(), cmd_prod(), and main().

Referenced by main().

Variable Documentation

◆ HERE

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

Definition at line 37 of file gsv9_split.py.