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

Functions

 check (name, ok, detail="")
 
 state (s)
 
 same (a, b)
 
 diffs (a, b)
 
 scene_cfl (n=16)
 
 gate_atomic ()
 
 scene_hysing (nx=32, nz=64, sigma=0.02)
 
 gate_adaptive (nsteps=200)
 
 one_adaptive (nsteps, cflT, capT, sigma, dmax)
 
 gate_geometry ()
 
 leveque (n, t=0.0, T=3.0)
 
 sphere_colour (n, cx=0.35, r=0.15)
 
 gate_collocated ()
 
 half_channel (nz, top_type, mu=0.05, F=1e-3, dt=5000.0, steps=200)
 
 gate_freeslip (nz=32)
 
 gate_wetwall ()
 

Variables

list FAIL = []
 
 MAIN
 
 ap = argparse.ArgumentParser()
 
 nargs
 
 default
 
 a = ap.parse_args()
 

Detailed Description

Gates for the ISSUES sweep (the solver-side entries examples/*/ISSUES.md logged).

One sub-command per ISSUES entry; every one prints its measured numbers and a PASS/FAIL line.

    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py atomic
    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py adaptive
    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py geometry
    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py collocated
    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py freeslip
    PYTHONPATH=$PWD/build_cuda python tests/study/vof_issues_sweep.py wetwall

Function Documentation

◆ check()

vof_issues_sweep.check (   name,
  ok,
  detail = "" 
)

◆ state()

vof_issues_sweep.state (   s)

Definition at line 30 of file vof_issues_sweep.py.

Referenced by gate_atomic(), and one_adaptive().

◆ same()

vof_issues_sweep.same (   a,
  b 
)

Definition at line 35 of file vof_issues_sweep.py.

Referenced by gate_atomic(), and one_adaptive().

◆ diffs()

vof_issues_sweep.diffs (   a,
  b 
)

Definition at line 39 of file vof_issues_sweep.py.

Referenced by gate_atomic(), and one_adaptive().

◆ scene_cfl()

vof_issues_sweep.scene_cfl (   n = 16)
The ISSUES reproducer: a half-filled box, uniform u = 1, body force in z.

Definition at line 44 of file vof_issues_sweep.py.

Referenced by gate_atomic().

◆ gate_atomic()

vof_issues_sweep.gate_atomic ( )

Definition at line 64 of file vof_issues_sweep.py.

References check(), diffs(), same(), scene_cfl(), and state().

◆ scene_hysing()

vof_issues_sweep.scene_hysing (   nx = 32,
  nz = 64,
  sigma = 0.02 
)

Definition at line 112 of file vof_issues_sweep.py.

Referenced by one_adaptive().

◆ gate_adaptive()

vof_issues_sweep.gate_adaptive (   nsteps = 200)

Definition at line 140 of file vof_issues_sweep.py.

References one_adaptive().

◆ one_adaptive()

vof_issues_sweep.one_adaptive (   nsteps,
  cflT,
  capT,
  sigma,
  dmax 
)

Definition at line 151 of file vof_issues_sweep.py.

References check(), diffs(), same(), scene_hysing(), and state().

Referenced by gate_adaptive().

◆ gate_geometry()

vof_issues_sweep.gate_geometry ( )

Definition at line 175 of file vof_issues_sweep.py.

References check().

◆ leveque()

vof_issues_sweep.leveque (   n,
  t = 0.0,
  T = 3.0 
)
Cell-centre-sampled LeVeque deformation field (u, v, w) on an n^3 unit box.

Definition at line 196 of file vof_issues_sweep.py.

Referenced by gate_collocated().

◆ sphere_colour()

vof_issues_sweep.sphere_colour (   n,
  cx = 0.35,
  r = 0.15 
)

Definition at line 207 of file vof_issues_sweep.py.

Referenced by gate_collocated().

◆ gate_collocated()

vof_issues_sweep.gate_collocated ( )

Definition at line 214 of file vof_issues_sweep.py.

References check(), leveque(), and sphere_colour().

◆ half_channel()

vof_issues_sweep.half_channel (   nz,
  top_type,
  mu = 0.05,
  F = 1e-3,
  dt = 5000.0,
  steps = 200 
)

Definition at line 263 of file vof_issues_sweep.py.

Referenced by gate_freeslip().

◆ gate_freeslip()

vof_issues_sweep.gate_freeslip (   nz = 32)

Definition at line 275 of file vof_issues_sweep.py.

References check(), and half_channel().

◆ gate_wetwall()

vof_issues_sweep.gate_wetwall ( )

Definition at line 308 of file vof_issues_sweep.py.

Variable Documentation

◆ FAIL

list vof_issues_sweep.FAIL = []

Definition at line 21 of file vof_issues_sweep.py.

◆ MAIN

vof_issues_sweep.MAIN
Initial value:
1= dict(atomic=gate_atomic, adaptive=gate_adaptive, geometry=gate_geometry,
2 collocated=gate_collocated, freeslip=gate_freeslip, wetwall=gate_wetwall)

Definition at line 312 of file vof_issues_sweep.py.

◆ ap

vof_issues_sweep.ap = argparse.ArgumentParser()

Definition at line 316 of file vof_issues_sweep.py.

◆ nargs

vof_issues_sweep.nargs

Definition at line 317 of file vof_issues_sweep.py.

◆ default

vof_issues_sweep.default

Definition at line 317 of file vof_issues_sweep.py.

◆ a

vof_issues_sweep.a = ap.parse_args()

Definition at line 318 of file vof_issues_sweep.py.